[CLUE-Tech] Kernel compilation question

Adam Bultman adamb at glaven.org
Tue Nov 12 11:01:21 MST 2002


Hmm.  I've never seen a segfault error before ona kernel compile.  Lots of
other types of errors...


I don't know if you are married to that kernel, but you might want to try
2.4.19. It seems to work rather well for me.

As for your errors, I usually have to trace the beginning of the error a
ways back - say, warnings a few modules back or so that lead to the error
manifesting itself (happens to me when I try to include my sound card in
the 2.5.x series: the module 'compiles', but with warnings, then a ways
later, the compile fails because of those warnings).


However, since you are having seg fault errors, I'm not entirely sure. But
I'd still check for prevoius warnings, and use the most recent kernel
that's not a devel kernel.


Oh: Are you building lots of modules that you aren't using?  I build
'minimal' kernels, so I exclude everything that I don't have, nor will I
(I'll build in extra sound card chipsets, etc, but not say, SCSI cards or
parallel IDE) and that tends to help a lot. If I include things as
modules, and I mean stuff I don't need, I tend to error out.  It's wierd.
(esp. with SCSI).


Just my 2 cents.

On Mon, 11 Nov 2002, Mike Miller wrote:

>
> I'm trying to compile in NTFS (readonly) support into RH8 and am running
> into a brick wall. 'Make Modules' fails out. In an attempt to see if I
> could just compile the 'base' kernel configuration, I ran 'make
> oldconfig' which, in theory, lets you build the kernel that ships with
> RH8.
>
> That fails at 'make modules' too:
> ==================
> gcc -D__KERNEL__ -I/home/src/linux-2.4.18-14/include -Wall
> -Wstrict-prototypes -
> Wno-trigraphs -O2 -fngcc -D__KERNEL__
> -I/home/src/linux-2.4.18-14/include -Wall -Wstrict-prototypes -
> Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
> -pipe -m
> preferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
> /home/src
> /linux-2.4.18-14/include/linux/modversions.h  -nostdinc -I
> /usr/lib/gcc-lib/i386
> -redhat-linux/3.2/include -DKBUILD_BASENAME=synclink_cs  -c -o
> synclink_cs.o syn
> clink_cs.c
> /home/src/linux-2.4.18-14/include/linux/skbuff.h: In function `skb_cow':
> /home/src/linux-2.4.18-14/include/linux/skbuff.h:1082: internal error:
> Segmentat
> ion fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
> make[3]: *** [synclink_cs.o] Error 1
> make[3]: Leaving directory
> `/home/src/linux-2.4.18-14/drivers/char/pcmcia'
> make[2]: *** [_modsubdir_pcmcia] Error 2
> make[2]: Leaving directory `/home/src/linux-2.4.18-14/drivers/char'
> make[1]: *** [_modsubdir_char] Error 2
> make[1]: Leaving directory `/home/src/linux-2.4.18-14/drivers'
> make: *** [_mod_drivers] Error 2
> [root at hauserver linux-2.4]#
> ===================
>
> Bugzilla is decidedly unhelpful. :P
>
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech
>

-- 
Adam Bultman
adam at glaven.org
[ http://www.glaven.org ]





More information about the clue-tech mailing list