Re: Regression v6.11 booting cannot mount harddisks (xfs)

From: Jens Axboe
Date: Tue Sep 10 2024 - 14:38:34 EST


On 9/10/24 11:53 AM, Jesper Dangaard Brouer wrote:
> Hi Hellwig,
>
> I bisected my boot problem down to this commit:
>
> $ git bisect good
> af2814149883e2c1851866ea2afcd8eadc040f79 is the first bad commit
> commit af2814149883e2c1851866ea2afcd8eadc040f79
> Author: Christoph Hellwig <hch@xxxxxx>
> Date:   Mon Jun 17 08:04:38 2024 +0200
>
>     block: freeze the queue in queue_attr_store
>
>     queue_attr_store updates attributes used to control generating I/O, and
>     can cause malformed bios if changed with I/O in flight.  Freeze the queue
>     in common code instead of adding it to almost every attribute.
>
>     Signed-off-by: Christoph Hellwig <hch@xxxxxx>
>     Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>
>     Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx>
>     Reviewed-by: Hannes Reinecke <hare@xxxxxxx>
>     Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>
>     Link: https://lore.kernel.org/r/20240617060532.127975-12-hch@xxxxxx
>     Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>
>
>  block/blk-mq.c    | 5 +++--
>  block/blk-sysfs.c | 9 ++-------
>  2 files changed, 5 insertions(+), 9 deletions(-)
>
> git describe --contains af2814149883e2c1851866ea2afcd8eadc040f79
> v6.11-rc1~80^2~66^2~15

Curious, does your init scripts attempt to load a modular scheduler
for your root drive?

Reference: https://git.kernel.dk/cgit/linux/commit/?h=for-6.12/block&id=3c031b721c0ee1d6237719a6a9d7487ef757487b

--
Jens Axboe