Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328093 - sys-kernel/gentoo-sources-2.6.34-r1 -- notebook dead after suspend/resume
Summary: sys-kernel/gentoo-sources-2.6.34-r1 -- notebook dead after suspend/resume
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-13 11:51 UTC by Marek Kozlowski
Modified: 2010-10-24 23:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
My config for the kernel (config-2.6.34-gentoo-r1,65.51 KB, text/plain)
2010-07-13 11:52 UTC, Marek Kozlowski
Details
config for gentoo-2.6.34-r1 (config-2.6.34-r1.t60,70.41 KB, text/plain)
2010-07-14 08:45 UTC, Dragos Delcea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Kozlowski 2010-07-13 11:51:04 UTC
Seems to be an upstream bug because I experience the same under ArchLinux after upgrade to 2.6.34 kernel. Unacceptable in the stable branch.

I experience it under ThinkPad T40 but I heard rumors that the same happens under Hp Compaq NC6000 and some (unknown) Panasonic. My hardware is:

00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
02:00.0 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
02:00.1 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
02:01.0 Ethernet controller: Intel Corporation 82540EP Gigabit Ethernet Controller (Mobile) (rev 03)
02:02.0 Ethernet controller: Atheros Communications Inc. AR5212 802.11abg NIC (rev 01)

After waking up from the suspend mode (console or Xorg -- doesn't matter) the notebook is almost dead:
- I can switch consoles with Alt-Fx but no input is possible,
- no X (if there was a session)
- no entries in log nor under Alt-F12 (syslog-ng output),
- no ssh access to the notebook,
- ...
The only thing I can do is a hard power down :-(

Reproducible: Always
Comment 1 Marek Kozlowski 2010-07-13 11:52:26 UTC
Created attachment 238607 [details]
My config for the kernel
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2010-07-13 18:13:25 UTC
what was the latest working kernel?

ps: do not raise the Severity of this bug on your own
Comment 3 Marek Kozlowski 2010-07-13 18:57:18 UTC
(In reply to comment #2)
> what was the latest working kernel?

2.6.31-r6 worked fine. I did a direct upgrade 2.6.31-r6 to 2.6.34-r1.
Comment 4 Dragos Delcea 2010-07-14 08:42:31 UTC
I'm experiencing a similar (in effect at least) bug with 2.6.34 (it happens on both gentoo-2.6.34-r1 and vanilla-2.6.34.1) on a T60 thinkpad (32 bit), while any gentoo-2.6.33* or older incarnation works without problems.

During regular X/GNOME usage system "freezes", no mouse/keyboard interactions, I can't switch to text console, I can't trigger any hdd activity by plugging a USB device, pressing the power button to get acpid to shutdown the system doesn't work; only thing that brings it back is hard poweroff (keep power button pressed 5+ seconds). Note that I have "kernel.panic = 10" in my sysctl.conf, yet it doesn't reboot (since it doesn't panic, probably).

Notably I don't use suspend/resume, so I don't know whether it triggers or not in my case. I associate the freezes with kvm usage (I run company's XP image in a VM), but since that happens more or less the whole time it could be just a coincidence.

I'm still using DRI1 (no KMS), if that makes a difference. No entries in the syslog.

hw:
---
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
15:00.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
---
I'll attach my config for gentoo-2.6.34-r1 as well.
Comment 5 Dragos Delcea 2010-07-14 08:45:11 UTC
Created attachment 238699 [details]
config for gentoo-2.6.34-r1

config for gentoo-2.6.34-r1
Comment 6 Marek Kozlowski 2010-07-28 17:16:54 UTC
(In reply to comment #2)
> what was the latest working kernel?

Just tried 2.6.33-r2 -- it works fine. Seems like there is some regression with the 2.6.34 :-(
Comment 7 Mike Pagano gentoo-dev 2010-08-05 13:33:08 UTC
Would you be willing to do a bisect between vamilla 2.6.33.3 and vanilla 2.6.34

You may want to first test with 2.6.35 and see if the problem has been fixed already.

http://www.reactivated.net/weblog/archives/2006/01/using-git-bisect-to-find-buggy-kernel-patches/
Comment 8 Marek Kozlowski 2010-08-14 09:32:31 UTC
(In reply to comment #7)

> You may want to first test with 2.6.35 and see if the problem has been fixed
> already.

Just tried the 2.6.35-r1 kernel. The same problem as with the 2.6.34 one.
Comment 9 Marek Kozlowski 2010-08-15 20:57:41 UTC
I finally got the reason, that is the device that causes my notebook to freeze after resume with 2.6.34/35 kernels !

Forgive me, please bothering you and all those wrong traces. It my be not my notebook hardware issue. ThinkPad T40 or not -- I suppose it doesn't matter. It's another device I completely forgotten: I'm using my notebooks as TV sets as well: there is an PCMCIA AverMedia E501R card (saa7134 card=158 tuner=12) permanently in one PCMCIA slot. This device (or the PCMCIA support -- I don't know; I don't have any other PCMCIA cards) is responsible for all my problems with the 2.6.24/35 kernels. If the PCMCIA slot is empty everything is fine!
Comment 10 Mike Pagano gentoo-dev 2010-08-18 19:36:06 UTC
Is everything for that card configured properly in your kernel?

http://en.gentoo-wiki.com/wiki/AverMedia_AverTV_Cardbus_Plus_E501R
Comment 11 Marek Kozlowski 2010-08-18 19:47:12 UTC
(In reply to comment #10)
> Is everything for that card configured properly in your kernel?
> 
> http://en.gentoo-wiki.com/wiki/AverMedia_AverTV_Cardbus_Plus_E501R

Yes, it is. The configuration is quite simple ;-) and it worked for many years (kernels form 2.6.16 or sth like this)... 

Comment 12 George Kadianakis (RETIRED) gentoo-dev 2010-09-17 11:33:28 UTC
Hello!

I'd say you try playing with the methods listed in basic-pm-debugging.txt on the Documentation/ directory of the kernel [1].
After that, you might want to try the latest development version of the Linux Kernel, in case your problems have been solved.

Apart from that, the safest way to go (or if you don't want to toy around (if it's a productin machine, for example)) would be to report this upstream (search for STR or suspend/resume driver bugs if you want a bug report sample).

[1]: http://www.kernel.org/doc/Documentation/power/basic-pm-debugging.txt
or even: https://wiki.ubuntu.com/DebuggingKernelSuspend if you are feeling extreme.
Comment 13 Mike Pagano gentoo-dev 2010-10-24 23:10:41 UTC
Please let us know when you have tried the steps outlined and reported this upstream