Skip to contentSkip to conversation

wall on shutdown

uml-devel Sven 'Darkman' Michels 2 participants 2 messages Feb 3, 2004 – Feb 11, 2004 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Hi there,

i've got a small problem here:
i'll use mconsoles cad feature to shutdown my uml. It works mostly like it should. But sometimes the shutdown doesn't send the well known wall msg. I tried multiple kernel configs etc., but it seems to be a race condition. 2 times it worked, 3-4-5-6 time it doesn't work. The UML simply goes down (clean shutdown, all ok execpt the missing wall). Now i added a echo bla | wall; shutdown to the inittab, that 'works' but isn't very beautiful ;)

Someone knows about this issue? I use debian (testing on the host, stable inside the uml, also tested with the image from the page, same problem) and kernel 2.4.24 (host), 2.4.24 with 2.4.23-2um patch.

Regards,
Sven

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw
Quoted 6 lines · [email protected] said:

But sometimes the shutdown doesn't send the well known wall msg. I tried multiple kernel configs etc., but it seems to be a race condition. 2 times it worked, 3-4-5-6 time it doesn't work. The UML simply goes down (clean shutdown, all ok execpt the missing wall). Now i added a echo bla | wall; shutdown to the inittab, that 'works' but isn't very beautiful ;)

This sounds like a userspace problem. Does wall (or shutdown) have any delays in it which sleep long enough for UML to shut down?

Jeff

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel