Hibernation not working with Kernel 4.10.0-38

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Appoloin
Level 1
Level 1
Posts: 31
Joined: Sun Apr 28, 2013 3:58 am

Hibernation not working with Kernel 4.10.0-38

Postby Appoloin » Fri Nov 17, 2017 12:41 pm

Hi,

Is there an known issue with Kernel 4.10.0-38 that stop the system going into hibernation. The process starts but after a few seconds the login screen appears, and if I login the there's no network and sudo doesn't work, and a shut down from here cause the mint logo screen with little flashing squares to appear but nothing else happens.

if I switch to Kernel 4.8.0-58 everything works as expected.

User avatar
ClixTrix
Level 4
Level 4
Posts: 209
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: Hibernation not working with Kernel 4.10.0-38

Postby ClixTrix » Fri Nov 17, 2017 1:54 pm

Please run the following command from Terminal and post back the results:

Code: Select all

inxi -Fxz
Linux Mint 18.2 x64 Cinnamon Kernel 4.10.0-40 Xenial
Gigabyte GA-AB350M-D3H (F5a) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 16GB (2x8GB) /XFX HD5450-1GB
SSD Samsung EVO 960 250GB / HDD WD1600BEKT 160GB / SSD Toshiba OCZ VX500 512GB

Appoloin
Level 1
Level 1
Posts: 31
Joined: Sun Apr 28, 2013 3:58 am

Re: Hibernation not working with Kernel 4.10.0-38

Postby Appoloin » Fri Nov 17, 2017 4:27 pm

Code: Select all

System:    Host:Lenovo-Z50-75 Kernel: 4.8.0-58-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.4.6 (Gtk 3.18.9) Distro: Linux Mint 18.2 Sonya
Machine:   System: LENOVO (portable) product: 80EC v: Lenovo Z50-75
           Mobo: LENOVO model: Lancer 5B3 v: SDK0J40700SDK0J40700 WIN
           Bios: LENOVO v: A4CN40WW (V 2.09) date: 08/24/2015
CPU:       Dual core AMD A10-7300 Radeon R6 10 Compute Cores 4C+6G (-HT-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 7585
           clock speeds: max: 1900 MHz 1: 1200 MHz 2: 1500 MHz 3: 1200 MHz
           4: 1800 MHz
Graphics:  Card-1: Advanced Micro Devices [AMD/ATI] Kaveri [Radeon R6 Graphics]
           bus-ID: 00:01.0
           Card-2: Advanced Micro Devices [AMD/ATI] Jet PRO [Radeon R5 M230]
           bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           GLX Renderer: Gallium 0.4 on AMD KAVERI (DRM 2.46.0 / 4.8.0-58-generic, LLVM 4.0.0)
           GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes
Audio:     Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller
           driver: snd_hda_intel bus-ID: 00:14.2
           Card-2 Advanced Micro Devices [AMD/ATI] Kaveri HDMI/DP Audio Controller
           driver: snd_hda_intel bus-ID: 00:01.1
           Sound: Advanced Linux Sound Architecture v: k4.8.0-58-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 1000 bus-ID: 02:00.0
           IF: enp2s0 state: down mac: <filter>
           Card-2: Qualcomm Atheros QCA6164 802.11ac Wireless Network Adapter
           driver: ath10k_pci bus-ID: 03:00.0
           IF: wlp3s0 state: up mac: <filter>
           Card-3: Atheros usb-ID: 004-002
           IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 1000.2GB (34.1% used)
           ID-1: /dev/sda model: ST1000LM024_HN size: 1000.2GB
Partition: ID-1: / size: 412G used: 141G (37%) fs: ext4 dev: /dev/sda9
           ID-2: swap-1 size: 16.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda8
Info:      Processes: 227 Uptime: 9:31 Memory: 3815.1/14970.1MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35



User avatar
ClixTrix
Level 4
Level 4
Posts: 209
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: Hibernation not working with Kernel 4.10.0-38

Postby ClixTrix » Sat Nov 18, 2017 11:50 am

Does the same or similar problem occur with Suspend?

Locate the Network Icon in the Panel, toggle OFF both Wired and Wifi. Let's see if that has any effect on a test.

If you're using a Mouse (besides the touchpad), what kind of Mouse, e.g. USB, Bluetooth.

Also, check BIOS settings for any wake on LAN and turn that OFF. Also, which Power Management Events (to power-on or wake, e.g. keyboard, mouse) are enabled in BIOS.
Linux Mint 18.2 x64 Cinnamon Kernel 4.10.0-40 Xenial
Gigabyte GA-AB350M-D3H (F5a) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 16GB (2x8GB) /XFX HD5450-1GB
SSD Samsung EVO 960 250GB / HDD WD1600BEKT 160GB / SSD Toshiba OCZ VX500 512GB

Appoloin
Level 1
Level 1
Posts: 31
Joined: Sun Apr 28, 2013 3:58 am

Re: Hibernation not working with Kernel 4.10.0-38

Postby Appoloin » Sat Nov 18, 2017 12:36 pm

I've removed the 4.10 Kernel and when back to 4.8 the branch.

Appoloin
Level 1
Level 1
Posts: 31
Joined: Sun Apr 28, 2013 3:58 am

Re: Hibernation not working with Kernel 4.10.0-38

Postby Appoloin » Mon Nov 20, 2017 2:23 pm

I reinstalled 4.10-38 and rebooted. The wifi was disabled from the panel and then hibernation was tried, hibernation was entered into and out from successfully. The test was repeated with wifi active on hibernation and hibernation failed.

So whatever the problem is it appears to be with network card.
Last edited by Appoloin on Sun Nov 26, 2017 9:21 am, edited 1 time in total.

User avatar
ClixTrix
Level 4
Level 4
Posts: 209
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: Hibernation not working with Kernel 4.10.0-38

Postby ClixTrix » Thu Nov 23, 2017 11:47 am

Could be firmware or driver not working for PM. Let's try checking the log for that wifi hardware and the driver for messages. Try this after a clean boot and attempt to hibernate with wifi enabled. I'm assuming it's Card-2 from the inxi dump that is the active wifi that has the problem.

Run this command from Terminal to get the wifi hardware messages and post back:

Code: Select all

dmesg | grep QCA6164


Run this command from Terminal to get the wifi driver messages and post back:

Code: Select all

dmesg | grep ath10k_pci


I'm also seeing a third network device, Card-3, listed from that inxi dump. Looks like you have an Atheros USB wifi device. Was that connected when you ran inxi? I'm curious if that might have caused a conflict. With that assumption in mind, I'd also like you to locate the following system file and post back it's contents:

/etc/udev/rules.d/70-persistent-net.rules
Linux Mint 18.2 x64 Cinnamon Kernel 4.10.0-40 Xenial
Gigabyte GA-AB350M-D3H (F5a) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 16GB (2x8GB) /XFX HD5450-1GB
SSD Samsung EVO 960 250GB / HDD WD1600BEKT 160GB / SSD Toshiba OCZ VX500 512GB

Appoloin
Level 1
Level 1
Posts: 31
Joined: Sun Apr 28, 2013 3:58 am

Re: Hibernation not working with Kernel 4.10.0-38

Postby Appoloin » Thu Nov 23, 2017 2:47 pm

I have no idea what that third device is, there was nothing plugged in to the USB.

The Kernel 4.10.0-38 has been un-installed again so I can't run the test right now. I did notice 4.10.0-40 landed not long ago so I'll use that one.

User avatar
ClixTrix
Level 4
Level 4
Posts: 209
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: Hibernation not working with Kernel 4.10.0-38

Postby ClixTrix » Thu Nov 23, 2017 6:22 pm

Appoloin wrote:I have no idea what that third device is, there was nothing plugged in to the USB.


Bluetooth?
Linux Mint 18.2 x64 Cinnamon Kernel 4.10.0-40 Xenial
Gigabyte GA-AB350M-D3H (F5a) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 16GB (2x8GB) /XFX HD5450-1GB
SSD Samsung EVO 960 250GB / HDD WD1600BEKT 160GB / SSD Toshiba OCZ VX500 512GB

Appoloin
Level 1
Level 1
Posts: 31
Joined: Sun Apr 28, 2013 3:58 am

Re: Hibernation not working with Kernel 4.10.0-38

Postby Appoloin » Thu Nov 23, 2017 7:18 pm

ClixTrix wrote:
Appoloin wrote:I have no idea what that third device is, there was nothing plugged in to the USB.


Bluetooth?


Could be, it's disabled on the desktop but should still be active in the kernel.

Appoloin
Level 1
Level 1
Posts: 31
Joined: Sun Apr 28, 2013 3:58 am

Re: Hibernation not working with Kernel 4.10.0-38

Postby Appoloin » Fri Nov 24, 2017 2:41 pm

Code: Select all

dmesg | grep QCA6164

Nothing

Code: Select all

dmesg | grep ath10k_pci

Code: Select all

[   27.104241] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   29.107023] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:03:00.0.bin failed with error -2
[   29.107073] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[   29.136909] ath10k_pci 0000:03:00.0: qca6164 hw2.1 target 0x05010000 chip_id 0x003405ff sub 17aa:3545
[   29.136914] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[   29.137603] ath10k_pci 0000:03:00.0: firmware ver SW_RM.1.1.1-00157-QCARMSWPZ-1 api 5 features ignore-otp,no-4addr-pad crc32 10bf8e08
[   29.296306] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id N/A crc32 ae2e275a
[   30.467672] ath10k_pci 0000:03:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[   30.628541] ath10k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
[   48.392828] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[   52.802003] ath10k_pci 0000:03:00.0 wlp3s0: disabling HT as WMM/QoS is not supported by the AP
[   52.802008] ath10k_pci 0000:03:00.0 wlp3s0: disabling VHT as WMM/QoS is not supported by the AP
[  255.673447] ath10k_pci 0000:03:00.0: firmware crashed! (uuid b2e97adb-7ca0-481b-a804-ec133012a38c)
[  255.673460] ath10k_pci 0000:03:00.0: qca6164 hw2.1 target 0x05010000 chip_id 0x003405ff sub 17aa:3545
[  255.673463] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[  255.674170] ath10k_pci 0000:03:00.0: firmware ver SW_RM.1.1.1-00157-QCARMSWPZ-1 api 5 features ignore-otp,no-4addr-pad crc32 10bf8e08
[  255.674545] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id N/A crc32 ae2e275a
[  255.674549] ath10k_pci 0000:03:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[  255.676558] ath10k_pci 0000:03:00.0: firmware register dump:
[  255.676567] ath10k_pci 0000:03:00.0: [00]: 0x05010000 0x00000000 0x0092E4DC 0x58FDC5BD
[  255.676572] ath10k_pci 0000:03:00.0: [04]: 0x0092E4DC 0x00060130 0x00000018 0x0041A760
[  255.676577] ath10k_pci 0000:03:00.0: [08]: 0x58FDC5A9 0x00400000 0x00000000 0x000A5C88
[  255.676582] ath10k_pci 0000:03:00.0: [12]: 0x00000009 0x00000000 0x0096C09C 0x0096C0A7
[  255.676587] ath10k_pci 0000:03:00.0: [16]: 0x0096BDBC 0x009286B6 0x00000000 0x009287BD
[  255.676592] ath10k_pci 0000:03:00.0: [20]: 0x4092E4DC 0x0041A710 0x00000000 0x0F000000
[  255.676597] ath10k_pci 0000:03:00.0: [24]: 0x809432A7 0x0041A770 0x0040D400 0xC092E4DC
[  255.676601] ath10k_pci 0000:03:00.0: [28]: 0x80942BC4 0x0041A790 0x58FDC5A9 0x00400000
[  255.676606] ath10k_pci 0000:03:00.0: [32]: 0x80947BA7 0x0041A7B0 0x00404D88 0x00413980
[  255.676610] ath10k_pci 0000:03:00.0: [36]: 0x809BDECC 0x0041A7D0 0x00404D88 0x00413980
[  255.676614] ath10k_pci 0000:03:00.0: [40]: 0x8099638C 0x0041A7F0 0x00404D88 0x00000000
[  255.676618] ath10k_pci 0000:03:00.0: [44]: 0x80992076 0x0041A810 0x004084F0 0x00405244
[  255.676622] ath10k_pci 0000:03:00.0: [48]: 0x80996BD3 0x0041A830 0x004084F0 0x00000000
[  255.676627] ath10k_pci 0000:03:00.0: [52]: 0x800B4405 0x0041A850 0x00422318 0x00005002
[  255.676631] ath10k_pci 0000:03:00.0: [56]: 0x809A6C34 0x0041A8E0 0x0042932C 0x0042CA44
[  255.801062] ath10k_pci 0000:03:00.0: failed to delete WMI vdev 1: -108
[  276.123598]  ath10k_pci_hif_stop+0x64/0xd0 [ath10k_pci]

