[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Kernel config question



Well here I am again, at a bit of a loss!

Having successfully got Gentoo up and running on my trusty laptop, I decided to switch over to it on my main PC and finally ditch windoze.

The latop has a P4 2.4 CPU with 1 Gb memory, and the main PC has a P4 3.2 CPU and also 1 Gb memory.

When I came to restart the main PC, having got the base system, kernel, grub etc all sorted out, I am continually getting random segfaults when trying to do even small jobs.

Both machines have been compiled with identical make file options, with the exception of MAKEOPTS="-j3" in the main PC (because it is a HT processor) and MAKEOPTS="-j2" in the laptop (As per the recommendation for number of processors +1).

I have also used GCC 3.4 and NPTL on both machines, and the 'preemptive kernel' option is not selected on either of them.

The CFLAGS are the same for both machines : '-march=pentium4 -O2 -mmmx -msse -mfpmath=sse -fomit-frame-pointer', as is the CHOST : 'i686-pc-linux-gnu'.

Now I am at a complete loss as to why these segfaults keep happening. I have ran memtest86 and everything checked out OK.

I am beginning to wonder if it is something to do with the kernel config options for the CPU, which is currently set to:

<1000> Clock tick rate
[ ] Generic x86 support
[ ] HPET timer support
[*] Symmetric multi-processing support
(2) Maximum number of CPUs (2-255)
[*] SMT (Hyperthreading) Scheduler support
[ ] Preemptible kernel
[*] Machine check exception
<*> Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4
[ ] Check for P4 thermal throttling interrupt
[ ] Allocate 3rd-level pagetables from highmem
[ ] Math emulation
[*] MTRR (Memory type range register) support
[ ] Boot from EFI support
[ ] Use register arguments

The highmem option is set to 4 Gb.

If anybody has any ideas about why this may be happening, or other kernel config options to look at, I'd appreciate the info.

Also, if there is anybody here who has successfully compiled a Gentoo system with GCC 3.4 and NPTL on a P4 HT Processor, I'd be very interested in the contents of your make.conf file and which kernel you are using.

This is driving me nuts!

Steve.

PS. Both kernels are gentoo-dev-sources 2.6.10-r4.
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

GNU the choice of a complete generation.