Unoffical empeg BBS

Quick Links: Empeg FAQ | Software | RioCar.Org | Hijack | jEmplode | emphatic
Repairs: Repairs | Addons: Eutronix | Cases

Topic Options
#365732 - 09/01/2016 20:47 Still can't shake these segfault errors...
FieroSTi
member

Registered: 07/05/2007
Posts: 104
So over the summer I tried for months on end to get a single 256GB mSATA card with a JMircon IDE-Sata bridge to work in the empeg. It worked well until I would hit about 100GB of fids on the device, then emplode and jemplode would do nothing but crash the unit, giving me a "0000.7 segfault err" every time. I never solved this issue with the SSD. I swapped in two 160GB Seagate drives, for a total of 320GB. Now I experience the same issue with the two spinning drives. Just over 100GB of fids cripples the unit. I've tried a new IDE cable, checked the IDE header and just about everything else I can think of. I cannot get the unit to recover from these errors. I can fsck both drives and the error will return during the next sync.

Having said that, If I get into the shell, I can move the existing fids folders worth 100GB+ to fids-bak or similar, create new fids folders, blow up the database, playlists and tags files; then sync with emplode or jemplode with success. Definitely seems to be a database size or memory limitation. I'm running mp3tofid on my entire library now to see if it's just an issue with building the databases. I'll transfer everything over when that's done to see if maybe mp3tofid can make database files that work.

I also captured a log. I included everything just in case there's an error earlier on in the boot cycle that somebody may recognize. The crash is down at the end. Any thoughts?

