You are not logged in.

#1 2007-10-20 14:43:03

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Hard lockup when closing laptop lid (Linux 2.6.23)

I just found this out a few days ago, telling my laptop to shut down a few hours later, and still finding it running half a day later, severely overheated (!).

I am running a custom kernel (2.6.23.1 with some of the kamikaze broken out patches). I get this:
- I unplug the laptop USB mouse
- I close the lid
- I reopen the lid, only to find my system completely locked up (no screen refresh anymore, no possibility to switch to a virtual terminal, no possibility to restart X or restart the system (Ctrl+Alt+Del/Backspace aren't working at all).

I have no action specified for closing the lid (I plan on making it do suspend to RAM as soon as this issue is cleared up). Now if I leave the USB laptop mouse plugged in all works fine. I can close the lid, open it up again, and my system remains fully usable.

To make sure this wasn't just me being clumsy and compiling a bad kernel, I tried the 2.6.23-ARCH kernel from testing. It exhibits exactly the same behaviour. 2.6.22-ARCH works just fine.

Are there people having the same issue?

Last edited by B (2007-10-21 12:16:32)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#2 2007-10-21 19:09:56

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Hard lockup when closing laptop lid (Linux 2.6.23)

Bump


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2007-10-22 21:25:58

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Hard lockup when closing laptop lid (Linux 2.6.23)

And again


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2007-10-23 00:53:08

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Hard lockup when closing laptop lid (Linux 2.6.23)

must be either something specific to your hardware or kernel
I have
HP dv5000
custom 2.6.23 kernel patched with some stuff from kamikaze and patched with grsec and I don't have such issues.
Closing lid shuts down laptop.

Offline

#5 2007-10-26 22:23:54

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Hard lockup when closing laptop lid (Linux 2.6.23)

Thanks for checking. As I said the default Arch kernel has the same problem, so it's certainly not a problem that affects my custom kernel. For now I'll presume it's a 2.6.23 problem, 2.6.22 didn't have it.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2007-10-28 21:41:17

rebugger
Member
From: Germany
Registered: 2007-10-28
Posts: 229

Re: Hard lockup when closing laptop lid (Linux 2.6.23)

Well, same problem here.
I've have a 6510b too and the 2.6.23-kernel - so it freezes on lid-close. (Had the same problem on Ubuntu Gutsy with activated&connected ipw3945-wlan)
If you find anything helpful, let me know.

Offline

#7 2007-10-28 22:13:57

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: Hard lockup when closing laptop lid (Linux 2.6.23)

My notebook (6710b) the same, close the lid and that's it. It displays a little lock in the led/touch pad, nothing works anymore and I have to reboot.

Offline

#8 2007-10-28 22:21:33

rebugger
Member
From: Germany
Registered: 2007-10-28
Posts: 229

Re: Hard lockup when closing laptop lid (Linux 2.6.23)

that "little lock" is the caps-lock-led wink

Offline

#9 2007-10-29 10:24:44

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: Hard lockup when closing laptop lid (Linux 2.6.23)

Yep, but the funny thing is that it doesn't turn on when I push caps-lock normally hmm. So it is special after all neutral
-----------
hmm, I just tried again, and even my little locker has disappeared sad please forget about that big_smile

Last edited by ibendiben (2007-10-29 10:30:17)

Offline

#10 2007-10-31 03:45:59

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Hard lockup when closing laptop lid (Linux 2.6.23)

well I can post my kernel config
also I can post whatever you need about hardware.
This way, you may be able to isolate the culprit.

Offline

#11 2007-11-02 03:23:17

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Hard lockup when closing laptop lid (Linux 2.6.23)

I am afraid it's not config-specific. Many of us in this thread run similar hardware, so the configs won't diverge that much. Also, both the stock Arch kernel and my own kernel lock up over here, whereas it doesn't happen with 2.6.22.  So I think we may blame the kernel version - with a certain level of certainty wink.

I for one built 2.6.22.10, which 'solves' the lid lockup problem, but suspend to disk still refuses to work - it did work with older 2.6.22 versions. If anyone is interested I can put up links to the PKGBUILD and the patches.

rebugger wrote:

Well, same problem here.
I've have a 6510b too and the 2.6.23-kernel - so it freezes on lid-close. (Had the same problem on Ubuntu Gutsy with activated&connected ipw3945-wlan)
If you find anything helpful, let me know.

Does this mean with ipw3945 modules unloaded, it did not lock up? I am using iwlwifi drivers here and those suspend just fine, to my knowledge. At least, pm-utils doesn't complain about them.

Last edited by B (2007-11-02 03:25:42)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#12 2007-11-02 23:53:14

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Hard lockup when closing laptop lid (Linux 2.6.23)

Okay guys smile. I got some goodies up cool. For those interested:
- 2.6.22.12 kernel with CFS v22, hrtimers, powertop, Reiser4 and default CPU frequency governor 'ondemand'
- iwlwifi 1.1.21
- Authentec fingerprint reader driver

I guess that should get you going pretty much  smile. The iwlwifi drivers have been built out-of-tree since my efforts to merging in the newer mac80211 stack & latest iwlwifi drivers amounted to nothing but a boatload of patch errors :-( (yes i can hack up patches to work but I felt like not doing it, since iwlwifi builds just fine out-of-tree). This kernel is tailored to the 6510 hardware, I cannot tell what is different in the 6170b lineup, but you definitely should not try this kernel on just any machine tongue.
If you have any questions, drop me a line.

Credit of course to waninkoko for his kamikaze patchset, from which most of the patches come.

Update: to the latest 2.6.22.12 kernel + corresponding driver packages

Last edited by B (2007-11-11 16:39:48)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#13 2008-01-16 17:11:59

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: Hard lockup when closing laptop lid (Linux 2.6.23)

Yes, I had the same problem when I tried Ubuntu...

Offline

#14 2008-01-19 10:40:45

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Hard lockup when closing laptop lid (Linux 2.6.23)

The wiki entry has a solution for this now.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB