lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 23 Dec 2018 14:08:57 +0800
From:   kernel test robot <lkp@...el.com>
To:     Corey Minyard <cminyard@...sta.com>
Cc:     LKP <lkp@...org>, linux-kernel@...r.kernel.org,
        openipmi-developer@...ts.sourceforge.net,
        "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Subject: e68b857bde ("ipmi: Don't initialize anything in the core until
 .."):  BUG: unable to handle kernel paging request at 0593f000

Greetings,

0day kernel testing robot got the below dmesg and the first bad commit is

https://github.com/cminyard/linux-ipmi for-next

commit e68b857bdec3a24ac096a3d83a7ea70c4d3bd967
Author:     Corey Minyard <cminyard@...sta.com>
AuthorDate: Thu Dec 20 16:50:23 2018 -0600
Commit:     Corey Minyard <cminyard@...sta.com>
CommitDate: Fri Dec 21 07:01:56 2018 -0600

    ipmi: Don't initialize anything in the core until something uses it
    
    The IPMI driver was recently modified to use SRCU, but it turns out
    this uses a chunk of percpu memory, even if IPMI is never used.
    
    So modify thing to on initialize on the first use.  There was already
    code to sort of handle this for handling init races, so piggy back
    on top of that, and simplify it in the process.
    
    Signed-off-by: Corey Minyard <cminyard@...sta.com>
    Reported-by: Tejun Heo <tj@...nel.org>
    Cc: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
    Reviewed-by: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>

5e6ddecfc9  ipmi:ssif: Change some pr_xxx to dev_xxx calls
e68b857bde  ipmi: Don't initialize anything in the core until something uses it
3a31f945b7  ipmi: Remove incorrect use of seq_has_overflowed
+------------------------------------------+------------+------------+---------------+
|                                          | 5e6ddecfc9 | e68b857bde | ipmi/for-next |
+------------------------------------------+------------+------------+---------------+
| boot_successes                           | 33         | 0          | 0             |
| boot_failures                            | 0          | 11         | 11            |
| BUG:unable_to_handle_kernel              | 0          | 11         |               |
| Oops:#[##]                               | 0          | 11         |               |
| EIP:__srcu_read_lock                     | 0          | 11         |               |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 11         |               |
| BUG:kernel_hang_in_test_stage            | 0          | 0          | 11            |
+------------------------------------------+------------+------------+---------------+

[    8.934275] uvesafb: vbe_init() failed with -22
[    8.934700] uvesafb: probe of uvesafb.0 failed with error -22
[    8.935346] intel_idle: Please enable MWAIT in BIOS SETUP
[    8.935826] IPMI message handler: version 39.2
[    8.936314] ipmi device interface
[    8.936682] BUG: unable to handle kernel paging request at 0593f000
[    8.937231] *pde = 00000000 
[    8.937493] Oops: 0002 [#1] SMP
[    8.937777] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.19.0-04690-ge68b857 #1
[    8.938414] EIP: __srcu_read_lock+0x20/0x40
[    8.938551] Code: 00 00 00 00 8d bf 00 00 00 00 55 8b 90 a4 01 00 00 83 05 b0 c9 ce 9a 01 8b 80 b8 01 00 00 83 15 b4 c9 ce 9a 00 89 e5 83 e2 01 <64> ff 04 90 f0 83 44 24 fc 00 83 05 b8 c9 ce 9a 01 89 d0 83 15 bc
[    8.938551] EAX: 00000000 EBX: 9a047fc4 ECX: 9a047fc4 EDX: 00000000
[    8.938551] ESI: 9a0482d8 EDI: 9a38149d EBP: 9f50df0c ESP: 9f50df0c
[    8.938551] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00210246
[    8.938551] CR0: 80050033 CR2: 0593f000 CR3: 1a48f000 CR4: 00140690
[    8.938551] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[    8.938551] DR6: fffe0ff0 DR7: 00000400
[    8.938551] Call Trace:
[    8.938551]  ipmi_smi_watcher_register+0x80/0x180
[    8.938551]  ? ipmi_init_msghandler_mod+0x7d/0x7d
[    8.938551]  init_ipmi_devintf+0x14c/0x1d1
[    8.938551]  do_one_initcall+0x25c/0x5b0
[    8.945085]  ? do_early_param+0x128/0x128
[    8.945085]  kernel_init_freeable+0x509/0x7bd
[    8.945085]  ? rest_init+0x490/0x490
[    8.945085]  kernel_init+0x16/0x270
[    8.945085]  ret_from_fork+0x19/0x24
[    8.945085] CR2: 000000000593f000
[    8.945085] ---[ end trace 88c415ed0a18c244 ]---
[    8.945085] EIP: __srcu_read_lock+0x20/0x40

                                                          # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 9c8f7ba05515a867dca3007580915995fc653561 651022382c7f8da46cb4872a545ee1da6d097d2a --
git bisect  bad b1361f03895df5071cc75d755315d9d5d2669bf0  # 06:43  B      0     1   15   0  Merge 'linux-review/BOUGH-CHEN/dt-bindings-mmc-fsl-imx-esdhc-add-imx6ull-compatible-string/20181223-011123' into devel-catchup-201812230343
git bisect good 27c0fb9f133fe9152dd8e02dea921afa5df708ae  # 07:38  G     11     0    0   0  Merge 'pinctrl/for-next' into devel-catchup-201812230343
git bisect  bad 7dca783a9d80fbc685eea21c03b6d8652131eeaf  # 07:50  B      0     5   19   0  Merge 'linux-review/BOUGH-CHEN/mmc-sdhci-esdhc-imx-clear-ESDHC_STD_TUNING_EN-for-manual-tuning-method/20181223-005516' into devel-catchup-201812230343
git bisect  bad 6f0e09dd200ebf0a35f765789e260c72c6c97f1c  # 08:10  B      0    11   25   0  Merge 'gpio/devel' into devel-catchup-201812230343
git bisect  bad d7218f8fad489f102f507db8bdfefa6181c493fc  # 08:22  B      0     1   15   0  Merge 'ipmi/for-next' into devel-catchup-201812230343
git bisect good 9fd96b0715d52f06d4c0ec99d90a779a05c7c482  # 09:29  G     11     0    0   0  ipmi: Fix return value when a message is truncated
git bisect good 0dbc27536f6dc2cf38e89c89d4eaa67402df08f4  # 10:19  G     11     0    0   0  ipmi: kcs_bmc: handle devm_kasprintf() failure case
git bisect  bad e68b857bdec3a24ac096a3d83a7ea70c4d3bd967  # 10:35  B      0    11   25   0  ipmi: Don't initialize anything in the core until something uses it
git bisect good 5e6ddecfc90b759bfe090adb7ded374b6d3487b5  # 11:21  G     11     0    0   0  ipmi:ssif: Change some pr_xxx to dev_xxx calls
# first bad commit: [e68b857bdec3a24ac096a3d83a7ea70c4d3bd967] ipmi: Don't initialize anything in the core until something uses it
git bisect good 5e6ddecfc90b759bfe090adb7ded374b6d3487b5  # 11:53  G     31     0    0   0  ipmi:ssif: Change some pr_xxx to dev_xxx calls
# extra tests with debug options
git bisect  bad e68b857bdec3a24ac096a3d83a7ea70c4d3bd967  # 12:05  B      0     4   18   0  ipmi: Don't initialize anything in the core until something uses it
# extra tests on HEAD of linux-devel/devel-catchup-201812230343
git bisect  bad 9c8f7ba05515a867dca3007580915995fc653561  # 12:11  B      0    13   30   0  0day head guard for 'devel-catchup-201812230343'
# extra tests on tree/branch ipmi/for-next
git bisect good 3a31f945b70990f6113b4800338c09d14620dff3  # 12:44  G     11     0   11  11  ipmi: Remove incorrect use of seq_has_overflowed
# extra tests with first bad commit reverted
git bisect good 201a1702b84d3893b20298887d40d988c10465b6  # 14:08  G     11     0    0   0  Revert "ipmi: Don't initialize anything in the core until something uses it"

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/lkp                          Intel Corporation

Download attachment "dmesg-openwrt-vm-openwrt-133:20181223103452:i386-randconfig-x0-12230345:4.19.0-04690-ge68b857:1.gz" of type "application/gzip" (10373 bytes)

View attachment "config-4.19.0-04690-ge68b857" of type "text/plain" (138800 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