2023-06-09 12:51:55

by help.7ocym

[permalink] [raw]
Subject: iwlwifi hibernate fails (enter fails, leave wifi unusable on resume)

Hi,
it's long time that I didn't played with hibernate, so don't know if it's a new or old issue.

my hardware : https://wiki.gentoo.org/wiki/Lenovo_Yoga_900
I use the pre-built gentoo linux kernel,
6.3.6-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon Jun 5 15:10:53 -00 2023 x86_64 Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz GenuineIntel GNU/Linux

I wanted to re-activate hibernate, even if I mainly use suspend to ram that is working (but when battery runs out the system reboot, and I would like to have it trying to hibernate instead)

so to try hibernate I `echo disk > /sys/power/state`
the system begin hibernation, then go back to normal, appart the wifi that don't work (the adapter is no more listed)

here is attached a dmesg that contains errors
please, let me know if it's a known issue, and I will gladly help investigating.

thanks and regards
JLM

Sent with Proton Mail secure email.


Attachments:
hibernate-error-log2 (122.86 kB)

2023-06-13 07:20:13

by Greenman, Gregory

[permalink] [raw]
Subject: Re: iwlwifi hibernate fails (enter fails, leave wifi unusable on resume)

Hi,

On Fri, 2023-06-09 at 12:43 +0000, [email protected] wrote:
> Hi,
> it's long time that I didn't played with hibernate, so don't know if it's a new or old issue.
>
> my hardware : https://wiki.gentoo.org/wiki/Lenovo_Yoga_900
> I use the pre-built gentoo linux kernel,
> 6.3.6-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon Jun  5 15:10:53 -00 2023 x86_64 Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz GenuineIntel GNU/Linux
>
> I wanted to re-activate hibernate, even if I mainly use suspend to ram that is working (but when battery runs out the system reboot, and I would like to have it trying to hibernate instead)
>
> so to try hibernate I `echo disk > /sys/power/state`
> the system begin hibernation, then go back to normal, appart the wifi that don't work (the adapter is no more listed)
>
> here is attached a dmesg that contains errors
> please, let me know if it's a known issue, and I will gladly help investigating.
>
> thanks and regards
> JLM
>
> Sent with Proton Mail secure email.

From the log I see that the driver lost access to the device on the PCIe level.
Can you please try our backport driver from [1], it's our internal tree with
backports. We've seen a few such problems and we have there a few attempts
to overcome this. The instructions on how to build it can be fount at [2],
please use master branch.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git
[2] https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release

Thanks,
Gregory

2023-09-27 18:50:04

by jlmxyz

[permalink] [raw]
Subject: Re: iwlwifi hibernate fails (enter fails, leave wifi unusable on resume)

Hi,

Le 13/06/2023 à 09:11, Greenman, Gregory - gregory.greenman at intel.com
a écrit :
> Hi,
>
> On Fri, 2023-06-09 at 12:43 +0000, [email protected] wrote:
>> Hi,
>> it's long time that I didn't played with hibernate, so don't know if it's a new or old issue.
>>
>> my hardware : https://wiki.gentoo.org/wiki/Lenovo_Yoga_900
>> I use the pre-built gentoo linux kernel,
>> 6.3.6-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon Jun  5 15:10:53 -00 2023 x86_64 Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz GenuineIntel GNU/Linux
>>
>> I wanted to re-activate hibernate, even if I mainly use suspend to ram that is working (but when battery runs out the system reboot, and I would like to have it trying to hibernate instead)
>>
>> so to try hibernate I `echo disk > /sys/power/state`
>> the system begin hibernation, then go back to normal, appart the wifi that don't work (the adapter is no more listed)
>>
>> here is attached a dmesg that contains errors
>> please, let me know if it's a known issue, and I will gladly help investigating.
>>
>> thanks and regards
>> JLM
>>
>> Sent with Proton Mail secure email.
> From the log I see that the driver lost access to the device on the PCIe level.
> Can you please try our backport driver from [1], it's our internal tree with
> backports. We've seen a few such problems and we have there a few attempts
> to overcome this. The instructions on how to build it can be fount at [2],
> please use master branch.
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git
> [2] https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release
>
> Thanks,
> Gregory

