Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Jim Angstadt

--- Peter Jay Salzman <[EMAIL PROTECTED]> wrote:
> On Tue 03 Jun 03,  1:26 PM, Jim Angstadt
> <[EMAIL PROTECTED]> said:
> > 
> > --- Rob Rogers <[EMAIL PROTECTED]> wrote:
> > > On Tue, Jun 03, 2003 at 12:32:57PM -0700,
> > > Angstadt wrote:
> > > > 
> > > > --- Jim Angstadt <[EMAIL PROTECTED]>
> wrote:
> > > > > --- "Mark K. Kim"
> <[EMAIL PROTECTED]>
> > > wrote:
> > > > > > On Tue, 3 Jun 2003, Jim Angstadt
> wrote:



> > Jim
> 
> 1. have you actually looked at your logs yet?

Yes.  /var/log/messages has 8 "shutdown:"
messages.  1 is reboot and 7 are halt.  This is
in sync with what I've done today, up to the time
I looked.

> 
> 2. try sending this guy a private email and ask
> him if he ever found the answer to his problem:
> 
http://www.google.com/groups?hl=en&lr=&ie=UTF-8&th=b3e6ba6021e8a3f2&rnum=7

msg sent.  waiting answer.

> 
> 3. see if this helps:
> 
>
http://www.google.com/groups?hl=en&lr=&ie=UTF-8&th=61912e619f4f06af&rnum=30

There were several ideas here.  Alas, none
helped.

Idea 1:
/sbin/reboot
/sbin/halt
/sbin/shutdown

All match the description in your cited msg.

Idea 2:
The halt script seems to end with a command
ending in -p (for powerdown).
(a poster in cited msg did not have a -p.  but
when he added one, that was no help.)

Idea 3:
I'm doing shutdown from runlevel 3 not 5.

> 
> 
> 4. boot into single user mode.  run "halt"
> and/or "telinit 0" from the prompt.

I'm still researching how to do this.

> 
> 5. become root, then run "halt".

shutdown seems normal.  ends with 'System
halted'.
I do a physical power off (holding button for 1-2
seconds) and see more text briefly and then
bootup.

I repeat the above and the system hangs at
"Sending processes the TERM signal...".  physical
power off.

[ please note, I'm aware of the 5 second delay
after "Sending...".  I've always waited at least
a minute; sometimes as long as 30 minutes. Once
it's past the 5 sec delay, it's fully hung. ]

I repeat the above and system ends with "System
halted".  A quick power button press yields a
brief screen of text and then the system is off.

I repeat the above and the system hangs at
"Sending processes the TERM signal...".  physical
power off.

I repeat the above and system ends with "System
halted".  A quick power button press yields a
brief screen of text and then the system reboots.

[ this is clearly inconsistent, but why? ]

> 
> 6. from the default runlevel, type:
> 
>telinit 1
> 
>then
> 
>telinit 0
> 
>see if it hangs when you try to go from 5 to
> 1, or if it hangs if you
>try to go from 1 to 0.

telinit 1 shuts down some processes.  
the last msg is 'Sending processes the TERM
signal...'. 
Then I get a 'sh-2.05b#' prompt and am NOT able
to enter commands.
( This also happened earlier today under a
simular situation. )
I do a physical power off.

telinit 0 by itself leads to a reboot.

> 
> 7. what was the last administrative thing you
> did before the problem
> appeared?

That would be the -Fr options for shutdown and
the fsck options mentioned in my initial post.
I realized it should not be relavant here.

This box was purchased in Feb 2003.  The RH 8.0
install went smoothly.  I did some configuration
for /etc/hosts and related home network stuff.
I tried to get gnome-pilot working, including a
usb change to the kernel.  Then the -Fr and fsch
stuff.  Later I mounted some NFS trees from
another home box (rh 9.0).

I really have not done much with the box.  
My wife uses it for web sites and yahoo email
mainly.

---

Thanks to all who have responded today.

I'll pick up my shield tomorrow for another round
of head-butting.

Jim

