[elrepo] How to add r8168 kmod to kernel src tree

Fabian Arrotin fabian.arrotin at arrfab.net
Tue Dec 20 01:17:02 EST 2011


On 12/20/2011 07:12 AM, Scott Johnson wrote:
> Currently, my server uses the r8169 nic driver, but it fails to come
> up about half the time during pxeboot:
> 
> r8169: eth0: link down
> ADDRCONF(NETDEV_UP): eth0: link is not ready
> 
>>From my internet search and forum browsing, looks like one solution
> might be to use the r8168 driver instead.  My lspci output seems to
> support what others have done as well.  However, I don't see the r8168
> kmod available in the kernel menuconfig.  I need to build my nic
> driver into a bzImage for pxeboot.
> 
> I can get the r8168 src from the Realtek website and there is a kmod
> package here on elrepo.org, however what I need is to build the r8168
> driver into a kernel bzImage, instead of just built as a module.
> 
> Anyone know how I can patch the kernel tree to include the r8168
> driver?  Maybe there is some good help somewhere on how to do this?
> 
> -Scott

You'd better rebuild the initrd.img used during setup to include a
specific kmod you want.
That's what I had to do in the past too ..

Fabian



More information about the elrepo mailing list