Skip to contentSkip to conversation

Compiling RHEL WS Kernels

DISCUSSION Mikael Pettersson 3 participants 4 messages Nov 14, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 14 lines · Paul G. Allen

I recently installed RHEL WS Update 3 (kernel 2.4.21-20) on my laptop. Out of the box it does not recognize any USB devices, my Synaptics touchpad, my PCMCIA Wireless (NetGear WAG511G) or the proper resolution on my LCD. (NOTE: RH 9 worked perfectly OOTB on this same machine. So far I'm not at all impressed with RHEL WS - any more than I was with RH 7.0.)

I tried to build a new 2.4.21 kernel based upon a configuration from a non-RH kernel (2.4.24) that worked on this machine. Not a single module will compile correctly. I had to remove all modules and compile them into the kernel. I2C code will not compile at all and it had to be completely removed. After this I was able to compile a working kernel, but it boots with errors and the NVIDIA driver will not compile.

...

Quoted 1 line

What compiler versions are known to work with this kernel?

I run RHEL3 2.4.21-20.EL on several servers over here, and in that role it works great.

You should only use gcc-3.2.3 to compile RHEL3 kernels. The old 2.4 code base has problems with later gcc versions; they've been fixed in 2.4.28-pre/rc, but that doesn't help you with your 2.4.21-based RHEL kernel.

And as Arjan wrote, you must do a mrproper before configuring and building the kernel and modules.

Quoted 2 lines

My next step may be D/L the latest 2.6 stable kernel and try compiling that (but that still leaves the question of which gcc version to use).

Just about any one of {2.95.3, 3.2.3, 3.3.5, 3.4.3}.

#1 lore raw

Stupid, stupid, stupid....

....I forgot mrproper. I'm so used to not having to use it that I forgot. /me feels like an idiot. That said, the stock kernel should have recognized my USB devices, LCD resolution, and touchpad like RH 9.0 did without having to re-compile (but that's RH's problem, not this list).

I still have some warnings when it boots about missing modules (char_major_xxx), but I'm sure I can fix that.

Now my only issue is why Doom 3 runs at a snail's pace now, but then running games isn't that important in the larger scheme of things.

PGA

#2 lore raw
Quoted 4 lines · Paul G. Allen

forgot. /me feels like an idiot. That said, the stock kernel should have recognized my USB devices, LCD resolution, and touchpad like RH 9.0 did without having to re-compile (but that's RH's problem, not this list).

LCD resolution is a matter for X, the others are mostly in kernel-unsupported

Quoted 13 lines

I still have some warnings when it boots about missing modules (char_major_xxx), but I'm sure I can fix that.

Now my only issue is why Doom 3 runs at a snail's pace now, but then running games isn't that important in the larger scheme of things.

PGA
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
In reply to Paul G. Allen
Quoted 7 lines · Paul G. Allen

Stupid, stupid, stupid....

....I forgot mrproper. I'm so used to not having to use it that I forgot. /me feels like an idiot. That said, the stock kernel should have recognized my USB devices, LCD resolution, and touchpad like RH 9.0 did without having to re-compile (but that's RH's problem, not this list).

Install kernel-unsupported. Note LCD reading is an X matter