Unoffical empeg BBS

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

Page 1 of 2 1 2 >
Topic Options
#343391 - 15/03/2011 04:19 Using SATA Laptop Drives with Empeg
Ross Wellington
enthusiast

Registered: 21/02/2006
Posts: 325
Hi,

As I mentioned in an earlier thread, I was going to see how the Empeg will work with readily available SATA laptop drives with a SATA to IDE adapter.

Just wanted to post status of where I am with this 03 14 2011 ...


I acquired the following hardware for this test:

1) One Western Digital WD10TPVT, 1TB, 12.5mm height SATA Laptop Drive
2) Two Western Digital WD5000BEVT, 500GB, std. height, SATA Laptop Drive
3) Two XHH-1073 (AS331 V1.3) SATA to 2.5" Laptop IDE (44 pin) Adapters

The adapters are the exact same (Same P/N, Same Chip, etc),as those sold on ebay for $15.99 USD at the link below (no affiliation with the seller - I bought mine locally). Same exact one as the one from Deal Extreme too at $7.80 USD.

http://cgi.ebay.com/2-5-SATA-Hard-Drive-...=item1e62297c44


I received the rest of my hardware last weekend.

One of the SATA to IDE Adapters is defective - couldn't see any drives. They're getting me a new one to replace it - may be a couple of weeks out.


Current Status 03 14/2011. 500 GB Drives

The good SATA to IDE adapter worked fine as the Root Drive. I wasn't able to check out 2 drives in the system because the other adapter is defective. I will also see if it will play well with a non-SATA (PATA) drive and SATA adapted drive in the system sometime this week as I really want to copy my master drives to a single SATA Drive.

The drive was visible upon Empeg Power-up (ie.. no Hard Disk Found message was not displayed). The drive showed up in a serial boot log correctly too. Looks like the adapter may work.

Proceded with the Builder_BigDisk_v6. Below is the Serial session of the install.

**********************************************************************
Code:
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.17-rmk5-np17-empeg55-hijack-v508 ([email protected]) (gcc version
2.95.3 20010315 (release)) #2 Fri Jan 9 16:06:35 EST 2009
Processor: Intel StrongARM-1100 revision 11
Checking for extra DRAM:
c1000000: wrote ffffffff, read e28cc001
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 9, serial number 40103852) 16MB DRAM
Command line: mem=16m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 15000k/16M available (996k 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 0x9c388
Tuner: loopback=0, ID=-1
show_message("Hijack v508 by Mark Lord")
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 d0004580).
empeg RDS driver initialised
empeg power-pic driver initialised
RAM disk driver initialized:  16 RAM disks of 4096K size
empeg single channel IDE
Probing primary interface...
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide0 at 0x000-0x007,0x038 on irq 6
hda: WDC WD5000BEVT-22A0RT0, 476940MB w/8192kB Cache, CHS=60801/255/63, LBA48
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:28:0f:0
c
Partition check:
 hda:Dead temp.sensor, status=0x00
 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 initBuilder image
show_message("Builder image")
Setting up swapspace version 0, size = 16412672 bytes
Adding Swap: 16028k swap-space (priority -1)
Setting up swapspace version 0, size = 24670208 bytes
Adding Swap: 24092k swap-space (priority -2)
Tuning hda5
show_message("Tuning hda5")
tune2fs 1.17, 26-Oct-1999 for EXT2 FS 0.5b, 95/08/09
Setting maximal mount count to -1
Setting interval between check 0 seconds
Making hda4 filesysteshow_message("Making hda4 filesystem")
m
mke2fs 1.14, 9-Jan-1999 for EXT2 FS 0.5b, 95/08/09
ext2fs_check_if_mount: No such file or directory while determining whether /dev/
hda4 is mounted.
Linux ext2 filesystem format
Filesystem label=
1907712 inodes, 122069902 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Block size=4096 (log=2)
Fragment size=4096 (log=2)
3726 block groups
32768 blocks per group, 32768 fragments per group
512 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,

        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
        102400000,

Writing inode tables: done
Writing superblocks and filesystem accounting information: done
Tuning hda4
show_message("Tuning hda4")
tune2fs 1.17, 26-Oct-1999 for EXT2 FS 0.5b, 95/08/09
Setting maximal mount count to -1
Setting interval between check 0 seconds
Mounting hda4
show_message("Mounting hda4")
Making directories
show_message("Making directories")
Remounting ro
show_message("Remounting ro")
hda4 completed
show_message("hda4 completed")
Zeroing hda3
show_message("Zeroing hda3")
/bin/cat: write error: No space left on device
Done!
show_message("Done!")
bash-2.01#

**********************************************************************
Comments:

1) It wrote 3726 inodes for the file system

2) You will note that one of the last things that it tried to complete was /bin/cat: write error: No space left on device. I don't recall that this was a problem before (don't know if it's a problem now). <<<<< Someone please comment on this. >>>>>

3) It seemed to build like the other drives I have used it on.

------------------------------------------------------------------

Installed the Player Software Hijack V508 (car2_v2.01_Hijack), on the drive next. It seemed to load normally except it didn't build the Tags and Database files which, I have seen before. Used the following procedure to cause a forced database/Tagas re-build (listed below) which corrected the problem. <<<<< Good Drive now. So far, so good. >>>>>

*******************************************************************
Originally Posted By: Roger

---------------------------
COMMANDED DATABASE RE-BUILD
---------------------------

If you get.....


! tags.cpp : 61:Failed to open tags (0xc0041002).


The database and playlist files were not created during the last build.

The player is capable of rebuilding the database completely from scratch.


Type q

cd /empeg/var
ls -la

If there is no Playlists or Database Files, they need to be created. There are no tags, if there isn't a database or playlist for them to exist.


mount -n -o remount,rw,nocheck /drive0
mount -n -o remount,rw,nocheck /drive1 - only if it has two drives

Delete /empeg/var/{tags,playlists,database,database3} - if they exist.

Ctrl+D to restart the player and Wait. It will return the following when it completes the re-build.

Prolux 4 empeg car - 2.1434 Jul 5 2004
Vcb: 0x4086d000


Ctrl+C to stop player.

rom

Power Cycle the player
_________________________
-- roger

***************************************************************

After the load and re-build, Vitals show 488 GB, Emplode shows 465 GB, jEmplode shows 465.4 GB. A boot of the system looks correct, unless I've missed something that someone else sees. That boot is shown below, yeah, I know about the Dead Temp Sensor.

