Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/miquelraynal/linux-0day.git nand/next
commit 625608edb698b9e62a9620398ff660659714f92b
Author: Miquel Raynal <miquel.raynal(a)bootlin.com>
AuthorDate: Thu Aug 27 10:52:05 2020 +0200
Commit: Miquel Raynal <miquel.raynal(a)bootlin.com>
CommitDate: Wed Sep 2 09:28:20 2020 +0200
mtd: rawnand: Use the ECC framework OOB layouts
No need to have our own in the raw NAND core.
Signed-off-by: Miquel Raynal <miquel.raynal(a)bootlin.com>
Link:
https://lore.kernel.org/linux-mtd/20200827085208.16276-18-miquel.raynal@b...
9b08a7d863 mtd: rawnand: Make use of the ECC framework
625608edb6 mtd: rawnand: Use the ECC framework OOB layouts
2296830e3d mtd: onenand: omap2: Allow for compile-testing on !ARM
+-------------------------------------------------------+------------+------------+------------+
| | 9b08a7d863 | 625608edb6 |
2296830e3d |
+-------------------------------------------------------+------------+------------+------------+
| boot_successes | 40 | 0 | 0
|
| boot_failures | 3 | 23 | 1
|
| invoked_oom-killer:gfp_mask=0x | 1 | |
|
| Mem-Info | 2 | |
|
| EIP:__put_user_4 | 1 | |
|
| Initiating_system_reboot | 1 | |
|
| BUG:unable_to_handle_page_fault_for_address | 0 | 10 | 1
|
| Oops:#[##] | 0 | 13 | 1
|
| EIP:memcpy | 0 | 14 | 1
|
| Kernel_panic-not_syncing:Fatal_exception | 0 | 9 |
|
| INFO:trying_to_register_non-static_key | 0 | 1 |
|
| BUG:kernel_NULL_pointer_dereference,address | 0 | 4 |
|
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 4 | 1
|
| BUG:kernel_reboot-without-warning_in_test_stage | 0 | 8 |
|
| EIP:run_timer_softirq | 0 | 2 |
|
| BUG:spinlock_bad_magic_on_CPU | 0 | 1 |
|
| EIP:lookup_object | 0 | 0 | 1
|
+-------------------------------------------------------+------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp(a)intel.com>
[ 13.371873] udevd[339]: starting version 175
[ 13.526613] _warn_unseeded_randomness: 601 callbacks suppressed
[ 13.526623] random: get_random_u32 called from copy_process+0x240/0x13ab with
crng_init=0
[ 13.526836] random: get_random_u32 called from allocate_slab+0x10e/0x374 with
crng_init=0
[ 13.529371] random: get_random_u32 called from copy_process+0x240/0x13ab with
crng_init=0
[ 14.148526] BUG: unable to handle page fault for address: f71fe000
[ 14.151301] #PF: supervisor read access in kernel mode
[ 14.152114] #PF: error_code(0x0000) - not-present page
[ 14.152893] *pdpt = 0000000002ba7001 *pde = 0000000003749067 *pte = 0000000000000000
[ 14.154106] Oops: 0000 [#1] SMP
[ 14.154629] CPU: 1 PID: 436 Comm: mtd_probe Not tainted 5.9.0-rc2-00017-g625608edb698b9
#1
[ 14.155908] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1
04/01/2014
[ 14.157241] EIP: memcpy+0xf/0x1f
[ 14.157766] Code: 88 43 52 5b 5d c3 e8 14 fd ff ff 8b 43 5c 2b 43 54 88 43 52 5b 5d c3
c3 cc cc cc 55 89 e5 57 89 c7 56 89 d6 53 89 cb c1 e9 02 <f3> a5 89 d9 83 e1 03 74
02 f3 a4 5b 5e 5f 5d c3 55 89 e5 57 89 c7
[ 14.160625] EAX: bf98ea44 EBX: fffffffc ECX: 3db28781 EDX: ede9fe06
[ 14.161622] ESI: f71fdffe EDI: c8cecc3c EBP: beffbd2c ESP: beffbd20
[ 14.162603] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00010a06
[ 14.163556] CR0: 80050033 CR2: f71fe000 CR3: 7ef24400 CR4: 000006f0
[ 14.164487] Call Trace:
[ 14.164857] mtd_ooblayout_get_bytes+0x70/0x8f
[ 14.165539] ? get_mtd_device_nm+0x9f/0x9f
[ 14.166183] mtd_ooblayout_get_eccbytes+0x13/0x15
[ 14.166919] ? get_mtd_device_nm+0x9f/0x9f
[ 14.167565] nand_read_page_swecc+0x90/0x115
[ 14.168250] nand_do_read_ops+0x17e/0x4e5
[ 14.168891] nand_read_oob+0x44/0x24f
[ 14.169472] ? find_held_lock+0x24/0x6b
[ 14.170081] ? create_object+0x1c8/0x2e3
[ 14.170711] ? nand_do_read_ops+0x4e5/0x4e5
[ 14.171378] mtd_read_oob_std+0x60/0x89
[ 14.171955] mtd_read_oob+0x75/0x10d
[ 14.172521] mtd_read+0x49/0x67
[ 14.173019] mtdchar_read+0xf2/0x212
[ 14.173581] ? mtdchar_write+0x211/0x211
[ 14.174194] vfs_read+0x92/0x185
[ 14.174725] ksys_read+0x5c/0xc9
[ 14.175247] __ia32_sys_read+0x10/0x12
[ 14.175845] do_int80_syscall_32+0x27/0x34
[ 14.176494] entry_INT80_32+0x111/0x111
[ 14.177089] EIP: 0x37efd1b2
[ 14.177519] Code: 89 c2 31 c0 89 d7 f3 aa 8b 44 24 1c 89 30 c6 40 04 00 83 c4 2c 89 f0
5b 5e 5f 5d c3 90 90 90 90 90 90 90 90 90 90 90 90 cd 80 <c3> 8d b6 00 00 00 00 8d
bc 27 00 00 00 00 8b 1c 24 c3 8d b6 00 00
[ 14.180127] EAX: ffffffda EBX: 00000003 ECX: 004a0008 EDX: 00000200
[ 14.181107] ESI: 004a0008 EDI: 00000000 EBP: 3fc28698 ESP: 3fc28654
[ 14.182067] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000246
[ 14.183131] Modules linked in:
[ 14.183612] CR2: 00000000f71fe000
[ 14.184136] ---[ end trace 5c769db94eac64db ]---
[ 14.184867] EIP: memcpy+0xf/0x1f
# HH:MM RESULT GOOD BAD
GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start cb0e49097ccffd20d4cd33a6346740070bab1974
f4d51dffc6c01a9e94650d95ce0104964f8ae822 --
git bisect bad 4577ad883f283c25dd53ef1ab1002eee93e75755 # 22:37 B 2 1 2 4
Merge 'mptcp/export' into devel-catchup-202009072059
git bisect bad 812048bdb9b22d5e0a24588e863eea1d3872ed45 # 22:53 B 6 5 6 8
Merge
'linux-review/Ville-Syrjala/drm-atomic-helper-Extract-drm_atomic_helper_calc_timestamping_constants/20200907-200154'
into devel-catchup-202009072059
git bisect good 3265bbfadc6dd6ce90052fe2da9e546b713be32e # 23:24 G 17 0 11 11
Merge 'asoc/for-next' into devel-catchup-202009072059
git bisect bad dff8253a1df95da4dc2f443e9df7f891f4fb3134 # 23:31 B 0 5 14 0
Merge 'ceph-client/testing' into devel-catchup-202009072059
git bisect good da7471d4956496c48046ed6ea6d9594b9351146e # 00:01 G 17 0 10 10
Merge 'renesas-devel/master' into devel-catchup-202009072059
git bisect bad 301a66c61759541231917e71fbc477689595481c # 00:17 B 1 2 1 1
Merge 'miquelraynal/nand/next' into devel-catchup-202009072059
git bisect bad 09f4b18a9b0d0316371391d6c887287a911d9a6e # 00:29 B 5 3 5 5
mtd: rawnand: atmel: Drop redundant nand_read_page_op()
git bisect good 8f27947f2ea51f14340c5743ed6c865edaaba372 # 00:56 G 23 0 15 15
mtd: nand: Create a helper to extract the ECC configuration
git bisect good 9b08a7d863cc16304a8988b4784487f3e88c310f # 01:21 G 22 0 14 15
mtd: rawnand: Make use of the ECC framework
git bisect bad a965a86a8b29381a8ca4b9733f25011b9714380e # 01:36 B 0 1 10 0
mtd: rawnand: Use the ECC framework user input parsing bits
git bisect bad 127e7d2f5ac9261ecbfca11d264d6651a60e16f6 # 05:01 B 3 1 3 13
mtd: rawnand: Use the ECC framework nand_ecc_is_strong_enough() helper
git bisect bad 625608edb698b9e62a9620398ff660659714f92b # 05:20 B 0 1 10 0
mtd: rawnand: Use the ECC framework OOB layouts
# first bad commit: [625608edb698b9e62a9620398ff660659714f92b] mtd: rawnand: Use the ECC
framework OOB layouts
git bisect good 9b08a7d863cc16304a8988b4784487f3e88c310f # 05:32 G 63 0 32 47
mtd: rawnand: Make use of the ECC framework
# extra tests with debug options
git bisect bad 625608edb698b9e62a9620398ff660659714f92b # 06:07 B 1 1 1 1
mtd: rawnand: Use the ECC framework OOB layouts
# extra tests on head commit of miquelraynal/nand/next
git bisect bad 2296830e3dae6dcace9e435b6c508a8319d2eaa0 # 07:31 B 0 1 10 0
mtd: onenand: omap2: Allow for compile-testing on !ARM
# bad: [2296830e3dae6dcace9e435b6c508a8319d2eaa0] mtd: onenand: omap2: Allow for
compile-testing on !ARM
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/lkp@lists.01.org