Re: shutdown hangs



Laurenz Albe <invite@xxxxxxxxxxxxxxx> wrote:
> Peter T. Breuer <ptb@xxxxxxxxxxxxxxx> wrote:
>>> Don't be silly.
>>> The problem is that one of the shell scripts hangs.
>>
>> Yes, and the reason it hangs is? The answer is "probably a kernel
>> oops". There's no reason to hang on a standard distro. I'd give the odds
>> as 60/40, and the hang has to be in-kernel or the killall5 would have got the
>> process. The most likely point for a such a hang is when dismounting
>> something on a device that does not exist, or when rmmodding a module.

> I think it's pointless to argue with somebody like you, so I won't.

And why do you think it is pointless? Because there is no sense in the
person or no sense in the argument?

Consider what a "hang" is. If you can't interrupt it, then the process
is in state D - uninterruptiple sleep in the kernel. That means it is
doing a system call which required i/o and the device in question is
not responding. Now - if the device is not responding, why is the
kernel talking to it in the first place? Was it "there" at bootup and
is not there now? How come the driver does not know it disappeared and
return an error? Either the driver is faulty or the hardware is. Either
way, the code is wrong.

Peter
.



Relevant Pages

  • Re: BISECTED: 2.6.29-rc2 regression: hibernation hang on eeepc-701
    ... It doesn't hang if I use the shutdown method (either 'echo ... I have 4 PCI devices without a kernel driver. ... 8086:2792 Mobile 915 Express Graphics Controller ...
    (Linux-Kernel)
  • user-space hangs - followup
    ... characteristics of the problem are that all kernel threads and interrupts ... but all user-space processes appear to hang. ... I've been looking back through my driver again - a good exercise ... still calling schedule(), as I should. ...
    (comp.os.linux.development.system)
  • Kernel to non-kernel comms
    ... I'm just starting a project which is going to have a kernel level driver ... problems with it causing a kernel hang. ... any recommendations of websites or books about 'typical pitfalls' with ...
    (microsoft.public.win32.programmer.kernel)
  • OUTLAW BLUES
    ... I got up this morning and played Outlaw Blues at as loud a volume as I ... "Don't ask me nothin' about nothin', ... Ain't gonna hang no picture frame. ... I got no reason to be there, ...
    (rec.music.dylan)
  • Re: [OT] Fix-it Guy from Hell
    ... This guy was creeping me out. ... This guy apparently adores our next-door-neighbors, for some reason. ... hang out with your neighbor unless they are friends. ...
    (rec.pets.cats.anecdotes)