Bug 114871

Summary: bcache: "unable to handle kernel NULL pointer dereference" when trying to add a md caching device
Product: IO/Storage Reporter: Sebastian Roesner (sroesner-kernelbugs)
Component: OtherAssignee: Michael Lyle (mlyle)
Status: NEW ---    
Severity: normal CC: colyli, szg00000
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 4.5.0 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: Traces and system information
trace 1
trace 2
lsblk
bcache-super-show

Description Sebastian Roesner 2016-03-18 11:17:42 UTC
Created attachment 209731 [details]
Traces and system information

I use bcache with 2 raid devices as the underlaying block devices. With 4.5.0 I got "BUG: unable to handle kernel NULL pointer dereference at 0000000000000028" when trying to add the cache device:

echo /dev/md2 > /sys/fs/bcache/register

With kernel 3.19 that worked fine, since it's a productive system I didn't try any other kernel versions in between.
Comment 1 Sebastian Roesner 2016-03-18 11:18:53 UTC
Created attachment 209741 [details]
trace 1
Comment 2 Sebastian Roesner 2016-03-18 11:19:18 UTC
Created attachment 209751 [details]
trace 2
Comment 3 Sebastian Roesner 2016-03-18 11:19:51 UTC
Created attachment 209761 [details]
lsblk
Comment 4 Sebastian Roesner 2016-03-18 11:20:19 UTC
Created attachment 209771 [details]
bcache-super-show
Comment 5 Coly Li 2020-02-15 17:17:19 UTC
Does this problem still show up in Linux v5.5 or v5.6-rc ?

Thanks.

Coly Li