> 
> pete
> 
> 
> -- 
> GPG Instructions:
> http://www.dirac.org/linux/gpg
> GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9
> A3B9 1945 67EA 951D
> ___
> vox-tech mailing list
> [EMAIL PROTECTED]
>
http://lists.lugod.org/mailman/listinfo/vox-tech


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Peter Jay Salzman
On Tue 03 Jun 03,  1:26 PM, Jim Angstadt <[EMAIL PROTECTED]> said:
> 
> --- Rob Rogers <[EMAIL PROTECTED]> wrote:
> > On Tue, Jun 03, 2003 at 12:32:57PM -0700, Jim
> > Angstadt wrote:
> > > 
> > > --- Jim Angstadt <[EMAIL PROTECTED]> wrote:
> > > > 
> > > > --- "Mark K. Kim" <[EMAIL PROTECTED]>
> > wrote:
> > > > > On Tue, 3 Jun 2003, Jim Angstadt wrote:
> 
> 
> > Any chance this is an e-machines box? Some of
> > them are know for this 
> > sort of problem (My ex-roommate had this
> > problem, and I've seen it
> > with a few other e-machines boxes when I was
> > working at a repair
> > shop...plus it's pretty well documented on the
> > web). The Diagnosis was
> > generally a bad power supply.
> 
> Hi Rob,
> 
> No, it's not an e-machine.  It's a custom quiet
> box with a Nexus NX-3000 300 watt power supply.
> 
> Thanks,
> Jim

1. have you actually looked at your logs yet?

2. try sending this guy a private email and ask him if he ever found the
answer to his problem:

http://www.google.com/groups?hl=en&lr=&ie=UTF-8&th=b3e6ba6021e8a3f2&rnum=7

3. see if this helps:

http://www.google.com/groups?hl=en&lr=&ie=UTF-8&th=61912e619f4f06af&rnum=30


4. boot into single user mode.  run "halt" and/or "telinit 0" from the
   prompt.

5. become root, then run "halt".

6. from the default runlevel, type:

   telinit 1

   then

   telinit 0

   see if it hangs when you try to go from 5 to 1, or if it hangs if you
   try to go from 1 to 0.

7. what was the last administrative thing you did before the problem
appeared?

pete


-- 
GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Jim Angstadt

--- Rob Rogers <[EMAIL PROTECTED]> wrote:
> On Tue, Jun 03, 2003 at 12:32:57PM -0700, Jim
> Angstadt wrote:
> > 
> > --- Jim Angstadt <[EMAIL PROTECTED]> wrote:
> > > 
> > > --- "Mark K. Kim" <[EMAIL PROTECTED]>
> wrote:
> > > > On Tue, 3 Jun 2003, Jim Angstadt wrote:


> Any chance this is an e-machines box? Some of
> them are know for this 
> sort of problem (My ex-roommate had this
> problem, and I've seen it
> with a few other e-machines boxes when I was
> working at a repair
> shop...plus it's pretty well documented on the
> web). The Diagnosis was
> generally a bad power supply.

Hi Rob,

No, it's not an e-machine.  It's a custom quiet
box with a Nexus NX-3000 300 watt power supply.

Thanks,
Jim


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Rob Rogers
On Tue, Jun 03, 2003 at 12:32:57PM -0700, Jim Angstadt wrote:
> 
> --- Jim Angstadt <[EMAIL PROTECTED]> wrote:
> > 
> > --- "Mark K. Kim" <[EMAIL PROTECTED]> wrote:
> > > On Tue, 3 Jun 2003, Jim Angstadt wrote:
> 
> 
> > apmd loads at 2, 3, 4, and 5.  
> > 
> > Do you think I should turn it off and then try
> > poweroff and shutdown?
> 
> I turned off apmd and did 'shutdown -h now' which
> hung at 'Sending all processes the TERM signal',
> as has sometimes happened.
> 
> Did another shutdown -h now' which rebooted.
> 
> Apparently, apmd has no effect in this case.

