View previous topic :: View next topic |
Author |
Message |
ldoe3000 Tux's lil' helper
Joined: 19 Jul 2005 Posts: 78 Location: Portland, OR
|
Posted: Thu Jan 12, 2006 2:42 am Post subject: Getting segfault when booting |
|
|
Using kernels 2.6.15 and 2.6.14-r6 I get segfaults when booting. I tried the 2005.0 LiveCD and get a seg fault when I try to chroot to /mnt/gentoo.. The last thing I did before things went south (I think it was January 6th) was an emerge, and there was a baselayout upgrade among others. I mention baselayout because I've had that cause other problems, but none this bad.
I'm at a loss here guys, any ideas about how I can diagnose and fix? _________________ Athlon64 3500+ MSI Neo2 Platinum
2X74 WD Raptor Raid 0
2X512MB Crucial Ballistix
ATI x800XT PE (8.18.6)
SB Audigy 2 ZS
Dell 24" Widescreen LCD
Dual boot: Gentoo x86_64 2.6.13-r4 , Windows XP x64 |
|
Back to top |
|
|
ldoe3000 Tux's lil' helper
Joined: 19 Jul 2005 Posts: 78 Location: Portland, OR
|
Posted: Mon Jan 16, 2006 7:47 pm Post subject: |
|
|
*bump*
The specific segfault I am getting is:
Code: | sh[1]: segfault at ffffffffffffffff rip 00002aaaaad24e60 rsp 00007fffffa0d6b8 error 6 |
Any tips for troubleshooting? Any tips at all? _________________ Athlon64 3500+ MSI Neo2 Platinum
2X74 WD Raptor Raid 0
2X512MB Crucial Ballistix
ATI x800XT PE (8.18.6)
SB Audigy 2 ZS
Dell 24" Widescreen LCD
Dual boot: Gentoo x86_64 2.6.13-r4 , Windows XP x64 |
|
Back to top |
|
|
ldoe3000 Tux's lil' helper
Joined: 19 Jul 2005 Posts: 78 Location: Portland, OR
|
Posted: Mon Jan 16, 2006 10:02 pm Post subject: |
|
|
More info, it appears to happen just after the
Code: | Booting (initramfs) |
message in the boot sequence.. _________________ Athlon64 3500+ MSI Neo2 Platinum
2X74 WD Raptor Raid 0
2X512MB Crucial Ballistix
ATI x800XT PE (8.18.6)
SB Audigy 2 ZS
Dell 24" Widescreen LCD
Dual boot: Gentoo x86_64 2.6.13-r4 , Windows XP x64 |
|
Back to top |
|
|
ldoe3000 Tux's lil' helper
Joined: 19 Jul 2005 Posts: 78 Location: Portland, OR
|
Posted: Mon Jan 16, 2006 10:42 pm Post subject: |
|
|
more info, when I use the 2005.0 LiveCD, after mounting my partitions to /mnt/gentoo and /mnt/gentoo/boot I get the segmentation fault when I try to chroot. The message shown in a dmesg is:
Code: | bash[6037]: general protection rip: 2aaaaad2c720 rsp: 7ffffffff638 error:282 |
_________________ Athlon64 3500+ MSI Neo2 Platinum
2X74 WD Raptor Raid 0
2X512MB Crucial Ballistix
ATI x800XT PE (8.18.6)
SB Audigy 2 ZS
Dell 24" Widescreen LCD
Dual boot: Gentoo x86_64 2.6.13-r4 , Windows XP x64 |
|
Back to top |
|
|
jomen Guru
Joined: 04 Jan 2006 Posts: 536 Location: Leipzig, Germany
|
Posted: Mon Jan 16, 2006 11:19 pm Post subject: |
|
|
With my (really) limited knowledge...
To me it seems, your /bin/bash has been corrupted somehow - because it is the first thing to be executed, when you enter chroot - and also needed on normal boot...and the error indicates also, that bash is failing...
You could try to:
replace /bin/bash with that from the LiveCD - just copy it from the LiveCD
!!! - rename your original /bin/bash to /bin/bash_backup or something... before copying it over - just in case you need to get it back if it was not the failure!!!
Should it work then - check your CFLAGS for maybe too agressive optimizations, which might have caused this...
...it's just an idea I would try in such a case... |
|
Back to top |
|
|
ldoe3000 Tux's lil' helper
Joined: 19 Jul 2005 Posts: 78 Location: Portland, OR
|
Posted: Tue Jan 17, 2006 12:35 am Post subject: |
|
|
Good idea jomen, but it appears that it isn't bash that is crashing, but something else that bash relies on. I tried replacing with the version from the LiveCD and get the same problem. I tried downloading a binary of ksh, and while I can chroot successfully, modprobe, ls and a host of other commands cause memory faults. I noticed a glibc emerge on the last evening I was able to login, so perhaps that is causing me problems? _________________ Athlon64 3500+ MSI Neo2 Platinum
2X74 WD Raptor Raid 0
2X512MB Crucial Ballistix
ATI x800XT PE (8.18.6)
SB Audigy 2 ZS
Dell 24" Widescreen LCD
Dual boot: Gentoo x86_64 2.6.13-r4 , Windows XP x64 |
|
Back to top |
|
|
ldoe3000 Tux's lil' helper
Joined: 19 Jul 2005 Posts: 78 Location: Portland, OR
|
Posted: Tue Jan 17, 2006 4:25 am Post subject: |
|
|
Ok, I have a core dump file but can't seem to view it on my Fedora 32-bit machine.. Is there a way to view 64-bit core dump files in 32-bit Linux? _________________ Athlon64 3500+ MSI Neo2 Platinum
2X74 WD Raptor Raid 0
2X512MB Crucial Ballistix
ATI x800XT PE (8.18.6)
SB Audigy 2 ZS
Dell 24" Widescreen LCD
Dual boot: Gentoo x86_64 2.6.13-r4 , Windows XP x64 |
|
Back to top |
|
|
juhah n00b
Joined: 03 Oct 2004 Posts: 46
|
|
Back to top |
|
|
ldoe3000 Tux's lil' helper
Joined: 19 Jul 2005 Posts: 78 Location: Portland, OR
|
Posted: Thu Jan 19, 2006 6:47 am Post subject: |
|
|
I'm pretty sure it's not the memory, as I'm typing this from Windows now on the same machine.. Ah well, I'm going to call my Linux experiment over and redo my machine without the dual-boot. Windows XP x64 wins. I'll install Gentoo on my secondary machine.. _________________ Athlon64 3500+ MSI Neo2 Platinum
2X74 WD Raptor Raid 0
2X512MB Crucial Ballistix
ATI x800XT PE (8.18.6)
SB Audigy 2 ZS
Dell 24" Widescreen LCD
Dual boot: Gentoo x86_64 2.6.13-r4 , Windows XP x64 |
|
Back to top |
|
|
aidy l33t
Joined: 07 Apr 2005 Posts: 915
|
Posted: Fri Jan 20, 2006 6:09 pm Post subject: |
|
|
Why not just try reinstalling instead of going to WinXP64??? That's a piece of crap. |
|
Back to top |
|
|
|