Author Topic: EEE Box Hanging On Boot  (Read 13206 times)

BryanD

  • Making baby steps
  • Posts: 3
    • View Profile
EEE Box Hanging On Boot
« on: August 31, 2008, 03:51:33 pm »
Hi, been playing around with lmce for a while now and think its a great system.  I got my hands on an eee box and thought i would give it a try...however it hangs on bootup.  Seems to be a problem with the inbuilt memory card reader.  Below is a link to screenshot of the output....once it hits this point it just stops, keyboard input still works etc but the boot process wont proceed any further.



[img=http://img223.imageshack.us/img223/3756/dscf1744ti4.th.jpg]

If anyone has any ideas on what the issue might be i would be very keen to hear them
The eee box is a great piece of work and it would be great to get them working as an MD!

Bryan

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: EEE Box Hanging On Boot
« Reply #1 on: September 04, 2008, 05:47:21 pm »
Bryan,
 
 I think your problem is with the NIC not with the card reader. The card reader is just a USB device or should be, which will be listed in lsusb that is how all mine are setup.

 If you look up your list there you will see eth0 link down. I am not sure if this is because you are not far enough along in the boot process or you do not have a cable connected. You may have to install the driver at boot for that nic card. I am not 100% sure how to do that. but once you generate you image on the core you should be able to get into the diskless directory and install the module for that nic. Check realtek site to see if they have a driver for it yet.

 Regards,

 Dave

The problem is that the initramfs image does not contain the driver for the ASUS's RTL8168B NIC chip. The basic principle is described on the Wiki here; http://wiki.linuxmce.org/index.php/Unrecognized_NIC

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: EEE Box Hanging On Boot
« Reply #2 on: September 05, 2008, 04:28:10 pm »
Hi, been playing around with lmce for a while now and think its a great system.  I got my hands on an eee box and thought i would give it a try...however it hangs on bootup.  Seems to be a problem with the inbuilt memory card reader.  Below is a link to screenshot of the output....once it hits this point it just stops, keyboard input still works etc but the boot process wont proceed any further.



[img=http://img223.imageshack.us/img223/3756/dscf1744ti4.th.jpg]

If anyone has any ideas on what the issue might be i would be very keen to hear them
The eee box is a great piece of work and it would be great to get them working as an MD!

Bryan

Hi Bryan,

We've added a new page to the Wiki here http://wiki.linuxmce.org/index.php/R8168 that explains what you need to do to fix the PXE boot problem on the ASUS Eee Box.

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

BryanD

  • Making baby steps
  • Posts: 3
    • View Profile
Re: EEE Box Hanging On Boot
« Reply #3 on: September 05, 2008, 06:13:53 pm »
Hi Andrew, thanks for the link and that very helpful advice.  It will become very useful to a lot of new eee box owners!

However i seem to have messed up my core boot image for new MDs and cant get the eee box to boot now at all!
I followed the advice given in your first reply about adding an unrecognised NIC, however stupidly i didnt read the full page before acting on the instructions ( i.e. i didnt notice the caveat at the end of the page )  My core is an AMD64 and as i changed the initial boot image the eee box now gives the error

"Your CPU does not support long mode.  Please use a 32bit distribution"

I presume i have changed the boot image to 64bit mode....and yes i know i should have read the page in full but i was too keen to get this eee box working...my bad.

Anyone any ideas how to restore it to the original ? Without having to reinstall my whole core...

Bryan


Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: EEE Box Hanging On Boot
« Reply #4 on: September 05, 2008, 06:44:34 pm »
...

Hi Bryan,

We've added a new page to the Wiki here http://wiki.linuxmce.org/index.php/R8168 that explains what you need to do to fix the PXE boot problem on the ASUS Eee Box.

All the best

Andrew

Thanks, I hope you don't mind but I've moved the page to a better fitting name (left redirect in place) and categorized it.
"Change is inevitable. Progress is optional."
-- Anonymous


totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: EEE Box Hanging On Boot
« Reply #5 on: September 05, 2008, 09:21:15 pm »
...

Hi Bryan,

We've added a new page to the Wiki here http://wiki.linuxmce.org/index.php/R8168 that explains what you need to do to fix the PXE boot problem on the ASUS Eee Box.

All the best

Andrew

Thanks, I hope you don't mind but I've moved the page to a better fitting name (left redirect in place) and categorized it.

Thanks Zaerc ;-)

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

BryanD

  • Making baby steps
  • Posts: 3
    • View Profile
Re: EEE Box Hanging On Boot
« Reply #6 on: November 13, 2008, 11:40:55 am »
Hi, i have finally managed to get some clear time and thought i would try to get this eee box that i have had for a while now working as a MD.  I followed Andrews  wiki page at

http://wiki.linuxmce.org/index.php/R8168  ( ( thanks to Andrew for the clear guide! )

and then

http://wiki.linuxmce.org/index.php/Unrecognized_NIC

At the end of this the eee box manages to perform the initial boot and performs Running diskless_setup.sh etc and creates the new md image etc.  This all goes great but then when the md reboots i get a kernel panic.

[ 32.105997 ] NET: Registered protocol family 17
ipconfig: eth0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
/init: .: 1: Cant open /tmp/net-eth0.conf
{ 32.128700] Kernel panic - not syncing: Attempted to kill init!


Given that the initial boot runs ok, i figured i must have done something wrong when following the Unrecognized_NIC instructions for the MD part as described at the bottom of that page....however i have now redone that process at least 10 times and get the same result.

I have followed the instructions to the button....well at least that i can see...

Anyone got any  ideas ?

Thank you

Bryan

niz23

  • Guru
  • ****
  • Posts: 361
    • View Profile
Re: EEE Box Hanging On Boot
« Reply #7 on: November 13, 2008, 05:10:29 pm »
BryanD.
Hi, i have finally managed to get some clear time and thought i would try to get this eee box that i have had for a while now working as a MD.  I followed Andrews  wiki page at

http://wiki.linuxmce.org/index.php/R8168  ( ( thanks to Andrew for the clear guide! )

and then

http://wiki.linuxmce.org/index.php/Unrecognized_NIC

At the end of this the eee box manages to perform the initial boot and performs Running diskless_setup.sh etc and creates the new md image etc.  This all goes great but then when the md reboots i get a kernel panic.

[ 32.105997 ] NET: Registered protocol family 17
ipconfig: eth0: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
/init: .: 1: Cant open /tmp/net-eth0.conf
{ 32.128700] Kernel panic - not syncing: Attempted to kill init!


Given that the initial boot runs ok, i figured i must have done something wrong when following the Unrecognized_NIC instructions for the MD part as described at the bottom of that page....however i have now redone that process at least 10 times and get the same result.

I have followed the instructions to the button....well at least that i can see...

Anyone got any  ideas ?

Thank you

Bryan


I can provide you with initrams that work together with some short instructions.
Haven´t had time to verify them before enter them into our wiki.

Please send me PM and I send you a link where you can download the stuff you need for i386.
If you run your core on AMD64, then I don´t have any precompiled stuff for you.

/niz23

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: EEE Box Hanging On Boot
« Reply #8 on: November 13, 2008, 09:08:48 pm »
niz - don't suppose you could cast your eye over this thread? http://forum.linuxmce.org/index.php?topic=6247.0

Andrew is trying to help out, too. But another set of eyes would be great! Similar problem - eth0 goes down after the BIOS PXE NIC driver hands over to LMCE, thus the install just stops before it really even started (no disless image, doesn't get that far).

The NIC is 8111C which Andrew believes requires the 8169 driver, however when I went through the process of plugging that into the initramfs image, the install now kernel panics in the same way as this thread.... perhaps you could post over there? Any help would be greatly appreciated!!

Bryandd

  • Making baby steps
  • Posts: 2
    • View Profile
Re: EEE Box Hanging On Boot
« Reply #9 on: November 14, 2008, 11:55:59 am »
Hi niz, pm sent...u get it ok? thanks

niz23

  • Guru
  • ****
  • Posts: 361
    • View Profile
Re: EEE Box Hanging On Boot
« Reply #10 on: November 14, 2008, 02:15:26 pm »
Bryandd.
Hi niz, pm sent...u get it ok? thanks

Got it.
Going to send you the files as soon as possible.

/niz23

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Re: EEE Box Hanging On Boot
« Reply #11 on: December 12, 2008, 02:47:16 am »
Bryandd.
Hi niz, pm sent...u get it ok? thanks

Got it.
Going to send you the files as soon as possible.

/niz23

Hi,

I've just purchased EEE box to try lmce 710. Is anyone yet willing to provide binary files to fix that network driver problem for eee box ?

Thanks in advance,

regards,

Bulek.
 
Thanks in advance,

regards,

Bulek.

seth

  • Guru
  • ****
  • Posts: 485
  • A day w/o LinuxMCE is like a day w/o sunshine!
    • View Profile
Re: EEE Box Hanging On Boot
« Reply #12 on: December 12, 2008, 12:46:46 pm »
 :)
Hey, try this out, it is the driver I made regarding this wiki entry.
http://wiki.linuxmce.org/index.php/Realtek_8168#Asus_M3A78-EM

I am adding the file today. But to save a trip:
http://dataless.jeromenet.org/r8168.ko

Hope that helps.

Regards,

Seth
".....Because Once you've LinuxMCE'd....."
System stats located at my user page:

http://wiki.linuxmce.org/index.php/User:Seth

alx9r

  • Guru
  • ****
  • Posts: 187
    • View Profile
Hacking the r8169 module wiki - typo?
« Reply #13 on: April 03, 2009, 04:36:00 pm »
On the wiki page here:
http://wiki.linuxmce.org/index.php/R8168#Hacking_the_r8169_module

In the section "Hacking the r8169 module" the last command is
Code: [Select]
modprobe r8168
shouldn't it be
Code: [Select]
modprobe r8169
since it is the r8169 module that we are changing in that section?

Alex

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: EEE Box Hanging On Boot
« Reply #14 on: April 03, 2009, 10:12:44 pm »
No it should be 8168.

We are modifying 8169 to stop it saying "use me for 8168 chips", because it doesn't work. So we want to remove that module from the kernel, then modprobe the 8168 module into the kernel as that is the correct module.