OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 6000 - Tosa => Topic started by: Loinn on July 27, 2004, 09:36:50 pm
-
while doing some development on my zaurus (SL-6000L) I put a ... bad entry into the boot sequence and now when "entering runlevel: 5" it hangs. I've let it sit there, and does nothing.
Long story short- any know how I can boot it into single-user mode to fix the problem?
--Mike
-
Generally, you can't (without a special kernel that has single-user mode forced on).
You may have to restore the NAND ROM flash image (and lose anything not backed up as it goes back to factory) usiing the service menu. That would reawaken it.
Otherwise you could just reflash a kernel that allows single user mode. I don't know if any out there do (I've patched mine, but it has other things in it).
-
On the SL5x000 add the Cxx0 there is a keycombo that boots into single user mode (actually it boots into a different part of flash and you have to manually mount the / and /home filesystems)
On the Cxx0 models it is D+B during bootup, I think it is the same for the SL5x00 models.
If you have installed ssh, then you may be abe to ssh into the Z and fix the problem.
If all else failes you will have to reflash
Stu
-
while doing some development on my zaurus (SL-6000L) I put a ... bad entry into the boot sequence and now when "entering runlevel: 5" it hangs. I've let it sit there, and does nothing.
Long story short- any know how I can boot it into single-user mode to fix the problem?
--Mike
Mike,
I just tried this with my SL-6000:
Reboot the Zaurus,
After the "Wait for a minute" screen comes up, it will scroll and report the version of Init
Right after that start pressing the '/' key on the built-in keyboard. You may have to press it a couple of times to get the timing right.
You should be presented with a menu with 4 options:
q - boot into Qtopia
a - boot into console
other things with the tty
Select 'a' you will then be asked to log in.
This is not single mode, but more like init 2 or 3. But it will let you get in and fix things when Qtopia is broken.
BTW, this works on a 55xx machine as well.
I hope this helps,
Craig...
-
here is a how to
run levels (http://www.zaurususergroup.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Run%20Levels)
-
Hi, I am having the same trouble here.
What I did is doing a reset(use the switch you switch of when replacing your battery)restart the Zaurus.
To really enter a user mode console options, one has to push the "/" key, when it does the runlevel count down from 5.
The problem here is the system is frozen at INIT: Entering runlevel 5, it never goes to the count down step.
If I remmeber right, before my SL 5600 frozen, I editted /etc/hotplug/usb.agent to automate the usbd0 hotplug function. something like:
...
if
ifconfig usbd0 $IP
route add default gw x.x.x.x
fi
...
iroute del default
ifconfig usbd0 down
...
Then it stuck forever!
-
I'm not having any luck with the "/" button... (the one that is actually both "/" and "?" right?)
any special hints?
thanks
I'd rather not have to reflash
-
I went ahead and did a NAND restore and now I can use the "/" to get to the list of options...
dunno what was wrong before