You are not logged in.

#1 2012-05-29 17:10:17

bolshevik
Member
Registered: 2011-04-24
Posts: 47

[SOLVED] boot hangs at laptop-mode

Since the last time I updated (more than a week ago to be fair, I haven't had time to debug this yet), my thinkpad x220 has been unable to boot into arch. It just hangs when loading the laptop-mode module and sits there at [BUSY] forever. I tried searching the forums and did not turn up anything relevant. Nor did the laptop-mode wiki page. Anyone else had this issue before? At this point I'm thinking I can maybe chroot into my install and attempt to forcibly remove and reinstall the package from the arch live CD, but I'll wait to see if someone suggests something else. Thanks for any help.

EDIT :
Upstream bug. Solution for now is to disable laptop-mode when on battery...

Last edited by bolshevik (2012-06-04 18:45:41)

Offline

#2 2012-05-29 19:31:29

Zucca
Member
From: KUUSANKOSKI, Finland
Registered: 2009-02-26
Posts: 135

Re: [SOLVED] boot hangs at laptop-mode

Yup. I have this same problem. I removed it from DAEMONS. Strangely enough, it starts fine (takes longer than usual) when starting it manually.

I used a trick to edit rc.conf. At boot when on GRUB, press e to edit. Change the root device to something else then boot. Boot will fail, and it will leave you to a VERY limited shell.
Then mount your root partition by hand to somewhere using 'mount'. Then use vi to edit rc.conf and remove the laptop-mode from DAEMONS.
Using vi isn't like using normal text editor so be sure to know how to use it or click here and choose the one that fits best for you. wink

I have stumbled into "dead" daemons at bootup before. I think I would be wise to create even more plain fallback mode menu entry to GRUB. Other thing would be to be able to boot init scripts with interactive mode (user gets to choose which things to start and which not).


K.i.s.s. <3

Offline

#3 2012-05-29 20:19:10

bolshevik
Member
Registered: 2011-04-24
Posts: 47

Re: [SOLVED] boot hangs at laptop-mode

I don't understand what just happened. I just reinstalled windoze on another partition so I had to reinstall grub from the arch live cd. I intended to also remove laptop-mode from the daemons but forgot to do it and rebooted. For some reason it doesn't hang at boot any more even though all I did was reinstall the boot-loader. Strange...

Offline

#4 2012-05-29 21:29:35

Zucca
Member
From: KUUSANKOSKI, Finland
Registered: 2009-02-26
Posts: 135

Re: [SOLVED] boot hangs at laptop-mode

I wonder if this if somehow related to my other problem... O.o

Strange thing indeed.


K.i.s.s. <3

Offline

#5 2012-05-30 03:46:22

bolshevik
Member
Registered: 2011-04-24
Posts: 47

Re: [SOLVED] boot hangs at laptop-mode

Maybe... I used to have that but it was very long time ago. Must have went away with updates... The other weird one I have that seems related to laptop-mode is that if I "sudo poweroff" it will always reboot instead.

Last edited by bolshevik (2012-05-30 03:46:36)

Offline

#6 2012-05-30 04:33:00

Zucca
Member
From: KUUSANKOSKI, Finland
Registered: 2009-02-26
Posts: 135

Re: [SOLVED] boot hangs at laptop-mode

Hm. Do you happen to use Think Pad? Think Pads have that problem, but it's fixable.


K.i.s.s. <3

Offline

#7 2012-05-30 14:33:13

bolshevik
Member
Registered: 2011-04-24
Posts: 47

Re: [SOLVED] boot hangs at laptop-mode

Yea. It's a thinkpad x220.

Offline

#8 2012-05-30 15:06:41

Zucca
Member
From: KUUSANKOSKI, Finland
Registered: 2009-02-26
Posts: 135

Re: [SOLVED] boot hangs at laptop-mode

bolshevik wrote:

Yea. It's a thinkpad x220.

There's some topics about it, but this one is marked [SOLVED].
Also see: https://bbs.archlinux.org/viewtopic.php?id=102178


K.i.s.s. <3

Offline

#9 2012-05-31 00:51:27

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 835
Website

Re: [SOLVED] boot hangs at laptop-mode

It just hangs when loading the laptop-mode module and sits there at [BUSY] foreve

If you use the battery level polling module you are affected by a stupid bug in its helper https://bugs.archlinux.org/task/29980

Last edited by anrxc (2012-05-31 00:52:11)


You need to install an RTFM interface.

Offline

#10 2012-05-31 05:34:05

bolshevik
Member
Registered: 2011-04-24
Posts: 47

Re: [SOLVED] boot hangs at laptop-mode

Ah! This is precisely it. Thank you anrxc. It's doing it again now, and the moment it magically stopped happening yesterday was when I plugged it into the AC to install windoze.

Offline

#11 2012-05-31 18:10:56

Zucca
Member
From: KUUSANKOSKI, Finland
Registered: 2009-02-26
Posts: 135

Re: [SOLVED] boot hangs at laptop-mode

I guess this is then [SOLVED]..?


K.i.s.s. <3

Offline

Board footer

Powered by FluxBB