Shutdown could not power off
Hi folks,
Debian (testing / unstable) # shutdown -h now will not power-off. I have to manually switch off the PC # dmesg | grep acpi No printout # modprobe acpi modprobe: Can't locate module acpi # modprobe apm No printout # apmd It appears that an instance of apmd is already running as process 580. If in reality no instance of apmd is running, remove /var/run/apmd.pid. lo Kindly advise how to fix this problem TIA B.R. satimis |
Re: Shutdown could not power off
Quote:
Code:
append="hdc=ide-scsi apm=on" Code:
>$ cat /etc/modutils/apm |
Re: Re: Shutdown could not power off
Quote:
Thanks for your advice. # cat /etc/lilo.conf (original) boot=/dev/hda root=/dev/hda1 install=/boot/boot.b map=/boot/map image=/vmlinuz label=Linux initrd=/initrd.img # cat /etc/lilo.conf (change made) boot=/dev/hda root=/dev/hda1 install=/boot/boot.b map=/boot/map image=/vmlinuz label=Linux initrd=/initrd.img append="spm=on" # /sbin/lilo Warning: '/proc/partitions' does not match '/dev' directory structure. Name change: '/dev/ide/host0/bus0/target0/lun0/disc' -> '/dev/hda' Added Linux * # cat /etc/modutils/apm (original) alias char-major-10-134 apm alias /dev/apm_bios /dev/misc/apm_bios alias /dev/misc/apm_bios apm # cat /etc/modutils/apm (change made) alias char-major-10-134 apm alias /dev/apm_bios /dev/misc/apm_bios alias /dev/misc/apm_bios apm options apm power_off=1 # update-modules /etc/modules.conf # ls -al /etc/misc/ ls: al: No such file or directory ls: /etc/misc/: No such file or directory # shutdown -h now # halt -p # halt all can't switch off BIOS (default) Power Management Setup ACPI (Enabled) Tired changing "ACPI (Disabled) Still same result - can't poweroff B.R. satimis |
Re: Re: Re: Shutdown could not power off
Quote:
Quote:
Code:
HappyTux:/home/stephen# ll /dev/misc/apm_bios Code:
HappyTux:/dev/misc# MAKEDEV -n apm Quote:
|
Re: Shutdown could not power off
Hi HappyTux,
Thanks for your advice. I ran # update-modules /etc/modules.conf after editing /etc/modutils/apm Quote:
crw-rw---- 1 root root 10, 134 Dec 23 17:23 /dev/apm_bios There is no '/misc/' existing. Quote:
Quote:
# ls /var/log/ boot boot.0 boot.1.gz boot.2.gz boot.3.gz boot.4.gz # cat /var/log/boot Fri Jan 9 15:04:55 2004: Starting advanced power management daemon: apmd. # cat /var/log/daemon.log ..... Jan 16 19:20:14 debian apmd[578]: apmd 3.2.0 interfacing with apm driver 1.16 and APM BIOS 1.2 ..... Quote:
Quote:
B.R. satimis |
Re: Re: Re: Re: Shutdown could not power off
Quote:
Further to my last posting At booting, on the running screen I saw; Starting Advance Power Management : apmd B.R. satimis |
Re: Re: Re: Re: Re: Shutdown could not power off
Quote:
Code:
>$ lsmod |
Re: Re: Re: Re: Re: Re: Shutdown could not power off
Quote:
Sorry 'acpi' was not there $ lsmod | grep acpi $ lsmod | grep ACPI $ lsmod | grep apm apm 8492 2 (autoclean) B.R. satimis |
I had the exact same problem after upgrading kernel from 2.4 to 2.6.
I managed to fix it by linking apm into kernel instead of using it as a module. Don't really know if that is a bug or a feature ? |
Quote:
Could you please advise in more detail how to link apm to kernel. TIA B.R. satimis |
This is how my .config file looks:
grep APM .config # Power management options (ACPI, APM) # APM (Advanced Power Management) BIOS Support CONFIG_APM=y # CONFIG_APM_IGNORE_USER_SUSPEND is not set # CONFIG_APM_DO_ENABLE is not set CONFIG_APM_CPU_IDLE=y # CONFIG_APM_DISPLAY_BLANK is not set CONFIG_APM_RTC_IS_GMT=y # CONFIG_APM_ALLOW_INTS is not set # CONFIG_APM_REAL_MODE_POWER_OFF is not set grep ACPI .config # Power management options (ACPI, APM) # ACPI (Advanced Configuration and Power Interface) Support # CONFIG_ACPI is not set the meaning full point is CONFIG_APM=y instead of CONFIG_APM=m I use make gconfig to adjut my kernel, but there are many other methods. I hope this helps ? |
Quote:
Debian - unstable # grep APM .config grep: .config: No such file or directory # grep APM .conf grep: .conf: No such file or directory # grep ACPI .config grep: .config: No such file or directory # grep ACPI .conf grep: .conf: No such file or directory I have "libextutils-pkgconfig-perl" and "libapache-dbilogconfig-perl " installed but could not get 'gconfig' started # locate gconfig /usr/bin/gconfigger # /usr/bin/gconfigger no response. Kindly advise which package I need to install. OR is it a command line application or a GUI application TIA B.R. satimis |
I have the same problem with kernel 2.6.x; this is my kernel config section:
Code:
[sly@sid]~/download/cdrdao $grep APM /usr/src/linux/.config |
It works perfectly with ACPI and disabling APM.
|
All times are GMT -5. The time now is 04:24 AM. |