You are not logged in.

#26 2011-04-18 16:33:54

diegoviola
Member
Registered: 2010-12-16
Posts: 124

Re: System Sometimes Hangs @ "Power Off" While Halting

it would be interesting to know what module or part of laptop-mode is causing/triggering that issue.

Last edited by diegoviola (2011-04-18 16:34:33)

Offline

#27 2011-04-18 16:50:29

jlacroix
Member
Registered: 2009-08-16
Posts: 576

Re: System Sometimes Hangs @ "Power Off" While Halting

I currently only use laptop-mode-tools for hard drive spindown. Since that's the only module I use laptop-mode-tools for, I suspect that's the culprit.

I've come to the conclusion that hard drive spindown is worthless (Linux is constantly writing logs) so I was already planning on getting rid of this. I will test this evening and report back.

Offline

#28 2011-04-18 17:48:09

MAC!EK
Member
Registered: 2005-09-27
Posts: 265

Re: System Sometimes Hangs @ "Power Off" While Halting

I tried laptop mode tools mailing list:
http://mailman.samwel.tk/pipermail/lapt … 00433.html

As for now Ritesh Raj Sarraf answered it's not laptop mode tools related issue.

Offline

#29 2011-04-18 20:29:46

jlacroix
Member
Registered: 2009-08-16
Posts: 576

Re: System Sometimes Hangs @ "Power Off" While Halting

MAC!EK wrote:

I tried laptop mode tools mailing list:
http://mailman.samwel.tk/pipermail/lapt … 00433.html

As for now Ritesh Raj Sarraf answered it's not laptop mode tools related issue.

Could've fooled me. Mine is rebooting great now that I disabled it.

Offline

#30 2011-04-18 20:35:21

MAC!EK
Member
Registered: 2005-09-27
Posts: 265

Re: System Sometimes Hangs @ "Power Off" While Halting

Ritesh Raj Sarraf wrote that it's a kernel bug. I think he could be right.

Offline

#31 2011-04-18 20:41:16

jlacroix
Member
Registered: 2009-08-16
Posts: 576

Re: System Sometimes Hangs @ "Power Off" While Halting

MAC!EK wrote:

Ritesh Raj Sarraf wrote that it's a kernel bug. I think he could be right.

Kernel bug or not, as a programmer he should be able to work around it. Just my opinion though.

Offline

#32 2011-04-18 22:16:23

jelly
Trusted User (TU)
From: /dev/null
Registered: 2008-06-10
Posts: 711

Re: System Sometimes Hangs @ "Power Off" While Halting

jlacroix wrote:
MAC!EK wrote:

Ritesh Raj Sarraf wrote that it's a kernel bug. I think he could be right.

Kernel bug or not, as a programmer he should be able to work around it. Just my opinion though.

Did you report it upstream? aka bugtracker

Offline

#33 2011-04-19 10:19:33

MAC!EK
Member
Registered: 2005-09-27
Posts: 265

Re: System Sometimes Hangs @ "Power Off" While Halting

This lkml threads seem to be related to our problem:
https://lkml.org/lkml/2011/4/1/11
https://lkml.org/lkml/2011/3/31/458

Offline

#34 2011-04-19 11:08:32

diegoviola
Member
Registered: 2010-12-16
Posts: 124

Re: System Sometimes Hangs @ "Power Off" While Halting

MAC!EK wrote:

This lkml threads seem to be related to our problem:
https://lkml.org/lkml/2011/4/1/11
https://lkml.org/lkml/2011/3/31/458

the problem seems to be related to this exactly: https://lkml.org/lkml/2011/4/4/121

I say this because I was able to reproduce the issue without laptop-mode, by simply changing the CPU governor to on-demand.

Offline

#35 2011-04-20 05:10:15

diegoviola
Member
Registered: 2010-12-16
Posts: 124

Re: System Sometimes Hangs @ "Power Off" While Halting

is there a fix for this coming? I see they identified the problem but I'm not sure if they really solved it or not, any ideas?

Offline

#36 2011-04-21 03:36:56

jlacroix
Member
Registered: 2009-08-16
Posts: 576

Re: System Sometimes Hangs @ "Power Off" While Halting

diegoviola wrote:

is there a fix for this coming? I see they identified the problem but I'm not sure if they really solved it or not, any ideas?

I hope so, but probably not. If there's finger pointing (the developer is blaming the kernel) then it will probably be a while. Hopefully I'm wrong.

Offline

#37 2011-04-21 05:05:23

anezch
Member
Registered: 2011-03-08
Posts: 23

Re: System Sometimes Hangs @ "Power Off" While Halting

jlacroix wrote:
diegoviola wrote:

is there a fix for this coming? I see they identified the problem but I'm not sure if they really solved it or not, any ideas?

I hope so, but probably not. If there's finger pointing (the developer is blaming the kernel) then it will probably be a while. Hopefully I'm wrong.

Or.. we can try to find a temporary fix or workaround for this problem.

Offline

#38 2011-04-21 21:52:12

diegoviola
Member
Registered: 2010-12-16
Posts: 124

Re: System Sometimes Hangs @ "Power Off" While Halting

jlacroix wrote:
diegoviola wrote:

is there a fix for this coming? I see they identified the problem but I'm not sure if they really solved it or not, any ideas?

I hope so, but probably not. If there's finger pointing (the developer is blaming the kernel) then it will probably be a while. Hopefully I'm wrong.

while I think that finger pointing is lame, I believe that the developer is right when he says that it's a kernel bug, since I was able to reproduce the issue while changing the CPU governor to on-demand. A kernel developer also identified the problem here: https://lkml.org/lkml/2011/4/4/121

it would be nice if this problem gets solved with new kernels.

Offline

#39 2011-04-21 21:55:49

jlacroix
Member
Registered: 2009-08-16
Posts: 576

Re: System Sometimes Hangs @ "Power Off" While Halting

diegoviola wrote:

while I think that finger pointing is lame, I believe that the developer is right when he says that it's a kernel bug, since I was able to reproduce the issue while changing the CPU governor to on-demand. A kernel developer also identified the problem here: https://lkml.org/lkml/2011/4/4/121

it would be nice if this problem gets solved with new kernels.

I'm not saying that it's not a kernel problem. It probably is. But as a developer, that's no reason to not make it work regardless. There are always if statements and work-arounds and ways to make your software work on various platforms regardless of problems on that platform/kernel.

Offline

#40 2011-04-21 23:48:42

diegoviola
Member
Registered: 2010-12-16
Posts: 124

Re: System Sometimes Hangs @ "Power Off" While Halting

jlacroix wrote:
diegoviola wrote:

while I think that finger pointing is lame, I believe that the developer is right when he says that it's a kernel bug, since I was able to reproduce the issue while changing the CPU governor to on-demand. A kernel developer also identified the problem here: https://lkml.org/lkml/2011/4/4/121

it would be nice if this problem gets solved with new kernels.

I'm not saying that it's not a kernel problem. It probably is. But as a developer, that's no reason to not make it work regardless. There are always if statements and work-arounds and ways to make your software work on various platforms regardless of problems on that platform/kernel.

Right, but as I understand, laptop-mode-tools is just a set of bash scripts that call other programs for spinning down the HDD and enabling CPU frequency scaling, etc.

It's probably not easy to workaround the problem from laptop-mode-tools directly other than disabling the features that's making the kernel crash on shutdown. I guess the workaround could be added on the userspace tools that laptop-mode-tools is using?

Maybe someone can try the proposed patch here? https://lkml.org/lkml/2011/4/4/121

Last edited by diegoviola (2011-04-22 00:25:08)

Offline

#41 2011-04-23 14:31:55

diegoviola
Member
Registered: 2010-12-16
Posts: 124

