suse 9 fährt nicht mit (halt -p,shutdown -h,init 0)herunter...
-
Ich hab ein Problem.Seit ich suse 9.0 installiert hab,fährt mein Rechner zwar runter bis runlevel 0,gibt aber einen Fehler und der Rechner schaltet sich nicht von selber aus...Advanced powerm.ist eingeschalten,acpi abgeschalten.
Die Fehlermeldung lautet:
Master Recource Control:Runlevel 0 has been skipped services in runlevel 0
acpid smbfsDas halt-script scheint in ordnung zu sein bin mir aber nicht sicher...
#########################################################################
#! /bin/sh
# Copyright (c) 1996-2002 SuSE Linux AG, Nuernberg, Germany.
# All rights reserved.# Author: Florian La Roche, 1996
# Werner Fink werner@suse.de, 1996-2001# Please send feedback to http://www.suse.de/feedback
# /etc/init.d/halt (and symlinked to reboot)
. /etc/rc.status
. /etc/sysconfig/clock
. /etc/sysconfig/suseconfig# Avoid being interrupted by child or keyboard
trap "echo" SIGINT SIGSEGV SIGQUIT SIGTERM
set +erc_splash "reboot"
case "cmdline" in
apm=smp-power-off | apm=power-off ) command="halt -p" ;;
esac
fi
;;
command="halt -p"
;;
esac
;;
*reboot)
message="Please stand by while rebooting the system..."
command="reboot"
;;
echo "$0: call me as \"halt\" or \"reboot\" please!"
exit 1
;;
esac# helper shell function
reverse ()
{
local _line
while read -r _line ; do
reverse
echo "$_line"
break
done
}# first do local stuff
rc_reset
test -e /etc/init.d/halt.local && {
echo Running /etc/init.d/halt.local
/bin/sh /etc/init.d/halt.local
rc_status -v1 -r
}# Write to wtmp file before unmounting /var
$command -w# Set a flag that we had success upto this point
> /success# Stop blogd before umounting /var
test -x /sbin/blogd && killproc -QUIT /sbin/blogd# Redirect our mesages to default console
test -n "$REDIRECT" && exec 0<> $REDIRECT 1>&0 2>&0echo "Sending all processes the TERM signal..."
killall5 -15
echo -e "$rc_done_up"sleep 1
test "$1" = "fast" -o -e /fastboot || sleep 4echo "Sending all processes the KILL signal..."
killall5 -9
echo -e "$rc_done_up"if test "HWCLOCK_ACCESS" != "no" ; then
echo -n "Set Hardware Clock to the current System Time"
# write back to hardware clock and calculate adjtime
/sbin/hwclock --systohc $HWCLOCK
rc_status -v -r
fiecho "Turning off swap"
sync ; sync
rc_reset
swapoff -a &> /dev/null
rc_status -v1 -r
# Something forgotten?
if test -r /proc/swaps ; then
# Use cat and a pipe because swapoff changes
# /proc/swaps during direct read call
cat /proc/swaps | \
while read des rest ; do
test "$des" = "Filename" && continue
swapoff $des &> /dev/null
done
fimounts=/etc/fstab
test -r /proc/mounts && mounts=/proc/mounts# First umount intermezzo filesystems
test -x /usr/sbin/umountizo -a ! -z "`grep -i intermezzo <$mounts`" && /usb/sbin/umountizo >/dev/null 2>&1reverse < des" in
""|\#) continue ;;
/dev/loop)
umount $fs
losetup $des &> /dev/null
test $? -eq 0 && losetup -d fs" in
/proc) continue ;;
/dev/pts) continue ;;
/dev) continue ;;
/dev/shm) continue ;;
esac
case "$type" in
proc) umount -t proc $fs ;;
devpts) umount -t devpts $fs ;;
devfs) umount -t devfs $fs ;;
shm) umount -t shm $fs ;;
usbdevfs) umount -t usbdevfs $fs ;;
esac
doneUMOUNT_FAILED=false
echo "Unmounting file systems"
umount -avt noproc,nonfs,nosmbfs || {
rc_status
UMOUNT_FAILED=true
}
rc_status -v1 -rif test "$UMOUNT_FAILED" = true ; then
echo "Oops: umount failed-- trying to remount readonly..."
mounts=/etc/fstab
test -r /proc/mounts && mounts=/proc/mounts
# Use cat and a pipe because umount changes
# /proc/mounts during direct read call
cat des" in ""|\#*) continue ;; esac
case "$type" in
swap) continue ;; # No umount on swap devices
proc) continue ;; # Required
nfs) continue ;; # Avoid hanging reboot/halt
smbfs) continue ;; # Avoid hanging reboot/halt
esac
mount -v -n -o remount,ro $fs
doneecho "extra sync..."
sync; sync
echo "... hope now it's ok to reboot."
fiif test -d /etc/lvmtab.d -a -x /sbin/vgchange ; then
/sbin/vgchange -a n
fiumount -anvt proc
# maybe we use Multiple devices
if test -f /etc/mdtab -a -x /sbin/mdstop ; then
echo -n "Disable Multiple Devices"
/sbin/mdstop -a
rc_status -v1 -r
fi
# commented out since raidstop needs an argument
# normal shutdown is done automatically
#if test -f /etc/raidtab -a -x /sbin/raidstop ; then
# echo -n "Disable Multiple Devices"
# /sbin/raidstop --all
# rc_status -v1 -r
#fi# on umsdos fs this would lead to an error message, so direct errors to
# /dev/null
mount -no remount,ro / 2> /dev/null
sync# Make reboot noise and wait a few seconds to give harddisks the chance
# to really flush their buffers before power goes down.
if test -n "HALT_SOUND" in
"yes"|"quint")
echo -en "\033[10;393]\a\033[10;262]"
sleep 1
;;
"octave")
for tone in 524 491 440 393 349 328 295 ; do
echo -en "\033[10;${tone}]\a"
usleep 125000
done
echo -en "\033[10;262]"
;;
echo -en "\033[10;440]\a"
usleep 250000
;;
esac
else
echo -en "\a"
sleep 2
fi
echo $message
echo -en "\a"# Set system console back to intial value
test -n "CONSOLE" && setconsole $REDIRECT < $CONSOLE# Now talk to kernel
exec $command -d -f
#########################################################################
kann mir jemand helfen?
-
Hatte mal vor längerer Zeit das gleiche Problem mit einem älteren Rechner. Schau evtl. man nach, ob es ein neueres Bios für dein Mainboard gibt. Bei mir hat er sich nach dem Update dann ordnungsgemäß ausgeschaltet.
Ansonsten würde ich (weil ich nämlich nicht so tiefgehende Ahnung von der Materie habe) noch ausprobieren, acpi anstatt apm zu verwenden.
-
ich glaube aber eher, wenn das bios alt ist, dass acpi erst gar nicht gehen wird. am besten vielleicht beises acpi und apm abschalten (wenn du das nicht sooo dringend brauchst!) allerdings glaube ich nicht, dass es daran liegt. die idee mit dem bios-update ist aber sicherlich nicht schlecht, sofern dein bios das unterstützt (zB flash-bios o.ä.).
-
ich denke ich werde mein suse 8.2 wieder drauf machen...bin grad dabei ein backup programm zu schreiben es ist nur in shell geschrieben und absolut billig nicht aufwendig.will versuchen die programme die ich jetzt installiert habe in einem neuen installierten system zu überspielen mit den ganzen config dateien...mit meinem ssl server ist dies schon gelungen.das programm installiert auf jedem suse system einen funktionsfähigen ssl server mit ssh also auch mit user,passwort login.inerhalb von 2 sec:-)wer interesse an den dateien hat soll mir bescheid geben...wer sich den server mal anschauen will kann das tun.der testserver ist heute auf der adresse
https://217.94.126.74/ bis 13 uhr installiert.passwort u. user lauten ciro...
-
mach dir lieber die suse 9.1 drauf. die kommt zwar normalerweise erst in einer woche, aber in manchen läden gibt es die schon. oder warte auf die ftp-installation von suse!