Help with locking up Xbox!

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
User avatar
cheesyboofs
Power user
Posts: 239
Joined: Wed Jan 26, 2005 1:32 pm
Location: Luton UK
Contact:

Help with locking up Xbox!

Post by cheesyboofs » Wed Dec 28, 2005 5:10 pm

I wonder if any of you can help?
Every so often one of my Gentoox boxes locks up. The light on the front goes red, apache stops responding and so does Samba and I can’t SSH into it although the Xbox will still respond to a ping. It also send out these e-mails till I can get home to reboot it;

Code: Select all

cat: /tmp/loadled2: No such file or directory
(standard_in) 1: parse error
cat: /tmp/loadled2: No such file or directory

Code: Select all

cat: /tmp/loadled2: No such file or directory

Code: Select all

(standard_in) 1: parse error
/bin/loadmonitor: line 122: [: -gt: unary operator expected
I have checked the messages file and logs but can not see why it is happening, has anyone seen this before?
Go fully native, it's the destiny of all Mk1 XboxesImage
The needs of the many out way the needs of the few or the one ...

orochi
Gentoox Guru!
Posts: 606
Joined: Sun Oct 24, 2004 8:11 am

Post by orochi » Thu Dec 29, 2005 3:33 am

Code: Select all

head /bin/loadmonitor
#!/bin/bash
###
#  Load indicating LED, temperature/ fan control and emergency shutdown script
#  Copyright (C) Thomas "ShALLaX" Pedley (gentoox@shallax.com)
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
oddly enough the problem your having is in the tail end of the script

Code: Select all

tail /bin/loadmonitor
            led $highled
         elif [ `cat /tmp/loadled` -lt $highload ] && [ `cat /tmp/loadled` -gt $lowload ]; then
            led $midled
         elif [ `cat /tmp/loadled` -lt $lowload ]; then
            led $lowled
         fi
      fi
   fi
rm -rf /tmp/loadled*
fi
perhaps your system is overheating causing /bin/loadmonitor to run and instead crash because a file was not found (/tmp/loadled2)

tho its not much help but its a start

User avatar
cheesyboofs
Power user
Posts: 239
Joined: Wed Jan 26, 2005 1:32 pm
Location: Luton UK
Contact:

Post by cheesyboofs » Thu Dec 29, 2005 11:31 am

I think you’re right, I think something is crashing and going %100 CPU bound then as a by product loadmonitor is failing to shut the Xbox down when the CPU warms up.
I think I’m gunna have to trawl through the logs some more, it must be there…
Go fully native, it's the destiny of all Mk1 XboxesImage
The needs of the many out way the needs of the few or the one ...

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests