|
|
|
rodercot
Guest
|
 |
« Reply #1 on: September 18, 2008, 07:38:56 pm » |
|
SEARCH THE WIKI. THERE WAS A POST ABOUT THIS EXACT ISSUE NOT A WEEK AGO.
Dave
|
|
|
|
|
Logged
|
|
|
|
|
totallymaxed
|
 |
« Reply #2 on: September 18, 2008, 09:33:14 pm » |
|
|
|
|
|
|
Logged
|
|
|
|
|
amirul
|
 |
« Reply #3 on: September 19, 2008, 02:52:25 am » |
|
Thanks, followed the instructions at http://wiki.linuxmce.org/index.php/Realtek_8168still getting link down message. Now my other diskless MD with the single core Atom board, after pxe booting, doesn't get past r8169. Swapped back in the original r8169.ko, the single core is fine. The only difference I see between the 2 is that the dual-core has gigabit ethernet. Anywhere in the init scripts I can perhaps tell it to do only 100Mps? Maybe I'll stick a disk with the dual-core and do a MD install to see how that goes
|
|
|
|
|
Logged
|
|
|
|
|
totallymaxed
|
 |
« Reply #4 on: September 19, 2008, 06:43:54 am » |
|
Thanks, followed the instructions at http://wiki.linuxmce.org/index.php/Realtek_8168still getting link down message. Now my other diskless MD with the single core Atom board, after pxe booting, doesn't get past r8169. Swapped back in the original r8169.ko, the single core is fine. The only difference I see between the 2 is that the dual-core has gigabit ethernet. Anywhere in the init scripts I can perhaps tell it to do only 100Mps? Maybe I'll stick a disk with the dual-core and do a MD install to see how that goes Looks like the D945GCLF2 uses the same NIC chip as the D945GCLF so it should work... double check you did the all the steps correctly. Andrew
|
|
|
|
|
Logged
|
|
|
|
|
amirul
|
 |
« Reply #5 on: September 19, 2008, 09:30:58 am » |
|
Exactly what I thought Andrew. But the boot process didn't agree. However I've gotten further. 1. Download from Realtek source for r8168 and compile to r8168.ko 2. Rename r8169.ko to r8169.ko.old to get it out of the way 3. Add a line with r8168 into /etc/initramfs-tools-interactor/modules 4. Ran Diskless_BuildDefaultImage.sh to get new default initrd for tftboot 5. Reboot MD - and a new diskless media director is created, 96 in this case (yay!) Then when the brand new MD is rebooted, get hit by the same r8169 showstopper. So I dig into 96/etc/initramfs-tools/modules and add line with r8168. Do step 2 in 96/lib/modules/2.6.22-14-generic/kernel/drivers/net/ Next utter the following incantation cd /usr/pluto/diskless/ chroot 96 cd /boot mkinitramfs -o initrd.img-`uname -r` `uname -r` exit With fingers crossed, reboot Success? No, greeted by ipconfig: eth0: SIOCGIFINDEX: No such device I was so close....
|
|
|
|
|
Logged
|
|
|
|
|
totallymaxed
|
 |
« Reply #6 on: September 19, 2008, 09:40:14 am » |
|
Exactly what I thought Andrew. But the boot process didn't agree. However I've gotten further. 1. Download from Realtek source for r8168 and compile to r8168.ko 2. Rename r8169.ko to r8169.ko.old to get it out of the way 3. Add a line with r8168 into /etc/initramfs-tools-interactor/modules 4. Ran Diskless_BuildDefaultImage.sh to get new default initrd for tftboot 5. Reboot MD - and a new diskless media director is created, 96 in this case (yay!) Then when the brand new MD is rebooted, get hit by the same r8169 showstopper. So I dig into 96/etc/initramfs-tools/modules and add line with r8168. Do step 2 in 96/lib/modules/2.6.22-14-generic/kernel/drivers/net/ Next utter the following incantation cd /usr/pluto/diskless/ chroot 96 cd /boot mkinitramfs -o initrd.img-`uname -r` `uname -r` exit With fingers crossed, reboot Success? No, greeted by ipconfig: eth0: SIOCGIFINDEX: No such device I was so close....
Hmmm... ok give me a few hours and I'll check with one of my guys here and see if we can figure this out. Andrew
|
|
|
|
|
Logged
|
|
|
|
|
amirul
|
 |
« Reply #7 on: September 19, 2008, 03:40:24 pm » |
|
Yay, I got it to fully boot! I don't know exactly what I did but it began with messing with update-initramfs -uv. The verbose output didn't seem to list r8168. So I tried depmod -a, fail. Tried depmod /lib/modules/.../net/r8168.ko then update-initramfs, it got it listed but booting still fail. Did depmod -a again, update-initramfs got it listed and boot success!! Going thru the config right now...
|
|
|
|
|
Logged
|
|
|
|
|
cyf4746
|
 |
« Reply #8 on: October 08, 2008, 10:49:49 am » |
|
admirul... I got the same netboot problem with the D945GCLF2. Please help.
|
|
|
|
|
Logged
|
|
|
|
|
amirul
|
 |
« Reply #9 on: October 09, 2008, 01:10:41 pm » |
|
|
|
|
|
|
Logged
|
|
|
|
|
cyf4746
|
 |
« Reply #10 on: October 10, 2008, 10:51:34 am » |
|
Dear Admirul. I did followed your steps: 1. Download from Realtek source for r8168 and compile to r8168.ko 2. Rename r8169.ko to r8169.ko.old to get it out of the way 3. Add a line with r8168 into /etc/initramfs-tools-interactor/modules 4. Ran Diskless_BuildDefaultImage.sh to get new default initrd for tftboot 5. Reboot MD - and a new diskless media director is created, 96 in this case (yay!)
Up to step 5, reboot MD fail. No diskless media is created. Please help....
|
|
|
|
|
Logged
|
|
|
|
|
amirul
|
 |
« Reply #11 on: October 10, 2008, 03:01:35 pm » |
|
cyf4746, At what point did the boot process fail?
Amirul
|
|
|
|
|
Logged
|
|
|
|
|
cyf4746
|
 |
« Reply #12 on: October 11, 2008, 04:35:03 am » |
|
Dear Admirul, The process stop at : r8169: eth0: link down Same as before I follow your steps.
Do I have to re-install the LMCE and start follow your steps from fresh?
Please help...
cyf4746
|
|
|
|
|
Logged
|
|
|
|
|
amirul
|
 |
« Reply #13 on: October 11, 2008, 07:23:58 am » |
|
cyf4746, Your setup is still using the r8169 network driver where it should be r8168. Maybe you can google how to build your default initrd to include r8168 not r8169. I've got another identical md to set up, I'll report how I got on with it.
Amirul
|
|
|
|
« Last Edit: October 11, 2008, 07:25:37 am by amirul »
|
Logged
|
|
|
|
|
cyf4746
|
 |
« Reply #14 on: October 14, 2008, 03:49:04 am » |
|
Thanks Admirul...
|
|
|
|
|
Logged
|
|
|
|
|