I tried the instruction given without success so it seems that the issue
isn't fixed by the backports and seems not fixed on 6.5.3 (see attached
dmesg)

thanks

JL



Attachments:
6.5.3-suspend_to_disk_error.log (135.90 kB)

2023-12-30 18:05:28

by jlmxyz

[permalink] [raw]
Subject: Re: iwlwifi hibernate fails (enter fails, leave wifi unusable on resume)

Hi,

Le 27/09/2023 à 11:37, jlmxyz a écrit :
> Hi,
>
> Le 13/06/2023 à 09:11, Greenman, Gregory - gregory.greenman at
> intel.com a écrit :
>> Hi,
>>
>> On Fri, 2023-06-09 at 12:43 +0000, [email protected] wrote:
>>> Hi,
>>> it's long time that I didn't played with hibernate, so don't know if
>>> it's a new or old issue.
>>>
>>> my hardware : https://wiki.gentoo.org/wiki/Lenovo_Yoga_900
>>> I use the pre-built gentoo linux kernel,
>>> 6.3.6-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon Jun  5 15:10:53 -00
>>> 2023 x86_64 Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz GenuineIntel
>>> GNU/Linux
>>>
>>> I wanted to re-activate hibernate, even if I mainly use suspend to
>>> ram that is working (but when battery runs out the system reboot,
>>> and I would like to have it trying to hibernate instead)
>>>
>>> so to try hibernate I `echo disk > /sys/power/state`
>>> the system begin hibernation, then go back to normal, appart the
>>> wifi that don't work (the adapter is no more listed)
>>>
>>> here is attached a dmesg that contains errors
>>> please, let me know if it's a known issue, and I will gladly help
>>> investigating.
>>>
>>> thanks and regards
>>> JLM
>>>
>>> Sent with Proton Mail secure email.
>>   From the log I see that the driver lost access to the device on the
>> PCIe level.
>> Can you please try our backport driver from [1], it's our internal
>> tree with
>> backports. We've seen a few such problems and we have there a few
>> attempts
>> to overcome this. The instructions on how to build it can be fount at
>> [2],
>> please use master branch.
>>
>> [1]
>> https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git
>> [2]
>> https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release
>>
>> Thanks,
>> Gregory
>
> I tried the instruction given without success so it seems that the
> issue isn't fixed by the backports and seems not fixed on 6.5.3 (see
> attached dmesg)
>
> thanks
>
> JL
>
I tried with another hardware, since the AC8260 was said to be too old,
I bought a AX210

the issue is the same with both hardware... they fails suspend to disk,
and card is no more listed in lspci after trying to suspend to disk.....

the AX210'Bluetooth doesn't work as well, the adapter is not listed,
even if dmesg seems to contains lines that says it was found and
firmware uploaded....

see attached logs

it's really annoying, I ended saying myself that since the bug is
related to old hardware, I should buy a new hardware so that I can have
suspend to disk work again....

seems also that the elan_i2c driver don't work after coming back from
suspend to disk trial

#uname -a

Linux jlmyoga900 6.6.8-gentoo-dist #1 SMP PREEMPT_DYNAMIC Wed Dec 20
18:06:24 -00 2023 x86_64 Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
GenuineIntel GNU/Linux


thanks and regards

JL


Attachments:
suspendToDiskAC8260_error.log (123.75 kB)
suspendToDiskAX210_error.log (122.93 kB)
OpenPGP_0xC83BBBA444E1B7C3.asc (669.00 B)
OpenPGP public key
OpenPGP_signature.asc (243.00 B)
OpenPGP digital signature
Download all attachments