Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multiple computer seg faults on hard drive access
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
LRdM
n00b
n00b


Joined: 19 Jul 2003
Posts: 27

PostPosted: Tue Jul 22, 2003 5:23 am    Post subject: Multiple computer seg faults on hard drive access Reply with quote

I've tried installing Gentoo 1.4_rc4 on a total of four machines:
My Toshiba 233mhz 2515 CDS laptop, which installed sucessfully and has been running fine and re-emerged both system and world after some flag changes without problem, my pentium 200 mhz MMX, my pentium 900 mhz celeron, and my AMD 1.33Ghz Athlon; the last three all being unsucessful after multiple attempts due to seg faults during seemingly random hard drive accesses. On all three computers, there has been at least one seg fault prior to the stage tarball unpacking phase, ruling out the compilation-stress reason for Gentoo segmentation faults. While persistance let's me slowly progress into various stages, eventually there's a point where segmentation faults are unavoidable, usually during emerge world. The segmentation faults occur most frequently during fdisks, filesystem formats, and drive mounting. I could understand, while very frustrating, possible hardware to be blamed on the 200 mhz machine, the 200, 900 and 1.33 have run other flavors of linux fine, all pass multiple passes of memtest, and have had zeros written to their hard drives after the first failed install attempts. I've tried using both reiserfs and ext3 as the filesystems but seg faults still occur. While the 200 mhz is a little old, the 900mhz and 1.33ghz are all within the last 3 years and their hard drives have no known physical defects and have passed any test I could put them through. Is there a possibility I might have a problem with my CD of 1.4_rc4 or am I just very unlucky?
Back to top
View user's profile Send private message
Petyr
Guru
Guru


Joined: 08 Jan 2003
Posts: 471
Location: San Diego, CA, USA

PostPosted: Tue Jul 22, 2003 8:06 am    Post subject: Reply with quote

One thing you might want to look at is what hdparm's are set when you boot one of the newer machines.
hdparm /dev/hda
maybe try turning off some of the flags (if you see IRQ Unmasking turned on, I'd say turn that one off first, then DMA, then 32-bit IO)
Other than that I'm not sure what else could really be causing that since the rest of the hardware sounds like it's probably alright.

Petyr
Back to top
View user's profile Send private message
linux_weenie
Guru
Guru


Joined: 25 Jun 2003
Posts: 365

PostPosted: Tue Jul 22, 2003 2:44 pm    Post subject: Reply with quote

you should probably check your memory. segmentation faults are random because you don't know when you are writing to the bad sectors of memory. try the memtest86 image on the liveCD and see if your memory is doing okay (maybe you got a bad batch?). or you can go to their website and download the bootable CD image at http://www.memtest86.com. hope that helps.

-Will
Back to top
View user's profile Send private message
GentooBox
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1168
Location: Denmark

PostPosted: Tue Jul 22, 2003 9:34 pm    Post subject: Reply with quote

Can you post the segfaults ?

try lower your DMA settings by:
Code:

hdparm /dev/hdx -X66

_________________
Encrypt, lock up everything and duct tape the rest
Back to top
View user's profile Send private message
LRdM
n00b
n00b


Joined: 19 Jul 2003
Posts: 27

PostPosted: Wed Jul 23, 2003 9:59 am    Post subject: Re: Multiple computer seg faults on hard drive access Reply with quote

All of the HDs ran initially with IRQ Unmasking and 32-bit IO off and I've tried with both DMA on and off and still getting segfaults. Also:
LRdM wrote:
all [machines] pass multiple passes of memtest

I was able to reproduce a segfault on the 200 mhz meanwhile, I can't take the other two off cause I need something running for the time being. After sucessfully creating and mounting the /boot, swap, and / partitions on hda1, hda2, and hdb1 respectively, I checked the directory listings of both partitions and then tried to set the passwd so I could change terms and reference the install documentation when I got the oops. I haven't figured out how to log or analyze a kernel oops from an install (doesn't seem to write to a permanent location) so all I could devise was taking a snapshot, which can be found here: http://lrdm.net/gentoo/200-oops.jpg
If and when I'm able to, I'll try to post the segfaults from the other two machines. Thanks for all your help so far and for anything else in the future.
Back to top
View user's profile Send private message
xlinty
n00b
n00b


Joined: 24 Jul 2003
Posts: 2

PostPosted: Thu Jul 24, 2003 2:54 pm    Post subject: Reply with quote

I have the same problem with my Acer Notebook (a celeron) and with my office computer (an Pentium 4). Same problem also with vmware on both the computers. Perhaps is a Kernel Problem ????

Bye :cry:
Back to top
View user's profile Send private message
LRdM
n00b
n00b


Joined: 19 Jul 2003
Posts: 27

PostPosted: Thu Jul 24, 2003 10:10 pm    Post subject: Reply with quote

I noticed that the installer runs 2.4.20 , yet it has modules for both 2.4.20 and 2.4.21 kernels. My next resort might be installing Gentoo from within another distribution, but hopefully the next Gentoo installer version will use a new kernel if that is the case.
Back to top
View user's profile Send private message
xlinty
n00b
n00b


Joined: 24 Jul 2003
Posts: 2

PostPosted: Mon Jul 28, 2003 9:59 am    Post subject: Reply with quote

I have succesfully installed gentoo from a Slackware boot + root CD.
I have also made my kernel from gentoo-sources. It works !

Please rebuild Gentoo Live CD !


Bye
:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum