Bug 197303

Summary: blk_partition_remap: fail for partition 3
Product: IO/Storage Reporter: redfish (redfish)
Component: Block LayerAssignee: Jens Axboe (axboe)
Status: NEW ---    
Severity: normal CC: jdelvare, regressions
Priority: P1    
Hardware: ARM   
OS: Linux   
Kernel Version: 4.14rc4 Subsystem:
Regression: No Bisected commit-id:

Description redfish 2017-10-17 22:25:58 UTC
On ARM board Odroid U3, with root fs on eMMC with 4.14rc4 got this:

blk_partition_remap: fail for partition 3
[52311.638650] EXT4-fs error (device mmcblk1p3): ext4_find_entry:1431: inode #20381: comm kworker/u8:0: reading directory lblock 0
[52311.650728] Core dump to |/usr/lib/systemd/systemd-coredump 2980 0 0 7 1507904006 4294967295 agetty pipe failed

Board fatally hung. Never observed happening in 4.13.6, 4.13.7 or any earlier kernel.

It looks like at least the error message was introduced in this commit present only in 4.14: 
74d46992e0d9dee7f1f376de0d56d31614c8a17a
block: replace bi_bdev with a gendisk pointer and partitions index

Thank you.
Comment 1 The Linux kernel's regression tracker (Thorsten Leemhuis) 2017-10-29 13:55:51 UTC
I'll add this issue to the regression report. But you really should mail this issue to linux-block@vger.kernel.org and CC the two developers mentioned in 74d46992e0d9dee7f1f376de0d56d31614c8a17a , as it will likely get ignored here on bugzilla.