Unoffical empeg BBS

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

Topic Options
#161301 - 13/05/2003 18:55 Problem with EXEC command
jbradshw
journeyman

Registered: 20/02/2002
Posts: 72
Loc: Atlanta, GA
I have the 2.0 final (developer) and Hijack 335 and having this issue:

[hijack]
;@EXEC /usr/local/bin/emphatic
;@EXEC /usr/local/bin/empacman
;@EXEC /usr/local/bin/emptris

This is in my config.ini yet only emphatic is on the Hijack menu. I verified these programs are located in /usr/local/bin... any ideas?
_________________________
One of the last MK2's from SonicBlue... Blue/60gig S/N: 030103111

Top
#161302 - 13/05/2003 19:01 Re: Problem with EXEC command [Re: jbradshw]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
As always, look at the serial logs..

Top
#161303 - 13/05/2003 19:21 Re: Problem with EXEC command [Re: mlord]
jbradshw
journeyman

Registered: 20/02/2002
Posts: 72
Loc: Atlanta, GA
How would I do that?
_________________________
One of the last MK2's from SonicBlue... Blue/60gig S/N: 030103111

Top
#161304 - 13/05/2003 19:25 Re: Problem with EXEC command [Re: jbradshw]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
_________________________
Mark Cushman

Top
#161305 - 13/05/2003 19:27 Re: Problem with EXEC command [Re: jbradshw]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
I verified these programs are located in /usr/local/bin...
Did you also verify that they are tagged as executable?

How would I do that?
Like this.
_________________________
Tony Fabris

Top
#161306 - 13/05/2003 19:28 Re: Problem with EXEC command [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Ooo, Cushman-san gets the pebble!
_________________________
Tony Fabris

Top
#161307 - 13/05/2003 19:36 Re: Problem with EXEC command [Re: tfabris]
jbradshw
journeyman

Registered: 20/02/2002
Posts: 72
Loc: Atlanta, GA
Actually I think I know what's going on.. I can't synchronize anything right now for some reason. I was just uploading a bunch of music which worked awhile ago. Then I tried entering those lines and was getting stuck on that. I reopened the player database and the config.ini and those lines I just mentioned aren't even there. Even if I try re-entering them and Synchronizing, they don't stay. I'll check the serial log here in a min and get back to you guys.
_________________________
One of the last MK2's from SonicBlue... Blue/60gig S/N: 030103111

Top
#161308 - 13/05/2003 19:39 Re: Problem with EXEC command [Re: tfabris]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
*laughs*

Cushman-san 1
Fabris-san 1,223,345
_________________________
Mark Cushman

Top
#161309 - 13/05/2003 19:39 Re: Problem with EXEC command [Re: jbradshw]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Even if I try re-entering them and Synchronizing, they don't stay.
This is a classic symptom of the player being unable to unmount/remount the drives as read-only or read-write because there's a live program running from /drive0 at synchronize time. That folder you put those programs in... is it on /drive0?

/me goes to beef up the FAQ entry about FSCK...
_________________________
Tony Fabris

Top
#161310 - 13/05/2003 19:52 Re: Problem with EXEC command [Re: tfabris]
jbradshw
journeyman

Registered: 20/02/2002
Posts: 72
Loc: Atlanta, GA
OK I saw the FAQ entry and I'm trying those steps but I'm running into this problem.

I hit 'q' to get to the shell prompt. RO worked, but when I do 'unmount /dev/hda4' it says:

bash: unmount: command not found

Am I doing this right?
_________________________
One of the last MK2's from SonicBlue... Blue/60gig S/N: 030103111

Top
#161311 - 13/05/2003 19:54 Re: Problem with EXEC command [Re: jbradshw]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
bash: unmount: command not found
Check your spelling very very carefully, one letter at a time. This goes for all Unix commands.

Remember that Unix commands aren't always spelled the same as the english words that they represent. Look CLOSELY at those instructions in the FAQ...
_________________________
Tony Fabris

Top
#161312 - 13/05/2003 19:55 Re: Problem with EXEC command [Re: tfabris]
jbradshw
journeyman

Registered: 20/02/2002
Posts: 72
Loc: Atlanta, GA
Geez.. I'm an idiot... haha
_________________________
One of the last MK2's from SonicBlue... Blue/60gig S/N: 030103111

Top
#161313 - 13/05/2003 19:59 Re: Problem with EXEC command [Re: tfabris]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
I work in the Knowledge Management arena in my company and we have a phrase that we use often when we are developing a new knowledge base or knowledge tool. I think that this applies to a lot of your posts, Tony:

Leading them to the door of their own understanding
_________________________
Mark Cushman

Top
#161314 - 13/05/2003 20:21 Re: Problem with EXEC command [Re: cushman]
jbradshw
journeyman

Registered: 20/02/2002
Posts: 72
Loc: Atlanta, GA
Well I followed that list of commands and after the SYNC command I unplugged the power cord and cycled power but I still can't synchronize. Here's a paste of the serial log after I first started up. For some reason, in Hyperterminal when i scrolls up beyond the screen the text gets garbled somewhat so hopefully you can see something in this:

