Re: PXE-Kernel crashes with "RAMDISK: incomplete write ..." after modifiying initrd.img

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



Frank Thommen wrote:
> > To modify the initrd.img, I took the original CentOS 5.2 image, unpacked 
> > with cpio/gunzip and replaced modules/2.6.18-92.el5/x86_64/e1000e.ko 
> > with a current version.  This driver module had been created on a 
> > freshly installed CentOS 5.2 host with kernel 2.6.18-92.el5 and w/o any 
> > updates.  After adding the driver, I re-archived and re-packed the image 
> > and replaced the initrd.img on my tftp server.
> >  
> > The new image is considerably bigger than the old one (12 MB vs. 5.7 MB) 
> > which puzzles me, as the driver file itself is 2.8 MB (compared to the 
> > old e1000e.ko with ca 170 KB) but the resulting modules.cgz is only 
> > around 700 KB bigger than the original one.  All files have been 
> > compressed with `gzip -9`.

Just wondering... can you safely strip modules like you would strip executables?

JD


      

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[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