LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-14-2006, 12:44 PM   #1
mrok
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Rep: Reputation: 0
PXE installation fails


Hi,

currently I'm working on a small project for my study. It's installing CentOS 4.4 systems with the PXE boot.

No all goes fine untill I'm in the installation, it cant find the network card drivers... so the kickstart stops.

No I've found out that I will need a installation that will support the forcedeth.ko module so my network card can work properly.

This must be compiled in the CentOS installation kernel... Is there any way i can do this in the append line or in the kickstart file?

Do you guys know if there is any custom CentOS installation with this module, I know that there is one for debian but I've not found any for CentOS...

Or do I have to build it myself and if so how...

thnx alot!

PS: I'm using the following mainboard:
MSI C51G + MCP51G Chipset Based
K8NGM-V

Network card: Realtek 8201CL
 
Old 12-14-2006, 12:44 PM   #2
mrok
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Ow forgot to tell you guys this:

the Forcedeth source can be found here:
http://www.nvidia.com/object/linux_nforce_1.11.html
 
Old 12-14-2006, 03:30 PM   #3
mrok
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
So as I'm searching on I just realised that it should be possible to ad modprobe to the append line ...

You will get something like this:

label centos
kernel ./centos/4/vmlinuz
append initrd=./centos/4/initrd.img device=eth ip=dhcp modprobe=forcedeth

Maybe you guys could tell me if it will work or not, and I'm not sure about one thing, the were would he get his forcedeth driver from...

I'm waiting on your answer and reading on
 
Old 12-14-2006, 03:41 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
forcedeth has been part of the stock default kernel for about 2 years now. there's nothing interesting about it at all really. infact i didn't think nvidia had anything to do with it at all, and i'm guessing they are simply promoting someone else's kernel code as their own nvnet driver always sucked.

if you're looking to include the forcedeth module within the kernel itself then it'd be a pretty stock rebuild of the standard centos 4.4 kernel, but you'd just toggle the forcedeth options from a module to compiled. that will then recreate exactly the same kernel but including forcedeth. another option is to use an initrd to contain the forcedeth module and leave the original kernel in tact. the pxe / tftp boot process will pull an initrd as well as a kernel image is requested to do so i believe.
 
Old 12-14-2006, 03:52 PM   #5
mrok
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie
forcedeth has been part of the stock default kernel for about 2 years now. there's nothing interesting about it at all really. infact i didn't think nvidia had anything to do with it at all, and i'm guessing they are simply promoting someone else's kernel code as their own nvnet driver always sucked.

if you're looking to include the forcedeth module within the kernel itself then it'd be a pretty stock rebuild of the standard centos 4.4 kernel, but you'd just toggle the forcedeth options from a module to compiled. that will then recreate exactly the same kernel but including forcedeth. another option is to use an initrd to contain the forcedeth module and leave the original kernel in tact. the pxe / tftp boot process will pull an initrd as well as a kernel image is requested to do so i believe.
Hi Chris,

thank you for your reaction!

But if the forcedeth module is in the standard "installation kernel" that is used by anaconda etc. to install CentOS 4.4 on the system why is my network card not supported during the installation, Realtek 8201CL ... ?

So I assume that what you are telling me is true, my append rule must work then:
Code:
append initrd=./centos/4/initrd.img device=eth ip=dhcp modprobe=forcedeth
Can you verify if this would work?

Thank you!

Last edited by mrok; 12-15-2006 at 05:27 AM.
 
Old 12-14-2006, 04:19 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well no i don't believe that's at all possible. when a nic driver is in the kernel itself then it's automatically loaded, so no modprobe etc... is needed. if you're booting over px then the modules filesystem is not available, and so you can't reach the driver to load it anyway, and if you could reach the driver then you could also reach /etc presumably so would just load the nic driver as part of the standard boot process with modprobe.conf.

whenever i've done PXE, well, THE time i did PXE, i rebuilt the kernel for simplicity in the long run and it worked really well.
 
Old 12-15-2006, 04:55 AM   #7
mrok
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie
well no i don't believe that's at all possible. when a nic driver is in the kernel itself then it's automatically loaded, so no modprobe etc... is needed. if you're booting over px then the modules filesystem is not available, and so you can't reach the driver to load it anyway, and if you could reach the driver then you could also reach /etc presumably so would just load the nic driver as part of the standard boot process with modprobe.conf.

whenever i've done PXE, well, THE time i did PXE, i rebuilt the kernel for simplicity in the long run and it worked really well.
Did you compile the kernel afther the ionstallation or did you compile the kernel before the installation and used it in the installation?

If it is the last one please tell me how or tell me if you have the kernel images somewere available.
 
Old 12-15-2006, 05:12 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i did it before, but this was with gentoo and a ne2k card...
 
Old 12-15-2006, 05:26 AM   #9
mrok
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie
i did it before, but this was with gentoo and a ne2k card...
Hi, just letting you know, I've got it working using the modprobe
 
  


Reply



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
pxe boot "PXE-T01 file not found" ssharma_02 Linux - Networking 16 05-18-2011 03:21 PM
PXE-TFTP Installation Server dipuasks Linux - General 6 12-04-2008 01:44 AM
PXE Installation from Microsoft RIS melbourne.chris Linux - Software 3 05-02-2006 08:22 AM
Network Installation using PXE Boot Xeln Linux - Enterprise 7 09-16-2005 09:20 AM
password protect pxe installation ssharma_02 Linux - Security 3 06-09-2005 05:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:42 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