https://bugzilla.novell.com/show_bug.cgi?id=387601 Summary: automatic kexec on reboot Product: openSUSE 11.0 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: tiwai@novell.com ReportedBy: lnussel@novell.com QAContact: qa@suse.de CC: bwalle@novell.com Found By: --- What about adding the following code to the reboot/halt script so it automatically kexec's a new kernel if there is one loaded? --- /etc/init.d/halt.orig 2008-05-07 10:55:30.000000000 +0200 +++ /etc/init.d/halt 2008-05-07 09:21:39.000000000 +0200 @@ -235,5 +235,13 @@ # Set system console back to intial value test -n "$REDIRECT" -a -n "$CONSOLE" && setconsole $REDIRECT < $CONSOLE +if test "$command" = 'reboot' -a -x /sbin/kexec; then + read loaded < /sys/kernel/kexec_loaded + if test "$loaded" = 1; then + echo "Trying kexec..." + /sbin/kexec -e + echo "kexec failed, using normal reboot" + fi +fi # Now talk to kernel exec $command -d -f -n $opts -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.