Re: shutdown hangs
- From: "Peter T. Breuer" <ptb@xxxxxxxxxxxxxxx>
- Date: Thu, 15 Dec 2005 17:55:45 +0100
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
.
- References:
- shutdown hangs
- From: hawat . thufir
- Re: shutdown hangs
- From: Laurenz Albe
- Re: shutdown hangs
- From: Iñaki Silanes
- Re: shutdown hangs
- From: Peter T. Breuer
- Re: shutdown hangs
- From: Laurenz Albe
- Re: shutdown hangs
- From: Peter T. Breuer
- Re: shutdown hangs
- From: Laurenz Albe
- shutdown hangs
- Prev by Date: Re: Logspace not being freed up?
- Next by Date: Re: command to find the flavour of linux
- Previous by thread: Re: shutdown hangs
- Next by thread: Bootup getting stuck
- Index(es):
Relevant Pages
|