Help - Search - Members - Calendar
Full Version: Please Help! C3000 Almost Gone
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > C1000/3x00 General discussions
mikef
Please help! It seems I am about to loose my C3000 for good...

After installing Debian, the on/off button stopped working. Unfortunately I did not a backup before the Debian installation so I tried to install the trisoft backup but the Z made a reset and on next reboot showed the progress bar and then came to a standstill.

Currently I can use the D+B trick to get into Linux but the home directory is empty and rebooting shows the Sharp logo, some messages too fast to be read at the bottom of the screen and gets stuck. I tried without success to rebuild the home directory by hand from the trisoft backup. All partitions of the hard drive are ok.

When trying to flash the NAND, I start with the D+M keys and get the maintenance menu but there are no answer to keys or the pen on the touchscreen.

What should I do? Is there any point in trying to reinstall any files, and if so where may I find them?
inverted1
I thought mine was gonna make a trip back to Japan after I loaded an unstabled OZ version. This site got me back from scratch...!

http://www.xlfag.com/zaurus/

-brian

--
Opinions Expressed are either that of my own or someone elses.
mikef
QUOTE(inverted1 @ Jul 22 2005, 12:54 AM)
I thought mine was gonna make a trip back to Japan after I loaded an unstabled OZ version.  This site got me back from scratch...!

http://www.xlfag.com/zaurus/


Thanks, but as I cannot use the maintenance menu I cannot follow the instructions in that page.

Does anyone know if it is possible to install a NAND image directly from the Linux prompt?
asm-nai
Hi.

I think the easiest method of the return to the state that had just been bought is to update it
with ver1.11JP ROM .

Please go to this URL of Sharp.

http://support.ezaurus.com/sl-c3000/update...0updatecard.asp

And, please download card_update_3000111.exe.

The following files appear when double-clicking.
・initrd.bin(4,337KB)
・zImage.bin(1,264KB)
・mversion.bin(16KB)
・updater.sh(7KB)
・hdimage1.tgz(19,734KB)

Rom is only usually renewed with SD card or CF card.

Luck.
mikef
QUOTE(asm-nai @ Jul 22 2005, 11:30 AM)
I think the easiest method of the return to the state that had just been bought is to update it
with ver1.11JP ROM .

Please go to this URL of Sharp.

http://support.ezaurus.com/sl-c3000/update...0updatecard.asp

And, please download card_update_3000111.exe.

The following files appear when double-clicking.
・initrd.bin(4,337KB)
・zImage.bin(1,264KB)
・mversion.bin(16KB)
・updater.sh(7KB)
・hdimage1.tgz(19,734KB)

Rom is only usually renewed with SD card or CF card.

Luck.
*


Many thanks, but unfortunately I cannot access the maintenance menu as described in my previous messages.

I found out that the following file is missing in my C3000:

/root/.home_default.tar

Can anyone provide me a copy of it? I don't know if it depends on the NAND version: mine is Sharp 1.01.
asm-nai
QUOTE(mikef @ Jul 23 2005, 09:21 PM)
Many thanks, but unfortunately I cannot access the maintenance menu as described in my previous messages.

I found out that the following file is missing in my C3000:

/root/.home_default.tar

Can anyone provide me a copy of it? I don't know if it depends on the NAND version: mine is Sharp 1.01.
*


It supplements a little more though it might be extra care.

NAND is not related to the renewal of rom.

..menu of the update.. when opening back, resetting, and turning on power while pushing the OK
button.

Because only the content of hdd1 changes places, hdd2 and hdd3 are safe.

I will recommend it as one choices.
mikef
QUOTE(asm-nai @ Jul 23 2005, 01:27 PM)
..menu of the update.. when opening back, resetting, and turning on power while pushing the OK
button.

Because only the content of hdd1 changes places, hdd2 and hdd3 are safe.

I will recommend it as one choices.
*


Thanks for your help!

The 'Power On'+Ok combination is also not working, probably because the power button is in some way disabled (this was my initial problem).

So, with neither this nor access to the maintenance menu (using the D+M reset) I think there are only two solutions, both using the Linux shell:

1) running the updater shell script to install a new ROM; I don't know if this is feasible

2) restoring the missing files in the /home directory and restoring the /hdd1/.sys/hdimage2.tgz; I have this tgz but I don't have /root/.home_default.tar that is needed for restoring /home. Would it possible for you to put a copy of this file somewhere for me to get it?

Cheers.
bam
I love reading these threads, because when and if(yea right lets just omit the if) I screw my 3100 up, I will need to know there is a solution out there. Perhaps if you removed the hdd and used another computer to restore the data from a backup(from trisoft or streamline, then put the hdd back in then maybe that would fix it, just logically thinking this one out smile.gif
lpotter
What makes you think you cannot access the maintence menu?
mikef
QUOTE(lpotter @ Jul 24 2005, 02:09 AM)
What makes you think you cannot access the maintence menu?
*


I can see it, but I cannot use it as there is no answer to key strokes or to touching the screen with the pen. Probably there are Linux devices missing as the /home/dev directory was wiped out.

Any idea on where I can find a copy of the original Sharp /root/.home_default.tar ?
I have tried to rebuild /home with the Trisoft backup but this failed. I think the reason was that there are symlinks missing there,.

QUOTE(bam @ Jul 23 2005, 07:20 PM)
I love reading these threads, because when and if(yea right lets just omit the if) I screw my 3100 up, I will need to know there is a solution out there. Perhaps if you removed the hdd and used another computer to restore the data from a backup(from trisoft or streamline, then put the hdd back in then maybe that would fix it, just logically thinking this one out


You may be sure I will try hard to devise a solution you may use in the future! I will post it, that is if I find one in the first place sad.gif

There is no need for taking out the hard drive: I can access it, it is in good shape apart from the /home directory and I can use the CF card to import files. In order to proceed I really need the original Sharp /root/.home_default.tar file, but I don't know if the C3100 one is identical to the C3000's.
mikef
I have been asking here for a copy of the original Sharp /root/.home_default.tar so that I can try to restore my C3000.

As I got no positive answer will anyone be so kind as to provide me with a listing of this tar file? It can be obtained by typing the following in a Linux shell:

tar tvf /root/.home_default.tar > hdefault.txt

The listing I need will be in this hdefault.txt file.

The listing of the tar file of a C3001 instead of a C3000 may help.

Thank you very much in advance!
Stubear
If you can get into the D+B rescue mode then you have to mount the "normal" partitions before you can do any work on them. D+B mode gets you to the hidden filesystem on mtdblock1 (or possible mtdblock0). The normal partions are mtdblock2 (root) and mtdblock3) home - at least that is true for the C760 and C1000 zaurus.

If you want to play around with the /home or /root directories then you will need to mount them.

If you can reboot the zaurus from debian then holding down the OK key during the reboot will get you into the flash menu.

Otherwise try removing the battery and ac adapter for about 5 minutes, then replace them, close the battery lock switch and try the external power button while holding down the OK button - this should also get you into the flash/reformat menu.

Stu
Stubear
Forgot to post before, you can extract the *_default.tar files from the upgrade rom available on the sharp site.

All you need to do mount the initrd on a linux machine using something like this
CODE
modprobe mtdram total_size=65536
modprobe mtdblock
dd if=initrd.bin of=/dev/mtdblock0
mount -t jffs2 /dev/mtdblock0 /mnt/floppy


Just remember that the filesystem you boot into using D+B IS NOT the regular filesystem the zaurus uses.

Stu
mikef
Hi Stu,

Thanks a lot for your help!

Mounting /dev/mtdblock2 on /mnt I could check that /mnt/root/.home_default.tar is there and intact. I also checked that /dev/mtdblock3 has the /home file system. So, I think I will manage to restore the original setup. I will try to do that tomorrow and will post the result.

QUOTE(Stubear @ Jul 28 2005, 03:10 PM)
All you need to do mount the initrd on a linux machine using something like this
CODE
modprobe mtdram total_size=65536
modprobe mtdblock
dd if=initrd.bin of=/dev/mtdblock0
mount -t jffs2 /dev/mtdblock0 /mnt/floppy


Just remember that the filesystem you boot into using D+B IS NOT the regular filesystem the zaurus uses.

Stu
*


I tried this but my 2.6.12.1 kernel in the PC had no support for MTD. I reconfigured it but got stuck: no mtdram module, and no support for the jffs2 file system type (from /proc/filesystems). What are the kernel configuration options that must be selected?

Thanks again!
mikef
sojc
As stated before: you might need to do a full install. Read and follow these instruction very carefully. They work

http://www.xlfag.com/zaurus/
Stubear
Here are the relevant config settings that are needed for mounting jffs2 images

CODE
#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
CONFIG_JFFS_FS=m
CONFIG_JFFS_FS_VERBOSE=0
# CONFIG_JFFS_PROC_FS is not set
CONFIG_JFFS2_FS=m
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_NAND=y
# CONFIG_JFFS2_FS_NOR_ECC is not set
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
CONFIG_JFFS2_ZLIB=y
CONFIG_JFFS2_RTIME=y
# CONFIG_JFFS2_RUBIN is not set
CONFIG_CRAMFS=m
CONFIG_SQUASHFS=m
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Memory Technology Devices (MTD)
#
CONFIG_MTD=m
# CONFIG_MTD_DEBUG is not set
CONFIG_MTD_PARTITIONS=y
CONFIG_MTD_CONCAT=m
# CONFIG_MTD_REDBOOT_PARTS is not set
# CONFIG_MTD_CMDLINE_PARTS is not set

#
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=m
CONFIG_MTD_BLOCK=m
CONFIG_MTD_BLOCK_RO=m
# CONFIG_FTL is not set
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
#
# Self-contained MTD device drivers
#
# CONFIG_MTD_PMC551 is not set
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
CONFIG_MTD_MTDRAM=m
CONFIG_MTDRAM_TOTAL_SIZE=4096
CONFIG_MTDRAM_ERASE_SIZE=128
CONFIG_MTD_BLKMTD=m
# CONFIG_MTD_BLOCK2MTD is not set


If you want I can send you the whole config file

Stu
mikef
QUOTE(Stubear @ Jul 29 2005, 02:00 AM)
Here are the relevant config settings that are needed for mounting jffs2 images

[code]#
# Miscellaneous filesystems

CONFIG_JFFS_FS=m

*


Hi Stu,

Thanks! I am not at home now, but yesterday I could not find any entry for JFFS2 in this section of the 2.6.12.1 kernel in my PC. I downloaded now the 2.6.12.3 source and checked that these options are there indeed. So I will probably have to upgrade to 2.6.12.3 at home.

Thanks again!
mikef
QUOTE(Stubear @ Jul 28 2005, 03:02 PM)
If you can get into the D+B rescue mode then you have to mount the "normal" partitions before you can do any work on them. D+B mode gets you to the hidden filesystem on mtdblock1 (or possible mtdblock0). The normal partions are mtdblock2 (root) and mtdblock3) home - at least that is true for the C760 and C1000 zaurus.
*


