Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36278 - system binaries in /bin are segfaulting for no reason, (they have not been modified)
Summary: system binaries in /bin are segfaulting for no reason, (they have not been mo...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-21 20:42 UTC by dragnet
Modified: 2004-04-06 10:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dragnet 2003-12-21 20:42:05 UTC
This after noon i booted into my favorate linux distribution and things were going well untill i was in the middle of emerging anjuta and emerge died, i thought nothing of it and continued working. then i tried to chmod a+x a program i was working on and it said "Illegal instruction".. i thought "oh no not again" because this has happend to me about 5 times over the course of the year, where my system binaries just stop working, i thought that maybe libc was broken. or something like that but i dont think it is.. 

Linux 2.6.0-test11-gentoo i686 
Pentium 3, 256 megs of ram
using ext2 filesystems.

im not using preempt in my kernel (anymore),
i had cpu frequency scaling enabled. (i didn't touch it tho)

some other weird behavior is that i re-merged portage because somehow it got messed up too, and now emerge does not work at all.

also, my system is in working order because i turned cpu frequency scaling and preemt off, also ghetto rigged up most of /bin with busybox.  portage and modutils still segfault!!

so does /bin/fmt


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
(note: modutils also broken)
root@MOJO-JO-JO root # emerge modutils
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/modutils-2.4.25 to /
>>> md5 src_uri ;-) modutils-2.4.25.tar.bz2
root@MOJO-JO-JO root #

and thats all she wrote, i looked at it with strace too:

Expected Results:  
i want emerge to work so i can fix the rest of my system@!!!@#!@#!@

here is a partial strace dump of where emerge hangs:

root@MOJO-JO-JO root # strace emerge modutils
<...>
chown32(0x81bc7c0, 0, 0xfa)             = 0
chmod("/var/cache/edb/mtimedb", 0664)   = 0
rt_sigaction(SIGINT, NULL, {0x40034068, [], SA_RESTORER, 0x4008eaa8}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
close(7)                                = 0
<...>
_exit(1)                                = ?
root@MOJO-JO-JO root #


also here is a list of all the broken binaries i backed up after fixing most of
/bin with busybox:
-rwxr-xr-x    1 root     root        96307 Dec 16 10:10 .bunzip2
-rwxr-xr-x    1 root     root        96307 Dec 16 10:10 .bzip2
-rwxr-xr-x    1 root     root        23647 Nov 24 06:49 .chgrp
-rwxr-xr-x    1 root     root        23647 Dec 16 09:45 .chmod
-rwxr-xr-x    1 root     root        57679 Dec 16 09:44 .cp
-rwxr-xr-x    1 root     root        59447 Dec 16 10:05 .gunzip
-rwxr-xr-x    1 root     root        59447 Dec 16 10:05 .gzip
-rwxr-xr-x    1 root     root        58091 Dec 16 10:11 .install
-rwxr-xr-x    1 root     root        19311 Dec 16 09:52 .killall
-rwxr-xr-x    1 root     root        28123 Dec 16 09:45 .ln
-rwxr-xr-x    1 root     root        78435 Dec 16 09:42 .ls
-rwxr-xr-x    1 root     root         5984 Dec 16 09:53 .lsmod
-rwxr-xr-x    1 root     root        19231 Dec 16 09:44 .uname
-rwxr-xr-x    1 root     root        59447 Dec 16 09:52 .zcat




please help i was on the verge of leaving gentoo for debian before i decided to
take one more crack at this problem.
Comment 1 Luca Barbato gentoo-dev 2003-12-22 19:34:35 UTC
could you try to boot with previous kernel or a 2.6.0 vanilla?
Comment 2 Jon Portnoy (RETIRED) gentoo-dev 2004-04-06 10:54:33 UTC
No response for a significant amount of time. Reporter probably has a hardware problem. Closing.