User avatar
ClixTrix
Level 4
Level 4
Posts: 209
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: Hibernation not working with Kernel 4.10.0-38

Postby ClixTrix » Sat Nov 25, 2017 9:40 am

Well, the "firmware crash" is pretty obvious. I don't know if there are any patches or updates to 4.10. Check the Update Manager for any level 4 updates to Firmware.

You know 4.8 works, but it probably isn't getting updates from Ubuntu any longer. You might try the 4.13 Kernel and see if the problem continues with newer kernels, and 4.13 is still getting support.

Edit: Also, you might try the older 4.4 Kernel. I know it's still getting LTS and may precede the change that's causing the problem.
Linux Mint 18.2 x64 Cinnamon Kernel 4.10.0-40 Xenial
Gigabyte GA-AB350M-D3H (F5a) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 16GB (2x8GB) /XFX HD5450-1GB
SSD Samsung EVO 960 250GB / HDD WD1600BEKT 160GB / SSD Toshiba OCZ VX500 512GB

Appoloin
Level 1
Level 1
Posts: 31
Joined: Sun Apr 28, 2013 3:58 am

Re: Hibernation not working with Kernel 4.10.0-38

Postby Appoloin » Sat Nov 25, 2017 4:53 pm

I'm hoping 4.14LTS comes along shortly. As for 4.4, the last time I used that branch the kernel had to be patched for the network card.