Re: System Sometimes Hangs @ "Power Off" While Halting

FYI, I've just went ahead and reported an upstream bug here: https://bugzilla.kernel.org/show_bug.cgi?id=33872

Last edited by diegoviola (2011-04-23 16:01:05)

Offline

#42 2011-04-28 11:30:15

snah
Member
Registered: 2011-04-28
Posts: 2

Re: System Sometimes Hangs @ "Power Off" While Halting

I have the same problems with my Thinkpad T60p.
Only for me the problem only occures when I have wicd started. If I kill wicd before shutdown everything works fine.

Offline

#43 2011-04-28 15:44:42

diegoviola
Member
Registered: 2010-12-16
Posts: 124

Re: System Sometimes Hangs @ "Power Off" While Halting

snah wrote:

I have the same problems with my Thinkpad T60p.
Only for me the problem only occures when I have wicd started. If I kill wicd before shutdown everything works fine.

Maybe you should report this issue upstream on the kernel bug report that I've created also: https://bugzilla.kernel.org/show_bug.cgi?id=33872

Offline

#44 2011-04-29 14:22:02

measure
Member
Registered: 2009-07-17
Posts: 62

Re: System Sometimes Hangs @ "Power Off" While Halting

I've got the same problem on my T410.  I suppose in some way my problem is "better" in the sense that it hangs every time, always with the "Disabling IRQ #19."

At least for me it is not a wicd or laptop-mode-tools problem, as it happened with both of these daemons stopped.  It seems that due to the nature of the problem and where it is occurring in the halt process there doesn't seem to be a way to find what is going on in the log files.

If there's any way I can supply information to help though, I would like to.

Thanks,
Ryan

Offline

#45 2011-04-29 14:34:07

leniviy
Member
Registered: 2009-05-23
Posts: 148

Re: System Sometimes Hangs @ "Power Off" While Halting

I have this issue on desktop PC: Intel DG33FB


Arch 64, xfce4

Offline

#46 2011-04-30 19:39:06

cesc
Member
From: Vienna, Austria
Registered: 2011-04-30
Posts: 6
Website

Re: System Sometimes Hangs @ "Power Off" While Halting

Same here on a Toshiba Portegé R700.

Offline

#47 2011-05-03 19:21:16

Silenzium
Member
Registered: 2011-05-03
Posts: 24

Re: System Sometimes Hangs @ "Power Off" While Halting

measure wrote:

I've got the same problem on my T410.  I suppose in some way my problem is "better" in the sense that it hangs every time, always with the "Disabling IRQ #19."
[...]

Same laptop, same problem. Disabling laptop-mode works as a workaround.

Offline

#48 2011-05-04 00:42:10

robosteven
Member
From: Waterloo
Registered: 2011-05-04
Posts: 3

Re: System Sometimes Hangs @ "Power Off" While Halting

Silenzium wrote:

Same laptop, same problem. Disabling laptop-mode works as a workaround.

I have a thinkpad W510 and disabling laptop-mode and acpid also fixed it for me.

Offline

#49 2011-05-04 03:48:49

diegoviola
Member
Registered: 2010-12-16
Posts: 124

Re: System Sometimes Hangs @ "Power Off" While Halting

anyone knows if this issue is getting fixed in kernel 2.6.39?

Last edited by diegoviola (2011-05-19 01:43:13)

Offline

#50 2011-05-04 09:32:40

anezch
Member
Registered: 2011-03-08
Posts: 23

Re: System Sometimes Hangs @ "Power Off" While Halting

I've tried to install Ubuntu 11.04 and my laptop shutdowns and reboots with no problem. FYI the kernel version is 2.6.38-8. I know they have some patches applied, I wonder if this issue is noticed by Ubuntu developers and they have a fix on that. Arch+Gnome3 would be a wonderful setup on my laptop when this shutdown issue is fixed.

Last edited by anezch (2011-05-04 09:36:22)

Offline

Board footer

Powered by FluxBB