Any chance this is an e-machines box? Some of them are know for this 
sort of problem (My ex-roommate had this problem, and I've seen it
with a few other e-machines boxes when I was working at a repair
shop...plus it's pretty well documented on the web). The Diagnosis was
generally a bad power supply.
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Jim Angstadt

--- Jim Angstadt <[EMAIL PROTECTED]> wrote:
> 
> --- "Mark K. Kim" <[EMAIL PROTECTED]> wrote:
> > On Tue, 3 Jun 2003, Jim Angstadt wrote:


> apmd loads at 2, 3, 4, and 5.  
> 
> Do you think I should turn it off and then try
> poweroff and shutdown?

I turned off apmd and did 'shutdown -h now' which
hung at 'Sending all processes the TERM signal',
as has sometimes happened.

Did another shutdown -h now' which rebooted.

Apparently, apmd has no effect in this case.

Thanks,
Jim


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Jim Angstadt

--- "Mark K. Kim" <[EMAIL PROTECTED]> wrote:
> On Tue, 3 Jun 2003, Jim Angstadt wrote:


>   chkconfig --list apmd
> 
> should tell you whether apmd is loading
> properly or not at your runlevel
> (probably 3 if you're using console-only, or 5
> if you're going into X
> directly.)  You need apmd to power off
> automatically.


Hi Mark,

apmd loads at 2, 3, 4, and 5.  

Do you think I should turn it off and then try
poweroff and shutdown?

Thanks,
Jim


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Jim Angstadt
--- Jim AnAngstadtjijimajimayahoo.com> wrote:
> --- Peter Jay SaSaSalzmanpididiracrorgwrote
> > On Tue 03 Jun 03, 11:21 AM, Jim AnAnAngstadt
>  said:

I apologize for the garbled msg.  Apparently
yahoo gets the hickups from spell check. Please
let me clarify:

I ran telinit with a 6 parm and got a nice normal
reboot.

I ran telinit with a 0 parm and also got a
reboot, not a halt.

Jim


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Jim Angstadt
--- Peter Jay [EMAIL PROTECTED]:
> On Tue 03 Jun 03, 11:21 AM, Jim AnAngstadt>
 said:
> > 
> > The only kernel changes were months ago as I 
>[1]
> > tried to get gnome-pilot working.  There was
> a
> > procedure I followed that somehow enabled
USUSB> in
> > the kernel.
> > 
> > I got no errors from the procedure, but still
> > could not get gnome-pilot working.  That's
> where
> > I left it.
> > 
> > I believe that there were several 'normal'
> power
> > offs after that, and before the present
> unwanted
> > reboots.
> 
> jijim
> 
> assuming that you dididn recompile your kernel
> [1] (you'd probably know
> if you did.  it would'veveaken 5-30 minutes
> with very copious output.)
> take a look at:
> 
>ls -lclcboot/vmvmlinuz
> 
> do any dates coincide with the wiwierdehavior?

 
No, the dates - Mar 11 - are before the
wiwierdehavior, which started about late Apr or
early May.

Additionally, from a private source, I was asked
to run /sbsbinetelinit which yielded a nice clean
reboot.

Thanks,
Jim

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Mark K. Kim
On Tue, 3 Jun 2003, Jim Angstadt wrote:

> My RH 7.2 box is that way.  I must do a physical
> power off.  My RH 8.0 is NOT this way.

I'm no longer using an RPM-based system (and it was Mandrake, not RedHat
at that) but as I recall,

  chkconfig --list apmd

should tell you whether apmd is loading properly or not at your runlevel
(probably 3 if you're using console-only, or 5 if you're going into X
directly.)  You need apmd to power off automatically.

You can turn it on with chkconfig if it's not loading properly.  But I
don't remember what the command is to turn it on... probably `chkconfig
--on apmd` or something similar.  Check `chkconfig --help`.

-Mark

-- 
Mark K. Kim
http://www.cbreak.org/
PGP key available upon request.

___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Peter Jay Salzman
On Tue 03 Jun 03, 11:21 AM, Jim Angstadt <[EMAIL PROTECTED]> said:
> 
> The only kernel changes were months ago as I [1]
> tried to get gnome-pilot working.  There was a
> procedure I followed that somehow enabled USB in
> the kernel.
> 
> I got no errors from the procedure, but still
> could not get gnome-pilot working.  That's where
> I left it.
> 
> I believe that there were several 'normal' power
> offs after that, and before the present unwanted
> reboots.

jim,

assuming that you didn't recompile your kernel [1] (you'd probably know
if you did.  it would've taken 5-30 minutes with very copious output.)
take a look at:

   ls -lc /boot/vmlinuz*

do any dates coincide with the wierd behavior?

pete

-- 
GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Jim Angstadt

--- Mike Simons <[EMAIL PROTECTED]>
wrote:
> On Tue, Jun 03, 2003 at 10:15:51AM -0700, Jim
> Angstadt wrote:
> > Until recently I was able to 'poweroff' a Red
> Hat
> > 8.0 box.
> > 
> > Now the poweroff results in a reboot.
> [...]
> > As processes are shut down, the machine hangs
> > after issuing the message 
> >'Sending all processes the TERM signal'
> > 
> > I let it sit in that state for many minutes
> > before having to do a physical power off.
> 
> Jim,
> 
>   The "shutdown -Fr now" should not have
> changed anything... other than
> that single reboot.  the -F requested
> filesystem check on next boot and
> -r says you want to reboot instead of -h for
> halt.
> 
> 
>   I am guessing that there was a kernel upgrade
> between when it powered
> off and now that it doesn't... I say this
> because there is a option in
> the kernel configuration that controls if the
> machine will be powered
> off on halt or not.  If the machine is not set
> to halt, and you do a
> halt style shutdown it should "just sit there"
> waiting for you to power
> it off as you described.
> 


Hi Mike,

My RH 7.2 box is that way.  I must do a physical
power off.  My RH 8.0 is NOT this way.


> ===
> Use real mode APM BIOS call to power off
> CONFIG_APM_REAL_MODE_POWER_OFF
>   Use real mode APM BIOS calls to switch off
> the computer. This is
>   a work-around for a number of buggy BIOSes.
> Switch this option on if
>   your computer crashes instead of powering off
> properly.
> ===
> 
>   This will be buried somewhere in the APM
> menu.
> 
> 
>   If you are sure the kernel didn't change
> (please double check)... there
> may be other reasons your machine isn't
> powering off... so if you didn't
> change the kernel let us know.
> 
> Good Luck,
>   Mike



I'm going to expose more of my ignorance here:

The only kernel changes were months ago as I
tried to get gnome-pilot working.  There was a
procedure I followed that somehow enabled USB in
the kernel.

I got no errors from the procedure, but still
could not get gnome-pilot working.  That's where
I left it.

I believe that there were several 'normal' power
offs after that, and before the present unwanted
reboots.

Thanks,
Jim


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Mike Simons
On Tue, Jun 03, 2003 at 10:15:51AM -0700, Jim Angstadt wrote:
> Until recently I was able to 'poweroff' a Red Hat
> 8.0 box.
> 
> Now the poweroff results in a reboot.
[...]
> As processes are shut down, the machine hangs
> after issuing the message 
>'Sending all processes the TERM signal'
> 
> I let it sit in that state for many minutes
> before having to do a physical power off.

Jim,

  The "shutdown -Fr now" should not have changed anything... other than
that single reboot.  the -F requested filesystem check on next boot and
-r says you want to reboot instead of -h for halt.


  I am guessing that there was a kernel upgrade between when it powered
off and now that it doesn't... I say this because there is a option in
the kernel configuration that controls if the machine will be powered
off on halt or not.  If the machine is not set to halt, and you do a
halt style shutdown it should "just sit there" waiting for you to power
it off as you described.

===
Use real mode APM BIOS call to power off
CONFIG_APM_REAL_MODE_POWER_OFF
  Use real mode APM BIOS calls to switch off the computer. This is
  a work-around for a number of buggy BIOSes. Switch this option on if
  your computer crashes instead of powering off properly.
===

  This will be buried somewhere in the APM menu.


  If you are sure the kernel didn't change (please double check)... there
may be other reasons your machine isn't powering off... so if you didn't
change the kernel let us know.

Good Luck,
  Mike

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


pgp0.pgp
Description: PGP signature


[vox-tech] Unwanted ReBoot

2003-06-04 Thread Jim Angstadt
Hi All,

Until recently I was able to 'poweroff' a Red Hat
8.0 box.

Now the poweroff results in a reboot.  That is,
it looks like it is shutting down normally,
processes are stopped, and the screen goes black.
 But then the computer starts up, does the bios
thing, and begins to load the os.  The os loads
normally and I'm back at the command line, where
I would be for a normal start(runlevel 3).

When the bios checks are running, I can
physically power off the machine and all is well.

If I use 'shutdown -h now' the machine will also
reboot vs halt.

This weird behavior started shortly after I was
playing with the -Fr option for shutdown, as
mentioned by Mike in a post some weeks ago.

I also changed the fsck parms so that an fsck
would be done every 30 mounts or 3 months:
   tune2fs -c 30 -i 3m
for each of the physical partitions.
(thanks Mike, really.  I often try the stuff you
suggest to others.)

The only other possibly related symptom will
sometimes occur during 'poweroff' but not
'shutdown -h now':

As processes are shut down, the machine hangs
after issuing the message 
   'Sending all processes the TERM signal'

I let it sit in that state for many minutes
before having to do a physical power off.

This RH system is used mainly by my wife at home,
so we can live with these little quirks, but I'd
rather not.  Any Ideas?

Thanks,
Jim

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech