Probleme bei Aufnahme unter XFS und formatieren von EXT2

to stream or not to stream
mcphisto
Neugieriger
Neugieriger
Beiträge: 3
Registriert: Mittwoch 4. April 2007, 13:27

Probleme bei Aufnahme unter XFS und formatieren von EXT2

Beitrag von mcphisto »

Hallo, letztes Wochenende hab ich das IDE Interface in meine Nokia Box (Avia 500) eingebaut. Nach einer Woche tüfteln bin ich nun am Ende mit meinem Latein und hoffe hier kann mir jemand weiterhelfen. Die Schnittstellen hab ich inzwischen X mal kontrolliert.
Eingebaut hab ich eine 2,5“ Samsung HM120JC, diese wird auch erkannt, mounten kann ich sie aber nur mit XFS. Bei EXT2 und EXT3 bleibt die Box hängen.
Unter XFS kann ich zwar Aufnehmen, aber nach wenigen Minuten kommt die Meldung „Aufnahme wurde abgebrochen, da die Daten nicht schnell genug geschrieben werden konnten“. Das Abspielen ist auch eine Katastrophe, alle paar Sekunden wird gepuffert - Sekunden lang.
Zum testen hab ich mal eine alte Aufnahme von Computer auf die D-Box kopiert. Dabei hat mich schon verwundert das das kopieren länger gedauert hat als die eigentliche Aufnahme. Beim Abspielen wurde dann genauso viel gepuffert wie bei einer direkten Aufnahme auf die Platte.

Ich hab mal ein paar Logfiles angehängt und hoffe Ihr könnt dadurch das Problem vielleicht etwas einkreisen.


Boot Log:
Start der Box mit dem aktuellsten JTG Image und XFS Partition

debug: DDF: Calibrating delay loop... debug: DDF: 67.cuting /lib/tuxbox/
Calibrating
avia_gt_core: $Id: avia_gt_core.c,v 1.48
79 BogoMIPS1:01:22 car
debug: BMon V1.0 mID 01ble (1180k kernel code,
debug: feID 7a gtxID 0bhmem)
avia_gt_core: autod
debug: fpID 5a dsID 01-fe.7e.25.07.00.00-18ers disa
Dentry cache
avia_gt_gtx: $Id: avia_gt
debug: HWrev X5 SWrev 0.8145:35 obi Exp $ swapspace v
debug: B/Ex/Fl(MB) 32/00/08y
Inode cache hash table en
WATCHDOG reset enabledvia_gt_accel.c,v 1.19
dbox2:root> debug: obi Exp $
BOOTP/TFTP bootstrap loader (v0.3)e entries: 512 (order: 0, 409
avia
debug:: $Id:
debug: Transmitting BOOTP request via broadcasty Exp $ cache hash table entries: 1024 (order:
debug: Given up BOOTP/TFTP boot
avia_gt_core: masking unhandle
boot net failed

Record ch
verify sig: 262: masking unhan
Branching to 0x400000020818) Richard Goo


U-Boot 1.2.0 (Tuxbox) (May 6 2007 - 21:31:13)gt_gv.c,v 1.39 2004/08/28 16:44:56 carjay Exp

CPU: PPC823ZTnnA at 67.200 MHz: 2 kB I-Cache 1 kB D-CacheNAND) (C)
avia_gt_gv: set_input_size (width=720, height=576
*** Warning: CPU Core has Silicon Bugs -- Check the Errata ***ia_gt_pcm.c,v 1.29 2004/01/29 19:38:20 zwen Exp $
CXA
i2c-core.o: i2
Board: DBOX2, Nokia, BMon V1.0010830): pthread
avia_gt_pcm_s
Watchdog enabled rece
i2c-dev.o:
avia_
I2C: readyId: avia_gt_
DRAM: 32 MB

