Unoffical empeg BBS

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

Topic Options
#202778 - 06/02/2004 13:12 Help! Disk Integrity check error!
russmeister
enthusiast

Registered: 14/07/2002
Posts: 344
Loc: South Carolina
I tried to upload a new playlist to my player today and emplode errored out at the disk integrity check. I have since lost all the playlists on the player and the only thing I can play is the aux input. I've already tried this but it didn't work. Maybe I'm doing something wrong.

Here's a copy of the hyperterminal text and I have bolded the things that I see wrong but I don't know what to do about them:

˙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.17-rmk5-np17-empeg52-hijack-v340 (root@ibbm) (gcc version 2.95
.3 20010315 (release)) #2 Wed Jun 18 18:40:14 EDT 2003
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 10101463)
Command line: mem=16m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 15016k/16M available (976k code, 20k reserved, 368k 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)
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 67706d65 'empg'
Tuner: loopback=0, ID=-1
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 d0004900).
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...
hdb: IBM-DJSA-210, ATA DISK drive
hdb: IBM-DJSA-210, ATA DISK drive
hdb: IBM-DJSA-210, ATA DISK drive
hda: IBM-DJSA-220, ATA DISK drive
hdb: IBM-DJSA-210, ATA DISK drive
ide0 at 0x000-0x007,0x038 on irq 6
hda: IBM-DJSA-220, 19077MB w/1874kB Cache, CHS=38760/16/63
hdb: IBM-DJSA-210, 9590MB w/384kB Cache, CHS=19485/16/63
empeg-flash driver initialized
smc chip id/revision 0x3349
smc9194.c:v0.12 03/06/96 by Erik Stahlman (erik@vt.edu)

SMC9194: SMC91C94(r:9) at 0x4008000 IRQ:7 INTF:TP MEM:6144b MAC 00:02:d7:22:05:b
7
Partition check:
hda: hda1 < hda5 hda6 > hda2 hda3 hda4
hdb: [PTBL] [1222/255/63] hdb1 < hdb5 hdb6 > hdb2 hdb3 hdb4
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 320 blocks [1 disk] into ram disk... done.
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
empeg-pump v0.03 (19980601)
Press Ctrl-A to enter pump...hange_root: old root has d_count=1
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
Remounting first music partition read-only
Remounting second music partition read-only
Press 'q' now to go into development mode. You Have Zero Seconds To Comply...
Starting player
Hijack: intercepting config.ini

hijack_exec("/bin/bash -c "/usr/local/bin/start_empire 10 &""), rc=0 (okay)
start_empire: sleeping for 10 seconds...
hijack_exec("/usr/local/bin/telnetd"), rc=0 (okay)
hijack: removed menu entry: "Hard Disk Detection"
hijack: removed menu entry: "Tuner RDS Control"
hijack: removed menu entry: "Serial Port Assignment"
khttpd: listening on port 80
kftpd: listening on port 21
player.cpp : 385:empeg-car 2.00 2003/04/01.
! tunedb_disk.cpp :1274:Database size mismatch error.
Prolux 4 empeg car - 2.1434 Mar 26 2003
Vcb: 0x4086d000
start_empire: Starting Empire...
IrDA: Registered device irda0
_________________________
Russ
---------------------------------------------------------
"The difference between a successful person and others is not a lack of strength, not a lack of knowledge, but rather a lack of will." Vince Lombardi

Top
#202779 - 06/02/2004 13:28 Re: Help! Disk Integrity check error! [Re: russmeister]
pgrzelak
carpal tunnel

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

It is likely that you have a corrupt or missing database file, as seen in your "Database size mismatch error". Go into the player, delete the existing database files and resync.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#202780 - 06/02/2004 13:30 Re: Help! Disk Integrity check error! [Re: russmeister]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
EXT2-fs warning: checktime reached, running e2fsck is recommended
This means that the time since the last FS check has been exceeded. It's harmless.
Tried to mount /dev/hda4 as reiserfs but got error 19
This error is normal. The car player partitions are ext2 so it will always fail to mount as ReiserFS.

You tried deleting the database from the empeg and getting emplode to recreate it?

Top
#202781 - 06/02/2004 13:34 Re: Help! Disk Integrity check error! [Re: russmeister]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Instructions for database rebuilding are here, but I would be concerned with why the databases need to be rebuilt.
_________________________
Tony Fabris

Top
#202782 - 06/02/2004 13:37 Re: Help! Disk Integrity check error! [Re: tfabris]
pgrzelak
carpal tunnel

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

It errored out as part of a standard sync, according to the post. It is likely, looking at the boot log, that one of the programs (empire, telnetd) had a file open on a drive that was targeted for FSCK.

Wow. I do not envy the admins that are moderating these posts!!! They must be coming in pretty fast!
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#202783 - 06/02/2004 13:39 Re: Help! Disk Integrity check error! [Re: pgrzelak]
russmeister
enthusiast

Registered: 14/07/2002
Posts: 344
Loc: South Carolina
Go into the player, delete the existing database files and resync.

Call me dumb, but how do I do this through the hyperterminal?

_________________________
Russ
---------------------------------------------------------
"The difference between a successful person and others is not a lack of strength, not a lack of knowledge, but rather a lack of will." Vince Lombardi

Top
#202784 - 06/02/2004 13:43 Re: Help! Disk Integrity check error! [Re: russmeister]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Don't. According to what Paul just said, you need to remove/disable Empire and Telnetd and re-FSCK before doing the database rebuild. Only after that should you rebuild the databases. As it says in the FAQ entry here, don't try to FSCK or synch with things like that running live.
_________________________
Tony Fabris

Top
#202785 - 06/02/2004 13:43 Re: Help! Disk Integrity check error! [Re: russmeister]
pgrzelak
carpal tunnel

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

I modified the post with a link to the FAQ entry.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#202786 - 06/02/2004 14:54 Re: Help! Disk Integrity check error! [Re: tfabris]
russmeister
enthusiast

Registered: 14/07/2002
Posts: 344
Loc: South Carolina
you need to remove/disable Empire and Telnetd

How do I do this? I can't use config.ini from emplode b/c it won't resync and I'm familiar with linux enough to know how to do this. Any advice?

edit: that was suppose to be that I'm NOT familiar enough with linux but the instructions you linked were easy to follow, Tony.

It still won't rebuild the database in emplode nor does it rebuild after deleting the config.ini and then trying to rebuild it manually.


Edited by Russmeister (06/02/2004 16:07)
_________________________
Russ
---------------------------------------------------------
"The difference between a successful person and others is not a lack of strength, not a lack of knowledge, but rather a lack of will." Vince Lombardi

Top
#202787 - 06/02/2004 14:59 Re: Help! Disk Integrity check error! [Re: russmeister]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Delete the config.ini file and start over from scratch, then, as described here.
_________________________
Tony Fabris

Top
#202788 - 06/02/2004 16:29 Re: Help! Disk Integrity check error! [Re: tfabris]
russmeister
enthusiast

Registered: 14/07/2002
Posts: 344
Loc: South Carolina
Well, I'm off for the weekend. It looks like I'm stuck with the radio until Monday. I'll check back then.

Thanks for the help!
_________________________
Russ
---------------------------------------------------------
"The difference between a successful person and others is not a lack of strength, not a lack of knowledge, but rather a lack of will." Vince Lombardi

Top
#202789 - 09/02/2004 15:43 Re: Help! Disk Integrity check error! [Re: russmeister]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
I'm checking on Russmeister's player

There are/were some serious issues.
the fids folder on drive0 was missing, and in its place was a file called fids that contained track info for a single song.

I deleted the file and re-created the fids folder and then ran an fsck.

It found a ton of problems and fixed them.

There is still nothing in the fids folder, however, the lost+found folder is populated with a ton of entries, the last few look something like this:


-rw-r--r-- 1 0 0 146 Apr 16 2003 #9989
-rw-r--r-- 1 0 0 4191911 Apr 16 2003 #9990
-rw-r--r-- 1 0 0 177 Apr 16 2003 #9991
-rw-r--r-- 1 0 0 3515522 Apr 16 2003 #9992
-rw-r--r-- 1 0 0 193 Apr 16 2003 #9993
-rw-r--r-- 1 0 0 4083051 Apr 16 2003 #9994
-rw-r--r-- 1 0 0 146 Apr 16 2003 #9995
-rw-r--r-- 1 0 0 3885352 Apr 16 2003 #9996
-rw-r--r-- 1 0 0 142 Apr 16 2003 #9997
-rw-r--r-- 1 0 0 4281260 Apr 16 2003 #9998
-rw-r--r-- 1 0 0 233 Apr 16 2003 #9999
drwxr-xr-x 2 0 0 65536 Feb 3 2001 .
drwxr-xr-x 6 0 0 4096 Aug 9 14:58 ..

If I'm thinking correctly, these are his old song right? Is there any way to recover them, or did I already hose myself by deleting and re-creating the fids folder?
_________________________
~ John

Top
#202790 - 09/02/2004 16:04 Re: Help! Disk Integrity check error! [Re: JBjorgen]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
The big ones are tunes, but you'd have to rename and resort them properly, and recreate the various playlists. Messy, very messy.

If the files are available on a PC somewhere, then just nuke the contents of lost+found and reload the music.

Cheers

Top
#202791 - 09/02/2004 16:17 Re: Help! Disk Integrity check error! [Re: mlord]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
Thanks...That's what I needed to know.
_________________________
~ John

Top
#202792 - 09/02/2004 16:26 Re: Help! Disk Integrity check error! [Re: mlord]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
Ok. Uploading tunes now. I'm still getting this message in HT though:

e2fsck 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
ext2fs_check_if_mount: No such file or directory while determining whether /dev/hda4 is mounted.
_________________________
~ John

Top
#202793 - 09/02/2004 17:57 Re: Help! Disk Integrity check error! [Re: JBjorgen]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
That message is normal.

EDIT: oopps.. I take that back. I dunno.


Cheers


Edited by mlord (09/02/2004 17:58)

Top
#202794 - 09/02/2004 18:30 Re: Help! Disk Integrity check error! [Re: mlord]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
_________________________
Brad B.

Top
#202795 - 10/02/2004 02:11 Re: Help! Disk Integrity check error! [Re: JBjorgen]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
ext2fs_check_if_mount: No such file or directory while determining whether /dev/hda4 is mounted

It's complaining about the fact that /etc/mtab is missing. You can ignore it.
_________________________
-- roger

Top
#202796 - 10/02/2004 09:11 Re: Help! Disk Integrity check error! [Re: Roger]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
Cool. Left it going overnight and it now has roughly 16 gig of music on it and more uploading. Seems to be working great.

I think we can say 'case closed'.
_________________________
~ John

Top
#202797 - 10/02/2004 09:23 Re: Help! Disk Integrity check error! [Re: JBjorgen]
russmeister
enthusiast

Registered: 14/07/2002
Posts: 344
Loc: South Carolina
For a minute there I thought I had a really expensive aux input.

Nice to know that's not the case.
_________________________
Russ
---------------------------------------------------------
"The difference between a successful person and others is not a lack of strength, not a lack of knowledge, but rather a lack of will." Vince Lombardi

Top