LinuxMCE Forums
May 21, 2013, 06:11:32 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1] 2
  Print  
Author Topic: D945GCLF2 Dual-Core Intel Atom motherboard network problem  (Read 6118 times)
amirul
Regular Poster
**
Posts: 27


View Profile
« on: September 18, 2008, 05:34:03 pm »

Set it up as a diskless MD. PXE boot ok, but somewhere along after that I get
r8169: eth0: link down. Google tells me this is a common problem. Found a likely fix at link below:
http://adam.rosi-kessel.org/weblog/2008/06/21/a-much-simpler-fix-for-the-r8169-link-down-problem
Seems to suggest updating to kernel 2.6.26-rc5. What do you think?
Logged
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
LinuxMCE God
****
Posts: 4310


View Profile WWW
« Reply #2 on: September 18, 2008, 09:33:14 pm »

Set it up as a diskless MD. PXE boot ok, but somewhere along after that I get
r8169: eth0: link down. Google tells me this is a common problem. Found a likely fix at link below:
http://adam.rosi-kessel.org/weblog/2008/06/21/a-much-simpler-fix-for-the-r8169-link-down-problem
Seems to suggest updating to kernel 2.6.26-rc5. What do you think?

See http://wiki.linuxmce.org/index.php/Realtek_8168

Andrew
Logged

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
amirul
Regular Poster
**
Posts: 27


View Profile
« Reply #3 on: September 19, 2008, 02:52:25 am »

Thanks, followed the instructions at
http://wiki.linuxmce.org/index.php/Realtek_8168
still 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
LinuxMCE God
****
Posts: 4310


View Profile WWW
« Reply #4 on: September 19, 2008, 06:43:54 am »

Thanks, followed the instructions at
http://wiki.linuxmce.org/index.php/Realtek_8168
still 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

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
amirul
Regular Poster
**
Posts: 27


View Profile
« 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
LinuxMCE God
****
Posts: 4310


View Profile WWW
« 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

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
amirul
Regular Poster
**
Posts: 27


View Profile
« 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
Veteran
***
Posts: 63


View Profile
« Reply #8 on: October 08, 2008, 10:49:49 am »

admirul... I got the same netboot problem with the D945GCLF2. Please help.
Logged
amirul
Regular Poster
**
Posts: 27


View Profile
« Reply #9 on: October 09, 2008, 01:10:41 pm »

cyf4746,
Did you try what I did in http://forum2.linuxmce.org/index.php?topic=6253.msg37717#msg37717 ?

Good luck,
Amirul
Logged
cyf4746
Veteran
***
Posts: 63


View Profile
« 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
Regular Poster
**
Posts: 27


View Profile
« Reply #11 on: October 10, 2008, 03:01:35 pm »

cyf4746,
At what point did the boot process fail?

Amirul
Logged
cyf4746
Veteran
***
Posts: 63


View Profile
« 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
Regular Poster
**
Posts: 27


View Profile
« 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
Veteran
***
Posts: 63


View Profile
« Reply #14 on: October 14, 2008, 03:49:04 am »

Thanks Admirul...
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!