Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 483036

Summary: =sys-kernel/gentoo-sources-3.10.7 - Eventually hangs.
Product: Gentoo Linux Reporter: NiTr0 <nitr0>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard: linux-3.12.0
Package list:
Runtime testing required: ---
Attachments: kernel config file

Description NiTr0 2013-08-30 17:14:53 UTC
After kernel update system eventually hangs. With gentoo-sources 3.10.5-r1 all is OK. System - Asus 1015bx with AMD C-60 CPU.
Difference in kernel config is minimal:

--- .config	2013-08-08 13:06:46.173736076 +0300
+++ ../linux-3.10.7-gentoo/.config	2013-08-22 17:38:39.528101536 +0300
@@ -1,7 +1,19 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Linux/x86 3.10.5-gentoo-r1 Kernel Configuration
+# Linux/x86 3.10.7-gentoo Kernel Configuration
 #
+
+#
+# Gentoo Linux
+#
+CONFIG_GENTOO_LINUX=y
+CONFIG_GENTOO_LINUX_UDEV=y
+
+#
+# Support for init systems, system and service managers
+#
+CONFIG_GENTOO_LINUX_INIT_SCRIPT=y
+# CONFIG_GENTOO_LINUX_INIT_SYSTEMD is not set
 CONFIG_64BIT=y
 CONFIG_X86_64=y
 CONFIG_X86=y


Reproducible: Always
Comment 1 NiTr0 2013-08-30 17:15:58 UTC
Created attachment 357438 [details]
kernel config file
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-08-31 08:23:50 UTC
Interesting, could we see your `lspci -nn` to know what to look out for?

When we know your hardware, it shouldn't be too hard to find the offending commit in the commit history; as these only are two bumps, the amount of commits between them is rather small.
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-03 17:51:59 UTC
(In reply to Tom Wijsman (TomWij) from comment #2)
> Interesting, could we see your `lspci -nn` to know what to look out for?
Comment 4 NiTr0 2013-09-03 19:48:54 UTC
Here is lspci output:

# lspci -nn
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex [1022:1510]
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6290] [1002:9807]
00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler HDMI Audio [1002:1314]
00:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Port [1022:1512]
00:05.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Port [1022:1513]
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] [1002:4391]
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
00:12.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
00:13.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller [1002:4385] (rev 42)
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) [1002:4383] (rev 40)
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d] (rev 40)
00:14.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge [1002:4384] (rev 40)
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 [1022:1700] (rev 43)
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1 [1022:1701]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2 [1022:1702]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3 [1022:1703]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4 [1022:1704]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6 [1022:1718]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5 [1022:1716]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7 [1022:1719]
01:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)
02:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8152 v2.0 Fast Ethernet [1969:2062] (rev c1)

It seems like trouble isn't related with specific hardware driver - usually system hangs when there is high CPU/RAM load. For ex., opening RAW in Darktable or saving it to jpeg (usually - 1st is opened ok, 2nd-3rd will hang system). But w/o high load system may hang later, after some hours, for ex., on browser scrolling (before this - I noticed small lags but I I may miss about this).

About specific things - there is zram swap enabled, 2 partitions.
Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-14 17:20:00 UTC
3.10.7-r1 contains a patch for some random kernel hangs:

http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=f30d87b004dcb4b260dcb2667d5ef6998f4aac1f

This patch is also present in the latest kernels; so, could you try one of the latest kernels to see if it is fixed for you?
Comment 6 NiTr0 2013-10-24 12:46:58 UTC
3.10.7-r1 also hangs.
Comment 7 NiTr0 2013-11-13 16:13:20 UTC
I tried to update to 3.12.0 kernel - it seems like in fresh kernels all is OK.
Comment 8 Mike Pagano gentoo-dev 2013-11-14 20:43:52 UTC
That is good news, not sure if we will be able to discern the patches in 3.12 that have fixed your issue.  As long as 3.12 fixes your problem, I am going to close this as fixed.