My C3000 is back thanks to the information above! Many thanks Stu! biggrin.gif

All I had to do was to enter into Linux using the D+B key combination and then execute the commands that are listed at the end of this message.

When rebooting there was one or two error messages (too fast to be read) but then the Qtopia environment started fine.

However the On/Off button is still not working sad.gif I intend to upgrade to the Sharp 1.1 NAND and see if it works.

Thanks for all the help!

[CODE]
cd /
mkdir x
# this is the root of the normal file system
mount -o rw,noatime /dev/mtdblock2 x
x/sbin/eraseall /dev/mtd3
mount -o rw,noatime /dev/mtdblock3 x/home
cd x
tar xf root/.home_default.tar
# prepare /x/dev
dd if=/dev/zero of=dev/ram1 bs=1024 count=64
mkfs.minix -i 512 dev/ram1 64
mount -t minix dev/ram1 dev
(cd home ; tar cf - dev | (cd /x ; tar xf -))
# mount /x/tmp
mount -t tmpfs -o size=1m none dev/shm
cd dev/shm
mkdir tmp run
mkdir run/usb
chmod 4777 tmp
touch run/utmp
cd /x
# ???
/etc/ledmode reset
# assuming /dev/hda1 does not need to be formatted
mount -o ro /dev/hda1 hdd1
mke2fs -j /dev/hda2
e2fsck -p /dev/hda2
mount /dev/hda2 hdd2
gzip hdd1/.sys/hdimag2.tgz | tar xf -
# ???
sltime -clear
# prepare for reboot
cd /
umount -a
reboot
mikef
QUOTE(mikef @ Jul 29 2005, 07:28 PM)
However the On/Off button is still not working  sad.gif  I intend to upgrade to the Sharp 1.1 NAND and see if it works.

