Unix Technical Forum

Unexpected restart on dmesg | less scrolling

This is a discussion on Unexpected restart on dmesg | less scrolling within the Linux Operating System forums, part of the Unix Operating Systems category; --> I have the CRUX-2.1 distribution with a custom kernel installed on a computer that I built from an HP ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 09:35 AM
Jody
 
Posts: n/a
Default Unexpected restart on dmesg | less scrolling

I have the CRUX-2.1 distribution with a custom kernel installed on a computer
that I built from an HP Pavilion's core (Trigem Cognac MB, Celeron 400, 64MB
SDRAM, etc.) and I have a fishy little problem with it. When I used "make
menuconfig" I would sometimes get restarts out of the blue, without warning. I
used "make config" and built a kernel the hard way, but despite that, I can
reproduce this unexpected restarting by logging in and then typing in:

# dmesg | less

and holding the "down" scroll button. Never fails. I flashed the BIOS to the
latest revision that can be flashed to. Sometimes this restart causes ext3
journal corruption which results in boot failure.

I've tweaked BIOS settings until they bled. Everything looks like it should
work. I think HP's older products have something terribly wrong with them at
this point.

Help? If you respond to the group, please also CC the reply to my E-mail.

Thanks!
Jody
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 09:35 AM
Jody
 
Posts: n/a
Default Update: Unexpected restart on dmesg | less scrolling

Not much longer after I wrote this, the 13.6 GB IBM hard drive in this system
went berserk and died. I replaced with a 40 GB Seagate and have not managed to
reproduce this problem again.

The question must be asked, however...why can dmesg | less with a bad hard drive
cause the system to restart?



Jody wrote:
> I have the CRUX-2.1 distribution with a custom kernel installed on a
> computer that I built from an HP Pavilion's core (Trigem Cognac MB,
> Celeron 400, 64MB SDRAM, etc.) and I have a fishy little problem with
> it. When I used "make menuconfig" I would sometimes get restarts out of
> the blue, without warning. I used "make config" and built a kernel the
> hard way, but despite that, I can reproduce this unexpected restarting
> by logging in and then typing in:
>
> # dmesg | less
>
> and holding the "down" scroll button. Never fails. I flashed the BIOS
> to the latest revision that can be flashed to. Sometimes this restart
> causes ext3 journal corruption which results in boot failure.
>
> I've tweaked BIOS settings until they bled. Everything looks like it
> should work. I think HP's older products have something terribly wrong
> with them at this point.
>
> Help? If you respond to the group, please also CC the reply to my E-mail.
>
> Thanks!
> Jody

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 09:35 AM
Peter T. Breuer
 
Posts: n/a
Default Re: Update: Unexpected restart on dmesg | less scrolling

Jody <jbruchon@nc.rr.com> wrote:
> The question must be asked, however...why can dmesg | less with a bad hard drive
> cause the system to restart?


The question must be asked "wy do you ask that"? It has to read the
code of less from SOMEWHERE, no? And it has to search SOMEWHERE to
find that somewhere no? And the somewhere that it is searching is a
file system on your faulty disk, no? Hence corrupt. Hence not in an
expected state. And it has to place other stuff in SWAP, no? And that
swap is where? Somewhere?

Fix that.

Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 09:35 AM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: Update: Unexpected restart on dmesg | less scrolling


"Jody" <jbruchon@nc.rr.com> wrote in message
news:3lf_e.76068$Jp.2024537@twister.southeast.rr.c om...
> Not much longer after I wrote this, the 13.6 GB IBM hard drive in this
> system went berserk and died. I replaced with a 40 GB Seagate and have
> not managed to reproduce this problem again.
>
> The question must be asked, however...why can dmesg | less with a bad hard
> drive cause the system to restart?


First rule of this newsgroup. Ignore Peter snarking at you.

"dmesg" and other log probing tools like "last" have to read two different
chunks of disk, at least:

1: The bit with the program on it.
2: The bit with the logs on it.

I'd suspect the bit with the logs on it as failing: logs get written to
quite a lot, and thus wind up getting more physical wear and tear. Many
moons ago, when I worked with Sun's, it was invariably /var/adm that would
fail and require re-partitioning and disk replacement or rebuilding from
backup.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 09:36 AM
Bill Marcum
 
Posts: n/a
Default Re: Unexpected restart on dmesg | less scrolling

On Tue, 27 Sep 2005 15:37:37 GMT, Jody
<jbruchon@nc.rr.com> wrote:
> I have the CRUX-2.1 distribution with a custom kernel installed on a
> computer that I built from an HP Pavilion's core (Trigem Cognac MB,
> Celeron 400, 64MB SDRAM, etc.) and I have a fishy little problem with
> it. When I used "make menuconfig" I would sometimes get restarts out
> of the blue, without warning. I used "make config" and built a kernel
> the hard way, but despite that, I can reproduce this unexpected
> restarting by logging in and then typing in:
>
> # dmesg | less
>
> and holding the "down" scroll button. Never fails. I flashed the
> BIOS to the latest revision that can be flashed to. Sometimes this
> restart causes ext3 journal corruption which results in boot failure.
>


Try memtest86.


--
You will be given a post of trust and responsibility.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:25 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com