Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#138784 - 01/02/2003 12:23 read.the.faq/searched.msg.board-rio.won't.sync
six41
new poster

Registered: 15/01/2002
Posts: 12
Loc: pdx, OR, USA
i think i made a grave error. after installing charcoalgray99's remote control i found that it would not function with my version of IE so i decided to remove it from my rio. well i think i may have deleted something extra from the rio because i can no longer sync my player with emplode. when i try to sync it it gives me this error:

download failed while rebuilding database.
error 0xc0041002

the player rebuilds the database (slowly) each time it boots but plays fine.

i read the faq and searched the msg board and tried:

1) installing B13 dev image and tried using hyperterminal to refreesh the database. no luck syncing after that.

2) tried installing 1.03 and now emplode cannot find the player at all.

here is my hyperterminal log from b13 dev. can anyone help me restore the files i might have deleted?

empeg-car bootstrap v1.02 20001106 ([email protected])
If there is anyone present who wants to upgrade the flash, let them speak now, or forever hold their peace...it seems not. Let fly the Penguins of Linux!

e000 v1.04
Copying kernel...
Calling linux kernel...
Uncompressing Linux..................................... done, booting the kerne
l.
Linux version 2.2.14-rmk5-np17-empeg51 (mac@aphex) (gcc version 2.95.3 20010315
(release)) #16 Wed Jul 24 18:19:54 BST 2002
Processor: Intel StrongARM-1100 revision 11
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 9, serial number 10101814)
Command line: mem=16m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 15024k/16M available (964k code, 20k reserved, 372k data, 4k init)
Dentry hash table entries: 2048 (order 2, 16k)
Buffer cache hash table entries: 16384 (order 4, 64k)
Page cache hash table entries: 4096 (order 2, 16k)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 16384 bhash 16384)
IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
Linux-IrDA: IrCOMM protocol ( revision:Tue May 18 03:11:39 1999 )
ircomm_tty: virtual tty driver for IrCOMM ( revision:Wed May 26 00:49:11 1999 )
Starting kswapd v 1.5
SA1100 serial driver version 4.27 with no serial options enabled
ttyS00 at 0xf8010000 (irq = 15) is a SA1100 UART
ttyS01 at 0xf8050000 (irq = 17) is a SA1100 UART
ttyS02 at 0xf8030000 (irq = 16) is a SA1100 UART
Signature is 636f6972 'rioc'
Scheduling custom logo.
empeg display initialised.
empeg dsp audio initialised
empeg dsp mixer initialised
empeg dsp initialised
empeg audio-in initialised, CS4231A revision a0
empeg remote control/panel button initialised.
empeg usb initialised, PDIUSBD12 id 1012
empeg state support initialised 0089/88c1 (save to d0005b80).
empeg RDS driver initialised
empeg power-pic driver initialised (first boot)
RAM disk driver initialized: 16 RAM disks of 4096K size
empeg single channel IDE
Probing primary interface...
hda: IBM-DJSA-230, ATA DISK drive
hda: IBM-DJSA-230, ATA DISK drive
hda: IBM-DJSA-230, ATA DISK drive
hda: IBM-DJSA-230, ATA DISK drive
hda: IBM-DJSA-230, ATA DISK drive
hda: IBM-DJSA-230, ATA DISK drive
ide0 at 0x000-0x007,0x038 on irq 6
hda: IBM-DJSA-230, 28615MB w/1874kB Cache, CHS=58140/16/63
empeg-flash driver initialized
smc chip id/revision 0x3349
smc9194.c:v0.12 03/06/96 by Erik Stahlman ([email protected])

SMC9194: SMC91C94(r:9) at 0x4008000 IRQ:7 INTF:TP MEM:6144b MAC 00:02:d7:22:07:1
6
Partition check:
hda: hda1 < hda5 hda6 > hda2 hda3 hda4
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 320 blocks [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem).
empeg-pump v0.03 (19980601)
Press Ctrl-A to enter pump...VFS: Mounted root (ext2 filesystem) readonly.
change_root: old root has d_count=1
Trying to unmount old root ... okay
Freeing unused kernel memory: 4k initempeg init 0.8
I see this is a developer image!
Mounting proc
Mounting first music partition
Tried to mount /dev/hda4 as reiserfs but got error 19
Mounting second music partition
Tried to mount /dev/hdc4 but got error 6
Error mounting partitions (possibly already mounted)
Remounting first music partition read-only
Remounting second music partition read-only
No secondary hard disk
Press Starting player
q player.cpp : 385:empeg-car 2.00-beta13 2002/07/24.
! tags.cpp : 61:Failed to open tags (0xc0041002).