Linux version 2.2.17-rmk5-np17-empeg52-hijack-v335 (root@ibbm) (gcc version 2.95r pump...VFS: Mounted
Linux NET4.0 for Linux 2.2donly.
Based
.3 20010315 (release)) #2 Tue May 13 15:01:19 EDT 2003_root: old root has d_count=1
NET
Processor: Intel StrongARM-1100 revision 11ay
IP Protocols: ICMP, UDP
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.84 bhash 16384)
I see this is a developer image!
Ir
empeg-car player (hardware revision 9, serial number 30103111)usic partition
IrCOMM protocol (Dag Brattli) /d
Command line: mem=16mt go
Starting kswapd
Calibrating delay loop... 207.67 BogoMIPS
IrCOMM protocol (Dag Brattli)D12 id 1012
Starting kswapd v 1.5
empeg state support
SA1100 serial driver version 4.27 with no serial options enabled
player.
empeg RDS driver initialis
ttyS00 at 0xf8010000 (irq = 15) is a SA1100 UARTiver initialised (first boot)empeg car - 2.1434
ttyS01 at 0xf8050000 (irq = 17) is a SA1100 UARTialized: 16 RAM disks of 4096K sizeisk.cpp
ttyS02 at 0xf8030000 (irq = 16) is a SA1100 UARTg single channel IDE
Pro
Signature is 206f6972 'rio 'fsck 1.19, 13-Jul-2000 f
hda
Found custom animation at offset 0x9a38c

hdb: FU
Tuner: loopback=0, ID=-1 drivedirectory while de
empeg display initialised.t 0x000-0x007,0x038 on irq
empeg dsp audio initialised
hda: FUJITSU MHL23
empeg dsp mixer initialised, CHS=58140/16/63oved menu
empeg dsp initialised
empeg audio-in initialised, CS4231A revision a08kB Cache, CH
Remounting first music
Probing primary interface...
You don't exist. Go away.
R
hda: FUJITSU MHL2300AT, ATA DISK driveo ram disk... done.

hdb: FUJITSU MHL2300AT, ATA DISK drive
VFS: Mounted root (ext2 filesystem).
ide0 at 0x000-0x007,0x038 on irq 6
empeg-pump v0.03 (19980601) -a:
hda: FUJITSU MHL2300AT, 28615MB w/2048kB Cache, CHS=58140/16/63 root (ext2 fil

Mounting first

SMC9194: SMC91C94(r:9) at 0x4008000 IRQ:7 INTF:TP MEM:6144b MAC 00:02:d7:26:0c:2 but got error 19: Force fsck on reboot.
Mounting
7c
Partition check:on -n:
hda: hda1 < hda5 hda6 > hda2 hda3 hda4 partition read-only
hdb: hdb1 < hdb5 hdb6 > hdb2 hdb3 hdb4d music partition read-onlyc: canc
RAMDISK: ext2 filesystem found at block 0now to go into development mode. You Have
RAMDISK: Loading 320 blocks [1 disk] into ram disk... done.
Starting player
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.ūStar
ting player
Hijack: intercepting config.ini

hijack_exec("/usr/local/bin/emphatic"), rc=0 (okay)
hijack: removed menu entry: "Hard Disk Detection"
khttpd: listening on port 80
kftpd: listening on port 21
opening display...
Using non-standard cache size 86 (adjustment 48)
starting notify thread...
notify thread started (tid=1026)...
lyrics thread started (tid=2051)...
emphatic v1.10 (built Feb 18 2003 20:15:18) running as pid 11
player.cpp : 385:empeg-car 2.00 2003/04/01.
Prolux 4 empeg car - 2.1434 Mar 26 2003
Vcb: 0x4056d000







And then this is when I synchronize:

Adding Swap: 16596k swap-space (priority -2)
disk.cpp : 876:Couldn't cleanly unmount drive 0 (c0041010)
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.
hijack: removed menu entry: "emphatic"
Restored terminal settings
Remounting first music partition read-only
Remounting second music partition read-only
Restart code received
Starting player
Hijack: intercepting config.ini

hijack_exec("/usr/local/bin/emphatic"), rc=0 (okay)
opening display...
Using non-standard cache size 86 (adjustment 48)
player.cpp : 385:empeg-car 2.00 2003/04/01.
starting notify thread...
notify thread started (tid=1026)...
lyrics thread started (tid=2051)...
emphatic v1.10 (built Feb 18 2003 20:15:18) running as pid 55

Hope this helps.
_________________________
One of the last MK2's from SonicBlue... Blue/60gig S/N: 030103111

Top
#161315 - 13/05/2003 20:23 Re: Problem with EXEC command [Re: jbradshw]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Eeew. That doesn't look healthy. Have you been having other drive trouble?
_________________________
Tony Fabris

Top
#161316 - 13/05/2003 20:25 Re: Problem with EXEC command [Re: cushman]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Leading them to the door of their own understanding
One tries, one tries.

Probably no coincidence that we write training software where I work.
_________________________
Tony Fabris

Top
#161317 - 13/05/2003 20:34 Re: Problem with EXEC command [Re: tfabris]
jbradshw
journeyman

Registered: 20/02/2002
Posts: 72
Loc: Atlanta, GA
Hold up.. I did a capture to file and here it is correct:




empeg-car bootstrap v1.02 20001106 ([email protected])
If there is anyone present who wants to upgrade the flash, let them speak now,
or forever hold their peace...it seems not. Let fly the Penguins of Linux!

e000 v1.04
Copying kernel...
Calling linux kernel...
Uncompressing Linux..................................... done, booting the kernel.
Linux version 2.2.17-rmk5-np17-empeg52-hijack-v335 (root@ibbm) (gcc version 2.95.3 20010315 (release)) #2 Tue May 13 15:01:19 EDT 2003
Processor: Intel StrongARM-1100 revision 11
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 9, serial number 30103111)
Command line: mem=16m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 14996k/16M available (996k code, 20k reserved, 368k data, 4k init)
Dentry hash table entries: 2048 (order 2, 16k)
Buffer cache hash table entries: 16384 (order 4, 64k)
Page cache hash table entries: 4096 (order 2, 16k)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 16384 bhash 16384)
IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
IrCOMM protocol (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 206f6972 'rio '
Found custom animation at offset 0x9a38c
Tuner: loopback=0, ID=-1
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 d0004080).
empeg RDS driver initialised
empeg power-pic driver initialised (first boot)
RAM disk driver initialized: 16 RAM disks of 4096K size
empeg single channel IDE
Probing primary interface...
hdb: FUJITSU MHL2300AT, ATA DISK drive
hda: FUJITSU MHL2300AT, ATA DISK drive
hdb: FUJITSU MHL2300AT, ATA DISK drive
ide0 at 0x000-0x007,0x038 on irq 6
hda: FUJITSU MHL2300AT, 28615MB w/2048kB Cache, CHS=58140/16/63
hdb: FUJITSU MHL2300AT, 28615MB w/2048kB Cache, CHS=58140/16/63
empeg-flash driver initialized
smc chip id/revision 0x3349
smc9194.c:v0.12 03/06/96 by Erik Stahlman ([email protected])

