I am using Intel D945GCLF2 MB for a diskless netboot MD. I know it uses 8111C NIC chipset so i tryied to load modules. I followed all the instrcutions from here http://wiki.linuxmce.org/index.php/R8168 (http://wiki.linuxmce.org/index.php/R8168) but i cant get to patch it.
After patch < r8168.diff
I get error R8168.diff no such file or directory. Has anyone encoutenred this?I am 100% sure i followed the instructions from the wiki.
Thanks in advance for any replies.
Try to use the instructions on this wiki instead http://wiki.linuxmce.org/index.php/ASUS_eee_box_b202_setup (http://wiki.linuxmce.org/index.php/ASUS_eee_box_b202_setup)
It is a bit easier to follow and you can download a precompiled driver to make things easier.
Itsik
Quote from: Itsik on April 19, 2009, 05:41:03 PM
Try to use the instructions on this wiki instead http://wiki.linuxmce.org/index.php/ASUS_eee_box_b202_setup (http://wiki.linuxmce.org/index.php/ASUS_eee_box_b202_setup)
It is a bit easier to follow and you can download a precompiled driver to make things easier.
Thanks for the info, tryied it also but it fails at the same point. One difference is that once i saw it failed bacuase it tryied using 8169 driver. I will try to re-do it from ht beginning. Its kinda strange it wont work.
Make sure you rename r8169.ko, otherwise it'll try to use it and fail. One more common problem is forgetting to run depmod on the MD.
Itsik
Quote from: Itsik on April 19, 2009, 11:07:08 PM
Make sure you rename r8169.ko, otherwise it'll try to use it and fail. One more common problem is forgetting to run depmod on the MD.
I made sure i renamed r8619.ko to r8619.ko.not. After i type
update-initramfs -uv
i dont see r8168.ko on the list. should it be there?
Yes, near the top
If it's not there, redo the process. Probably a comma or something missing some where
Itsik
Lol, i cant beleive i cant do this, i am so close, just really cant put r8168 driver in diskless image. I tryied all methods but i cant get it into image.
I tryied this:
chroot <moon #>
mv /lib/modules/2.6.22-14-generic/kernel/drivers/net/r8169.ko /lib/modules/2.6.22-14-generic/kernel/drivers/net/r8169.ko.not
depmod -a /lib/modules/2.6.22-14-generic/kernel/drivers/net/r8168.ko
cd /boot
update-initramfs -uv
Nothing happened.
Then this: cd /usr/pluto/diskless/
chroot <mediadirector-id>
depmod
cd /boot
mkinitramfs -o initrd.img-`uname -r` `uname -r`
exit
Also nothing happened.
I am going crazy here. I am a Linux newbie, but i know i am doing this the right way. >:( :( >:( :(
Quote from: ivanp on April 19, 2009, 11:37:59 PM
i dont see r8168.ko on the list. should it be there?
This response might be a little late...
If you're still battling with this, you might want to confirm that "r8168" was added to the modules file.
cat /usr/pluto/diskless/<moon #>/etc/initramfs-tools/modules
will output the contents of the modules file. That file should contain the line
r8168
Quote from: alx9r on April 23, 2009, 10:31:19 PM
This response might be a little late...
If you're still battling with this, you might want to confirm that "r8168" was added to the modules file.
cat /usr/pluto/diskless/<moon #>/etc/initramfs-tools/modules
will output the contents of the modules file. That file should contain the line
r8168
Thanx Alx9r, and it aint too late. I will try it tomorrow and report back progress. I dont ahve that MD with me anymore but i will borrrow it again for testing.
I remember having to be in this directory...
/usr/src/linux-source-2.6.22/drivers/net
Prior to running
patch < r8168.diff
I then had to cd back to
/usr/src/linux-source-2.6.22/
To continue the steps in the WIKI