Unoffical empeg BBS

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

Topic Options
#286304 - 03/09/2006 09:05 new harddisk problem with upgrade
zanthos
new poster

Registered: 19/07/2001
Posts: 9
Loc: Switzerland
Hi all!
Today I wanted to replace my harddrive.
But I cant' connect my empeg to any software except hyperterminal.
-->> I have an Mk2 unit running V3.0 alpha-11. <<--

Here's the output from hyperterminal:
--------------------------------
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 kernel.
Linux version 2.2.17-rmk5-np17-empeg52-hijack-v454 ([email protected]) (gcc version 2.95.3 20010315 (release)) #2 Wed Apr 12 18:36:21 EDT 2006
Processor: Intel StrongARM-1100 revision 11
Checking for extra DRAM:
c1000000: wrote ffffffff, read e91ba9f0
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 9, serial number 10102110) 16MB DRAM
Command line: mem=16m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 15008k/16M available (988k code, 20k reserved, 364k 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 636f6972 'rioc'
Found custom animation at offset 0x91af4
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 d0005d80).
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...
ide_data_test: wrote 0x0000 read 0x0080
ide_data_test: wrote 0xffff read 0x0080
ide_data_test: wrote 0xaaaa read 0x0080
ide_data_test: wrote 0x5555 read 0x0080
ide_data_test: wrote 0x0000 read 0x0080
ide_data_test: wrote 0xffff read 0x0080
ide_data_test: wrote 0xaaaa read 0x0080
ide_data_test: wrote 0x5555 read 0x0080
ide_data_test: wrote 0x0000 read 0x0080
ide_data_test: wrote 0xffff read 0x0080
ide_data_test: wrote 0xaaaa read 0x0080
ide_data_test: wrote 0x5555 read 0x0080
ide_data_test: wrote 0x0000 read 0x0080
ide_data_test: wrote 0xffff read 0x0080
ide_data_test: wrote 0xaaaa read 0x0080
ide_data_test: wrote 0x5555 read 0x0080
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0xffff
ide_data_test: wrote 0xaaaa read 0xaaaa
ide_data_test: wrote 0x5555 read 0x5555
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:08:3e
Partition check:
hda:
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...X]]Y[\]H]
)kkḱ役٥)503:05: rw=0, want=2, limit=0
dev 03:05 blksize=1024 blocknr=1 sector=2 size=1024 count=1
EXT2-fs: unable to read superblock
Kernel panic: VFS: Unable to mount root fs on 03:05
--------------------------------

What can I do to connenect to the upgrade tool or emplode or whatever?

BTW: I followed the guide on riocar.org and no, I'm not a stupid idiot. I know a lot about computer tech stuff, but not about linux :-(

thanks a lot.

Top
#286305 - 03/09/2006 11:50 Re: new harddisk problem with upgrade [Re: zanthos]
pgrzelak
carpal tunnel

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

Well, at the moment, it looks like there is only one drive physically in the machine based on the boot log. - hda: IBM-DJSA-230, 28615MB w/1874kB Cache, CHS=58140/16/63

Is this the new drive that you were installing? Is it the old one? Is there anything on the hard drive connected?

Basically, from your log, this looks like a brand new drive, and that it cannot find the boot partition and root filesystem. - Kernel panic: VFS: Unable to mount root fs on 03:05

If this is the new drive, you probably need to load the builder software to create the filesystems needed (this is a link to Mark's updated version for larger drives), and then you would need to reinstall the player with the upgrade file.

To load the builder software, download the linked file. Run the emplode upgrade utility, load the builder in. Make sure you have the player unplugged until the upgrade utility actively starts looking for the player. You only have a few second window (if that) to catch the upgrade loader on the empeg's firmware. Once that upload completes, the player should reboot. Yank the power immediately and set up hyperterm for another capture. Plug in the player - the upgrade file now should rebuild the partitions and filesystems on the brand new drive and perform a stress test (infinite loop). Your hyperterm connection will allow you to watch the progress, note any errors, hit "return" if needed, etc.

If that goes well, redo these steps with the 2.0 developer final software for the empeg. I see from your boot log that alpha3-11 was loaded, but best to start with 2.0 until you get things stable.

Edit: linked builder & added more detail


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

Top
#286306 - 03/09/2006 13:21 Re: new harddisk problem with upgrade [Re: pgrzelak]
zanthos
new poster

Registered: 19/07/2001
Posts: 9
Loc: Switzerland
Hi Paul!

Thanks for your reply.
It is exactly as you write, it's an empty disk. The main point is I can't connect to the player, since it doesn't accept any serial connection after bootup.
I can see the bootup if I connect hyperterminal, but I can't use empegupgrade.exe or emplode or whatever, it just doesn't connect. (even if I boot without hyperterminal connected)
BTW I have a Hijack Kernel and I set the serial port to "Player".
What do I have to do to connect to the riocar? I think that's the point...

EDIT: I managed to load builder.upgrade, But there was an error: "couldn't find pump".
Now the player repeats endlessly:
-------
ɁɅŹɁف՝5)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!555)ɁɅŹɁف՝5)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!555)ɁɅŹɁف՝5)If there is anyone present who wants to upgrade the flash, let them speak now,
-------
I will try again!


Edited by zanthos (03/09/2006 13:40)

Top
#286307 - 03/09/2006 15:05 Re: new harddisk problem with upgrade [Re: zanthos]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Quote:

ide_data_test: wrote 0x0000 read 0x0080
ide_data_test: wrote 0xffff read 0x0080
ide_data_test: wrote 0xaaaa read 0x0080
ide_data_test: wrote 0x5555 read 0x0080

This means there is some kind of data error. Likely a loose connection on the cable or the IDE header. You must solve that problem before the builder software will work.

Once you've taken care of the issue with the IDE hardware, make sure to follow all the steps in the drive upgrade guide.

Quote:
-->> I have an Mk2 unit running V3.0 alpha-11. <<--

Your best bet is to use software version 2.0 final to make sure everything is working and stable. Once it's all OK and everything is working correctly, then you can experiment with the V3 alphas.
_________________________
Tony Fabris

Top
#286308 - 03/09/2006 15:07 Re: new harddisk problem with upgrade [Re: tfabris]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
I thought it was just some kind of delay in spinup as part of the boot, given that the last four entries before the disk was seen and recognized were correct. This is correct, though - if there is a hard error, that must be corrected first. It would not hurt to double check your connections, just in case.

As for the pump error, I am wondering if you were able to successfully load the builder. The loader is in protected flash, but it is a very short time window to get it in place. You should run the uploader software, and have it sitting there, waiting for the player before you actually plug the player in to power.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#286309 - 03/09/2006 15:52 Re: new harddisk problem with upgrade [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Quote:
Quote:

ide_data_test: wrote 0x0000 read 0x0080
ide_data_test: wrote 0xffff read 0x0080
ide_data_test: wrote 0xaaaa read 0x0080
ide_data_test: wrote 0x5555 read 0x0080

This means there is some kind of data error.


Nope. Wrongo. Buzzzzzt! Wrong answer, but thanks for playing!

Those messages are "normal", and just mean (in this case) that the drive has yet to finish it's hard reset/POST, and as a result has not yet enabled it's output buffers.

If the *final* "ide_data_test" messages show a mismatch, then THAT is a problem. But in this particular case, the final reads were just peachy-fine. So there's no known/suspected drive connection issue here.

-ml

Top
#286310 - 03/09/2006 15:54 Re: new harddisk problem with upgrade [Re: zanthos]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Quote:

EDIT: I managed to load builder.upgrade, But there was an error: "couldn't find pump".
Now the player repeats endlessly:


Just run the builder.upgrade again.

Top
#286311 - 03/09/2006 17:34 Re: new harddisk problem with upgrade [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Sorry. Didn't realize those messages would be present in normal cases.

So, ide data test messages before the drive identification are normal, but after the drive identification indicate trouble?

Also: The ide data test messages are a hijack feature, correct? You wouldn't get that with a normal kernel?
_________________________
Tony Fabris

Top
#286312 - 03/09/2006 18:38 Re: new harddisk problem with upgrade [Re: zanthos]
zanthos
new poster

Registered: 19/07/2001
Posts: 9
Loc: Switzerland
Thank you guys for all your ideas!
the problem was: I wasn't on time! the time window to run the upgrade builder is defenitely short and it seems i was always a little too late...

I managed to do start the upgrade enough quickly and it worked perfectly.

thanks again!

Top
#286313 - 03/09/2006 19:51 Re: new harddisk problem with upgrade [Re: zanthos]
pgrzelak
carpal tunnel

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

Tony, would it be worthwhile to add a link / info about the upgraded builder for large drives in the upgrade FAQ? I know the text about not plugging in until asked is there, but it is lost in the text body. Perhaps that can be bolded or stressed a bit more heavily somehow?
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#286314 - 03/09/2006 19:55 Re: new harddisk problem with upgrade [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Quote:
Sorry. Didn't realize those messages would be present in normal cases.

So, ide data test messages before the drive identification are normal, but after the drive identification indicate trouble?


No. These only appear before the drive identification. The important bit is, that the final few such messages should not show bit mismatches. Eg, here are the final ones from the log he actually posted:
Quote:

ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0xffff
ide_data_test: wrote 0xaaaa read 0xaaaa
ide_data_test: wrote 0x5555 read 0x5555


Quote:

Also: The ide data test messages are a hijack feature, correct? You wouldn't get that with a normal kernel?


Right. With a vanilla empeg kernel, those messages don't appear. And so on a broken system we'd just see mysterious crashes later on, without as good a clue as to what the problem is.

Cheers


Edited by mlord (03/09/2006 21:53)

Top
#286315 - 03/09/2006 20:35 Re: new harddisk problem with upgrade [Re: pgrzelak]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Quote:
Tony, would it be worthwhile to add a link / info about the upgraded builder for large drives in the upgrade FAQ?

I did that weeks ago.

Quote:
I know the text about not plugging in until asked is there, but it is lost in the text body. Perhaps that can be bolded or stressed a bit more heavily somehow?

Done.
_________________________
Tony Fabris

Top
#286316 - 03/09/2006 20:36 Re: new harddisk problem with upgrade [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Mark, thanks for the details regarding those messages in Hijack. I will put up a FAQ entry, and update the hard disk error FAQ about it.
_________________________
Tony Fabris

Top
#286317 - 03/09/2006 21:21 Re: new harddisk problem with upgrade [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
_________________________
Tony Fabris

Top
#286318 - 03/09/2006 21:54 Re: new harddisk problem with upgrade [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Close enough, thanks.

Top