l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2003 Jun 05 09:05

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Redhat 8.0 shutdown does not power off.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Redhat 8.0 shutdown does not power off.



--- Mike Simons <msimons@moria.simons-clan.com>
wrote:
> On Wed, Jun 04, 2003 at 02:43:12PM -0700, Jim
> Angstadt wrote:
> > --- Mike Simons
> <msimons@moria.simons-clan.com>
> > 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.


I read, but didn't understand, the earlier
threads on using magic sysrq keys.  I'll go back
over those threads.


> 
> 
> - Paste output from:  grep MAGIC /boot/config*

----- grep MAGIC /boot/config*
# CONFIG_NATSEMI_CABLE_MAGIC is not set
CONFIG_FB_NEOMAGIC=m
CONFIG_MAGIC_SYSRQ=y
CONFIG_MAGIC_SYSRQ=y

> 
> 
> > > > ----- 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?


The NVidia drivers are the only ones I
specifically downloaded and installed.  That was
done immediately upon original install.

I recall from the logs, that NVidia was mentioned
as being responsible for the kernel being tainted
(ie not open source).  

Maybe it's too soon to ask, but, are you thinking
that the original kernel was OK, and then later
was changed, not re-compiled, which resulted in
the current situation?

If so, then an option would be to reinstall from
CD, reinstall NVidia driver and the printer. 
There would be some network config work, but I
understand it now.

But, it would be nice to see what is causing the
problem.


Jim


> 
> -- 
> GPG key:
> http://simons-clan.com/~msimons/gpg/msimons.asc
> Fingerprint: 524D A726 77CB 62C9 4D56  8109
> E10C 249F B7FA ACBE
> 

> ATTACHMENT part 2 application/pgp-signature 



__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.