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

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



On Thu, 2009-03-26 at 17:49 +0100, Frank Thommen wrote:
> John Doe wrote:
> > Frank Thommen wrote:
> >>> [...]
> >>>  
> >>> 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) [...]
> > 
> > Just wondering... can you safely strip modules like you would strip executables?

It's been a long time since I dinked with this stuff, but...

IIRC, there's several levels of strip. One strips everything, save for
standalone binaries (not dependent on run-time linking with a library)
and "safe". Safe leaves the external symbols intact so that the loader
can tell what linkages are needed. I don't remember the parameters, but
the manual should tell you.

I *think* that some symbols are needed for loadable modules for both the
kernel linkage and any references to shared libraries that might be
used. Again, I'm unsure now - to many decaeds have passed since I dinked
with this stuff.

> <snip>

> Thanks
> 
>     frank
> <snip sig stuff>

HTH
-- 
Bill

_______________________________________________
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