lkml.org 
[lkml]   [2024]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectFwd: Kernel panic in 6.9.0 after changes in kernel/power/swap.c
Hi,

Petri Kaukasoina <petri.kaukasoina@tuni.fi> reported on Bugzilla
(https://bugzilla.kernel.org/show_bug.cgi?id=218845) VFS kernel panic
regression when reading hibernation image. He wrote:

> 6.9.0 crashes on boot while 6.8.0 is ok.
>
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
>
> bisect result:
>
> 4379f91172f39d999919c8e8b2b5e1d665d8972d is the first bad commit
> commit 4379f91172f39d999919c8e8b2b5e1d665d8972d
> Author: Christian Brauner <brauner@kernel.org>
> Date: Tue Jan 23 14:26:23 2024 +0100
>
> power: port block device access to file
>
> Link: https://lore.kernel.org/r/20240123-vfs-bdev-file-v2-6-adbd023e19cc@kernel.org
> Reviewed-by: Christoph Hellwig <hch@lst.de>
> Reviewed-by: Jan Kara <jack@suse.cz>
> Signed-off-by: Christian Brauner <brauner@kernel.org>
>
> kernel/power/swap.c | 28 ++++++++++++++--------------
>
> 6.9.0 with only this reverted did not compile. This has something to do with reading a hibernation image from disk. I use a swap file, not a partition. The system was not hibernated, though. After I removed resume= and resume_offset= from the kernel command line, even 6.9.0 boots without panic.
>

Thanks.

--
An old man doll... just what I always wanted! - Clara
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2024-05-27 18:29    [W:0.113 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site