Re: Scsi_bus_resume+0x0/0x90 returns -5 when resuming from s3 sleep

From: Damien Le Moal
Date: Sun Jul 30 2023 - 20:41:38 EST


On 7/28/23 11:49, TW wrote:
> Comparing to the 5.15 kernel which had almost no delay. They are HDDs
> though, it was working flawlessly earlier but didn't want to top post
> again. Tried a systemd suspend instead of from the Xfce4 logout menu and
> everything works as intended. So I'd say that it's fixed now.

I posted a proper patch and CC-ed you. A "Tested-by:" tag from you would be much
appreciated (please use your full name in that case, instead of only "TW").
Thanks.

>
> On 7/27/23 20:33, Damien Le Moal wrote:
>> "Slow coming back" -> Compared to which version of the kernel ? Do you
>> have numbers ? If the devices are HDDs, resume will wait for these to
>> spin up. That takes a while (about 10s normally).

--
Damien Le Moal
Western Digital Research