-   Red Hat (
-   -   Modify kernel boot parameters? (

HighLife 08-15-2007 09:12 PM

Modify kernel boot parameters?
I just set up a new system based on an ASUS P5GZ-MX mobo(Intel 775 chipset), it has an onbaord 10/100/1000 NIC.

I installed Centos 4.5, it all went well. Until I went to connect it to the network and it appears the NIC isnt functioning correctly. The drivers are installed and I dont get any errors, as far as the OS is concerned everything looks fine but I dont get any connection lights on the switch or the NIC when I plug it into the network and I cant ping any LAN addresses or get any form of connectivity.

I read the readme that came with motherboard support CD under the Linux section and this is what I found:


Problem: The driver can be started, but if an ip address is assigned

to an adapter no link up indication appears although it is
connected to the network. It is also not possible to receive
or transmit any packets; e.g. 'ping' does not work.

Reason: The adapter does not receive any interrupts from the Linux
system. This can happen when using the APIC (Advanced
Programmable Interrupt Controller) of an SMP compiled kernel
on a UP envrionment.
Solution: Use the Linux kernel parameters 'noapic' or 'nolapic' when
booting your kernel. This can be done by adding those kernel
parameters to the boot manager kernel selection menu (either
/boot/grub/menu.lst (GRUB) or /etc/lilo.conf (LILO)).
When you build a kernel, deselect option CONFIG_X86_LOCAL_APIC.
I can generally find my way around Linux but havent attempted to modify kernel boot parameters before - can someone point me in the right direction to perform the steps outlined above on my Centos system?

I believe Centos uses Lilo? Is it as easy as just adding those lines to the lilo.conf.anaconda file?


syg00 08-16-2007 02:06 PM

Just do what it says - update the kernel line on the boot-loader by appending the word noapic (and nolapic if needed).
Last I looked at it Centos used grub, so edit /boot/

Will of course require a reboot to pick up the change.

HighLife 08-16-2007 09:05 PM

*Doh* I was looking in the wrong spot! I saw the /etc/lilo.conf.anaconda file and assumed Centos was using Lilo, I edited that file which didnt make much sense to me because I couldnt make out the "kernel" line, of course it didnt help anything.

I just checked the same version of Centos on a machine here at work and yes there is a grub.conf with a line for kernel parameters. I'll give it go tonight when I get home as the machine I'm working on is my home fileserver.

I put an old 10/100 realtek PCI NIC in the machine for the moment to get the network going but would like to use the onboard gigabit card ideally.

All times are GMT -5. The time now is 02:06 PM.