Unoffical empeg BBS

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

Topic Options
#294419 - 27/02/2007 22:43 HD upgrade - Failed to open tags (0xc0041002)
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
One of my 20+30GB drives started to play up so I decided to replace them with a single 80GB.

Single 80 GB installed and I flashed with Mark's builder_bigdisk.upgrade (MD5: f8058035460b062903a9c5359a1fa63d). Without ever using it before all I can say is the builder seemed to run OK, it took about 20mins until it got to the stress tests and I pulled the power shortly afterwards.

While initially sync'ing with the player Emplode complains about tags with an 0xc0041002 code.

I then followed Roger's manual method and all went OK up to Creating directories on the music partition - it complained about a RO filesystem. After running rwm and retrying, I then used "ls /drive1" and saw that /drive1/fids and /drive1/var was already present (these I believe were a gotcha for Matt about 9 months ago).

That's about it from me. Customary bootlog attached.

PS. Along the way I've tried player firmware such as car2_v2.01_hijack.upgrade - presumably, because my drive is below 137GB, I don't need to use hijack'ed player firmware?

Edit: Hmmm, I guess this is a clue...
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)


Attachments
295038-empeg.log (221 downloads)



Edited by AndrewT (27/02/2007 22:47)

Top
#294420 - 27/02/2007 22:56 Re: HD upgrade - Failed to open tags (0xc0041002) [Re: AndrewT]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
The hdc4 mention in the logfile confused me somewhat so I've captured another logfile (attached). BTW, there's just the single (new) 80GB hard drive attached here. Why does the bootlog mention hdc?


Attachments
295039-bootlog2.txt (257 downloads)


Top
#294421 - 28/02/2007 04:35 Re: HD upgrade - Failed to open tags (0xc0041002) [Re: AndrewT]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
The reiserFS and HDC4 errors are normal, if I recall correctly.

The Failed to Open Tags error means you never synched once with emplode (as the instructions say to do, if I recall correctly).

If, after synching once with emplode, things still don't work right, then post back here.
_________________________
Tony Fabris

Top
#294422 - 28/02/2007 09:39 Re: HD upgrade - Failed to open tags (0xc0041002) [Re: tfabris]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
Quote:
While initially sync'ing with the player Emplode complains about tags with an 0xc0041002 code.


I tried a few times to sync with emplode. Each time it would put a red 'X' mark alongside the Checking Tags item and then appear to crash. Perhaps I was being too hasty in pulling the plug? I'll have another go later and I'll give it 20mins to see what happens.

Top
#294423 - 28/02/2007 11:59 Re: HD upgrade - Failed to open tags (0xc0041002) [Re: AndrewT]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Quote:
0xc0041002


Usually means that the /empeg/var directory doesn't exist. You need to do the following:

mkdir /drive0/fids
mkdir /drive0/var

See, the instructions on my website assume that you're creating the new disk as slave and then moving it to the master position.

I'll update the page to make this clearer.
_________________________
-- roger

Top
#294424 - 28/02/2007 13:51 Re: HD upgrade - Failed to open tags (0xc0041002) [Re: AndrewT]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
Missed that bit, sorry.
_________________________
Tony Fabris

Top
#294425 - 28/02/2007 21:31 Re: HD upgrade - Failed to open tags (0xc0041002) [Re: Roger]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
Tonight I started from the beginning with Roger's partitioning/formatting procedure,the new 80Gb drive set as slave.

There was one point where things didn't go as expected:
# mount -n /dev/hdc4 /drive1 - I received an error, something to do with mtab and already mounted (apologies for being so vague).
To 'get around' this I ran umount /drive1 and I was then able to complete the manual formatting guide.

Emplode was still bombing but now at the database stage rather than tags but still the same hex error code. [Along the way I have uninstalled my old Emplode, nuked hkey Current user\sonicblue[sic] from the registry and re-installed Emplode 2.0].

Remembering the manual database rebuild procedure, I thought I'd try to be clever so I set about creating these directories:
/drive0/var/database
/drive0/var/database3
/drive0/var/tags
/drive0/var/playlists

Emplode still crashes but now with 0xc0041015 - here's the serial console captured while sync'ing:
Adding Swap: 16028k swap-space (priority -1)
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.
Restored terminal settings
Remounting first music partition read-only
Remounting second music partition read-only
No secondary hard disk
Restart code received
Starting playTimezone: Atlantic/South_Georgia
er
player.cpp : 385:empeg-car 2.01 2004/07/06.
! tags.cpp : 68:Failed to read tags: 0xc0041015.
Prolux 4 empeg car - 2.1434 Jul 5 2004
Vcb: 0x4054d000


This is the partition setup (looks OK to me):Code:
   Device Boot    Start       End    Blocks   Id  System
/dev/hda1 1 5 40131 5 Extended
/dev/hda2 6 10 40162+ 83 Linux
/dev/hda3 11 13 24097+ 10 OPUS
/dev/hda4 14 9729 78043770 83 Linux
/dev/hda5 1 3 24034+ 83 Linux
/dev/hda6 4 5 16033+ 82 Linux swap



Player is running 2.01, Hijack 268, current bootlog attached.


Attachments
295092-empegboot2304.log (246 downloads)



Edited by AndrewT (28/02/2007 21:41)

Top
#294426 - 28/02/2007 22:17 Re: HD upgrade - Failed to open tags (0xc0041002) [Re: AndrewT]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
Switching to 3.0A10 and removing the dirs I manually created under /drive0/var/ and it is now sync'ing with Emplode.

Top
#294427 - 01/03/2007 06:21 Re: HD upgrade - Failed to open tags (0xc0041002) [Re: AndrewT]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Quote:
I thought I'd try to be clever so I set about creating these directories:
/drive0/var/database
/drive0/var/database3
/drive0/var/tags
/drive0/var/playlists


Those are supposed to be files, not directories. All you need is the /drive0/var directory.

Quote:
Emplode still crashes but now with 0xc0041015


Which is errno 21 (EISDIR). The player's attempting to create a file called /drive0/var/tags (or one of the others), but there's a directory of the same name in the way.

Glad you got it working in the end.
_________________________
-- roger

Top