SMC9194: SMC91C94(r:9) at 0x4008000 IRQ:7 INTF:TP MEM:6144b MAC 00:02:d7:26:0c:27
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
Hijack: intercepting config.ini

hijack_exec("/usr/local/bin/emphatic"), rc=0 (okay)
hijack: removed menu entry: "Hard Disk Detection"
khttpd: listening on port 80
kftpd: listening on port 21
opening display...
Using non-standard cache size 86 (adjustment 48)
starting notify thread...
notify thread started (tid=1026)...
lyrics thread started (tid=2051)...
emphatic v1.10 (built Feb 18 2003 20:15:18) running as pid 11
player.cpp : 385:empeg-car 2.00 2003/04/01.
Prolux 4 empeg car - 2.1434 Mar 26 2003
Vcb: 0x4056d000




And then when I synchronize:


Adding Swap: 16596k swap-space (priority -1)
disk.cpp : 876:Couldn't cleanly unmount drive 0 (c0041010)
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.

hijack: removed menu entry: "emphatic"
Restored terminal settings
Remounting first music partition read-only
Remounting second music partition read-only
Restart code received
Starting player
Hijack: intercepting config.ini

hijack_exec("/usr/local/bin/emphatic"), rc=0 (okay)
opening display...
Using non-standard cache size 86 (adjustment 48)
player.cpp : 385:empeg-car 2.00 2003/04/01.
starting notify thread...
notify thread started (tid=1026)...
lyrics thread started (tid=2051)...
emphatic v1.10 (built Feb 18 2003 20:15:18) running as pid 33
Prolux 4 empeg car - 2.1434 Mar 26 2003
Vcb: 0x4056d000
_________________________
One of the last MK2's from SonicBlue... Blue/60gig S/N: 030103111

Top
#161318 - 13/05/2003 20:36 Re: Problem with EXEC command [Re: jbradshw]
jbradshw
journeyman

Registered: 20/02/2002
Posts: 72
Loc: Atlanta, GA
No other drive trouble that I could tell. Though I've always had issues from day 1 with issues like synching a lot of files at once.. I would always have to synch some files again for them to remain on the EMPEG.
_________________________
One of the last MK2's from SonicBlue... Blue/60gig S/N: 030103111

Top
#161319 - 13/05/2003 20:44 Re: Problem with EXEC command [Re: jbradshw]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Kill emphatic before you sync.

It's a good idea to prefix your EXEC lines with ";@DC" so that they only run in the car;


_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#161320 - 13/05/2003 20:47 Re: Problem with EXEC command [Re: genixia]
jbradshw
journeyman

Registered: 20/02/2002
Posts: 72
Loc: Atlanta, GA
Yep that fixed it. Thanks!
_________________________
One of the last MK2's from SonicBlue... Blue/60gig S/N: 030103111

Top