[Centos] e1000 and installation problem *RESOLVED*

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



On Tue, 8 Feb 2005, Martin Hamant wrote:

> I install Centos'es from PXE, with vmlinuz and initrd provided by
> images/pxeboot from the first CD of centos 3.4.
>
> The server is a PowerEdge 1850 with two integrated e1000 nic interfaces.
>
> So kernel is booting, then it comes to the screen which ask for one nic
> to do a dhcp query. I choose eth0, dhcp server reply well and then i get
> an ip address, dns'es, etc. And nothing else happen because the nic link
> is going down at this point !!! (no light, no way. )
>
> I've tried with PXE install of centos 3.3, and all is working fine on
> this server....

Using Dell PE 1850 and Cisco and encounter the same problem:

The e1000.o in i386/images/pxeboot/initrd.img is bust on CentOS-3.4.

i386/images/pxeboot/initrd.img on (humhum)EL-3.4 works fine, though.

To get pxe for CentOS-3.4 to work, I use the e1000.o from CentOS-3.3
initrd.img. To unpack / modify / pack initrd.img :

unpack:
        zcat initrd.img > initrd.dat
        mkdir /mnt/loop ; mount -o loop initrd.dat /mnt/loop
        zcat /mnt/loop/modules/modules.cgz | cpio -idvm

modify:
	unpack the CentOS-3.3 initrd.img, copy the e1000.o to a temporary
	place. unpack the CentOS-3.4 initrd.img, replace the 3.4 e1000.o
	with the 3.3 (temporary) one.

pack:
        find <kernel> | cpio -o -H crc | gzip > /mnt/loop/modules/modules.cgz
        umount /mnt/loop
        gzip -c9 initrd.dat > initrd.img


Eureka - works like a charm. :-)

Should this hit the CentOS bugzilla?


Regards,
 Morten


-- 
morten t?rmoen, morten@xxxxxxxxxxx, +47 97 77 47 77
basefarm as, http://www.basefarm.no, +47 40 00 41 00

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux