Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28794 - Compiling kernel linux-2.4.20-gentoo-r7: ide-cd.c:1633: internal error: Segmentation fault
Summary: Compiling kernel linux-2.4.20-gentoo-r7: ide-cd.c:1633: internal error: Segme...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-15 08:43 UTC by Akom
Modified: 2003-10-13 07:28 UTC (History)
0 users

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


Attachments
my kernel config (.config,22.40 KB, text/plain)
2003-09-15 08:46 UTC, Akom
Details
my kernel config (.config,22.40 KB, text/plain)
2003-09-15 08:46 UTC, Akom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Akom 2003-09-15 08:43:48 UTC
The following is the last section of compiler output running
"make dep && make bzImage modules"

gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gentoo-r7/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-c         
ommon -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp 
 -nostdinc -iwithprefix include -DKBUILD_BASENAME=i         
de_cd  -c -o ide-cd.o ide-cd.c
ide-cd.c: In function `cdrom_write_intr':
ide-cd.c:1633: internal error: Segmentation fault
Comment 1 Akom 2003-09-15 08:46:00 UTC
Created attachment 17769 [details]
my kernel config

I took this config from my working r6 src tree and then ran "make menuconfig"
and selected some more things with the interface  (I2C as modules + CPIA camera
support).
Comment 2 Akom 2003-09-15 08:46:50 UTC
Created attachment 17770 [details]
my kernel config

I took this config from my working r6 src tree and then ran "make menuconfig"
and selected some more things with the interface  (I2C as modules + CPIA camera
support).
Comment 3 Akom 2003-09-15 08:47:49 UTC
Sorry about two attachments, bugzilla gives me an error but succeeds anyway..
Comment 4 Akom 2003-09-15 08:53:17 UTC
Just in case here is my gcc info:
(I'm current on the portage tree as of this morning, everything updated)

Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/specs
Configured with: /var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext
Thread model: posix
gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2003-09-15 09:06:03 UTC
Can you upgrade to gcc3.3 and see if this happens?
Comment 6 Brian Jackson (RETIRED) gentoo-dev 2003-09-15 10:24:45 UTC
Also, can you run memtest for a while (at least 3 passes) and make sure 
it's not bad memory, that is the most prominent cause for segfaults. If your 
computer does not pass the tests, try tuning your memory settings to a 
more stable setting. 
Comment 7 Tim Yamin (RETIRED) gentoo-dev 2003-10-11 13:12:04 UTC
No reply, lowering priority and severity.
Comment 8 Akom 2003-10-13 07:22:24 UTC
Sorry for the delay and trouble, but I can't get this to happen anymore -
I think something was wrong with my ide controller..
Comment 9 Akom 2003-10-13 07:28:33 UTC
In case anyone else has similar problems, I would get random segfaults during
various long compiles/emerges... on some compiles it would sometimes get
through without failure, on others (notably gaim for me) it would always
segfault but at different places.   After I guessed that it might be the
secondary IDE channel and took the CD drive off of it, all compiles are sefault-free
and PC stopped hard locking on heavy I/O.