lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 16 May 2024 07:33:01 +0300
From: Petri Kaukasoina <petri.kaukasoina@...i.fi>
To: Bagas Sanjaya <bagasdotme@...il.com>,
 Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
 Linux Regressions <regressions@...ts.linux.dev>,
 Linux Power Management <linux-pm@...r.kernel.org>,
 Linux Filesystems Development <linux-fsdevel@...r.kernel.org>
Cc: Christian Brauner <brauner@...nel.org>, Christoph Hellwig <hch@....de>,
 Jan Kara <jack@...e.cz>, Alexander Viro <viro@...iv.linux.org.uk>,
 "Rafael J. Wysocki" <rafael@...nel.org>, Pavel Machek <pavel@....cz>,
 Len Brown <len.brown@...el.com>
Subject: Re: Fwd: Kernel panic in 6.9.0 after changes in kernel/power/swap.c

Hi

Afterwards I noticed that after I managed to boot 6.9.0, it hibernates 
and even wakes up OK, so it can read the hibernation image. The panic is 
there only when the system is coming up after rebooted. Then I need to 
edit out resume= and resume_offset= from grub to not get the kernel 
panic. (grub with non-UEFI legacy boot.)

-Petri

On 16.5.2024 5.30, Bagas Sanjaya wrote:
> Hi,
>
> Petri Kaukasoina <petri.kaukasoina@...i.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@...nel.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@....de>
>>      Reviewed-by: Jan Kara <jack@...e.cz>
>>      Signed-off-by: Christian Brauner <brauner@...nel.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.
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