*


I have the Qtopia environment running but I still cannot use the maintenance menus (either resetiing with D+M or with Ok) because there is no answer to the touchscreen nor to the keyboard.

What can I do???

The commands I mentioned in my last post were adapted from the rc.rofilesys script. Is there a script for the NAND restoration somewhere?
mikef
QUOTE(mikef @ Jul 30 2005, 09:40 AM)
I have the Qtopia environment running but I still cannot use the maintenance menus (either  resetiing with D+M or with Ok) because there is no answer to the touchscreen nor to the keyboard.

What can I do???

The commands I mentioned in my last post were adapted from the rc.rofilesys script. Is there a script for the NAND restoration somewhere?
*


Here are a list of things I have done successfully even without the maintenance menus:

- installation of the TriSoft C3000-2004-12-23-12-40 backup
- manual update of the Sharp ROM to version 1.11 (see below for the details)
- installation of the TriSoft C3000-2005-03-18-12-30-DEkbd-EN.zip backup (that should not be installed on C3000's running 1.01 ROMs!!!)

But this did not solve my initial problems sad.gif :
- On/Off button not working, meaning that after a suspend the only way to awake the Z is by inserting or taking the power plug
- the maintenance menus are frozen (no answer to touchscreen or keyboard)

Any help will be most welcome!

Instructions for the manual update of the Sharp ROM to version 1.11 (at your own risk!):

- in your PC
-- get the update archive from the Sharp site
-- unpack it (I used lha in Linux but cannot reproduce this step...)
-- copy the files to a CF/SD card (root directory, VFAT)
- in the Z
-- reboot while pressing the D+B keys to enter the rescue Linux
- log in as root
- insert the CF/SD card and execute:

CODE
mount
# so that you can see the mount point for the card; mine was  /mnt/cf
# decode updater script (this is done replaces the coded original)
/sbin/decsh /mnt/cf/updater.sh
# run it and pray...
/mnt/cf/updater.sh /mnt/cf
# if all goes well, there will be 3 "Success!" messages
 # reboot
reboot
mikef
QUOTE(mikef @ Aug 2 2005, 07:38 PM)
But this did not solve my initial problems  sad.gif :
- On/Off button not working, meaning that after a suspend the only way to awake the Z is by inserting or taking the power plug
- the maintenance menus are frozen (no answer to touchscreen or keyboard)

Any help will be most welcome!
*


Can anyone with a C3000 provide me a listing of all the files in the rescue Linux?

It can be obtained by booting with the D+B keys, logging in as root, inserting a memory card (say CF) and executing
ls -lR > /mnt/cf/listDB

The file istDB in the card will hopefully help me in finding what files my Z is missing...

Thanks in advance!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.