[opensuse] Re: Reboot via SSH
Marc Chamberlin wrote:
I ssh'd into my home system as root without any problems. But when I give the command to reboot, nothing happens.. "shutdown -r now" also just gives a response saying the system is going down, but again it does not actually reboot!
The whole discussion about reboot, init 6, and shutdown -r now notwithstanding (they all do the same actions anyhow), I'd like to note that this "should" work; I do it regularly. Either your problem is caused by software; then /var/log/messages or /var/log/boot.msg (boot.omsg after reboot) should contain hints. It might also be a different issue: I have one workstation (an Dell Optiplex 990) where reboot doesn't work at all. Neither remote nor on console. Linux terminates all process, unmounts all disks, and then nothing happens. Bloody annoying. :-( Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 8/9/2011 3:31 PM, Joachim Schrod wrote:
It might also be a different issue: I have one workstation (an Dell Optiplex 990) where reboot doesn't work at all. Neither remote nor on console. Linux terminates all process, unmounts all disks, and then nothing happens. Bloody annoying. :-(
Joachim
That use to be pretty standard for a certain vintage of machines with dual processors (not dual cores, but separate CPU chips). One processor couldn't be sure the other one was done so they took the fail safe way of requiring physical interaction rather than risk one processor killing off some important shutdown work the other was doing. I haven't seen that problem since several releases (and I only have one dual CPU machine left). I think Dell had some other method for those machines. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
it might also be of some help to try to manually do what init, et al [s|w]ould be doing (nice vitriol from both sides about reboot/init/shutdown/whatever being the only acceptable way to handle a machine, by the way. super helpful). if feasible, I'd login cd /etc/init.d/rc.$current_runlevel + and run something of the ilk: for i in K* ++ do ./$i stop done and keep cycling down through run levels, looking for an init script that isn't quite shutting down correctly. apart from that, then look in /var/log/message for hints, perhaps do a dmesg and if things get really desperate try running strace on shutdown -h now, probably from within a 'script' session to capture all the system calls (and it will be pretty fugly, I suspect) + -- you'll have to either know or get current runlevel... should be easy enough to start with 'egrep -i initdefault /etc/inittab', then remember for the next level down. I'm also not entirely sure of this path, it seems like it's right, but it could be /etc/rc.X. These are just suggestions, of course, I don't recall having this problem on a machine in recent history.. and any older ones I had this with I chalked to POS hardware and moved on to something more recent. On Tue, Aug 9, 2011 at 6:31 PM, Joachim Schrod <jschrod@acm.org> wrote:
Marc Chamberlin wrote:
I ssh'd into my home system as root without any problems. But when I give the command to reboot, nothing happens.. "shutdown -r now" also just gives a response saying the system is going down, but again it does not actually reboot!
The whole discussion about reboot, init 6, and shutdown -r now notwithstanding (they all do the same actions anyhow), I'd like to note that this "should" work; I do it regularly.
Either your problem is caused by software; then /var/log/messages or /var/log/boot.msg (boot.omsg after reboot) should contain hints.
It might also be a different issue: I have one workstation (an Dell Optiplex 990) where reboot doesn't work at all. Neither remote nor on console. Linux terminates all process, unmounts all disks, and then nothing happens. Bloody annoying. :-(
Joachim
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- Even the Magic 8 ball has an opinion on email clients: Outlook not so good. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Mittwoch, 10. August 2011 schrieb Joachim Schrod:
[...] It might also be a different issue: I have one workstation (an Dell Optiplex 990) where reboot doesn't work at all. Neither remote nor on console. Linux terminates all process, unmounts all disks, and then nothing happens. Bloody annoying. :-(
Well, have a look at http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob_plai... and search for "Dell". Some models need the kernel option reboot=bios and some reboot=pci. Perhaps you have found another not yet included model that needs such an option. HTH Jan -- I don't know, I don't care and it doesn't make any difference. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Jan Ritzerfeld
-
Joachim Schrod
-
John Andersen
-
zGreenfelder