Linux-PM Archive mirror
 help / color / mirror / Atom feed
From: Petri Kaukasoina <petri.kaukasoina@tuni.fi>
To: Bagas Sanjaya <bagasdotme@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Regressions <regressions@lists.linux.dev>,
	Linux Power Management <linux-pm@vger.kernel.org>,
	Linux Filesystems Development <linux-fsdevel@vger.kernel.org>
Cc: Christian Brauner <brauner@kernel.org>,
	Christoph Hellwig <hch@lst.de>, Jan Kara <jack@suse.cz>,
	Alexander Viro <viro@zeniv.linux.org.uk>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Pavel Machek <pavel@ucw.cz>, Len Brown <len.brown@intel.com>
Subject: Re: Fwd: Kernel panic in 6.9.0 after changes in kernel/power/swap.c
Date: Thu, 16 May 2024 07:33:01 +0300	[thread overview]
Message-ID: <59ed566a-3331-46c5-b24e-16d321fe7e80@tuni.fi> (raw)
In-Reply-To: <ZkVvuKHV-jdOMnB1@archie.me>

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@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.
>

      reply	other threads:[~2024-05-16  4:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-16  2:30 Fwd: Kernel panic in 6.9.0 after changes in kernel/power/swap.c Bagas Sanjaya
2024-05-16  4:33 ` Petri Kaukasoina [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59ed566a-3331-46c5-b24e-16d321fe7e80@tuni.fi \
    --to=petri.kaukasoina@tuni.fi \
    --cc=bagasdotme@gmail.com \
    --cc=brauner@kernel.org \
    --cc=hch@lst.de \
    --cc=jack@suse.cz \
    --cc=len.brown@intel.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=rafael@kernel.org \
    --cc=regressions@lists.linux.dev \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).