Code:
empeg-car bootstrap v1.00 20000601 (hugo@empeg.com)
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-empeg55-hijack-v508 (hijack@rtr.ca) (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:

c0c00000: wrote ffffffff, read e28cc001

NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.

empeg-car player (hardware revision 7, serial number 80000481) 12MB DRAM

Command line: mem=12m

Calibrating delay loop... 207.67 BogoMIPS

Memory: 10944k/12M available (996k code, 20k reserved, 324k 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 20706d65 'emp '

Found custom animation at offset 0x9e754

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 d0005a80).

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 0xff80

ide_data_test: wrote 0xffff read 0xff80

ide_data_test: wrote 0xaaaa read 0xaa80

ide_data_test: wrote 0x5555 read 0x5580

ide_data_test: wrote 0x0000 read 0xff80

ide_data_test: wrote 0xffff read 0xff80

ide_data_test: wrote 0xaaaa read 0xaa80

ide_data_test: wrote 0x5555 read 0x5580

ide_data_test: wrote 0x0000 read 0xff80

ide_data_test: wrote 0xffff read 0xff80

ide_data_test: wrote 0xaaaa read 0xaa80

ide_data_test: wrote 0x5555 read 0x5580

ide_data_test: wrote 0x0000 read 0xff80

ide_data_test: wrote 0xffff read 0xff80

ide_data_test: wrote 0xaaaa read 0xaa80

ide_data_test: wrote 0x5555 read 0x5580

ide_data_test: wrote 0x0000 read 0xff00

ide_data_test: wrote 0xffff read 0xff00

ide_data_test: wrote 0xaaaa read 0xaa00

ide_data_test: wrote 0x5555 read 0x5500

hda: ST9160821A, ATA DISK drive

hdb: ST9160821A, ATA DISK drive

ide0 at 0x000-0x007,0x038 on irq 6

hda: ST9160821A, 152627MB w/8192kB Cache, CHS=19457/255/63, LBA48

hdb: ST9160821A, 152627MB w/8192kB Cache, CHS=19457/255/63, LBA48

empeg-flash driver initialized

smc chip id/revision 0x3349

smc9194.c:v0.12 03/06/96 by Erik Stahlman (erik@vt.edu)


SMC9194: SMC91C94(r:9) at 0x4008000 IRQ:7 INTF:TP MEM:6144b MAC 00:02:d7:10:01:e1

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: EST

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

ktelnetd: listening on port 23

Using non-standard cache size 36 (bonus 0Mb, adjustment 48)
  player.cpp        : 385:empeg-car 2.01 2004/07/06.
! tags.cpp          :  61:Failed to open tags (0xc0041002).
show_message("0000.7 segfault err")

player(8): user memory violation at pc=0x020e1888, lr=0x696c6f50 (bad address=0x4026c000, code 0)

pc : [<020e1888>]    lr : [<696c6f50>]

sp : bffff7a0  ip : 20706f48  fp : bffff7bc

r10: 00000000  r9 : bffffc24  r8 : 00000000

r7 : 00000018  r6 : 00000008  r5 : 20706948  r4 : 28206563

r3 : 5020706f  r2 : 00000008  r1 : 0215319c  r0 : 4026bff8

Flags: Nzcv  IRQs on  FIQs on  Mode USER_32  Segment user

Control: D034917D  Table: D034917D  DAC: 00000015

Function entered at [<020e17dc>] from [<020e16a4>]

 r7 = 4026BFFB  r6 = 4026BFFC  r5 = 02153199  r4 = 00000020

Function entered at [<020e1630>] from [<0207cc44>]

 r7 = BFFFFC60  r6 = 02153198  r5 = 00000021  r4 = BFFFFC60

Function entered at [<0207cbf4>] from [<0205642c>]

 r6 = 02135B80  r5 = 0214DA74  r4 = 00000000 

Function entered at [<020560b0>] from [<0206189c>]

 r10 = 00000000  r9 = 02112594  r8 = 0214DA68  r7 = BFFFFC60

 r6 = 00000000  r5 = 02174458  r4 = 0000155E 

Function entered at [<020617c0>] from [<020322fc>]

 r7 = BFFFFD0C  r6 = BFFFFD04  r5 = 0214F1AC  r4 = 02174448

Function entered at [<02032258>] from [<0200881c>]

 r6 = BFFFFD08  r5 = 0214F1A4  r4 = BFFFFD04 

Function entered at [<020087e4>] from [<0202fcbc>]

 r5 = BFFFFD04  r4 = BFFFFD10 

Function entered at [<0202fa0c>] from [<0202f758>]

 r10 = BFFFFEE4  r9 = 00000001  r8 = 0214DA68  r7 = BFFFFEE8

 r6 = 00000024  r5 = BFFFFD78  r4 = BFFFFD78 

Function entered at [<0202f718>] from [<020316bc>]

 r6 = 00000024  r5 = FFFFFFFF  r4 = BFFFFD78 

Function entered at [<02031464>] from [<020317ec>]

 r10 = 02031788  r9 = 00000000  r8 = 02112280  r7 = 00000000

 r6 = 020000C0  r5 = 00000001  r4 = BFFFFF64 

Function entered at [<02031788>] from [<020c90c4>]

 r5 = BFFFFF64  r4 = 00000001 

Function entered at [<020c8fe8>] from [<02000104>]

 r10 = 00000000  r8 = 00000000  r7 = 00000000  r6 = 00000000

 r5 = 00000000  r4 = 00000000 

Restored terminal settings
Remounting first music partition read-only
Remounting second music partition read-only
Abnormal player termination
Player received signal 11
Starting player
Timezone: EST

Hijack: intercepting config.ini


Edited by FieroSTi (09/01/2016 22:58)

Top
#365733 - 09/01/2016 23:02 Re: Still can't shake these segfault errors... [Re: FieroSTi]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 13506
Loc: Canada
There are all kinds of hacks and things required to manage a very large number of FIDs. How many FIDs do you have (as opposed to the 100GB+ storage space they require) ?

I'm not "one with" the search engine here, but most others manage it just fine, and there are some good threads on dealing with big (for the empeg) drives.

One possible starting place is to search for "set_empeg_max_fid".

Top
#365734 - 09/01/2016 23:22 Re: Still can't shake these segfault errors... [Re: FieroSTi]
FieroSTi
member

Registered: 07/05/2007
Posts: 104
Ahh, yes. I remember reading about set max fid, but frankly had forgotten about it as I didn't think I was at that limit. How do I find the number of fids that I have? Where can I find a copy of set_empeg_max_fid.v7? I've been searching for the last 15 minutes or so and can't find the actual script...


Edited by FieroSTi (09/01/2016 23:44)

Top
#365738 - 10/01/2016 14:58 Re: Still can't shake these segfault errors... [Re: FieroSTi]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 13506
Loc: Canada
A "FID" is just a file, eg. an .mp3 track or a playlist. On the player's drive(s), they have their own fids directories.

So just count those to see how many.

The set_max_fid program (written in C) is available (I'm attaching it here), but you may have different issues. Really, try and find the long threads here that deal with managing players with loads of FIDs and large drives.

Cheers


Attachments
set_empeg_max_fid.v7 (71 downloads)
Description: set_empeg_max_fid.v7 binary for the empeg.



Top
#365773 - 14/01/2016 21:32 Re: Still can't shake these segfault errors... [Re: FieroSTi]
FieroSTi
member

Registered: 07/05/2007
Posts: 104
Thanks, Mark. I got that uploaded and installed and verified the new maximum fid count. Something like 44,000 and change it ended up. I haven't gotten a chance to re-fill my drives and check for lack of crashing, but I'm up and running again anyway.

Top