[SOLVED] Debian 9.3 freeze on sleep

Kernels & Hardware, configuring network, installing services

[SOLVED] Debian 9.3 freeze on sleep

Postby konata » 2017-12-20 12:43

Hi, I installed debian on my laptop yesterday and when I close the lid to put my laptop in sleep mode we don't see the light flashing, it's just like it's powered on but only the fan is running and we see the light on. When I try to get back it doesn't work like my laptop is frozen can't do anything. Tried pressing keys on keyboard and nothing, not even ctrl+alt+f4. I do get an error when I boot, but I'm not sure it's related to that as it worked on Fedora and had the same error at boot. I'll post them anyway if that help.

Code: Select all
[   24.980208] [drm:amdgpu_vce_ring_test_ib [amdgpu]] *ERROR* amdgpu: IB test timed out.
[   24.980343] [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* amdgpu: failed testing IB on ring 12 (-110).
[   24.980462] [drm:amdgpu_device_init [amdgpu]] *ERROR* ib ring test failed (-110).
[   24.980696] [ powerplay ] this function not implement!


Code: Select all
[   20.924679] bluetooth hci0: firmware: failed to load rtl_bt/rtl8723b_config.bin (-2)
[   20.924700] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
[   20.924706] Bluetooth: hci0: Failed to load rtl_bt/rtl8723b_config.bin

Code: Select all
[   18.840998] tpm_crb MSFT0101:00: can't request region for resource [mem 0xdfb7a000-0xdfb7dfff]


Code: Select all
[    1.348772] ACPI Error: [WLVD] Namespace lookup failure, AE_NOT_FOUND (20160831/psargs-359)
[    1.348848] ACPI Error: Method parse/execution failed [\_SB.WLBU._STA] (Node ffff94d5008afe60), AE_NOT_FOUND (20160831/psparse-543)
[    1.412600] ACPI Error: [WLVD] Namespace lookup failure, AE_NOT_FOUND (20160831/psargs-359)
[    1.412647] ACPI Error: Method parse/execution failed [\_SB.WLBU._STA] (Node ffff94d5008afe60), AE_NOT_FOUND (20160831/psparse-543)
Last edited by konata on 2017-12-20 15:13, edited 1 time in total.
Patrick
User avatar
konata
 
Posts: 6
Joined: 2017-08-26 13:40

Re: Debian 9.3 freeze on sleep

Postby bw123 » 2017-12-20 12:54

If you give specifics about your hardware it may help readers help you.

Many people swear that package 'inxi' is the way to go, it does seem pretty simple to use. You can post the output here, thanks for using code boxes.

The ACPI/namespace lookups may just be warnings. I get rid of them on my machines by setting loglevel=3 and then setting it back to four after booting. Probably don't need to worry about those right now.

All radeon boards need firmware, so make sure you did that
https://wiki.debian.org/AtiHowTo
User avatar
bw123
 
Posts: 3085
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Debian 9.3 freeze on sleep

Postby konata » 2017-12-20 13:19

inxi:
Code: Select all
System:    Host: LSL Kernel: 4.9.0-4-amd64 x86_64 (64 bit gcc: 6.3.0)
           Desktop: Gnome 3.22.3 (Gtk 3.22.11-1) Distro: Debian GNU/Linux 9 (stretch)
Machine:   Device: laptop System: HP product: HP Notebook v: Type1ProductConfigId
           Mobo: HP model: 81F9 v: 67.40 UEFI: Insyde v: F.24 date: 06/07/2017
Battery    BAT1: charge: 5.0 Wh 18.5% condition: 26.9/28.5 Wh (94%)
           model: Hewlett-Packard PABAS0241231 status: Discharging
CPU:       Quad core AMD A10-9600P RADEON R5 10 COMPUTE CORES 4C+6G (-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 19164
           clock speeds: max: 2400 MHz 1: 1500 MHz 2: 1500 MHz 3: 1500 MHz 4: 1500 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Carrizo bus-ID: 00:01.0
           Display Server: X.Org 1.19.2 drivers: fbdev,ati (unloaded: modesetting,vesa,radeon)
           Resolution: 1366x768@60.09hz
           GLX Renderer: Gallium 0.4 on AMD CARRIZO (DRM 3.8.0 / 4.9.0-4-amd64, LLVM 3.9.1)
           GLX Version: 3.0 Mesa 13.0.6 Direct Rendering: Yes
Network:   Card-1: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 01:00.0
           IF: enp1s0 state: down mac: 98:e7:f4:8d:b6:de
           Card-2: Realtek RTL8723BE PCIe Wireless Network Adapter
           driver: rtl8723be port: 2000 bus-ID: 02:00.0
           IF: wlo1 state: up mac: cc:b0:da:3f:c1:db
Drives:    HDD Total Size: 1000.2GB (1.1% used)
           ID-1: /dev/sda model: WDC_WD10JPVX size: 1000.2GB temp: 30C
Partition: ID-1: / size: 910G used: 4.5G (1%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 237M used: 40M (18%) fs: ext2 dev: /dev/sda2
           ID-3: swap-1 size: 6.01GB used: 0.00GB (0%) fs: swap dev: /dev/dm-2
Info:      Processes: 213 Uptime: 26 min Memory: 1044.9/5625.7MB
           Init: systemd runlevel: 5 Gcc sys: 6.3.0 Client: Shell (bash 4.4.121) inxi: 2.3.5


bw123 wrote:All radeon boards need firmware, so make sure you did that
https://wiki.debian.org/AtiHowTo

I have firmware-amd-graphics, xserver-xorg-video-amdgpu and libgl1-something and firmware-linux-nonfree installed.
Patrick
User avatar
konata
 
Posts: 6
Joined: 2017-08-26 13:40

Re: Debian 9.3 freeze on sleep

Postby bw123 » 2017-12-20 13:27

Practically a brand new machine! Sounds really nice, have you ever used backports? There is some newer firmware and newer kernel in there. You might want to wait until some other replies.
User avatar
bw123
 
Posts: 3085
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Debian 9.3 freeze on sleep

Postby konata » 2017-12-20 14:16

bw123 wrote:Practically a brand new machine! Sounds really nice, have you ever used backports? There is some newer firmware and newer kernel in there. You might want to wait until some other replies.


Haven't used it before but just did now and installed the updates for all upgradable packages with it (this is safe right?). There also was a systemd update available, but it looks like that didn't fix the problem. Nothing changed.

So I guess I'll wait until someone else who know how to fix that problem reply. Also doing some work on my side trying to fix it.
Patrick
User avatar
konata
 
Posts: 6
Joined: 2017-08-26 13:40

Re: Debian 9.3 freeze on sleep

Postby bw123 » 2017-12-20 14:29

konata wrote:...installed the updates for all upgradable packages with it (this is safe right?).


No, you don't need all the backports, try the wiki for tips, or here https://backports.debian.org/Instructions/

Did you get the 4.13 kernel? If you try it, post the new inxi output. Take it slow or you'll get hung and have to reinstall.
User avatar
bw123
 
Posts: 3085
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Debian 9.3 freeze on sleep

Postby konata » 2017-12-20 15:12

The new inxi:
Code: Select all
System:    Host: LSL Kernel: 4.13.0-0.bpo.1-amd64 x86_64 (64 bit gcc: 6.3.0)
           Desktop: Gnome 3.22.3 (Gtk 3.22.11-1)
           Distro: Debian GNU/Linux 9 (stretch)
Machine:   Device: laptop System: HP product: HP Notebook v: Type1ProductConfigId
           Mobo: HP model: 81F9 v: 67.40 UEFI: Insyde v: F.24 date: 06/07/2017
Battery    BAT1: charge: 27.8 Wh 96.4% condition: 28.8/28.5 Wh (101%)
           model: Hewlett-Packard PABAS0241231 status: Charging
CPU:       Quad core AMD A10-9600P RADEON R5 10 COMPUTE CORES 4C+6G (-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 19162
           clock speeds: max: 2400 MHz 1: 1500 MHz 2: 1200 MHz 3: 1200 MHz
           4: 1500 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Carrizo bus-ID: 00:01.0
           Display Server: X.Org 1.19.2 drivers: fbdev,ati (unloaded: modesetting,vesa,radeon)
           Resolution: 1366x768@60.09hz
           GLX Renderer: Gallium 0.4 on AMD CARRIZO (DRM 3.18.0 / 4.13.0-0.bpo.1-amd64, LLVM 3.9.1)
           GLX Version: 3.0 Mesa 13.0.6 Direct Rendering: Yes
Network:   Card-1: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 01:00.0
           IF: enp1s0 state: down mac: 98:e7:f4:8d:b6:de
           Card-2: Realtek RTL8723BE PCIe Wireless Network Adapter
           driver: rtl8723be port: 2000 bus-ID: 02:00.0
           IF: wlo1 state: up mac: cc:b0:da:3f:c1:db
Drives:    HDD Total Size: 1000.2GB (1.1% used)
           ID-1: /dev/sda model: WDC_WD10JPVX size: 1000.2GB
Partition: ID-1: / size: 910G used: 4.9G (1%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 237M used: 68M (31%) fs: ext2 dev: /dev/sda2
           ID-3: swap-1 size: 6.01GB used: 0.00GB (0%) fs: swap dev: /dev/dm-2
Info:      Processes: 206 Uptime: 8 min Memory: 1112.1/5625.0MB
           Init: systemd runlevel: 5 Gcc sys: 6.3.0
           Client: Shell (bash 4.4.121) inxi: 2.3.5


bw123 wrote:Did you get the 4.13 kernel? If you try it, post the new inxi output. Take it slow or you'll get hung and have to reinstall.


So I installed the kernel 4.13 bpo. I wasn't sure what was the name of the kernel but now I have it installed and... suspend works! :)

Thank you very much!

There is one thing that doesn't work, it's hibernate, but I never use it so that's not a problem. Bluetooth also works even if I got bluetooth errors when I start so that's okay. I do use bluetooth but occasionally.
Patrick
User avatar
konata
 
Posts: 6
Joined: 2017-08-26 13:40


Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable