On Wed, Jun 04, 2003 at 02:43:12PM -0700, Jim Angstadt wrote: > --- Mike Simons <[EMAIL PROTECTED]> > wrote: > > On Wed, Jun 04, 2003 at 02:05:21PM -0700, Jim Angstadt wrote: > > > msimons wrote: > > > > I still think that the reason your machine does not power itself > > > > off is related to the kernel configuration option. I would like > > > > to track down the kernel .config used to build the kernel you are > > > > running > > > > - Paste output from: grep APM /boot/config* > > ----- grep APM boot config* > 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_REAL_MODE_POWER_OFF is not set > # CONFIG_APM_ALLOW_INTS is not set
At the beginning of the thread I said that I think the following
option needs to be turned on in order for the kernel to shut the power
supply off on shutdown:
===
# CONFIG_APM_REAL_MODE_POWER_OFF is not set
===
The kernel you are using does not have it turned on.
However the knoppix kernel does not have it on either, and that system
certainly turns off each laptop I have checked on shutdown... looking
in the code:
- that setting is not changeable at runtime (only compile time, not that
there is anything that would prevent it from bring set at runtime).
- there are two ways the kernel will try to power off, which one is
used is decided by that setting.
- using magic sysrq you can trigger the power off kernel function to
see if the kernel method works correctly on a given box.
With 'q', as in s-u-q, instead of s-u-b.
- Paste output from: grep MAGIC /boot/config*
> > > ----- grep power /proc/ksyms from RH 8.0 box
> > > d0a0d004 rm_power_management [nvidia]
> >
> > You appear to have the functions needed to do
> > power-off, but another question is raised:
> >
> > - Paste output from: lsmod
> <snip>
>
> ----- lsmod
> Module Size Used by Tainted: P
> nvidia 1593856 10 (autoclean)
Hrmmm... tainted kernel. that could be responsible for the system
not stopping or powering off correctly. Besides the nvidia driver
- Do you know if you any other binary-only kernel drivers?
--
GPG key: http://simons-clan.com/~msimons/gpg/msimons.asc
Fingerprint: 524D A726 77CB 62C9 4D56 8109 E10C 249F B7FA ACBE
pgp00000.pgp
Description: PGP signature