JeremyB
Level 17
Level 17
Posts: 7553
Joined: Fri Feb 21, 2014 8:17 am

Re: Hibernation not working with Kernel 4.10.0-38

Postby JeremyB » Sat Nov 25, 2017 5:03 pm

I don't think 4.4 needs patched for that wifi, I might be wrong

Appoloin
Level 1
Level 1
Posts: 31
Joined: Sun Apr 28, 2013 3:58 am

Re: Hibernation not working with Kernel 4.10.0-38

Postby Appoloin » Sat Nov 25, 2017 5:47 pm

It did when I last used it, which was back at mint17

JeremyB
Level 17
Level 17
Posts: 7553
Joined: Fri Feb 21, 2014 8:17 am

Re: Hibernation not working with Kernel 4.10.0-38

Postby JeremyB » Sat Nov 25, 2017 5:52 pm

I think you just needed firmware in Linux Mint 17 with 4.4 as the Ubuntu repos didn't update the linux-firmware package for Trusty

Appoloin
Level 1
Level 1
Posts: 31
Joined: Sun Apr 28, 2013 3:58 am

Re: Hibernation not working with Kernel 4.10.0-38

Postby Appoloin » Sat Nov 25, 2017 6:09 pm

OK. If 4.14 doesn't land before 4.8 is EOF'ed, 4.4 is a fall back kernel.


Return to “Installation & Boot”