[TAG] kernel compilation problem
Benjamin A. Okopnik
ben at linuxgazette.net
Tue Apr 12 17:55:10 MSD 2005
On Tue, Apr 12, 2005 at 09:18:39AM +0530, Joydeep Bakshi wrote:
> Hi list,
>
> I have tried to compile the 2.6.8 and 2.6.10 kernel in my debian sarge. in
> *both the cases* I got same error message as below
>
> <error message>
>
> include /asm/processor.h: In function `set_in Cr4`:
> include /asm/processor.h:217: internel compiler error: Segmentation fault
^^^^^^^^^^^^^^^^^^
I think we're back to bad memory again.
> *ver_linux* scripts shows
>
> <ver_linux>
> Linux debian 2.4.27-speakup #1 Thu Aug 19 21:46:14 CEST 2004 i586 GNU/Linux
>
> Gnu C 3.3.5
> Gnu make 3.80
> binutils 2.15
> util-linux 2.12
> mount 2.12
> module-init-tools writing
> e2fsprogs 1.35
> reiserfsprogs 3.6.19
> reiser4progs line
> nfs-utils 1.0.6
> Linux C Library 2.3.2
> Dynamic linker (ldd) 2.3.2
> Procps 3.2.1
> Net-tools 1.60
> Console-tools 0.2.3
> Sh-utils 5.2.1
> Modules Loaded ymfpci ac97_codec soundcore ide-scsi scsi_mod via82cxxx
> ide-cd cdrom rtc reiserfs ide-detect ide-disk ide-core unix
> </ver_linux>
My ver_linux shows almost the same output as yours:
Gnu C 3.3.5
Gnu make 3.80
binutils 2.15
util-linux 2.12p
mount 2.12p
module-init-tools 3.2-pre1
e2fsprogs 1.37
pcmcia-cs 3.2.5
PPP 2.4.3
Linux C Library 2.3.2
Dynamic linker (ldd) 2.3.2
Procps 3.2.5
Net-tools 1.60
Console-tools 0.2.3
Sh-utils 5.2.1
Modules Loaded fglrx joydev ide_cd ieee80211_crypt_wep ieee80211_crypt_tkip ieee80211_crypt_ccmp ipw2200 ieee80211 ieee80211_crypt snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device hw_random ehci_hcd uhci_hcd sr_mod cdrom intel_agp via_agp agpgart b44 ide_scsi usb_storage sg scsi_mod
> could any one please mention how can I fix the problem ? should I go for
> gcc 2.95 or any other modification/change is required ?
See if you can borrow memory from another computer temporarily, and
re-run your compile. If it runs OK, then you've definitely found a
memory problem. A Linux kernel compile is considered to be one of the
best memory tests in the world; I've had it find bad memory on machines
that ran Wind0ws for years without any problems.
In fact, I find Linux to be generally more hardware-intensive than
Wind0ws. I don't consider this to be a bad thing; in fact, anything that
forces people to buy decent hardware instead of cheap-ass winmodems,
etc., is a plus. Unix hardware has traditionally been more robust than
the usual user-level crud; Linux is simply bringing some of that back.
* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://linuxgazette.net *
More information about the TAG
mailing list