#343391 - 15/03/2011 04:19
Using SATA Laptop Drives with Empeg
|
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-...=item1e62297c44I 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. **********************************************************************
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. >>>>> ******************************************************************* --------------------------- 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. ****************************************************************
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:
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...
***************************************************************
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:
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: ****************************************************************
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]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
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.
Edited by mlord (15/03/2011 11:54)
|
Top
|
|
|
|
#343396 - 15/03/2011 11:45
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
1) It wrote 3726 inodes for the file system No, it created space for (512 * 3726) = 1907712 inodes. /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]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
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]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
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]
|
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]
|
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]
|
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]
|
enthusiast
Registered: 28/03/2002
Posts: 230
Loc: Dudley, UK
|
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]
|
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): ***************************************************************
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]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
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]
|
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:
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:
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).
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:
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
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]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
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.
|
Top
|
|
|
|
#343533 - 19/03/2011 15:20
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
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]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
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]
|
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.
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]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
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]
|
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]
|
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:
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.
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]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
That's enough. Nothing from any of those shows evidence of severe memory consumption, so that theory is toast. Something else must be wrong somewhere. player: permission fault on section, address=0xffffffd8, code 20xffffffd8 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]
|
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". ************************************************************
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:
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:
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:
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:
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)
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:
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]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
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]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
! 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]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
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]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
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! 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]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
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]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
! 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
|
|
|
|
#343612 - 21/03/2011 14:51
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
Well, from the "error" message: it says it tried to write zero bytes, which succeeded (return value of zero), and then it complained. 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]
|
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
|
|
|
|
#343834 - 28/03/2011 14:24
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
player: permission fault on section, address=0xffffffd8, code 2
0xffffffd8 is -40 Oh, duh.. I just clued into what that means: -40 was probably an errno return from some function that normally returns a pointer on success. So.. -40 = -ELOOP = "Too many levels of symbolic links". Does that filesystem have a symbolic link that points at itself, or at the same directory that contains the link, or something ?
|
Top
|
|
|
|
#343835 - 28/03/2011 14:30
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
A way to perhaps get more debug info, would be to kill off the player after booting, and then rerun it with strace:
rwm strace -f player &> /drive0/log rom
Then post the /drive0/log file here as an attachment.
In case you don't already have strace, I'm attaching it again to this post. Put it onto your empeg, mark it as executable, and give the full pathname for it in the above command.
Cheers
Attachments
strace.binary (428 downloads)Description: strace command for the empeg.
|
Top
|
|
|
|
#343852 - 29/03/2011 05:00
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
enthusiast
Registered: 21/02/2006
Posts: 325
|
Hi,
I have to demonstrate my inexperience again.
How do I load the strace into the the player and make it executable? After it is loaded is it just a reane and permissions thing?
Do you want it loaded into root?
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
|
|
|
|
#343855 - 29/03/2011 06:55
Re: Using SATA Laptop Drives with Empeg
[Re: Ross Wellington]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
How do I load the strace into the the player and make it executable? Using your favourite serial terminal program:
# rw;rwm
# cd /drive0
(in terminal program, use ZModem to send the file; the developer build of the player has the necessary bits on it)
# mv strace.binary strace
# chmod +x strace
(what Mark said earlier)
_________________________
-- roger
|
Top
|
|
|
|
#343857 - 29/03/2011 10:52
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
Or just FTP it over, which might be simpler than Zmodem in this era. Doh! Forgot that Hijack has FTP. Nah. Go old-school.
_________________________
-- roger
|
Top
|
|
|
|
#343909 - 31/03/2011 16:39
Re: Using SATA Laptop Drives with Empeg
[Re: Roger]
|
enthusiast
Registered: 21/02/2006
Posts: 325
|
Hi,
I tried this, the log file is not being updated. I put the strace executable in root. This is what I am doing...
After the player boots, I do the following
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# rwm empeg:/empeg/bin# strace -f player &> /drive0/log 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
After this, I loaded emplode and loaded a few smaller (5MB), which it worked, then a few more small files. It even worked with a 41MB load. When I tried a 120MB load, it choked (actually, it completed instantly).
I checked the log file on /drive0/log and there was no change from the time it was created and only had 32 Bytes. When I tried to stop the player, it said that it couldn't find a shell and just continued to complete an exit. I was however, able to ftp into the player and the log file was unchanged.
After I powered down the player, and rebooted, it returned a shell prompt when I exited. I checked the log file and it was unchanged (byte count, date & time). The player operated normally (played the tunes I loaded except the 3 songs that made up the 120MB files).
What am I doing wrong?
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
|
|
|
|
#343920 - 31/03/2011 20:45
Re: Using SATA Laptop Drives with Empeg
[Re: Ross Wellington]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
strace -f player &> /drive0/log
Load the database and all while that instance of the player (above) is running. Do not control^C or exit until done with the test.
??
|
Top
|
|
|
|
#343929 - 31/03/2011 23:03
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
enthusiast
Registered: 21/02/2006
Posts: 325
|
Hi,
Per the above listing, you do want me to quit, set-up the strace, and then ** Not exit ** right?
I tried that first (not exiting). It was not able to find the player with emplode, it looked like the player software wasn't running. I think I was able to ftp into the player though. After I exited, emplode could see the player.
That's why I exited. That was the only way emplode would see the player.
Are writes to the log file not allowed by permissions or the rom command?
Guess I need a list of commands to cover my lack of understanding (yeah, I know I'm embarrased to ask, I'm sure you have other things to do...).
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
|
|
|
|
#343932 - 31/03/2011 23:53
Re: Using SATA Laptop Drives with Empeg
[Re: Ross Wellington]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
The player will run V E R Y S L O W L Y with strace, so be extra patient. The log file it produces will be enormous. The "rwm" command stands for "readable/writable music" partition, which is the biggest place to save a big log file.
Since the whole idea is to capture an "strace" log of the player, it is not useful to run the player without strace, because doing that won't give us the log.
So if you cannot get it working under strace, then forget about it. It just might not be feasible.
"strace" stands for "system-call tracer". It's a program that installs itself between the application ("player") and the Linux kernel (operating system), and records every single event where the application invokes any kernel service. So it's a great way to see what a program is really doing under the hood, especially if the program is crashing at some point.
Cheers
|
Top
|
|
|
|
#343933 - 31/03/2011 23:55
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
What are you actually doing to make the player crash, anyway?
You said something about "tried a 120MB load", but what does that statement actually mean?
Thanks
|
Top
|
|
|
|
#343940 - 01/04/2011 02:14
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
carpal tunnel
Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
|
I would assume that means he tried to transfer 120 mb of music to the empeg via emplode.
_________________________
~ John
|
Top
|
|
|
|
#343950 - 01/04/2011 09:44
Re: Using SATA Laptop Drives with Empeg
[Re: JBjorgen]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
I would assume that means he tried to transfer 120 mb of music to the empeg via emplode. I might assume that too, but I'd really like know. And it might be useful to know at what stage the thing dies -- during the file transfers, or during the database build ? cheers
|
Top
|
|
|
|
#343951 - 01/04/2011 09:46
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
I wonder if any of the player code "steals bits" from sector/block numbers for other purposes, eg. an "in use" bit for sectors in the dynamic data partition?
Because with a 1TB drive, 31 bits are needed just to address sectors, leaving only one bit "spare".
Roger?
|
Top
|
|
|
|
#343954 - 01/04/2011 10:18
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
I wonder if any of the player code "steals bits" from sector/block numbers for other purposes, eg. an "in use" bit for sectors in the dynamic data partition? Not as far as I'm aware. It's unlikely. That's not the kind of hack we'd have gone for. Validating checksums and block bitmaps are more in keeping with the empeg style.
_________________________
-- roger
|
Top
|
|
|
|
#343961 - 01/04/2011 15:00
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
carpal tunnel
Registered: 13/02/2002
Posts: 3212
Loc: Portland, OR
|
The player will run V E R Y S L O W L Y with strace [...] It just might not be feasible. Might it be a bit faster/more feasible if the strace logging is restricted to a particular set of calls?
|
Top
|
|
|
|
#343966 - 01/04/2011 16:29
Re: Using SATA Laptop Drives with Empeg
[Re: canuckInOR]
|
enthusiast
Registered: 21/02/2006
Posts: 325
|
Hi,
More information...
Mark asked:
I would assume that means he tried to transfer 120 mb of music to the empeg via emplode.
I might assume that too, but I'd really like know. And it might be useful to know at what stage the thing dies -- during the file transfers, or during the database build ?
Answer:
Yes it was 120MB of song database load through emplode. Mark has a valid point, I do weird things sometimes. <grin>
I hope what is listed below might help with his second question. *****************************************************************
strace information ------------------ I was able to get strace to work. What I hadn't realized is that I needed to tell it where strace was. I decided to put strace in the root of drive0 (I thought it would run from the root of the empeg, I thought wrong). When I looked at the contents of the log file, it kept saying it was a bad command. As soon as I pointed to where strace was, as in ./strace ...., it worked. The log file does quickly fill with LOTS of data with the system call data. Dumb mistake, I know.
Unfortunately, as soon as I used it, in emplode, it needed to perform a Check on the Media. Without strace, it doesn't need to. Even on known good drives with fully rebuilt media (doesn't matter the size - 250GB or 500GB or interface type - EIDE or SATA), needs 2 passes to go through it, and dies. This included a drive with and without song database, all drives had been fixed for the missing tags and include the rom lock. I can re-create a log file if you need it.
So... I wanted to find out if it is a software or hardware problem. Now that I have a better understanding of ftp (didn't know it had the capability or how to use it a couple of days ago), I was able to get a better definition of what works and what doesn't.
I prepared a 250GB EIDE drive and placed 1GB of song database on it through emplode. I then opened an ftp session with the player, directed to the fids on drive0 and changed to an ftp session in Windows. I created a directory for the fids on my PC and copied the fids database from the player to the new fids directory on my PC. That obviously took a few minutes to do.
I then changed out the player drive, built a new drive on the player (put in the 500 GB SATA interfaced drive), opened a HyperTerm, quit the player software, made the music read/writable (RWM), and exited. I know this is dangerous, but, this is all development anyway.
I opened an ftp session in Windows and copied about 350MB of the fids database from the Windows directory into the drive0/fids directory. This took some time as well. After the copy completed, I mounted the drive (mount -n -o remount,rw,nocheck /drive0 - probably not neccessary at this point), CTRL^D to force a rebuild, Ctrl^C to stop it, and rom to lock.
It worked! The player has all that I down loaded, the structure is correct. It operates normally.
So I am able to copy large files across the SATA Adapter through an ftp session onto a 500 GB drive which points to some kind of other problem. Not a full fuzzy that the hardware path works but it helps define the problem more.
I could run strace in the ftp session if you want it as well.
What do you think?
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
|
|
|
|
#343967 - 01/04/2011 16:43
Re: Using SATA Laptop Drives with Empeg
[Re: Ross Wellington]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
So it sounds like something in the emplode<-->player path was causing the problems. Again, since it's closed source, our best bet would be to see an strace log of that happening.
The reason it keeping doing "media checks" is probably because we mounted the music partition read/write so that we could put the huge strace log there.
So, to get this trace to work, I guess we'd need to find somewhere different to put the log file. Like perhaps a second non-built drive, or an otherwise unused partition on the main drive.
This could get complicated to explain, though.
Cheers
|
Top
|
|
|
|
#343980 - 01/04/2011 23:22
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
enthusiast
Registered: 21/02/2006
Posts: 325
|
Hi,
I tried to do something like what you asked (kind of a feeble attempt). I was still bothered by the rwm of the file system being open, it still got hung up on the media check, but I got a longer log file.
I used a 12GB drive that the file system was missing on, and directed the log file to that drive (drive1).
I have attached the strace file that I sent to drive1.
I can trash this drive if you will help to provide you the data you need.
Thanks,
Ross
Attachments
emplode session strace log - SATA Adapter 500GB drive + 12GB Drive.txt (473 downloads)
_________________________
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
|
|
|
|
#343981 - 02/04/2011 00:23
Re: Using SATA Laptop Drives with Empeg
[Re: Ross Wellington]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
If you want to continue with this, then the idea is to get rid of the media check issue, by NOT USING rwm. If you can send the log elsewhere, not to the music drive, then the music drive does not need to be writeable any more, so no rwm command.
Cheers
|
Top
|
|
|
|
#343985 - 02/04/2011 01:12
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
enthusiast
Registered: 21/02/2006
Posts: 325
|
Hi,
Dumb question, can it be sent to my PC via ftp?
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
|
|
|
|
#343998 - 02/04/2011 13:45
Re: Using SATA Laptop Drives with Empeg
[Re: Ross Wellington]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
After the file is created locally, you can use FTP to transfer it to your PC.
If you want it to go directly to your PC, then you'll need more software on the empeg (this gets complicated rather quickly).
Eg. NFS configured on the empeg, so it can mount a (Linux) PC filesystem for writing out the log file directly.
Or perhaps run telnetd on the empeg, so that you can telnet in from another PC (putty on MS-Win) and run the strace player from within the telnet session. No log file required with this method, instead just let strace spew its output directly over telnet to the remote PC. Save the session log afterwards to save the log messages.
But again, this may all be beyond your current level of expertise.
Cheers
|
Top
|
|
|
|
#344000 - 02/04/2011 14:35
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
enthusiast
Registered: 21/02/2006
Posts: 325
|
Hi,
Yup, that stuff is way beyond my expertise level.
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
|
|
|
|
#344001 - 02/04/2011 14:50
Re: Using SATA Laptop Drives with Empeg
[Re: Ross Wellington]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
Okay. Another way to capture the strace log locally on the empeg, is to install a second drive, which is not formatted for empeg use.
So basically start with a blank second (slave) drive -- no partitions, and boot into the empeg software. Hit control^C to kill off the player and get a command prompt.
At the command prompt, format the drive. Use as small a drive as you have available to you, because the larger the drive, the slower this step will be:
mke2fs /dev/sdb ## and say "y" when prompted
Then, mount it r/w:
mkdir /t ; mount /dev/sdb /t
If that works, then you can try the strace, without the rwm:
/strace player &> /t/strace.log
And afterwards use FTP to retrieve /t/strace.log from the empeg to a PC.
Cheers
|
Top
|
|
|
|
#344007 - 02/04/2011 23:23
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
enthusiast
Registered: 21/02/2006
Posts: 325
|
Hi,
I tried this and it produced the following results (I probably did something wrong):
Starting bash. empeg:/empeg/bin# cd ../.. empeg:/# cd drive1 empeg:/drive1# ls -la total 2 drwxr-xr-x 2 0 0 1024 Jun 2 1999 . drwxr-xr-x 15 502 220 1024 Nov 24 13:28 .. empeg:/drive1# cd .. empeg:/# mke2fs /dev/sdb mke2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09 Could not stat /dev/sdb --- No such file or directory
The device apparently does not exist; did you specify it correctly? empeg:/# mke2fs /dev/hdb mke2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09 Could not stat /dev/hdb --- No such file or directory
The device apparently does not exist; did you specify it correctly? empeg:/# mke2fs /dev/hdc mke2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09 /dev/hdc is entire device, not just one partition! Proceed anyway? (y,n) y ext2fs_check_if_mount: No such file or directory while determining whether /dev/ hdc is mounted. mke2fs: Device not configured while trying to determine filesystem size empeg:/#
I tried to show that drive1 was blank. Then I tried the mke2fs command on sdb, it wasn't able to find it. Then on hdb, then it hdc (which it found). It doesn't look like it was mounted (no file system of course)?
What am I doing wrong?
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
|
|
|
|
#344009 - 03/04/2011 10:38
Re: Using SATA Laptop Drives with Empeg
[Re: Ross Wellington]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
Oh, right. I forgot that the empeg screws around with drive names in a non-standard fashion -- it's trying to assign the same names as a Mk1 empeg would. So just change all occurances of "sdb" to "sdc" and try again. Cheers
|
Top
|
|
|
|
#344022 - 04/04/2011 05:17
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
enthusiast
Registered: 21/02/2006
Posts: 325
|
Hi,
Still having trouble. It says that it can't stat the drive. It has the same response as above shown below:
empeg:/empeg/bin# mke2fs /dev/sdc ## mke2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09 Could not stat /dev/sdc --- No such file or directory
The device apparently does not exist; did you specify it correctly? empeg:/empeg/bin#
It does the same thing with and without the ##. I also went dierctly to the /bin directory and ran it from there with the same result.
I changed drives (another 12GB drive), tried it with hdc (instead of sdb or sdc), and it formatted fine (12GB, 90 inode tables). I was not able to get drive1 to mount. It gave the following response:
empeg:/empeg/bin# mkdir /t ; mount /dev/sdc /t mkdir: cannot create directory `/t': File exists mount: you must specify the filesystem type empeg:/empeg/bin# mkdir /t ; mount /dev/hdc /t mkdir: cannot create directory `/t': File exists EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
I tried the strace as written above. It would not write an strace.log. I used the older method (./strace -f player &> /drive1/log), and it did write a 60k log file to drive1.
I tried to run emplode and it still thinks it needs to check the media and dies - but does write the log file on drive1. Is this because I am using hdc instead of sdc?
Meanwhile, I was able to format drive1 and write an strace log file to it. We at least know the hardware path works to drive1.
I still have something wrong somewhere, I guess.
What do you think?
Thanks for your time,
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
|
|
|
|
#344024 - 04/04/2011 06:38
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
So just change all occurances of "sdb" to "sdc" and try again. Except that the empeg uses hda and hdc, not sda and sdc.
_________________________
-- roger
|
Top
|
|
|
|
#344032 - 04/04/2011 16:25
Re: Using SATA Laptop Drives with Empeg
[Re: Roger]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
So just change all occurances of "sdb" to "sdc" and try again. Except that the empeg uses hda and hdc, not sda and sdc. Duh... you get that, Ross? Thanks Roger!
|
Top
|
|
|
|
#344047 - 05/04/2011 03:09
Re: Using SATA Laptop Drives with Empeg
[Re: mlord]
|
enthusiast
Registered: 21/02/2006
Posts: 325
|
Hi,
Yeah, that's what I did.
The responses above were using hdc.
It still had a problem somewhere.
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
|
|
|
|
|
|