On Thursday 25 July 2002 13:14, John Lowell wrote:
[...] when I try to shut down, SuSE 8.0 goes through all its paces to reach run level 0 but does not turn off the machine! I've gotten exactly the same result entering either halt or halt -p from the command line in single user mode. Why is SuSE 8.0 not shutting off my machine, can anyone tell me?
--- --- I had this same issue, and although I am fairly new to Linux, my reasoning and solution went as follows-- a) I noticed from the messages issued to the screen at shutdown that runlevel 0 seemed to be reached without problem, so it was just a matter of actually turning the computer power off manually. b) But I wanted the computer to shut itself off automatically. I reasoned that this may be accomplished by either APM (Advanced Power Management) or ACPI (Advanced Configuration and Power management Interface?), so I made sure that both APM and ACPI were enabled in my BIOS. c) I knew that certain features of Linux could be turned on or off at boot time by various arguments passed to the kernel at that time, and since I use lilo to boot the machine I checked the file /etc/lilo.conf. I noticed that for the kernel that would boot by default, the parameter apm=off appeared on the "append" line in lilo.conf, which meant that "apm=off" would be passed to the kernel every time the machine booted. d) I reasoned that "apm" meant APM, so as root I edited /etc/lilo.conf in vim (after using vimtutor to learn a little about vi/vim) and removed the "apm=off" from the "append" line (I did not change it to "apm=on" but removed the parameter entirely, hoping that without the parameter, the kernel would default to APM being turned on). e) As root (using the su command), I ran /sbin/lilo so that it would refer to my edited /etc/lilo.conf and rewrite the boot data onto the master boot record of my hard disk. I then shut the machine down and turned it off manually. When I next booted, I reasoned that the kernel would now have APM turned on. After fully booting, I issued the shutdown command at the KDM login screen, and the machine did an orderly shutdown to runlevel 0, then turned itself off. Success. f) I wondered why "apm=off" had appeared in my /etc/lilo.conf file at all, under the kernel that would be loaded by default at startup. I subsequently discovered that if I had installed SuSE using "safe" settings (which I believe may have included no DMA, disabled APIC, no APM), then those same safe settings were written to the initial /etc/lilo.conf file, and that is why my machine persisted, after installation, with APM turned off in the kernel at boot time, by way of the "apm=off" parameter passed to the kernel each time the machine booted. Although I am a Linux newbie, I hope this helps. Best wishes, Steve D, Portales, NM US