Bug#988688: linux-source-5.10: Lenovo ThinkPad Yoga 260 fails to suspend and resume

2023-02-16 Thread Jonathan Dowland

I have the same problem on the same laptop: Thinkpad 260 Yoga. Machine
goes into suspend, but cannot be woken up. I've tried the power button
and WOL packets.

Fresh install of current Bookworm using debian installer netinst with
firmware nightly, from 2022-02-15:

604f09ff97b5faddacff2d43f8710c564d4138d8807d74985f56ab5b76fcdb88  
firmware-testing-amd64-netinst.iso

minimal install. Kernel is linux-image-6.1.0-3-amd64 (6.1.8-1)

On Mon, May 24, 2021 at 08:59:01AM -0400, Kenichiro MATOHARA wrote:

$ sudo mount -o remount,sync /
$ sync
$ logger SUSPEND; systemctl suspend


Relevant logs from me doing the same (don't look useful sadly)

Feb 16 11:56:53 debian login[841]: ROOT LOGIN  on '/dev/tty1'
Feb 16 12:00:24 debian kernel: EXT4-fs (dm-1): re-mounted. Quota mode: none.
Feb 16 12:00:32 debian root[849]: SUSPEND
Feb 16 12:00:32 debian systemd-logind[664]: The system will suspend now!
Feb 16 12:00:32 debian systemd[1]: Reached target sleep.target - Sleep.
Feb 16 12:00:32 debian systemd[1]: Starting systemd-suspend.service - System 
Suspend...
Feb 16 12:00:32 debian systemd-sleep[851]: Entering sleep state 'suspend'...
Feb 16 12:00:32 debian kernel: PM: suspend entry (deep)


--
  Jonathan Dowland



Bug#988688: linux-source-5.10: Lenovo ThinkPad Yoga 260 fails to suspend and resume

2021-06-24 Thread Melissa Ferreira da Silva Boiko
Package: src:linux
Version: 5.10.40-1
Followup-For: Bug #988688

Getting this in both a Thinkpad L15 freshly installed on current
bullseye/testing, and a Thinkpad T460s upgraded from a buster/stable.
The T460s resumed normally with the buster kernel.  With 5.10 they get a
dark screen, keyboard LEDs on but don't react.

Manually installing kernel 5.12.0 (grabbed it from liquorix for
convenience) fixed it.

Log has nothing useful between suspend and failed/frozen resume:


---

Jun 24 06:06:29 localhost kernel: [  283.154932] e1000e :00:1f.6 enp0s31f6: 
NIC Link is Down   
Jun 24 06:06:29 localhost kernel: [  283.206322] wlp4s0: deauthenticating from 
16:e5:b0:b3:17:83 by local choice (Reason: 3=DEAUTH_LEAVING)
  
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@Jun
 24 10:33:53 localhost kernel: [0.00] microcode: microcode updated 
early to revision 0xe2, date = 2020-07-14
Jun 24 10:33:53 localhost kernel: [0.00] Linux version 5.10.0-7-amd64 
(debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU 
ld (GNU Binutils for Debian) 2.35.2) #1 SMP Debian 5.10.40-1 (2021-05-28)   

  
Jun 24 10:33:53 localhost kernel: [0.00] Command line: 
BOOT_IMAGE=/vmlinuz-5.10.0-7-amd64 root=/dev/mapper/onluksvg-root ro

---

-- Package-specific info:
** Kernel log: boot messages should be attached

** Model information
sys_vendor: LENOVO
product_name: 20U70004GE
product_version: ThinkPad L15 Gen 1
chassis_vendor: LENOVO
chassis_version: None
bios_vendor: LENOVO
bios_version: R19ET32W (1.16 )
board_vendor: LENOVO
board_name: 20U70004GE
board_version: SDK0J40697 WIN

** Network interface configuration:
*** /etc/network/interfaces:

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

** PCI devices:
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Root 
Complex [1022:1630]
Subsystem: Lenovo Renoir Root Complex [17aa:507e]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- 

00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe 
Dummy Host Bridge [1022:1632]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP 
Bridge [1022:1634] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:02.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP 
Bridge [1022:1634] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:02.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP 
Bridge [1022:1634] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:02.5 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP 
Bridge [1022:1634] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe 
Dummy Host Bridge [1022:1632]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
  

Bug#988688: linux-source-5.10: Lenovo ThinkPad Yoga 260 fails to suspend and resume

2021-05-24 Thread Kenichiro MATOHARA
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

sorry.
I made a mistake in the address, so I will resend it.

- 
> Could you please provide the kernel logs from when you tried to
> suspend your machine?

suspended it as follows and extracted it from log file.

> $ sudo mount -o remount,sync /
> $ sync
> $ logger SUSPEND; systemctl suspend

Attached as `yoga-260_suspend.log.xz`

- --
KenichiroMATOHARA
mailto:mato...@gmail.com
https://matoken.org/
.O.
..O
OOO

On 2021-05-18 at 14:45, mato...@gmail.com wrote:
> On Tue, May 18, 2021 at 07:04:37AM +0200, Salvatore Bonaccorso wrote:
> > Could you please provide the kernel logs from when you tried to
> > suspend your machine?
>
> suspended it as follows and extracted it from log file.
>
> > $ sudo mount -o remount,sync /
> > $ sync
> > $ logger SUSPEND; systemctl suspend
>
> Attached as `yoga-260_suspend.log`
-BEGIN PGP SIGNATURE-
Version: FlowCrypt Email Encryption 8.0.7
Comment: Seamlessly send and receive encrypted email

wsFzBAEBCgAGBQJgq6MTACEJEDtUyq7ZqVn0FiEEuLUgs5x+A1yxiwH/O1TK
rtmpWfSPOg//VFO92MQqN34Ev5N+gZeonUjP/fG/YCiB2Y8fWhOI3VyoGMq2
zdKDC8cl5o0+HfArWbCVI2tMyfw+imen/utmBBOxlGdKWsJDDKUyG63g4WHi
2HSUGG9qCrXMZhHxyiZ+nMYFrnktrGnaMuyDjtyHBIj1iaagq2hJtBs1Rvc2
c4ROy1rSXfx9t9mwix9jnLpEkZpA8TtxaxaelZqqOBFXAyWmdBe79uvLBino
NBtK8+89yyVXyARjRkx2sTwSKJhtSZg4nEX87RIzmRYmqiiP9wOMxU2reF2x
R+I6i/1Q4OWc0EE/u7vVC84xlxkexfOcGRNy7/vzQX3lPL+eOSwV7rwBIMte
8gxE8BpsC9j6PNARV4I+KjjHI47K2Ier34QSTkMnP9opcW+PZTobSCpp9BRH
dSCLtcSmmTtgsbSHw479GBFJ5K4VACADuGnNRsKPTzm5k7/lEtp5ebgBoPXt
LcqRaloR73OJYSreMN4a1BY8lt+RyTVb981EHW0S0yHscdnaay4YIclupMFc
eATPLry6+5oIv9l7ZeQVgItucL7sjbQOMX9fpu25/0+brVNC88QeYzqSkxU3
H0u3hjgWhpaKxB5/3DMScebAUeZpVth3LD661Ihm+qOa5TYzzTNelsq8laOz
+cz4OYhFYKwTY81qgY0GgskcVwg1xSSusA0=
=TFHm
-END PGP SIGNATURE-


yoga-260_suspend.log.xz
Description: application/xz


0x3B54CAAED9A959F4.asc
Description: application/pgp-keys


Bug#988688: linux-source-5.10: Lenovo ThinkPad Yoga 260 fails to suspend and resume

2021-05-17 Thread Salvatore Bonaccorso
Control: tags -1 + moreinfo

On Tue, May 18, 2021 at 07:46:17AM +0900, KenichiroMatohara wrote:
> Package: linux-source-5.10
> Severity: important
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> Dear Maintainer,
> 
> I got the LENOVO ThinkPad Yoga 260 and installed bullseye with Debian 
> Installer Bullseye RC 1.
> However, when I try to suspend, it doesn't work.
> The LED on the power button is flashing slowly in the suspended state, but 
> LEDs such as his FnLk on the keyboard remain lit.
> (It stayed the same even after one night)
> 
> There is no response when I press the power button to resume.
> In this case, it seems that there is no choice but to press and hold the 
> power supply to turn off the power.
> 
> I tried it.
> * Switch from Wayland to Xorg
> * Update to the latest BIOS
> * Initialize the BIOS
> 
> Even if I tried these, the operation did not change.
> 
> After that, when I self-built Linux Kernel 5.12.4 and started it with this, 
> both suspend and resume worked fine.
> 
> When I searched the Web, Suspend seemed to work in the previous Debian, so it 
> seems that it stopped working at some point.

Could you please provide the kernel logs from when you tried to
suspend your machine?

Regards,
Salvatore



Processed: Re: Bug#988688: linux-source-5.10: Lenovo ThinkPad Yoga 260 fails to suspend and resume

2021-05-17 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + moreinfo
Bug #988688 [src:linux] linux-source-5.10: Lenovo ThinkPad Yoga 260 fails to 
suspend and resume
Added tag(s) moreinfo.

-- 
988688: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988688
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#988688: linux-source-5.10: Lenovo ThinkPad Yoga 260 fails to suspend and resume

2021-05-17 Thread KenichiroMatohara
Package: linux-source-5.10
Severity: important

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Dear Maintainer,

I got the LENOVO ThinkPad Yoga 260 and installed bullseye with Debian Installer 
Bullseye RC 1.
However, when I try to suspend, it doesn't work.
The LED on the power button is flashing slowly in the suspended state, but LEDs 
such as his FnLk on the keyboard remain lit.
(It stayed the same even after one night)

There is no response when I press the power button to resume.
In this case, it seems that there is no choice but to press and hold the power 
supply to turn off the power.

I tried it.
* Switch from Wayland to Xorg
* Update to the latest BIOS
* Initialize the BIOS

Even if I tried these, the operation did not change.

After that, when I self-built Linux Kernel 5.12.4 and started it with this, 
both suspend and resume worked fine.

When I searched the Web, Suspend seemed to work in the previous Debian, so it 
seems that it stopped working at some point.


- -- System Information:
Debian Release: 11.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-6-amd64 (SMP w/4 CPU threads)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-source-5.10 depends on:
ii  binutils  2.35.2-2
ii  xz-utils  5.2.5-2

Versions of packages linux-source-5.10 recommends:
ii  bc1.07.1-2+b2
ii  bison 2:3.7.5+dfsg-1
ii  flex  2.6.4-8
ii  gcc   4:10.2.1-1
ii  libc6-dev [libc-dev]  2.31-11
pn  linux-config-5.10 
ii  make  4.3-4.1

Versions of packages linux-source-5.10 suggests:
pn  libncurses-dev | ncurses-dev  
ii  pkg-config0.29.2-1
pn  qtbase5-dev   

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEnD7FJy/9r4Ayia3kOYwJzFcuUywFAmCi8jkACgkQOYwJzFcu
UywamBAAn3TLqp3psPR+WR/wncpgaTnKJhrTw1Oozcojtff0ibMraQ2Ig8e4HSWu
u8fY9BwZz8Zq3TQRIPMlhy/Fvj60OajrjEKx57ML09/Cme9ViLnX38ZpsJKgz5rP
D5YeUHEnnFr4NfkNs9EHpEGIRh2YqU70DuraTJoVbASh7ynRhFI8MADgyVaGB3Ru
OehVjiZMmdHAyCEcf6uu+ayykd70uJfMfjfPJaXX8AMkOZyRDb5Hv4uJ0f01jRVW
cFiq80z9oe5KXYHtJJvP12OPQQ9xRQBX4GFDUcN/WdehCn+CSMdInBkHcCIxemkU
/fvUXcIzxUCiIZuZuCnREQfnHvBF8ZVMjKhR5wTKqLO2Vo34dnlit1eMQA63FNE1
en12QXH+CWSAF3u/PkaGBTWjte8StoYzyYbH5Gr+1GQVsqld5USoztKl1ICZEn3H
isjyO8JmSzIRqwx+JmDMlI99GFZ6CVAmagU/EVhHJW3DPCUvuxJRpNCWsvoGyJzu
lMyMv5Vd2QSK/Ka4L3rvGR95lNVOHxnjtVlWax3y1L71mBnSgHn0wD3u49tEN5tc
1SjOTfTb3qd6NXUd4TfL4xHPb3UuhXWwpZvvYYITzmC4H+fHQOgAntXCkmPSS97l
QQN1jBHxpU3MqwI3aOgM/FqCVH9t+CU272dOjoYjDMtCxDUziT4=
=mifK
-END PGP SIGNATURE-