Author Topic: OZ stops at console (OPIE not launched)  (Read 3182 times)

Anonymous

  • Guest
OZ stops at console (OPIE not launched)
« on: February 29, 2004, 05:10:30 pm »
I\'ve been running OpenZaurus 3.5 for a couple weeks.  I went to put my compact flash card in and it didn\'t see it (although it usually does) so I said hay...reboot. in the shutdown/reboot screen I hit reboot and it stuck there, so I flipped the Replace battery switch down to hard shut it off. (done it many times before in lock ups) and now it boots to a Login: prompt, where I can login and launch console tools.
a) how do I launch OPIE from here?
if I can just get my cf and sd card mounted I can reflash. I have the TK rom/kernel on the sd, which needs to be moved to the CF to reflash. I wan to try TK over OZ anyway.


thank you

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
OZ stops at console (OPIE not launched)
« Reply #1 on: February 29, 2004, 05:41:44 pm »
Start Opie with:

# /etc/init.d/opie start

Greg

Anonymous

  • Guest
OZ stops at console (OPIE not launched)
« Reply #2 on: February 29, 2004, 05:50:41 pm »
Code: [Select]
# /etc/init.d/opie start

Starting Opie-login....

#

it just exits without launching anything.

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
OZ stops at console (OPIE not launched)
« Reply #3 on: February 29, 2004, 06:09:14 pm »
When you installed oz did you set a passcode?

If so, use that for login

Greg

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
OZ stops at console (OPIE not launched)
« Reply #4 on: February 29, 2004, 06:09:43 pm »
To get debug output, start Opie with /opt/QtPalmtop/bin/qpe
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

Anonymous

  • Guest
OZ stops at console (OPIE not launched)
« Reply #5 on: February 29, 2004, 06:13:00 pm »
I didn\'t set a passcode...but I did login as both root and user (only two users available) neither worked.

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
OZ stops at console (OPIE not launched)
« Reply #6 on: February 29, 2004, 06:21:41 pm »
Use the command Mickey gave you and post output

Greg

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
OZ stops at console (OPIE not launched)
« Reply #7 on: February 29, 2004, 06:23:55 pm »
I\'d do one of these:

Start syslogd - you\'ll have to look at the --help output to see how to start it with a circular memory buffer (as opposed to writing to /var/log/), then try \'/etc/init.d/opie start\', then see what happened by reading the syslog output with logread (or something like that).

or

Look in the /etc/init.d/opie script and try running each bit one by one and see which one is causing the problem.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Anonymous

  • Guest
OZ stops at console (OPIE not launched)
« Reply #8 on: February 29, 2004, 06:45:52 pm »
Code: [Select]
# /opt/QtPalmtop/bin/qpe

Could not open for writing `/root/Settings/locale.conf.new\'

Could not open for writing `/root/Settings/qpe.conf.new\'

Cannot create Qt/Embedded data directory: /tmp/qtembedded-root


Code: [Select]
# touch /root/Settings/testfile

touch: testfile: Read-only file system


Hmm...how\'d this happen...

Anonymous

  • Guest
OZ stops at console (OPIE not launched)
« Reply #9 on: March 01, 2004, 05:37:22 pm »

Is there some way to alter the boot method (i.e mount as rw) or something?
Essentially...my zaurus is dead until I find out how...last resort is to buy a CF reader/writer and write a new rom to that...

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
OZ stops at console (OPIE not launched)
« Reply #10 on: March 01, 2004, 06:39:40 pm »
What does \'mount\' show out of interest?

I would suggest that you do a mount -o rw,remount or similar but I don\'t think this will work with jffs2.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Anonymous

  • Guest
OZ stops at console (OPIE not launched)
« Reply #11 on: March 01, 2004, 07:14:59 pm »
Code: [Select]
# mount

warning: can\'t open/etc/mtab: No such file or directory

which is because it\'s a RO FS...

when I try to remount /dev/mtdblock4 (according to /etc/fstab the root partition) it says device or resource busy, but I can\'t unmount it (not mounted)

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
OZ stops at console (OPIE not launched)
« Reply #12 on: March 01, 2004, 07:36:30 pm »
I don\'t know how to fix that, but try to...

# su
# cd /mnt/card
# ls

if you can see your files to flash with now,  you can move them to cf card

Greg

Anonymous

  • Guest
OZ stops at console (OPIE not launched)
« Reply #13 on: March 02, 2004, 12:03:11 am »
nope, /mnt/card and cf don\'t work.
My wifi card doesn\'t either.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
OZ stops at console (OPIE not launched)
« Reply #14 on: March 02, 2004, 04:35:32 am »
Work out what the mount point is for the flashROM and try running fsck on it?

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva