Re: libahci driver and power switching HDD on newer kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

On 15.09.24 14:44, W wrote:
> 
> I've got some problems with newer kernels during hibernation and
> waking up from hibernation.
> The symptom of the issue is that there is HDD power switching executed
> after I run pm-hibernate command and the same HDD power switching
> during the wake up process from hibernation.

Thx for the report. I CCed Damien and Niklas (and the regressions list),
maybe they have an idea. If they do not reply you most likely need to
perform a bisection to raise interest in your report.

And FWIW, there is one important info that afaics is missing from your
report: If the latest mainline kernel (e.g. 6.11) still affected?

Ciao, Thorsten

> As the HDD power switch process I mean: powering off my HDD and
> immediately after that powering on the HDD. This process in my case
> takes about 1 second.
> 
> Here there are more details about both operations: hibernation and
> waking up:
> 
> Hibernation process:
> 1. in shell I type: "pm-hibernate"
> 2. kernel is preparing system to hibernation
> 3. hdd is powered off and immediately powered on - it takes about one
> second or less to do the power switch
> 4. kernel is saving mem image to swap partition with printing progress
> in percentage
> 5. PC and HDD are powered off
> 
> Waking up process:
> 1. my PC and HDD are powered off, I'm pressing any key on my keyboard
> so it is powering up my PC
> 2. kernel is starting, recognizes that there is mem image on swap and
> starting to load it - printing progress percentage
> 3. hdd is powered off and immediately powered on - it takes about one
> second or less to do the power switch
> 4. system is ready to use and working fine
> 
> So to sum up - in both processes described above the problematic step
> is the step 3.
> 
> I noticed this issue when I switched kernel 6.4.12 to 6.7.5. So far I
> haven't used git bisect yet to find the exact offending commit so the
> change might be introduced somewhere between 6.4.12 and 6.7.5.
> In 6.4.12 I have not such an issues with HDD power switching. The
> issues exist in 6.7.5 and newer ones and probably somewhere between
> 6.4.12 and 6.7.5.
> 
> I noticed some errors in dmesg coming from ahci driver like these:
> Sep 11 15:49:30 localhost kernel: ahci 0000:00:17.0: port does not
> support device sleep
> 
> and ACPI BIOS errors like these:
> Sep 11 15:49:30 localhost kernel: ACPI BIOS Error (bug): Could not
> resolve symbol [\_SB.PCI0.SAT0.PRT0._GTF.DSSP], AE_NOT_FOUND
> (20240322/psargs-330)
> 
> Please take a look at included dmesg in the attachment.
> 
> The mainboard I use is: Gigabyte Z370 HD3P with the newest available
> BIOS update.
> 
> I'd like to ask if this is known issue and if yes how could I fix it?
> I'm not quite sure where exactly is the issue: in kernel or in my
> Gigabyte BIOS?





[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux