LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-15-2007, 10:12 PM   #1
HighLife
Member
 
Registered: Feb 2003
Posts: 36

Rep: Reputation: 15
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:

Quote:
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?

Cheers...

Last edited by HighLife; 08-15-2007 at 10:37 PM. Reason: ..added some more info.
 
Old 08-16-2007, 03:06 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,333

Rep: Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176
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/grub.men.lst

Will of course require a reboot to pick up the change.
 
Old 08-16-2007, 10:05 PM   #3
HighLife
Member
 
Registered: Feb 2003
Posts: 36

Original Poster
Rep: Reputation: 15
*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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Boot parameters sources? kushalkoolwal Debian 1 08-29-2005 09:19 PM
kernel boot parameters for low latency rhythmking Slackware 0 01-16-2005 10:10 PM
Passing kernel parameters at boot with LILO Crashedfiesta Linux - Laptop and Netbook 2 12-16-2003 09:51 AM
boot kernel parameters? Z-Ice Linux - Software 1 08-07-2003 08:14 PM
Modify Kernel Parameters. Need Help! LenkaNguyen Linux - General 1 12-07-2001 01:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration