Re: shutdown hangs



hawat.thufir@xxxxxxxxx wrote:
> On Wed, 14 Dec 2005, Peter T. Breuer wrote:
> ..
>>> For all variations specified above, as root, I get a broadcast message
>>> indicating that the system is going down. That's it, then, nothing
>>> happens.
>>
>> And what happens when you run "init 0" directly?

> I did this from XFCE and the keyboard stopped working, but the mouse still

Well, don't. Do it someplace you can check what is going on! Please be
exact about what is happening - you want to watch the entire sequence of
events as they happen in order to give meaningful information.


> worked. I started a new terminal, but still wasn't able to enter
> commands. I gave up and hit the "restart" button on the computer :(

Good. It sounds like the shutdown sequence worked fine - though I'm
puzzled that enough of something was still running for the mouse
movement to still be visible. Why didn't X die? Maybe there's no
killall5 these days, and shutdown itself does the kill? No .. it should
be in S20sendsigs!

What does running that do?


>> What does a strace of the shutdown process tell you?

> I don't know what that is at the moment, there's no manual entry for that
> command--I'll do some googling later.

Of course there is! Don't look in the manual for it, INSTALL it, THEN
look in the manual for it!

>> Trace the sequence. Look at pstree to see what is happening. What does
>> S90halt do?

> I probably should've done this first, before "init 0". I like pstree,
> that's good command to keep in mind for the future, thanks :)

Peter
.



Relevant Pages

  • Re: Switching to Linux, now what to buy?
    ... Peter T. Breuer wrote: ... >>in the post was that I felt I was blocking myself from seeing the ... > notice that the peaks in the phi function WERE the sequence given. ...
    (comp.os.linux.setup)
  • Re: CAsyncSocket message handling
    ... See the discussion "Graceful shutdown, linger options, and socket closure" in the MSDN. ... happened] and to use closesocket to both initiate the shutdown sequence and deallocate the ... CAsyncSocket seems remarkably silent on when it is safe to actually delete the ... The MSDN "Windows Sockets Sample List" is empty, except for a circular reference to the ...
    (microsoft.public.vc.mfc)
  • Re: [opensuse] runlevel daemon startup shutdown sequence
    ... How does sles set the sequence? ... How can i adjust the shutdown or startup priority sles10sp3? ... When it enters the runlevel 3 naviagent starts first then followed by PowerPath. ...
    (SuSE)
  • Re: [TCPIP V5.4] ECO 4 is out
    ... The 2nd doesn't shutdown ... Peter "EPLAN" LANGSTOEGER ...
    (comp.os.vms)
  • Re: What Did You Watch? 2012-09-13 (Thursday)
    ... I did like the sequence in which Neal boxes vs. Peter (and ... When are they going to get around to telling us that Sam is Neil's long ... I have a feeling it's in this next episode. ...
    (rec.arts.tv)