FLASH: 8 MB[neutr
1: Console on nulling '
eth0:
avia_gt
2: Console on ttyS0/GTX driver:9c:1a:65:
3: Console on framebuffer
avia_gt_fb: $Id: avia_gt
Select option (1-3), other keys to stop autoboot: 0
D-Box 2 flash driver (size->0x800000 mem-
### FS (squashfs) loading 'vmlinuz' to 0x100000=2)
##

D-Box 2 flash memory
avia_gt_
### FS load complete: 694160 bytes loaded to 0x100000ndn after theirt_gv: set_input_size (w
avia_gt_gv: se
............................................................... doneset_input_size (width=720, height=576)d on write enabledsted...... d
Un-Protected 63 sectorsa_gt_gv: set_input_mode
## Booting image at 00100000 ...memory":omm
avia_gt_gv: set_inpu
Image Name: dbox2ht=576)x00000000-0x000
Linux version 2.4.34.4-dbox2 (vom Jtg-Team) (gcc version 3.4.6) #2 So 6. Mai 21Id: avia_gt_lirc.c,v 1.14 2003/09/30 05:45:35 obi Exp $fe.7e.2
NET4: Linux TCP/I
:39:42 CEST 2007er: 30:27 derget
On node 0 totalpages: 8192d: avia_gt_ir.c,v 1.30 200
zone(0): 8192 pages.Exp $outing cache ha
zone(1): 0 pages.ckets, 4Kbytesrea
zone(2): 0 pages.via_oss: $Id: avi
Kernel command line: console=ttyS0 root=/dev/mtdblock2 rootfstype=squashfs '/hdd'le]: pthreads exit code: 1

Fo
avia_gt_pcm_set_rate(44100)soc
Decrementer Frequency = 252000000/60
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)ectoryAMSUNG HM120JC, ATA DISK drivend
￾debug: DD
POSIX conformance testing by UNIFIXuquets.xml: No such file or directo
Linux NET4.0 for Linux 2.4 ide-disk driver.plete: 69
Based upon Swansea University Computer Society NET3.039dini Exp $
hda: 234441648 sectors (120034
Initializing RT netlink socketng unhandled irq reg 0 bit 7
Starting kswapd...............
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)torys0/target0/lun0: p1 p2
debug: Given up BOOTP/TFTP
[camd
devfs: boot_options: 0x1,v 1.12 2003/09/30 0
$Id
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.n-Protected 63
Thu Jan 1 12:00:00 CET 1970eh

Fl
squashfs: version 3.0 (2006/03/15) Phillip Loughermage at 00100000 ...r k
[i2c-8xx]: adapter: 0
[con
i2c-core.o: i2c core module version 2.6.1 (20010830) a3 = 1 fblk=1ame: d
Adding Swap: 136544k swap-spa
i2c-dev.o: i2c /dev entries driver module versirver nhttpd/3.1.S: bad magic n
0x00020000-0x00040000 : "FLFS (U-Boot)"height=576)096 bytes)Id: eveng 'vmlinuz
0x00040000-0x006a0000 : "root (SquashFS)" update enabled[CFileDevice
$Id: cam_napi
0x006a0000-0x00800000 : "var (JFFS2)"
LCD
[lcdd] time-skin no
0x00020000-0x00800000 : "Flash without bootloader"2006/01/08 21:36:22 ca
[lcdd] weekday-skin not fou
0x00000000-0x00800000 : "Complete Flash"lzing cor
avia_av: AVIA500 spt
[lcdd] da
Linux video capture interface: v1.00_av_core: Starting avia_av_wdt threa
mice: PS/2 mouse device common for all miceing default...: $Id: avia_av_event.c,v 1.11
NET4: Linux TCP/IP 1.0 for NET4.0alizing core...yS04Kbyt
avi
sq
IP Protocols: ICMP, UDP, TCP font /share/fonts/12.pcf.gz
IP: routing cache hash table of 512 buckets, 4Kbytes3ZTnnA at 67.200 MHz: 2 kBt 00100
[LCDFONT] adding f
TCP: Hash tables configured (established 2048 bind 4096)1.48 2004/12/20 01:01:22 carjay Exp $fefffdisk fai
[LCD
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.k
avia_gt_core: autodetecti
i2c-dev.
hda: SAMSUNG HM120JC, ATA DISK drive5:4
[sectionsd] getU
ide0 at 0x010-0x017,0x04e on irq 47width=720, height=576)nted devfs on
hda: attached ide-disk driver. 15:07:33, tim: Sat May 12 15:
hda: host protected area => 138:20 zwen Exp $CP/ide/host0/
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=14593/255/6300 seconds.100)x
IP: rou V
Starting p
avia_gt_capture: $Id: avi
Partition check:FTC_Face_Request
/dev/ide/host0/bus0/target0/lun0: p1 p2
zo
[CPlugins] executi
event: $Id: event.c,v 1.12 2003/09/30 05:45:38 obi Exp $/09/30 05:45:35 obi Exp $rs
WARNING: Drive /dev/ide/host
Thu Jan 1 12:00:00 CET 1970n't appear in the databId: a
[i2c-8xx]: mpc 8xx i2c init01 17:31:22 obi Exp $7.00be
[i2c-8xx]: adapter: 0se of supported drive
SGI XFS with no debug enabledNG: But using a common value,
Adding Swap: 136544k swap-space (priority -1)_gt_fb: $Id: avia_gt_fb_core.c,v

