Well, of course we're waiting for the fix to be in the next point-
release, but for those of you that can't wait, here's a quick half-
scripted way to get the r1000.ko module in your initrd.gz. It's not
tested for completeness, so there could be typos in it, but the result
will work.

initrdfile="where/is/your/initrd.gz"
# download kernel, the one that is used in the latest initrd
# there might be better or other ways to do this (I never really figured out 
how to download something with Apt in the current directory)
# anyway, this works.
sudo apt-get install -d linux-image-2.6.15-26-386
# goto a temp directory
kerneldir=`mktemp -d`
initrdtmp=`mktemp -d`
cd $kerneldir
# unpack kernel
ar x /var/cache/apt/archives/linux-image-2.6.15-26-386_2.6.15-26.47_i386.deb
# now unpack your favorite initrd
cd $initrdtmp
zcat $initdrfile|cpio -i
tar -zxf $kerneldir/data.tar.gz  
lib/modules/2.6.15-26-386/kernel/drivers/net/r1000.ko
find ./ | cpio -H newc -o |gzip >> ../initrd.new.gz
# now remove $kerneldir and $initrdtmp if you want - or leave this to tmpreaper 
:)
# the script above is a hack, but it might help some of you (especially when 
installing from the net, as I do :)

-- 
Realtek ethernet controller detected but no automatic dhcp on edgy
https://bugs.launchpad.net/bugs/81782
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to