From: Pavel Machek <pavel@ucw.cz>
To: "Jia-hao Bai (白家豪)" <Jia-hao.Bai@mediatek.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"rafael@kernel.org" <rafael@kernel.org>,
"Iverlin Wang (王苳霖)" <Iverlin.Wang@mediatek.com>,
"Boy Wu (吳勃誼)" <Boy.Wu@mediatek.com>,
"Seiya Wang (王迺君)" <seiya.wang@mediatek.com>,
"Dengjun Su (苏邓军)" <Dengjun.Su@mediatek.com>,
"Win Yeh (葉昌倫)" <Win.Yeh@mediatek.com>,
"Sowell Peng (彭首偉)" <Sowell.Peng@mediatek.com>,
"Richard-CC Yang (楊職銓)" <Richard-CC.Yang@mediatek.com>
Subject: Re: [BUG] Kernel panic when using Hibernation on kernel 6.1.25
Date: Thu, 13 Jun 2024 12:52:06 +0200 [thread overview]
Message-ID: <ZmrPVg6PwlYLRiSS@duo.ucw.cz> (raw)
In-Reply-To: <KL1PR03MB7037E7FDCC426ED77C917910C6F12@KL1PR03MB7037.apcprd03.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 1397 bytes --]
Hi!
> I encountered a kernel panic when using the Hibernation on kernel version 6.1.25. Below are the details of the issue:
>
> **Description:**
> When I enable CONFIG_HIBERNATION and assign a specific partition for hibernation resuming and perform a specific operation, the system crashes with a kernel panic.
>
> CONFIG_HIBERNATION=y
> CONFIG_PM_STD_PARTITION="/dev/mmcblk0p16"
>
> **Steps to Reproduce:**
> 1. Set printk to level 8: ` echo 8 > /proc/sys/kernel/printk`
> 2. Set up the swap partition: ` mkswap /dev/mmcblk0p16`
> 3. Enable the swap partition: ` swapon -p -3 /dev/mmcblk0p16`
> 4. Configure hibernation resuming settings: ` echo "/dev/mmcblk0p16" > /sys/power/resume`
> 5. Configure hibernation mode:` echo reboot > /sys/power/disk`
> 6. Perform the operation: ` echo disk > /sys/power/state`
> 7. Observe the kernel panic
>
>
> **Expected Behavior:**
> The operation should complete successfully without causing a kernel panic.
>
> **Actual Behavior:**
> The system crashes with a kernel panic.
>
> **Environment:**
> - Kernel version: 6.1.25
> - Distribution: Yocto 4.0 32bit/Kernel 6.1.25 32bit
> - Hardware: Arm Cortex A55, 1GB RAM
We'd need to know way more about the hardware. Also testing with
latest mainline would be useful.
Best regards,
Pavel
--
People of Russia, stop Putin before his war on Ukraine escalates.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2024-06-13 10:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-28 8:00 Jia-hao Bai (白家豪)
2024-06-13 10:52 ` Pavel Machek [this message]
2024-06-14 2:32 ` Jia-hao Bai (白家豪)
2024-07-10 5:32 ` Jia-hao Bai (白家豪)
2024-07-10 11:53 ` Pavel Machek
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=ZmrPVg6PwlYLRiSS@duo.ucw.cz \
--to=pavel@ucw.cz \
--cc=Boy.Wu@mediatek.com \
--cc=Dengjun.Su@mediatek.com \
--cc=Iverlin.Wang@mediatek.com \
--cc=Jia-hao.Bai@mediatek.com \
--cc=Richard-CC.Yang@mediatek.com \
--cc=Sowell.Peng@mediatek.com \
--cc=Win.Yeh@mediatek.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=seiya.wang@mediatek.com \
/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
all inboxes | Powered by JetHome®