zapit shot down :)l
XFS mounting filesystem ide0(3,2)stem now ...le: switching to colo
$Id: cam_napi.c,v 1.8 2003/09/30 05:45:34 obi Exp $c/init.d/halt'#block
Setting u
avia_gt_fb: fb0: AVi

/dev/ide/host0/bus0/target0/lun0/disc:e
St
CXA2092 foundomoun
cfi_cmd
Un
setting drive write-caching to 0 (off) driver mo
Unmounting 'tmpfs' on '/tmp'
setting standby to 60 (5 minutes): Couldn't umount /tmp: Device or

/dev/ide/host0/bus0/target0/lun0/disc:c,v 1.7 2006/08/01 22:04:5
Unmounting
setting drive write-caching to 0 (of
Ready to shutdo


Found Flash-FS superblock version
avia_gt_core: masking unhandled irq reg 1 bit 11ile /root/platform/nokia-dbox2/kernel/os in Flas
avia_gt_core: masking unhandled irq reg 1 bit 13
DVB: regist
debug: Got Block #0036sol
/var/t
avia_gt_ucode: loaded ucode vB107, start= 0x800000, size= 162700_g
avia_gt_ucode: ucode section filters disabled.
$I
verify sig: 262.395 2007/03/17
Branching t
avia_gt_dmx: warning, misaligned queue 0 (is 0xFD200, size 65536), aligning...e: masking unhandled irq reg 0 bit 7f DBox2 I

CPU: PPC823ZTnnA at 67.200 MH
avia_gt_core: masking unhandled irq reg 0 bit 6directory


Options:
[cont

avia_gt_gv: $Id: avia_gt_gv.c,v 1.39 2004/08/28 16:44:56 carjay $Id: controld.cpp,v 1.125 2006/0
avia_gt_fb: fb0: AViA eNX/GTX Framebuffer frame buffer device-dbox2 (vom Jtg-Team) (gcc version 3.4.6) #2 So 6. Mai 21ffe
lcd.o: init lcd driver moduleound -> using default...
lcd.o: found KS0713/SED153X lcd interface
[lcdd]
On node 0 totalpages: 8192ng de
jtginfo $Id: jtginfo.c,v 1.7 2006/08/01 22:04:55 jtgriker Exp $one(1): 0 pages.nd -> using defau
zone(2): 0 pages.
a
avia_gt_lirc: $Id: avia_gt_lirc.c,v 1.1



Calibrating del
DVB: registering frontend 0:0 (VES1820 based DVB-C frontend)...
Memory: 30780k available (1180k kernel code, 348k data, 60k i
avia_av_napi.c: $Id: avia_av_napi.c,v 1.33 2004/03/11 15:30:27 derget Exp $o] menue setupav_
Dentry cache hash table entries: 4096 (order: 3, 32768 by
avia_gt_napi: $Id: avia_gt_napi.c,v 1.203 2005/01/05 05:49:56 carjay Exp $he hash table entries: 2048 (order: 2, 16384 bytes)
Un-Protected
[neutri
$Id: sectionsd.cpp,v 1.237 2007/03/29 15
$Id: zapit.cpp,v 1.395 2007/03/17 21:34:22 houdini Exp $
Dentry cache h
[LCDFONT] FTC_Face_Requester
Initi
avia_gt_core: masking unhandled irq reg 0 bit 7Id: av

Starting kswapdaid 1722 capid
devfs: v
/tmp/currentservices.xml: No such file or directory)
[camd] starting onid 0001 sid 3
[camd] ca system id: 1722tions: 0x1l
[camd] set em
$Id: controld.cpp,v 1.125 2006/09/24 09:17:10 barf Exp $, Inc.amble onid: 0001 sid: 3eeb status: 1d1d

[controld] Boxtype detected: (1,/

Device Boot Start
0x0000000
avia_gt_gv: set_input_size (width=720, height=576)M: 32 MB
$Id: se
0x00020000-0x00040000 : "FLFS (
[LCDFONT] initializing core...
[LCDFONT] adding font /share/fonts/12.pcf.gz...OK (Fix12/Regular)
[LCDFONT] adding font /share/fonts/14B.pcf.gz...OK (Fix14/Bold)
[LCDFONT] adding font /share/fonts/15B.pcf.gz...OK (Fix15/Bold)
[LCDFONT] Intializing font cache...
[LCDFONT] FTC_Face_Requester (Fix15/Bold)
[LCDFONT] FTC_Face_Requester (Fix14/Bold)
/dev/input/event1: No such file or directory
[neutrino] menue setup
loading locales: scandir: No such file or directory
[neutrino] registering as event client
[neutrino] initialized everything
[camd] set emm caid 1722 capid 1500
PES, queue 0 normal.
[camd] starting onid 0001 sid 3eebavia_gt_core: masking unhandled irq reg 1 bit
15

[camd] set emm caid 1722 capid 1500
descramble onid: 0001 sid: 3eeb status: 1d1d
[controld] VIDEO_EVENT_SIZE_CHANGED 720x576 (4:3 -> 16:9)
[sectionsd] getUTC: read: Connection timed out



Aufnahme Log:


descramble onid: 0001 sid: 3eeb status: 1d1dt: 0xc38bb000niti
[lcdd] w
Se
[controld] VIDEO_EVENT_SIZE_CHANGED 720x576 (4:3 -> 16:9)hare/fonts/micron.ttf.
/dev/
hda: SAMSUNG HM120JC, ATA DI
[sectionsd] getUTC: read: Connection timed oute0 at 0x010-0x017,0x04e on irq 47utrino ide] p
[timeThread] - 12.05.2007 15:17:33, tim: Sat May 12 15:17:33 2007
d
[neutrino
hda: host protected area => 1 executing /var/tu
[stream2file]: pthreads exit code: -1
[neutrino] no file /var/tuxbox/config/recording.start was found
Record channel_id: 489270f3eeb epg: 489270f3eeb0040, apids 0x0 mode 1
fsk:0, Genre:64, Dauer: 180
[stream2file]: using 50 ringbuffers
PANIC: not enough space in ringbuffer, available 42887, needed 93225
hda: lost interrupt
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }

hda: drive not ready for command



Format Log:
Formatieren auf EXT2
Die Meldung „Festplatte wird eingerichtet. Bitte warten...
Der Vorgang kann länger dauern.“ bleibt dauerhaft stehen und die Box reagiert nicht mehr. Es bleibt nur ein Power Reset. Beim Versuch auf EXT3 zu formatieren siehts genauso aus.

[CPlugins] executing /lib/tuxbox/plugins/hddspeicher.sh9 2004/08/28 16:44:56 carjay Exp $Request }us=xx 17-
[neutrino ide] executing /var/tuxbox/config/formating.start set_input_size (width=720, height=576)
[sectio
[: missing ]nterrupt
[neutrino ide] found mountpoint /hdd,v 1.29 2004/01/29 19:38:20 zwen Exp
[neutrino ide] unmount /hddris commandsking unhand

[neutrino ide] swapoff successfulate(44100) Image Type: PowerPC
/dev/ide/host0/bus0/target0/lun0: p1 p2e.c,v 1.32 2003/09/30 05:45:35 obi Exp $

Disk /dev/ide/host0/bus0/target0/lun0/disc: 14593 cylinders, 255 heads, 63 sectogt_pig: $Id: avia_gt_pig.c,v 1.40 2003/09/30 05:45:35 obi Exp $ st
Entry Poin
rs/track000
Old situation:
Verif
2 Linux swap / Solarisut_size (width=720, hei
/dev/ide/host0/bus0/target0/lun0/part2 17 14592 14576 117081720 8mode (mode=2)[ne
hda:
Decrementer Frequency = 2
avia_gt_gv: set_input_size (wid
3 Linuxeight=57
/dev/ide/host0/bus0/target0/lun0/part3 0 - 0 0de (mode=2)4593/255/63tf
m8xx_wdt: keep-alive
avia_gt_gv: set_input_size (w
0 Empty height=
/dev/ide/host0/bus0/target0/lun0/part4 0 - 0 0colour frame buffer device 82x32alibrating delay loop... 66.96 BogoMIPSgt_fb
0 Emptyi

New situation:
[mp] ... checkin
avia_gt_lirc: $Id: avia_gt_lirc.c,v 1
2 Linux swap / Solarisobi Exp $
hda: lost int
/dev/ide/host0/bus0/target0/lun0/part2 17 14592 14576 117081720 8_ir.c,v 1.30 2003/09/30 05:45:35 obi Exp $
hd
[neutrino ide] sfdisk completed successful
Setting up swapspace version 1, size = 139825152 bytes
[neutrino ide] mkswap completed successful
hda: lost interrupt
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }

hda: drive not ready for command
hda: lost interrupt
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }

hda: drive not ready for command
hda: lost interrupt
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
mcphisto
Neugieriger
Neugieriger
Beiträge: 3
Registriert: Mittwoch 4. April 2007, 13:27

Beitrag von mcphisto »

Um mögliche Fehlerquellen einzugrenzen hab ich nun das IDE Kabel ausgetauscht, was leider keine Besserung brachte. Zum testen der Festplatte und des 2,5“ Adapters hab ich sie in meinen Rechner eingebaut, formatiert und ein Betriebssystem aufgespielt - hat einwandfrei funktioniert.
Zu guter letzt dachte ich mir, kontrollier mal die Spannung die an der Festplatte über den Spannungsregler ankommt. Die Platte bekommt konstant ihre 5 Volt.
Das dürfte alles als Fehlerquelle herausfallen. Viel bleibt jetzt ja eigentlich nicht mehr über und mein Verdacht fällt immer mehr auf das Interface.
Was meinen denn die erfahrenen Interface Nutzer? Was könnte ich noch ausprobieren?

McPhisto
gurgel
Tuxboxer
Tuxboxer
Beiträge: 2473
Registriert: Dienstag 8. Oktober 2002, 21:06

Beitrag von gurgel »

wenn du die Möglochkeit hast, mess mal das Modemportkabel durch, auch auf Kurzschlüsse.
Anonsten kanns auch sein, dass die Box nen Problem hat.
Test
mcphisto
Neugieriger
Neugieriger
Beiträge: 3
Registriert: Mittwoch 4. April 2007, 13:27

Beitrag von mcphisto »

Das Modemkabel ist in Ordnung. Habs durchgemessen, die Verbindungen sind bestens, nen Kuzschluß gibt’s auch nicht.
Hab die Schnittstellen (Modemport & Interface Port) jetzt noch mit Kontaktspray bearbeitet, aber das Ergebnis blieb unverändert.
Was für mich völlig unverständlich ist, wieso ich die Festplatte auf XFS ohne Probleme formatiert bekomme und bei EXT2 und EXT3 immer wieder das folgende Fehlerbild auftritt!?

Code: Alles auswählen

hda: drive not ready for command
hda: status timeout: status=0xd0 { Busy }

hda: no DRQ after issuing WRITE
ide0: unexpected interrupt, status=0x80, count=5
ide0: reset: success
hda: lost interrupt
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }

hda: drive not ready for command
[sectionsd] readNbytes: received POLLERR
[sectionsd] readNbytes: received POLLERR
[sectionsd] readNbytes: received POLLERR
hda: lost interrupt
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }

hda: drive not ready for command
hda: status timeout: status=0xd0 { Busy }

hda: no DRQ after issuing WRITE
ide0: unexpected interrupt, status=0x80, count=6
ide0: reset: success
Hat jemand ne Ahnung was es beim formatieren für Unterschiede zwischen den Dateisystemen gibt?