rw
rwm
rm /empeg/var/database
rom
ro
exit
_________________________
[ 6 4 1 ] | long-time lurker | [EMPEG registration number: 59]

Top
#138785 - 01/02/2003 12:32 Re: read.the.faq/searched.msg.board-rio.won't.sync [Re: six41]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31573
Loc: Seattle, WA
In your log image there, I'm not seeing that you actually dropped to a BASH prompt to delete the database and start over. It looks like you simply typed the deletion commands into the player's serial interface. When you pressed "Q" and Enter, it should have dropped you to a shell prompt (looks sort of like a DOS prompt) and it didn't.

Put developer beta 13 back on there, and make sure it really does drop you to a shell prompt before following the rest of these instructions.

Also remember that the major emplode version and the major player version must match in order for the synch to work. (i.e., it must be player 2.0-something and emplode 2.0-something).
_________________________
Tony Fabris

Top
#138786 - 01/02/2003 12:34 Re: read.the.faq/searched.msg.board-rio.won't.sync [Re: six41]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

Reinstall the most recent emplode first. The two program versions (player and emplode) must be in sync with each other. That is why the 1.03 emplode is not finding the player.

Once you have it back, go into the player and do this. Basically, you would need to rebuild the database. I know you tried it. An alternative...

A nice, easy trick from the rsync guide is to leave the player in read/write mode and launch the player application from command line. This will rebuild the databases once, and write them directly to their appropriate files. When you get a shell prompt, do:

rw
rwm
rm /drive0/var/database
rm /drive0/var/playlists
rm /drive0/var/tags
player

This will rebuild your databases. It will take a while. Enter a "q" once the build is completed. This will exit the player application and drop you back to shell.

rom
ro
exit

Best to reboot at this point. Try a sync now...

P.S. - Simultaneous editing...


Edited by pgrzelak (01/02/2003 12:35)
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#138787 - 01/02/2003 13:28 Re: read.the.faq/searched.msg.board-rio.won't.sync [Re: six41]
six41
new poster

Registered: 15/01/2002
Posts: 12
Loc: pdx, OR, USA
thanks for the quick replies. i did not realize that i was not being patient enough when trying to get to the BASH prompt. well it looks like i did delete something because i get this error:

/empeg/var/database': No such file or directory

or

rm: cannot remove `/drive0/var/database': No such file or directory

excuse my lack of technical literacy . . . but how do i restore/create the var directory since it appears i deleted it?
_________________________
[ 6 4 1 ] | long-time lurker | [EMPEG registration number: 59]

Top
#138788 - 01/02/2003 13:54 Re: read.the.faq/searched.msg.board-rio.won't.sync [Re: six41]
six41
new poster

Registered: 15/01/2002
Posts: 12
Loc: pdx, OR, USA
thanks for the help.

i created the directory and it synced just fine. i really appreciate all that this community has to offer!
_________________________
[ 6 4 1 ] | long-time lurker | [EMPEG registration number: 59]

Top
#138789 - 14/07/2003 19:09 Re: read.the.faq/searched.msg.board-rio.won't.sync [Re: pgrzelak]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
Just to add to your solution, Paul...

I was getting the same error from tags.cpp as the original poster, and I found I had to delete

/drive1/var/tags
/drive1/var/database
/drive1/var/playlist

to get my player to re-create the database successfully. This may be because when I did my drive upgrade I re-ordered the drives.
_________________________
Mark Cushman

Top
#138790 - 15/07/2003 04:05 Re: read.the.faq/searched.msg.board-rio.won't.sync [Re: cushman]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Hmm... I thought it ignored the /drive1/var directory and its contents. I did not know that it would try to process files there. Good tip!
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top