next-20160314 - crash in i2c_dev_init/bus_register_notifier at boot
Seeing this consistent crash on next-20160314. Sorry for shortened traceback, hand-transcribed as the crash doesn't get logged to /sys/fs/pstore as expected. next-20160307 works just fine.
BUG: unable to handle kernel NULL pointer dereference at 000000000260 IP: blocking_notifier_chain_register+0x37/0xd0 ... Call Trace: bus_register_notifier+0x1c/0x20 i2c_dev_init+0x9c/0xf2 do_one_initcall_+0x99/0x210 ? set_debug_rodata+0x12/0x12 kernel_init_freeable+0x1b3/0x240 kernel_init+0x3/0x100
'git blame' doesn't seem to find anything relevant and recent in kernel/notifier.c or drivers/i2c/i2c-dev.c. Does this ring any bells, or is it time to bisect?
Quoted 15 lines · Valdis Kletnieks
Seeing this consistent crash on next-20160314. Sorry for shortened traceback, hand-transcribed as the crash doesn't get logged to
/sys/fs/pstoreas expected. next-20160307 works just fine.BUG: unable to handle kernel NULL pointer dereference at 000000000260 IP: blocking_notifier_chain_register+0x37/0xd0 ... Call Trace: bus_register_notifier+0x1c/0x20 i2c_dev_init+0x9c/0xf2 do_one_initcall_+0x99/0x210 ? set_debug_rodata+0x12/0x12 kernel_init_freeable+0x1b3/0x240 kernel_init+0x3/0x100
Quoted 3 lines
'git blame' doesn't seem to find anything relevant and recent in
kernel/notifier.cordrivers/i2c/i2c-dev.c. Does this ring any bells, or is it time to bisect?
Can you try a newer -next or apply this patch on top?
I think this should solve it.
Thanks for reporting!
Wolfram
Quoted 5 lines · Wolfram Sang
Can you try a newer -next or apply this patch on top?
I think this should solve it.
Confirming that issue is fixed in next-20160317.
Now on to fix the *next* problem :)
Quoted 2 lines
Confirming that issue is fixed in next-20160317.
Thanks for confirming...
Quoted 1 line
Now on to fix the *next* problem :)
...and good luck with that!
Wolfram