Author Topic: MD boot goes straight to bash on boot  (Read 3698 times)

Tred

  • Veteran
  • ***
  • Posts: 68
    • View Profile
MD boot goes straight to bash on boot
« on: January 25, 2010, 05:12:56 am »
So I had a fully functional MD working great. Then I decided to install a wiimote. I followed these steps http://wiki.linuxmce.com/index.php/Nintendo_WiiMote and then did the section under trouble shooting:

Q: Using a sensor bar (ir_ptr), and the cursor is limited to the bottom left corner of the screen
A: Make the following changes to the /etc/X11/xorg.conf file on the Media Director and then restarting the MD:
I used vi to do that step and saved with :x!

I restarted the media director and was greeted after waiting for a while with "moon40 Login" I waited for half an hour and it didn't go away so I put in the usr name and pass from the ssh session I used to install the wiimote. 

I was then dumped into bash.

How can I fix this?

Thanks for Anyhelp!

jimbodude

  • Guru
  • ****
  • Posts: 372
    • View Profile
Re: MD boot goes straight to bash on boot
« Reply #1 on: January 25, 2010, 04:15:56 pm »
It sounds like you broke the X configuration, so X is not starting properly.  Look in /var/log/Xorg.0.log for some hints.

Tred

  • Veteran
  • ***
  • Posts: 68
    • View Profile
Re: MD boot goes straight to bash on boot
« Reply #2 on: January 26, 2010, 12:13:08 am »
So I vi'ed into /var/log/Xorg.0.log and got this:

Build Operating System: Linux 2.6.24-19-server i686 Ubuntu
Current Operating System: Linux moon40 2.6.27-16-generic #1 SMP Tue Dec 1 17:56:54 UTC 2009 i686
Build Date: 09 March 2009  10:48:54AM
xorg-server 2:1.5.2-2ubuntu3.1 (buildd@rothera.buildd)
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 25 18:09:35 2010
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 13 of section ServerLayout in file /etc/X11/xorg.conf
        "ModulePath" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
(WW) xf86OpenConsole: VT_GETSTATE failed: Bad file descriptor

jimbodude

  • Guru
  • ****
  • Posts: 372
    • View Profile
Re: MD boot goes straight to bash on boot
« Reply #3 on: January 26, 2010, 02:17:30 am »
...well... there's your problem... Error on line 13 of your xorg.conf...  :P

There's not much else anyone can tell you without looking at it... three's a good chance that you made that addition in the wrong place.  Revert to the original xorg.conf (you made a backup, right?), and try to figure out the right place to add that.

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: MD boot goes straight to bash on boot
« Reply #4 on: January 27, 2010, 06:39:22 am »
if you have a backup of your xorg.conf, try running nvidia-xconfig. It should write a new xorg for you. Then see if you can get into theAVWizard

Tred

  • Veteran
  • ***
  • Posts: 68
    • View Profile
Re: MD boot goes straight to bash on boot
« Reply #5 on: January 27, 2010, 12:54:41 pm »
Ok so I ended up deleting the MD from the admin site and running /usr/pluto/bin/Diskless_CreateTBZ.sh
Now it boots fine, but I'm back to no WiiMote :( So I went through directions and installed again and I have
the same error as last time... I went through the steps in the troubleshooting section for "cursor stuck in bottom left"
and I rebooting correctly, still the cursor for the Wiimote is in the bottom left fourth of the screen only. I used vi to double check
that I saved it correctly and I did, so if anyone had any ideas about that....


jimbodude

  • Guru
  • ****
  • Posts: 372
    • View Profile
Re: MD boot goes straight to bash on boot
« Reply #6 on: January 27, 2010, 07:26:23 pm »
Ok so I ended up deleting the MD from the admin site and running /usr/pluto/bin/Diskless_CreateTBZ.sh

That was completely overkill... The only file that is giving you trouble is the xorg.conf because you made an error when editing it...

You should try looking into the support documents for whatever drivers are being used to support that device.  They are not LinuxMCE specific (the two packages that are installed in the first few steps of the instructions), so the LinuxMCE wiki may not be the best source of information on troubleshooting them.  Update the wiki with any useful information and any references you find.