****************************************************************
Code:
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.17-rmk5-np17-empeg55-hijack-v508 ([email protected]) (gcc version
2.95.3 20010315 (release)) #2 Fri Jan 9 16:06:35 EST 2009
Processor: Intel StrongARM-1100 revision 11
Checking for extra DRAM:
c1000000: wrote ffffffff, read e28cc001
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 9, serial number 40103852) 16MB DRAM
Command line: mem=16m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 15000k/16M available (996k 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 0x9c388
Tuner: loopback=0, ID=-1
show_message("Hijack v508 by Mark Lord")
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 d0004c00).
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 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide0 at 0x000-0x007,0x038 on irq 6
hda: WDC WD5000BEVT-22A0RT0, 476940MB w/8192kB Cache, CHS=60801/255/63, LBA48
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:28:0f:0
c
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 diskStarting player
Timezone: GB
Dead temp.sensor, status=0x00
Hijack: intercepting config.ini

hijack: removed menu entry: "Serial Port Assignment"
kftpd: listening on port 21
khttpd: listening on port 80
  player.cpp        : 385:empeg-car 2.01 2004/07/06.
Prolux 4 empeg car - 2.1434 Jul  5 2004
Vcb: 0x4086d000

****************************************************************

The Partition Table on the 500 GB Drive looks like this:
Code:
fdisk -l /dev/hda

Disk /dev/hda: 255 heads, 63 sectors, 60801 cylinders
Units = cylinders of 16065 * 512 bytes

   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     60801 488279610   83  Linux
/dev/hda5             1         3     24034+  83  Linux
/dev/hda6             4         5     16033+  82  Linux swap
empeg:/empeg/bin#


Does anyone see a problem with it? Does anyone think that we will need to expand the swap file with the larger file system of up to 1TB (2 500 GB Drives)?

--------------------------------------------------------------------

After a good load and build, I made sure Emplode would work and used Emplode to modify the config.ini file to increase the size of the ReserveCache. When you edit config.ini for the first time it only shows one entry. I put the ReserveCache=20 on the next line down (2nd Line), then performed a sync.

After the sync, (it comes back right away because there isn't any loading of database or playlist files), I edit config.ini once again (immediately after the first one - didn't close Emplode) and this time all of the other config.ini values are filled in (a common occurance). I copy the ReserveCache=20 from the 2nd line to the last line and delete the 2nd line entry. I do this because I have had problems if it performs the ReserveCache before other things set up in sequence. It works better as the last entry. I performed a sync and all is well after that.

I didn't do this on my second drive just to see what happens and I first got a Sigkill error and then a nomem error. It has always seemed consistent, although, there wasn't anything loaded on the player, which I bet comes back to bite me later on. It does seem to need ReserveCache. I fixed it and the drive looks fine.

---------------------------------------------------------------------

Performed the same procedure on the second 500 GB SATA Laptop Drive with the adapter - SAME EXACT OUTCOME - Good Drive.

****************************************************************
****************************************************************
****************************************************************

Current Status 03 14/2011. 1TB Drives


The 1TB Drive experience was different......


The SATA to IDE cards indicate that they only work with drives up to 500 GB. I asked the question earlier on another thread if that was going to be a problem with larger drives (like the 1TB drive). The answer was that it wasn't thought to be a problem. I guess that was only part wrong.

When the 1TB drive was installed and the player powered-on, it displayed the message that it couldn't find the drive - standard message without a drive connected. It didn't recognize the drive, but it did show up in the boot log. Bummer... The boot log is shown below...
Code:
***************************************************************
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.17-rmk5-np17-empeg55-hijack-v508 ([email protected]) (gcc version
2.95.3 20010315 (release)) #2 Fri Jan 9 16:06:35 EST 2009
Processor: Intel StrongARM-1100 revision 11
Checking for extra DRAM:
c1000000: wrote ffffffff, read e28cc001
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 9, serial number 40103852) 16MB DRAM
Command line: mem=16m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 15000k/16M available (996k 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 0x9c388
Tuner: loopback=0, ID=-1
show_message("Hijack v508 by Mark Lord")
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 d0004480).
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 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD10TPVT-00HT5T1, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD10TPVT-00HT5T1, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD10TPVT-00HT5T1, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD10TPVT-00HT5T1, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD10TPVT-00HT5T1, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD10TPVT-00HT5T1, ATA DISK drive
ide0 at 0x000-0x007,0x038 on irq 6
hda: WDC WD10TPVT-00HT5T1, 953869MB w/8192kB Cache, CHS=65535/255/63, LBA48
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:28:0f:0
c
Partition check:
 hda: unknown partition table
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...attempt to access beyond end of device
03: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
Dead temp.sensor, status=0x00

***************************************************************
Comments:

1) It did identify the drive.

2) It looks like it saw a big drive - attempt to access beyond end of device 03:05: rw=0, want=2, limit=0

3) It panic'd and stopped - obviously no software was loaded.

*****************************************************************

I didn't have anything to lose, so I performed the same big disk builder (V6). IT FOUND THE DRIVE, BUILT IT with the same error at the end as the 500 GB drive. The only difference was it wrote 7452 inodes on the 1TB drive. I didn't save it because it looked the same as the 500 GB drive build. Again, so far, so good.

-------------------------------------------------------------------

I loaded the player software and all went well there too.


The Partition Table looks like this:
Code:
fdisk -l /dev/hda

Disk /dev/hda: 255 heads, 63 sectors, 65535 cylinders
Units = cylinders of 16065 * 512 bytes

   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    121601 976655610   83  Linux
/dev/hda5             1         3     24034+  83  Linux
/dev/hda6             4         5     16033+  82  Linux swap
empeg:/empeg/bin#


Does anyone see a problem with it? Does anyone think that we will need to expand the swap file with the larger file system of up to 1TB (single drive or a 1 TB plus 500 GB or 1 TB)? (I know tnstaafl, laugh it up - grin).

-----------------------------------------------------------------


It didn't build the Tags and Database like the 500 GB drives, I used the same procedure to force a build and it worked the same as the 500 GB Drives. I also did the same config.ini process to ReserveCache=20 as well.

After the load and re-build, Vitals show 977 GB, Emplode shows 931 GB, jEmplode shows 930.9 GB.

The 1TB Boot looks like this:

****************************************************************
Code:
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.17-rmk5-np17-empeg55-hijack-v508 ([email protected]) (gcc version
2.95.3 20010315 (release)) #2 Fri Jan 9 16:06:35 EST 2009
Processor: Intel StrongARM-1100 revision 11
Checking for extra DRAM:
c1000000: wrote ffffffff, read e28cc001
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 9, serial number 40103852) 16MB DRAM
Command line: mem=16m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 15000k/16M available (996k 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 0x9c388
Tuner: loopback=0, ID=-1
show_message("Hijack v508 by Mark Lord")
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 d0004c80).
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 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD10TPVT-00HT5T1, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD10TPVT-00HT5T1, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD10TPVT-00HT5T1, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD10TPVT-00HT5T1, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD10TPVT-00HT5T1, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD10TPVT-00HT5T1, ATA DISK drive
ide0 at 0x000-0x007,0x038 on irq 6
hda: WDC WD10TPVT-00HT5T1, 953869MB w/8192kB Cache, CHS=65535/255/63, LBA48
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:28:0f:0
c
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 'q' now to go into development mode. You Have Zero Seconds To Comply...
Starting player
Timezone: GB
Dead temp.sensor, status=0x00
Hijack: intercepting config.ini

hijack: removed menu entry: "Serial Port Assignment"
kftpd: listening on port 21
khttpd: listening on port 80
  player.cpp        : 385:empeg-car 2.01 2004/07/06.
Prolux 4 empeg car - 2.1434 Jul  5 2004
Vcb: 0x4086d000

********************************************************************

So in summary to date.....

1) A defective SATA to IDE adapter is preventing me from trying the simultaneous multiple drive disk build. It also prevents me from exploring further capabilities.

2) I haven't loaded any music database on any drive yet. Probably this week. I would really like to try to load the database from my 2 master 250 GB IDE's onto a single 500 GB drive to start. I will probably start an Emplode load through Ethernet first just to make sure things look right.

3) I also plan to track thermals on the drives to see if they do indeed run cooler.

4) The mechanicals might be fun with 2 drives. a Single drive looks to be only a minor problem. More later.


Stay tuned, try to answer the questions I have if you can... Thanks in advance!

Ross




Edited by wfaulk (21/03/2011 14:43)
Edit Reason: code and quote tags
_________________________
In SI, a little termination and attention to layout goes a long way. In EMC, without SI, you'll spend 80% of the effort on the last 3dB.

Top
#343395 - 15/03/2011 11:43 Re: Using SATA Laptop Drives with Empeg [Re: Ross Wellington]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Ross, your vastly huge single-post is too large to easily quote/comment from.

Can you break it up into separate articles of more modest size for discussion?

Nevermind.. I managed to get through the entire tome now. smile


Edited by mlord (15/03/2011 11:54)

Top
#343396 - 15/03/2011 11:45 Re: Using SATA Laptop Drives with Empeg [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Quote:
1) It wrote 3726 inodes for the file system

No, it created space for (512 * 3726) = 1907712 inodes.

Quote:
/bin/cat: write error: No space left on device.

Normal and expected in that context.

Cheers

Top
#343397 - 15/03/2011 11:56 Re: Using SATA Laptop Drives with Empeg [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Quote:
03: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

That looks normal for trying to boot from a blank drive of any capacity.

Top
#343398 - 15/03/2011 11:57 Re: Using SATA Laptop Drives with Empeg [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
So.. in summary.. everything works for single-drive 500GB and single-drive 1TB setups. Right?

Cheers

Top
#343420 - 15/03/2011 18:46 Re: Using SATA Laptop Drives with Empeg [Re: mlord]
Ross Wellington
enthusiast

Registered: 21/02/2006
Posts: 325
Hi Mark,

Everything looks good so far. I will try to load some on each as a test run this week. By the way as you probably already know, I used a Mk2a for my integration platform. I will regression test it across the 10 units I gathered for that purpose when I am sure we have a good system (which may be now - for that matter).

I was quite pleased how they came up actually.

None of this would have been possible without the BBS and the efforts of many including yourself.

It has amazed me how well thought-out the interfaces are and that we have been able to scale the storage capacity the way we can.

MANY are to be congratulated from the inception to the continuing support of the product.

Thanks Very much,

Ross
_________________________
In SI, a little termination and attention to layout goes a long way. In EMC, without SI, you'll spend 80% of the effort on the last 3dB.

Top
#343438 - 16/03/2011 16:37 Re: Using SATA Laptop Drives with Empeg [Re: Ross Wellington]
Phoenix42
veteran

Registered: 21/03/2002
Posts: 1424
Loc: MA but Irish born
It is a little crazy that it accepts storage 100 times greater that it shipped with.

Top
#343463 - 17/03/2011 04:04 Re: Using SATA Laptop Drives with Empeg [Re: Phoenix42]
Ross Wellington
enthusiast

Registered: 21/02/2006
Posts: 325
True.

I don't think many products that are >10 years old would scale like it.

Ross
_________________________
In SI, a little termination and attention to layout goes a long way. In EMC, without SI, you'll spend 80% of the effort on the last 3dB.

Top
#343465 - 17/03/2011 06:09 Re: Using SATA Laptop Drives with Empeg [Re: Ross Wellington]
simspos
enthusiast

Registered: 28/03/2002
Posts: 230
Loc: Dudley, UK
Originally Posted By: Ross Wellington
I don't think many products that are >10 years old would scale like it.

Praise be that my other beloved piece of ancient tech does the same - Series 1 TIVO - must be a Linux thing!

Cheers, Sim

Top
#343517 - 18/03/2011 23:00 Re: Using SATA Laptop Drives with Empeg [Re: simspos]
Ross Wellington
enthusiast

Registered: 21/02/2006
Posts: 325
Hi,

Okay, I'm stuck.

While trying to load a larger database (small .mp3 files will load fine), I am unable to get it to complete the load. It will download the database, then try to reinitialize the player and it doesn't ever come back. It marks the "Retreiving Database" field with a Yellow Exclamation Point and dies with a message window that says it couldn't complete the load.

The serial boot string after the event happened and after a player power-off, then power-on looks like this (I found out that it was rolling the first part (same message), for hours before I stopped it):


***************************************************************
Code:
Flags: Nzcv  IRQs on  FIQs on  Mode USER_32  Segment user
Control: C0F3117D  Table: C0F3117D  DAC: 00000015
Timezone: GB
player: permission fault on section, address=0xffffffd8, code 2
pc : [<020cb080>]    lr : [<02000104>]
sp : bfffff5c  ip : 00000000  fp : 00000000
r10: 00000000  r9 : 00000000  r8 : 00000000
r7 : 00000000  r6 : 00000000  r5 : 00000000  r4 : 00000000
r3 : 020000c0  r2 : bfffff64  r1 : 00000001  r0 : 00000000
Flags: Nzcv  IRQs on  FIQs on  Mode USER_32  Segment user
Control: C0F3117D  Table: C0F3117D  DAC: 00000015
Timezone: GB
player: permission fault on section, address=0xffffffd8, code 2
pc : [<020cb080>]    lr : [<02000104>]
sp : bfffff5c  ip : 00000000  fp : 00000000
r10: 00000000  r9 : 00000000  r8 : 00000000
r7 : 00000000  r6 : 00000000  r5 : 00000000  r4 : 00000000
r3 : 020000c0  r2 : bfffff64  r1 : 00000001  r0 : 00000000
Flags: Nzcv  IRQs on  FIQs on  Mode USER_32  Segment user
Control: C0F3117D  Table: C0F3117D  DAC: 00000015
Timezone: GB
player: permission fault on section, address=0xffffffd8, code 2
pc : [<020cb080>]    lr : [<02000104>]
sp : bfffff5c  ip : 00000000  fp : 00000000
r10: 00000000  r9 : 00000000  r8 : 00000000
r7 : 00000000  r6 : 00000000  r5 : 00000000  r4 : 00000000
r3 : 020000c0  r2 : bfffff64  r1 : 00000001  r0 : 00000000
Flags: Nzcv  IRQs on  FIQs on  Mode USER_32  Segment user
Control: C0F3117D  Table: C0F3117D  DAC: 00000015

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.17-rmk5-np17-empeg55-hijack-v508 ([email protected]) (gcc version
2.95.3 20010315 (release)) #2 Fri Jan 9 16:06:35 EST 2009
Processor: Intel StrongARM-1100 revision 11
Checking for extra DRAM:
c1000000: wrote ffffffff, read e28cc001
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 9, serial number 40103852) 16MB DRAM
Command line: mem=16m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 15000k/16M available (996k 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 0x9c388
Tuner: loopback=0, ID=-1
show_message("Hijack v508 by Mark Lord")
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 d0005580).
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 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0000
ide_data_test: wrote 0xffff read 0x0000
ide_data_test: wrote 0xaaaa read 0x0000
ide_data_test: wrote 0x5555 read 0x0000
hda: WDC WD5000BEVT-22A0RT0, ATA DISK drive
ide0 at 0x000-0x007,0x038 on irq 6
hda: WDC WD5000BEVT-22A0RT0, 476940MB w/8192kB Cache, CHS=60801/255/63, LBA48
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:28:0f:0
c
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 'q' now to go into development mode. You Have Zero Seconds To ComplyþStart
ing player
Timezone: GB
Dead temp.sensor, status=0x00
Hijack: intercepting config.ini

hijack: removed menu entry: "Serial Port Assignment"
kftpd: listening on port 21
khttpd: listening on port 80
  player.cpp        : 385:empeg-car 2.01 2004/07/06.
! tags.cpp          :  61:Failed to open tags (0xc0041002).
Prolux 4 empeg car - 2.1434 Jul  5 2004
Vcb: 0x4086d000

*************************************************************


It's very repeatable, happens on both 500 GB drives and the 1TB drive. It is directly related to a drive with the SATA to IDE Adpater connected, not cable position sensitive. As I said, it will operate properly with a few .mp3 files, but a larger database (mixed 16.5 GB) it fails.

I have the player on it's own private computer and ethernet switch (the same as I have spent many days/weeks uploading 350GB files on multiple Player Music Databases on). The ethernet is optimized for best transfer rate. The room temperature is 70 Degrees, the drive temperature is monitored (it never exceeded 86 Degrees). The integration platform is the same one I used for the other 350 GB player database loads. Power supply is only marginally warm.


Obviously, the drive has to be rebuilt (Big_Disk_Builder), I did just try to repair the tags and database, not good enough. Rebuilt all three drives many times during the week while troubleshooting the problem.



So... I used a spare WD 250 GB IDE (WD2500BEVE) interface drive in the same system. Same database (16.5 GB - mixed .wav & .mp3), it completed it fine and I'm listening to it play at the moment.


By the way, could a build be prepared that forces a rebuild at the end of the process, almost every player load, doesn't have tags or database files created or they get deleted.



Any ideas?

1) Is there a way to check whether it is an internal thing? Should I try to write a large file by the command prompt and see if it can read back the same file and compare it to either RAM or another file on the disk media (kind of like an old DOS File-Compare but make the file huge)? What's the best way to do this?

2) I don't think it is a latency problem with the Ethernet channel. It's possible that the local bus might become saturated due to disk write delays clogging up the bus.

3) It could be that the SATA to IDE translation may have too much latency and it could be a buffer flow control issue. Are the loads DMA, PIO, or IRQ managed? Can't do much with that unless I want to gather more timing information (set-up/hold timing), with an oscilloscope and logic analyzer. No schematic though, I'd have to reverse engineer the bus from a couple of bus component datasheets.

4) It could be that the rotational latency plus the SATA to IDE translator card processing delays combined may clog or starve the bus. Both 500GB and 1TB Drives use WD IntelliPower Technology. Could this be related to the problem? Does anyone know if there is a way to disable the IntelliPower feature?

The WD2500BEVE is a 5400 RPM Drive and they have always worked for me (lots of 'em). Slower rotational drive, slower (but not processed bus), but, I could be surprised.

I will try a 7200 RPM Disk Drive and see if that works better. Just tried to get one from Best Buy, had them retrieve a WD 320GB from the glass cabinet at $49.95, had it in my hand at the counter, register price $74.95. Had them recheck the price in the glass case, bait-N-switch, placed it in the wrong place on the shelf. It wasn't worth fighting over, so I left it there at the register counter. I'll just buy one on Tuesday from Software and More (by the way, they have been real good to buy from).

5) Plenty of cache on both drives, fast SATA 3 I/F. Shouldn't be the problem. Old drives 8MB, new drives 32MB, it should improve the situation not hurt it.


I would like to split the problem up some so that I can effectively troubleshoot what it going on.


Thanks,

Ross


Edited by wfaulk (21/03/2011 14:39)
Edit Reason: code tags
_________________________
In SI, a little termination and attention to layout goes a long way. In EMC, without SI, you'll spend 80% of the effort on the last 3dB.

Top
#343518 - 18/03/2011 23:09 Re: Using SATA Laptop Drives with Empeg [Re: Ross Wellington]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
It undoubtedly is a "memory thing".

Try this, if you can: configure a small drive (as small as you can) with the same files and database. Boot up, kill the player (Control^C), and dump out /proc/meminfo and post the contents here.

And also do the same with your huge drives: kill off the player (heh.. it kills itself), and post the contents of /proc/meminfo here.

-ml

Top
#343523 - 19/03/2011 05:35 Re: Using SATA Laptop Drives with Empeg [Re: mlord]
Ross Wellington
enthusiast

Registered: 21/02/2006
Posts: 325
Hi Mark,

Do both drives need to be SATA interface? I have some 10GB drives around here from some of the players I purchased that are IDE. If they have to be SATA, I will go buy one from a laptop repair shop. I would think they would be glad to get rid of one.



Both of these dumps are with the generic ReserveCache=xx. I have not changed it to ReserveCache=20. It didn't seem to make a difference with the problem.


For the meantime, here is a dump (and I use that term lightly) of the 500 GB SATA drive (clean install), that you asked for.


This one is missing the Tags & Database Files:
Code:
empeg:/empeg/bin# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  15314944  5599232  9715712  1310720   487424  3829760
Swap:        0        0        0
MemTotal:     14956 kB
MemFree:       9488 kB
MemShared:     1280 kB
Buffers:        476 kB
Cached:        3740 kB
SwapTotal:        0 kB
SwapFree:         0 kB
empeg:/empeg/bin#

-----------------------------------------------------

This one has the Tags and Database Files fixed:
Code:
empeg:/empeg/bin# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  15314944  5607424  9707520  1306624   487424  3837952
Swap:        0        0        0
MemTotal:     14956 kB
MemFree:       9480 kB
MemShared:     1276 kB
Buffers:        476 kB
Cached:        3748 kB
SwapTotal:        0 kB
SwapFree:         0 kB
empeg:/empeg/bin#


***************************************************************

Here is also a dump of the 250 GB IDE that works too (good tags).
Code:
empeg:/empeg/bin# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  15314944  6090752  9224192  1306624   786432  3977216
Swap:        0        0        0
MemTotal:     14956 kB
MemFree:       9008 kB
MemShared:     1276 kB
Buffers:        768 kB
Cached:        3884 kB
SwapTotal:        0 kB
SwapFree:         0 kB
empeg:/empeg/bin#

**********************************************************

I changed the config.ini to add ReserveCache=20. *********


This is what it the 250 GB IDE Drive looks like:
Code:
empeg:/empeg/bin# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  15314944  6090752  9224192  1306624   786432  3977216
Swap:        0        0        0
MemTotal:     14956 kB
MemFree:       9008 kB
MemShared:     1276 kB
Buffers:        768 kB
Cached:        3884 kB
SwapTotal:        0 kB
SwapFree:         0 kB
empeg:/empeg/bin#

********************************************************

Here is what the 500 GB Drive looks like with ReserveCache=20

Code:
empeg:/empeg/bin# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  15314944  5611520  9703424  1310720   487424  3842048
Swap:        0        0        0
MemTotal:     14956 kB
MemFree:       9476 kB
MemShared:     1280 kB
Buffers:        476 kB
Cached:        3752 kB
SwapTotal:        0 kB
SwapFree:         0 kB
empeg:/empeg/bin#

***********************************************************

Looks like it doesn't make a difference here either.

Do you want more?


Ross


Edited by wfaulk (21/03/2011 14:38)
Edit Reason: code tags
_________________________
In SI, a little termination and attention to layout goes a long way. In EMC, without SI, you'll spend 80% of the effort on the last 3dB.

Top
#343532 - 19/03/2011 12:19 Re: Using SATA Laptop Drives with Empeg [Re: Ross Wellington]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Thanks. I don't see any obvious clues there, which is kind of weird -- I expected to see a significantly smaller MemFree value or something.

My theory was that the metadata for the HUGE drives might have drained quite a bit more ram than for smaller drives, causing the player app to run low on memory.

But.. no evidence there. That's still my theory, though. smile

Top
#343533 - 19/03/2011 15:20 Re: Using SATA Laptop Drives with Empeg [Re: mlord]
Ross Wellington
enthusiast

Registered: 21/02/2006
Posts: 325
Hi Mark,

Do you want me to try a small drive? Does it need to be a SATA?

Thanks,

Ross
_________________________
In SI, a little termination and attention to layout goes a long way. In EMC, without SI, you'll spend 80% of the effort on the last 3dB.

Top
#343543 - 19/03/2011 20:34 Re: Using SATA Laptop Drives with Empeg [Re: Ross Wellington]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
If you have a small one, then yes please. And it could be any of SATA, IDE, or SSD (either flavour).

Thanks

Top
#343551 - 20/03/2011 00:09 Re: Using SATA Laptop Drives with Empeg [Re: mlord]
Ross Wellington
enthusiast

Registered: 21/02/2006
Posts: 325
Hi,

All of my 10 GB and 12 GB drives are too old and wouldn't boot in the system.

Here is a dump of a 40 GB drive.

Code:
empeg:/empeg/bin# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  15331328 12759040  2572288  1261568  8400896  2072576
Swap:        0        0        0
MemTotal:     14972 kB
MemFree:       2512 kB
MemShared:     1232 kB
Buffers:       8204 kB
Cached:        2024 kB
SwapTotal:        0 kB
SwapFree:         0 kB
empeg:/empeg/bin#


Is this what you wanted? I can start looking at other drives if you need more information. I could build one of the 10 or 12 GB Drives and then give you the information from that one.

What do you think? Lots of changes.


Thanks,

Ross


Edited by wfaulk (21/03/2011 14:37)
Edit Reason: code tags
_________________________
In SI, a little termination and attention to layout goes a long way. In EMC, without SI, you'll spend 80% of the effort on the last 3dB.

Top
#343553 - 20/03/2011 00:54 Re: Using SATA Laptop Drives with Empeg [Re: Ross Wellington]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Weird. Something peculiar about that last one -- the MemFree number is WAY too small. Was the player software still running at the time ??

Top
#343557 - 20/03/2011 03:11 Re: Using SATA Laptop Drives with Empeg [Re: Ross Wellington]
Ross Wellington
enthusiast

Registered: 21/02/2006
Posts: 325
Hi Mark,

I just put an older drive in the player, made sure it booted right, and got the information you wanted.

I will take one of the 10 GB drives, install new software on it and get the information for you.

What builder and player software do you want me to put on a 10 GB drive?

Ross
_________________________
In SI, a little termination and attention to layout goes a long way. In EMC, without SI, you'll spend 80% of the effort on the last 3dB.

Top
#343558 - 20/03/2011 03:56 Re: Using SATA Laptop Drives with Empeg [Re: Ross Wellington]
Ross Wellington
enthusiast

Registered: 21/02/2006
Posts: 325
Hi Mark,

I was able to build a 12 GB IBM Travelstar drive with the Car2-developer-v.200 builder. It didn't create the tag & database files.

This is the meminfo for that drive:

Code:
empeg:/empeg/bin# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  15339520  5480448  9859072  1306624   335872  3899392
Swap:        0        0        0
MemTotal:     14980 kB
MemFree:       9628 kB
MemShared:     1276 kB
Buffers:        328 kB
Cached:        3808 kB
SwapTotal:        0 kB
SwapFree:         0 kB
empeg:/empeg/bin#

This is what it looks like with car2_v2.01_hijack. It didn't build the tags or database either.
Code:
empeg:/empeg# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  15339520  5615616  9723904  1318912   335872  4018176
Swap:        0        0        0
MemTotal:     14980 kB
MemFree:       9496 kB
MemShared:     1288 kB
Buffers:        328 kB
Cached:        3924 kB
SwapTotal:        0 kB
SwapFree:         0 kB
empeg:/empeg# 

Do you have a different one that you want me to load?

Thanks,

Ross


Edited by wfaulk (21/03/2011 14:36)
Edit Reason: code tags
_________________________
In SI, a little termination and attention to layout goes a long way. In EMC, without SI, you'll spend 80% of the effort on the last 3dB.

Top
#343562 - 20/03/2011 12:16 Re: Using SATA Laptop Drives with Empeg [Re: Ross Wellington]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
That's enough. Nothing from any of those shows evidence of severe memory consumption, so that theory is toast. smile

Something else must be wrong somewhere.

player: permission fault on section, address=0xffffffd8, code 2

0xffffffd8 is -40, which is a peculiar address to be faulting on. Usually accesses after a "failed allocation" result in a positive offset from NULL (0), rather a negative offset. I wonder what's happening there.

Cheers

Top
#343586 - 21/03/2011 06:01 Re: Using SATA Laptop Drives with Empeg [Re: mlord]
Ross Wellington
enthusiast

Registered: 21/02/2006
Posts: 325
Hi Mark,

I also noticed something else that was strange too. It performed the "commanded re-build" differently than I have seen with the IDE drive. Could be wrong, but don't remember the "968 line item".

************************************************************
Code:
  player.cpp        : 385:empeg-car 2.01 2004/07/06.
! tags.cpp          :  61:Failed to open tags (0xc0041002).
Prolux 4 empeg car - 2.1434 Jul  5 2004
Vcb: 0x4086d000
q
Dead temp.sensor, status=0x00
Restored terminal settings
Remounting first music partition read-only
Remounting second music partition read-only
No secondary hard disk
Player exited normally: 0
Switching to shell-player loop
Starting bash.
empeg:/empeg/bin# mount -n -o remount,rw,nocheck /drive0
empeg:/empeg/bin# logout
Shell exit
Starting player
Timezone: GB
Hijack: intercepting config.ini


! tags.cpp          :  61:Failed to open tags (0xc0041002).
! fidfile_disk.cpp  : 968:Why did write return zero for offset=0, size=0?
Prolux 4 empeg car - 2.1434 Jul  5 2004
Vcb: 0x4086d000
Restored terminal settings
Remounting first music partition read-only
Tried to remount -ro /dev/hda4 but got error 16
Remounting partitions read-only failed (aiee!)
Abnormal player termination
Player received SIGINT, user interruption
Switching to shell-player loop
Starting bash.
empeg:/empeg/bin# rom
empeg:/empeg/bin# exit
logout
Shell exit
Starting player
Timezone: GB
Hijack: intercepting config.ini

  player.cpp        : 385:empeg-car 2.01 2004/07/06.
Prolux 4 empeg car - 2.1434 Jul  5 2004
Vcb: 0x4086d000

************************************************************


I tried to obtain more information of what was going on so I set up one desktop as an RS-232 serial port with a HyperTerm and another desktop (my Simulation System) as an Ethernet Emplode system. Two separate computers, they don't share, no sharing violations.

I prepared a fresh load on a 500 GB SATA Interfaced drive, opened the HyperTerm computer system to record whatever it would report. I opened Emplode on the Ethernet system, selected the 60 MB test file, and performed a sync. Since the 250 GB drive was already prepped and was able to load a 16.5 GB session, I just performed the Emplode session the same as the 500 GB SATA drive.


With the 500 GB Drive it reports through the Serial port the following:
Code:
Unable to find swap-space signature
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.

**************************************************************

The 250 GB IDE drive reports the following for the same file and operation:

Code:
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 player
Timezone: GB
Hijack: intercepting config.ini

Dead temp.sensor, status=0x00
  player.cpp        : 385:empeg-car 2.01 2004/07/06.
Prolux 4 empeg car - 2.1434 Jul  5 2004
Vcb: 0x4086d000

**********************************************************

They have different responses as you can see with Swap Space.


***********************************************************

I installed the 2 each 250 GB IDE Drives in the system to see if there was a difference. There is a big difference in the SWAP FILE SIZE, 16 MB vs. 64 MB. I thought we had that fixed at one time, did we break it with the new v.508 Big_Disk_Builder code? The drives with the 64 MB Swap File have v.508 hijack on them and the 16 MB version does too. Are there two different versions of the builder? One that builds 16 MB and one that builds 64 MB that go with v.508? See below:

Code:
Adding Swap: 64224k 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.
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/
hdc4 is mounted.
! playerdb.cpp      : 182:Failed to build dynamic database (status=0xc004401a).
Restored terminal settings
Remounting first music partition read-only
Remounting second music partition read-only
Restart code received
Starting player
Timezone: GB
Hijack: intercepting config.ini

  player.cpp        : 385:empeg-car 2.01 2004/07/06.
! tags.cpp          :  61:Failed to open tags (0xc0041002).

***********************************************************

I know there is another problem going on during this experiment and I may have to reload the database if a forced rebuilding of the database and tags doesn't work. I really hope not, it was my master set.


By the way, this is the /proc/meminfo for the 2 each 250 GB IDE drives in the same system if this helps any:

Code:
empeg:/empeg/bin# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  15302656  5685248  9617408  1257472   577536  3747840
Swap:        0        0        0
MemTotal:     14944 kB
MemFree:       9392 kB
MemShared:     1228 kB
Buffers:        564 kB
Cached:        3660 kB
SwapTotal:        0 kB
SwapFree:         0 kB
empeg:/empeg/bin#

***********************************************************

This is the boot for the 2 each 250 GB IDE drives (note v.508)

Code:
e000 v1.04
Copying kernel...
Calling linux kernel...
Uncompressing Linux..................................... done, booting the kerne
l.
Linux version 2.2.17-rmk5-np17-empeg55-hijack-v508 ([email protected]) (gcc version
2.95.3 20010315 (release)) #2 Fri Jan 9 16:06:35 EST 2009
Processor: Intel StrongARM-1100 revision 11
Checking for extra DRAM:
c1000000: wrote ffffffff, read e28cc001
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 9, serial number 40103852) 16MB DRAM
Command line: mem=16m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 15000k/16M available (996k 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 0x9c388
Tuner: loopback=0, ID=-1
show_message("Hijack v508 by Mark Lord")
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 d0004700).
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 0x8080
ide_data_test: wrote 0xffff read 0x8080
ide_data_test: wrote 0xaaaa read 0x8080
ide_data_test: wrote 0x5555 read 0x8080
ide_data_test: wrote 0x0000 read 0x8080
ide_data_test: wrote 0xffff read 0x8080
ide_data_test: wrote 0xaaaa read 0x8080
ide_data_test: wrote 0x5555 read 0x8080
ide_data_test: wrote 0x0000 read 0x8080
ide_data_test: wrote 0xffff read 0x8080
ide_data_test: wrote 0xaaaa read 0x8080
ide_data_test: wrote 0x5555 read 0x8080
ide_data_test: wrote 0x0000 read 0x8080
ide_data_test: wrote 0xffff read 0x8080
ide_data_test: wrote 0xaaaa read 0x8080
ide_data_test: wrote 0x5555 read 0x8080
ide_data_test: wrote 0x0000 read 0x8080
ide_data_test: wrote 0xffff read 0x8080
ide_data_test: wrote 0xaaaa read 0x8080
ide_data_test: wrote 0x5555 read 0x8080
hdb: WDC WD2500BEVE-00WZT0, ATA DISK drive
ide_data_test: wrote 0x0000 read 0x0001
ide_data_test: wrote 0xffff read 0x0001
ide_data_test: wrote 0xaaaa read 0x0001
ide_data_test: wrote 0x5555 read 0x0001
hda: WDC WD2500BEVE-00WZT0, ATA DISK drive
hdb: WDC WD2500BEVE-00WZT0, ATA DISK drive
ide0 at 0x000-0x007,0x038 on irq 6
hda: WDC WD2500BEVE-00WZT0, 238475MB w/8192kB Cache, CHS=30401/255/63, LBA48
hdb: WDC WD2500BEVE-00WZT0, 238475MB w/8192kB Cache, CHS=30401/255/63, LBA48
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:28:0f:0
c
Partition check:
 hda: hda1 < hda5 hda6 > hda2 hda3 hda4
 hdb: hdb1 < hdb5 hdb6 > hdb2 hdb3 hdb4
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
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
Timezone: GB
Hijack: intercepting config.ini

hijack: removed menu entry: "Hard Disk Detection"
hijack: removed menu entry: "Serial Port Assignment"
kftpd: listening on port 21
khttpd: listening on port 80
  player.cpp        : 385:empeg-car 2.01 2004/07/06.
Dead temp.sensor, status=0x00

Prolux 4 empeg car - 2.1434 Jul  5 2004
Vcb: 0x4086d000

**********************************************************

This is the partition table for the 2 each 250 GB IDE Drives:

Code:
empeg:/empeg/bin# fdisk -l /dev/hda

Disk /dev/hda: 255 heads, 63 sectors, 30401 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1        11     88326    5  Extended
/dev/hda2            12        16     40162+  83  Linux
/dev/hda3            17        21     40162+  10  OPUS
/dev/hda4            22     30401 244027350   83  Linux
/dev/hda5   *         1         3     24034+  83  Linux
/dev/hda6             4        11     64228+  82  Linux swap
empeg:/empeg/bin#

************************************************************

If you look at the earlier Partition Table dumps for the v.508 builder, they show that it only builds a 16 MB Swap File. Could be a Swap File size issue.

What do you think?


Thanks,

Ross


Edited by wfaulk (21/03/2011 14:35)
Edit Reason: put empeg output inside code tags; hopefully made it a little more readable
_________________________
In SI, a little termination and attention to layout goes a long way. In EMC, without SI, you'll spend 80% of the effort on the last 3dB.

Top
#343593 - 21/03/2011 12:21 Re: Using SATA Laptop Drives with Empeg [Re: Ross Wellington]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Quote:
What do you think?

I think that you should break up your thousand line posts into smaller ones, with only one or two concise questions per post, to make it easy for us to respond to the points within.

Cheers

Top
#343594 - 21/03/2011 12:22 Re: Using SATA Laptop Drives with Empeg [Re: mlord]
mlord
carpal tunnel

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

! tags.cpp : 61:Failed to open tags (0xc0041002).
! fidfile_disk.cpp : 968:Why did write return zero for offset=0, size=0?
Prolux 4 empeg car - 2.1434 Jul 5 2004

That does look weird. I don't know if it is significant or not (closed source stuff).

Top
#343595 - 21/03/2011 12:23 Re: Using SATA Laptop Drives with Empeg [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Quote:
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.

That is perfectly normal behaviour (for an empeg), and is seen on every boot of every empeg, regardless of software load and/or disk size(s).

Top
#343596 - 21/03/2011 12:32 Re: Using SATA Laptop Drives with Empeg [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Quote:
I installed the 2 each 250 GB IDE Drives in the system to see if there was a difference. There is a big difference in the SWAP FILE SIZE, 16 MB vs. 64 MB.

Ahh.. now that's significant.

I did at one time try to create a fancy experimental bigdisk builder, which diverged radically from the standard empeg smalldisk layout, with more swap and the like.

But the built-in bootloader code (initrd image) keeps trying to enforce the original layout at every power-on, making that attempt rather risky. So I abandoned the approach.

You just might have that version of the builder still kicking around there. I think it could cause issues, if one is not careful about ensuring that a player always has the correct hijack etc.. installed at power-on. But then, you do seem rather meticulous about these things! smile

I no longer know which builder is which, having not run a builder for years now. But the experimental builder that used a modified partition layout (larger swap) should probably be scrapped completely.

Cheers

Top
#343597 - 21/03/2011 12:33 Re: Using SATA Laptop Drives with Empeg [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
What builder image are you using? Perhaps I could grab a copy of it from you, and compare to what I have in my development directories?

Top
#343606 - 21/03/2011 13:51 Re: Using SATA Laptop Drives with Empeg [Re: mlord]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Originally Posted By: mlord
Quote:

! tags.cpp : 61:Failed to open tags (0xc0041002).
! fidfile_disk.cpp : 968:Why did write return zero for offset=0, size=0?
Prolux 4 empeg car - 2.1434 Jul 5 2004

That does look weird. I don't know if it is significant or not (closed source stuff).


(0xc0041002) is ENOENT. This simply means that the /empeg/var/tags file could not be found. Probably not that significant.

The error from fidfile_disk.cpp is probably significant. It looks like it's attempting to write the database, but failing (and not with "it's read-only"). At least, I think that fidfile_disk.cpp also contains the database writing code.
_________________________
-- roger

Top
#343611 - 21/03/2011 14:25 Re: Using SATA Laptop Drives with Empeg [Re: Roger]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Well, from the "error" message: it says it tried to write zero bytes, which succeeded (return value of zero), and then it complained. smile

Top
#343612 - 21/03/2011 14:51 Re: Using SATA Laptop Drives with Empeg [Re: mlord]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Originally Posted By: mlord
Well, from the "error" message: it says it tried to write zero bytes, which succeeded (return value of zero), and then it complained. smile


Doh! I was focussing on the return value of zero -- i.e. nothing was written. In most cases, that'd be an error. Of course, since it attempted to write zero bytes, it's not (well, not in write, anyway).

Is there any music on this disk at all? If it's attempting to write the database (or playlists) file, then it could be caused by having a missing or corrupt root playlist (100) file. Unless, of course, it's attempting to write the tags file, in which case, something more serious is wrong, since the first half-dozen (or so) lines of that file are canned and are written from a const string in the player binary.

The fact that the error message talks about the tags file can be a red herring, since that's the file the player uses to detect a missing database.
_________________________
-- roger

Top
#343812 - 27/03/2011 02:02 Re: Using SATA Laptop Drives with Empeg [Re: Ross Wellington]
Ross Wellington
enthusiast

Registered: 21/02/2006
Posts: 325
Hi,

I'm about out of ideas here. There hasn't been anything posted recently because I have worked this on and off as time permitted. I have spent a lot of time though trying to identify what works and what doesn't.

As requested, I will break up the activity into separate messages to make it easier to read and respond. This message is about the SATA to EIDE Adapter.


I found a few issues with the SATA to EIDE Adapter I am using.


1) I have tried 4 of the same adapter part number (listed previously in the this thread), from the same vendor. One works, the other 3 do not (the one that returned was probably good, I'll buy that one back so they don't have to eat it).

There are 2 different revisions of the JM20330 JMicro Chip. One works, one doesn't. Unfortunately, the top of the chip is covered by the QC sticker and must be removed to see what revision the chip is. No seller is going to want to pull stickers to sell them.

The one that works is marked: JMicro JM20330 0730 GTAZ0 B2 114250026.

The one that doesn't work is marked: JMicro JM20330 0551 B2 110200023 TGS.

They look like they are both a B2 stepping, possibly different foundry or package vendor (GTAZ0 vs TGS), don't know what the 9 digit part number means.


2) The Empeg doesn't like the Drive Select jumper setting on the adapter. I can only get it to look at the drive with the jumper removed. I can't find documentation on the adapter so I don't know if it Drive Select 0 or 1 or a Drive Compatibility setting.

I do know that when I run the builder it only creates 16 MB of Swap Space (one of the builders puts 64 MB on HDA and 16 MB on HDC - I think). If in fact we need the 64 MB Swap Space, we're out of luck unless the builder is changed. This was mentioned in the big builder V3 thread. mark has later said that the 64 MB builder was only experimental.


3) The JMicro chip is a SATA Generation 1 Compatible design. I don't know if it is compatible with either side of the busses (SATA or EIDE). I suspect it isn't because using HDPARM it won't pass the all of Power Management commands across to the drive. The drive has the capability, it will accept the -S0 (no Standby), but won't accept -B255 (Power Down to off) on either the 250 GB EIDE Drive or the 500 GB SATA Interfaces Drive. It reports back that it is undefined with hdparm - C /dev/hda. I could be wrong, though. This is the serial output.

hdparm -B255 -S0 -K1 /dev/hda

/dev/hdahda: drv_cmd: status=0x51:
setti
ng drive hda: drv_cmd: error=0x04keep feat
ures to 1 (on)
HDIO_DRIVE_CMD(keepsettings) failed: Input/output error
setting Advanced Power Management level to disabled
setting standby to 0 (off)
empeg:/empeg/bin#

More details in another message in the thread.



I will look at a couple of other adapters and see if there is another implementation of the JMicro or another controller. Any suggestions?

If the 64 MB is an issue, can a builder that installs 64 MB Swap Space on Both HDA and HDC? Would this help?

I guess I can try a different drive vendor too and see what they do.


What do you guys think?

See other entries for this project.

Thanks,

Ross
_________________________
In SI, a little termination and attention to layout goes a long way. In EMC, without SI, you'll spend 80% of the effort on the last 3dB.

Top
Page 1 of 2 1 2 >