Resuming from hibernate goes to login or sometimes hangs

Bug #1736277 reported by Greg
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned

Bug Description

Resuming from hibernate was working well except for been slow. All of a sudden in the last few weeks of Mint 18.3 it is resuming like a boot to user login or sometimes it hangs.
I made sure the swap partition was active and did these commands to be really sure it would try to resume from the hibernate image:
sudo xed /etc/fstab to make sure the uuid of swap partition was in fstab,
sudo xed /etc/initramfs-tools/conf.d/resume to make sure it was also in to resume file,
sudo update-initramfs -u,
None of this helped. To reproduce:
1. In linux mint 18.3 click on hibernate from menu, shutdown the computer.
2. Once computer is inactive I wait about 30 seconds but it does not matter how long then press either the computer power button or wake on my keyboard.
Result: it varies a bit. Sometimes it seems to be reading the hibernate image saved on the swap partition then at the end switches to as normal boot to user login. Sometimes it will hang with a backtrace on the screen.
When this started to happen I had reseated one of the memory modules for proper dual channel support but not certain if this was the cause. According to ASUS PRIME B350M-A mainboard manual (did seen unclear to me) for dual channel and two modules module 1 goes in A1 and module 2 goes in B1. Before I had them in A1 and A2. I did not seem to have a resume from hibernate problem then. Resume from suspend always works properly.

Revision history for this message
Greg (cebif) wrote :
Revision history for this message
Greg (cebif) wrote :

The kernels I have this bug with are: 4.4.0-53 and 4.11.0-14 also tried with 4.13.0-16 and 4.13.0-17

greg@greg-desktop:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 1451
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1453
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1453
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1454
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1454
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1460
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1461
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1462
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1463
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1464
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1465
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1466
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1467
03:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43bb (rev 02)
03:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] Device 43b7 (rev 02)
03:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b2 (rev 02)
1d:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
1d:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
1d:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
1d:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
1d:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
22:00.0 USB controller: ASMedia Technology Inc. Device 1343
25:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
27:00.0 VGA compatible controller: NVIDIA Corporation Device 1b81 (rev a1)
27:00.1 Audio device: NVIDIA Corporation Device 10f0 (rev a1)
28:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 145a
28:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1456
28:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 145c
29:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 1455
29:00.2 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
29:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Device 1457

Revision history for this message
Greg (cebif) wrote :

$ lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 003: ID 1241:1503 Belkin Keyboard
Bus 005 Device 002: ID 046d:c215 Logitech, Inc. Extreme 3D Pro
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 050d:845a Belkin Components F7D2101 802.11n Surf & Share Wireless Adapter v1000 [Realtek RTL8192SU]
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Revision history for this message
Greg (cebif) wrote :

Here is a syslog file. On the date of this syslog (Dec 7) I had resumed from hibernate, let the system go to suspend after 1 hour time inactivity, reformatted a backup partition (sda3) from btrfs to ext4, tried another hibernate and resume, no success. It contains some relevant information especially where it reads "cut here" in two places.

Revision history for this message
Greg (cebif) wrote :

In my last comment I should have wrote "cut here" in twenty two places.

Revision history for this message
Greg (cebif) wrote :

Another screen photo of a similar but more detail back trace when resuming first time this morning from overnight hibernate.

Revision history for this message
Greg (cebif) wrote :

It is the speed of the memory modules that is causing resume from hibernate problem. I had them clocked at 2.933GHZ (design speed is 3.2GHZ). I put the speed down to 2.8GHZ. Now with two resume from hibernate tests, worked well. First test was just the OS and desktop running. Second test was with the flight sim X-Plane 11 running and using a high amount of memory. It resumed alright but quite slow.
Before clocking down the memory, I had done a memtest on it running for 4 hours +. There were no errors running at 2.933GHZ. I used to notice some small other problems with it at that speed, like on restart, the computer would sometimes pause or partially freeze after closing all the OS down but pausing at the UEFI screen, although the screen stayed black. If I did ctrl alt delete it would power on self test beep then continue to restart properly. Another thing that sometimes happened when the computer was shut down for quite a long time, on start it would nearly reach the UEFI screen then momentarily shutdown about 3 times in a row. Finally on fourth start it succeeded.
So I'm not certain if this might be more of a bug with the UEFI BIOS. Not Mint 18.3.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.