Probleme mit IDE/SATA Interface

Hier geht's nur um das JtG-Team Image
Antworten
Nachricht
Autor
bbox
Einmal-Streamer
Einmal-Streamer
Beiträge: 3
Registriert: Di 01 Dez 2009, 12:38

Probleme mit IDE/SATA Interface

#1 Beitrag von bbox » Mo 07 Dez 2009, 18:44

Hallo
Habe mir das IDE/SATA-IF von Bastian geholt.
DBox2 ist Nokia AVIA 600 SAT 32MB onboard

Nach Einbau (vorher Ramslot und IF nartürlich gründlich gereinigt) zuerst mal helle Freude.
Die mitgelieferte Samsung SATA 2,5 Zoll 500 GB wurde sofort und auf Anhieb ohne jegliche Probleme erkannt und gemountet. Nachdem ich dann mal n paar Aufnahmen machte und dann abspielte (funktioniert tadellos), habe ich auch mal die MMC-Treiber (mmc2) geladen. Nach Neustart der Box wird der Micro-SD-Slot aber nicht richtig initialisiert - ebenso wenig wird die RTC nicht erkannt (Kabel zum i2c sind gelötet, nicht vertauscht und auch kein Kabelbruch).
HDD und RTC werden vom IF- Netzteil gespeisst und sind dem entsprechend gejumpert (Ausgangsspannung ist bei beiden ~5V).
SATA ist als Master gejumpert (IDE ist nicht im Gebrauch

Als Micro SD-Karten kommen/kamen 1GB Sandisk und 1GB Noname (glaube Microstar) in Frage. Beide wurden im PC einwandfrei erkannt und funktionieren Tadellos.

Habe alle möglichen Treiberkonstallationen durch, aber MMC und RTC werden zum k....... nicht erkannt.
Die HDD funktioniert komischerweise tadellos.

Was kann ich da vielleicht noch falsch gemacht haben (Einbau erfolgte explizit nach Anleitung und auch ein 2. Reinigungsvorgang brachte keinen Erfolg).

Hier noch ein aktuelles Bootlog

Code: Alles auswählen

Edebug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.2  mID 01
debug: feID dd    gtxID 0b
debug: fpID 5a     dsID 01-9a.1e.41.07.00.00-88
debug: HWrev 09  FPrev 0.81
debug: B/Ex/Fl(MB) 32/00/08
WATCHDOG reset enabled
dbox2:root> debug: 
BOOTP/TFTP bootstrap loader (v0.3)
debug: 
debug: Transmitting BOOTP request via broadcast
debug: Given up BOOTP/TFTP boot
boot net failed

Flash-FS bootstrap loader (v1.5)

Found Flash-FS superblock version 3.1
Found file /root/platform/nokia-dbox2/kernel/os in Flash-FS
debug: Got Block #0032debug: Got Block #0004debug: Got Block #0008debug: Got Block #0012debug: Got Block #0016debug: Got Block #0020debug: Got Block #0024debug: Got Block #0028debug: Got Block #0032debug: Got Block #0036

will verify ELF image, start= 0x800000, size= 172040
verify sig: 262
Branching to 0x40000


U-Boot 2009.06 (Tuxbox) (04. Jul 09 12:13:49) 

CPU:   PPC823ZTnnB2 at 67.100 MHz: 2 kB I-Cache 1 kB D-Cache
Board: DBOX2, Nokia, BMon V1.2
       Watchdog enabled
I2C:   ready
DRAM:  32 MB
FLASH:  8 MB
Scanning JFFS2 FS:   .   done.
env: found console with value ttyS0
env: found baudrate with value 9600
env: found dbox_duplex with value 0
env: found lcd_inverse with value 0
env: found lcd_contrast with value 15
env: found lcd_bias with value 0
FB:    ready
In:    serial
Out:   serial
Err:   serial
Net:   SCC ETHERNET
LCD:   ready

Options:
  1: Console on null
  2: Console on ttyS0
  3: Console on framebuffer
Select option (1-3), other keys to stop autoboot:  1  0 
............................................................... done
Un-Protected 63 sectors
### FS (squashfs) loading 'vmlinuz' to 0x100000
### FS load complete: 670726 bytes loaded to 0x100000
## Booting kernel from Legacy Image at 00100000 ...
   Image Name:   dbox2
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    670662 Bytes = 654.9 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Linux version 2.4.37.2-dbox2 (vom Jtg-Team) (gcc version 3.4.6) #3 Sa 4. Jul 12:09:48 CEST 2009
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs console=ttyS0,9600
Decrementer Frequency = 251625000/60
m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
m8xx_wdt: keep-alive trigger installed (PITC: 0x2580)
Warning: real time clock seems stuck!
Console: colour dummy device 80x25
Calibrating delay loop... 66.76 BogoMIPS
Memory: 30824k available (1144k kernel code, 340k data, 60k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
squashfs: version 3.0 (2006/03/15) Phillip Lougher
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
CPM UART driver version 0.04
ttyS0 at 0x0280 is on SMC1 using BRGttyS1 at 0x0380 is on SMC2 using BRG2
pty: 256 Unix98 ptys configured
half-duplex mode enabled
eth0: CPM ENET Version 0.2.dbox2 on SCC2, 00:50:9c:43:13:f7
loop: loaded (max 8 devices)
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit bank
 Intel/Sharp Extended Query Table at 0x0035
cfi_cmdset_0001: Erase suspend on write enabled
Creating 6 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x00040000 : "FLFS (U-Boot)"
0x00040000-0x006a0000 : "root (squashfs+lzma)"
0x006a0000-0x00800000 : "var (jffs2)"
0x00020000-0x00800000 : "Flash without bootloader"
0x00000000-0x00800000 : "Complete Flash"
Linux video capture interface: v1.00
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 60k init
init started: BusyBox v1.14.2 (2009-07-04 12:10:18 CEST)
starting pid 8, tty '': '/etc/init.d/rcS'
Starting the automounter
event: $Id: event.c,v 1.12 2003/09/30 05:45:38 obi Exp $
tuxbox: IDE-Interface detected, Vendor: DboxBaer or kpt.ahab/Stingray
[i2c-8xx]: mpc 8xx i2c init
[i2c-8xx]: adapter: 0
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
$Id: cam.c,v 1.30 2004/01/10 16:36:34 alexw Exp $
dboxide: $Id: main.c,v 1.14 2009/06/19 14:39:26 seife Exp $
ide: late registration of driver.
dboxide: activating cs2
dboxide: address space of IDE-Interface is at: 0xc394f000
dboxide: IDE-Interface detected, Vendor: DboxBaer or kpt.ahab/Stingray
dboxide: sreset succeeded
$Id: avia_napi.c,v 1.18 2003/11/24 09:53:01 obi Exp $
DVB: registering new adapter (C-Cube AViA GTX/eNX with AViA 500/600).
dvb_i2c_bridge: enabled DVB i2c bridge to PowerPC 8xx I2C adapter
Probing IDE interface ide0...
hda: WDC WD5000BEVT-00A0RT0, ATA DISK drive
ide0 at 0x010-0x017,0x04e on irq 47
$Id: cam_napi.c,v 1.8 2003/09/30 05:45:34 obi Exp $
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 976773168 sectors (500108 MB) w/8192KiB Cache, CHS=60801/255/63
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1 p2
avia_av: $Id: avia_av_core.c,v 1.99 2006/01/08 21:36:22 carjay Exp $
avia_av: AVIA500 sptsfix is off
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
avia_av_core: Starting avia_av_wdt thread.

/dev/ide/host0/bus0/target0/lun0/disc:
 setting 32-bit IO_support flag to 1
 setting drive write-caching to 1 (on)
avia_av_event: $Id: avia_av_event.c,v 1.11 2003/10/26 16:32:51 obi Exp $
 setting standby to 0 (off)
 IO_support    =  1 (32-bit)
 write-caching =  1 (on)avia_av_proc: $Id: avia_av_proc.c,v 1.15 2007/07/29 18:14:12 papst Exp $

avia_gt_core: $Id: avia_gt_core.c,v 1.48 2004/12/20 01:01:22 carjay Exp $
avia_gt_core: autodetecting chip type... GTX
avia_gt_gtx: $Id: avia_gt_gtx.c,v 1.24 2003/09/30 05:45:35 obi Exp $
avia_gt_accel: $Id: avia_gt_accel.c,v 1.19 2003/09/30 05:45:35 obi Exp $
avia_gt_dmx: $Id: avia_gt_dmx.c,v 1.210 2004/06/26 16:08:15 carjay Exp $
avia_gt_core: masking unhandled irq reg 1 bit 11
avia_gt_core: masking unhandled irq reg 1 bit 13
avia_gt_ucode: loaded ucode v0014
avia_gt_ucode: ucode section filters disabled.
avia_gt_dmx: warning, misaligned queue 0 (is 0xFD200, size 65536), aligning...
avia_gt_gv: $Id: avia_gt_gv.c,v 1.39 2004/08/28 16:44:56 carjay Exp $
avia_gt_gv: set_input_size (width=720, height=576)
avia_gt_pcm: $Id: avia_gt_pcm.c,v 1.29 2004/01/29 19:38:20 zwen Exp $
avia_gt_pcm_set_rate(44100)
avia_gt_capture: $Id: avia_gt_capture.c,v 1.32 2003/09/30 05:45:35 obi Exp $
avia_gt_pig: $Id: avia_gt_pig.c,v 1.40 2003/09/30 05:45:35 obi Exp $
avia_gt_vbi: $Id: avia_gt_vbi.c,v 1.26 2003/08/01 17:31:22 obi Exp $
avia_gt_core: Loaded AViA eNX/GTX driver
avia_gt_fb: $Id: avia_gt_fb_core.c,v 1.54 2004/03/17 18:42:18 zwen Exp $
avia_gt_gv: set_input_mode (mode=2)
avia_gt_gv: set_input_size (width=720, height=576)
avia_gt_gv: set_input_mode (mode=2)
avia_gt_gv: set_input_size (width=720, height=576)
avia_gt_gv: set_input_mode (mode=2)
avia_gt_gv: set_input_size (width=720, height=576)
Console: switching to colour frame buffer device 82x32
avia_gt_fb: fb0: AViA eNX/GTX Framebuffer frame buffer device
lcd.o: init lcd driver module
lcd.o: found KS0713/SED153X lcd interface
ds1307: $Id: ds1307.c,v 1.1 2005/08/27 01:59:05 chakazulu Exp $
jtginfo $Id: jtginfo.c,v 2.2 2009/02/07 21:51:28 jtgriker Exp $
avia_gt_lirc: $Id: avia_gt_lirc.c,v 1.14 2003/09/30 05:45:35 obi Exp $
avia_gt_ir: $Id: avia_gt_ir.c,v 1.30 2003/09/30 05:45:35 obi Exp $
avia_oss: $Id: avia_gt_oss.c,v 1.28 2009/03/22 12:37:58 rhabarber1848 Exp $
avia_gt_pcm_set_rate(44100)
avia_gt_v4l2: $Id: avia_gt_v4l2.c,v 1.12 2003/09/30 04:54:03 obi Exp $
ves1x93: Detected ves1893a rev2
DVB: registering frontend 0:0 (VES1893)...
avia_av_napi.c: $Id: avia_av_napi.c,v 1.33 2004/03/11 15:30:27 derget Exp $
avia_gt_napi: $Id: avia_gt_napi.c,v 1.203 2005/01/05 05:49:56 carjay Exp $
/dev/dbox/clock: No such file or directory
insmod: a module named ext2 already exists
mmc Hardware init
mmc Card init
mmc Card init
mmc: error in mmc_card_init (1)
mmc: error in mmc_init (-1)
mount: mounting /dev/mmc/disc0/part1 on /mnt/mmc failed: No such file or directory
$Id: sectionsd.cpp,v 1.302 2009/06/27 19:47:19 rhabarber1848 Exp $
[sectionsd] Caching max 6000 events
[sectionsd] Caching 14 days
[sectionsd] Caching 6 hours Extended Text
[sectionsd] Events are old 60min after their end time
/var/tuxbox/config/zapit/epgfilter.xml: No such file or directory
/var/tuxbox/config/zapit/dvbtimefilter.xml: No such file or directory
/var/tuxbox/config/mybouquets.xml: No such file or directory
[timerd] woke up from timer? false!
$Id: zapit.cpp,v 1.431 2009/06/28 21:56:14 seife Exp $
[zapit] PMT update enabled
[frontend] uncommitted_switch_mode 0 auto_fec 0
[getservices] /var/tuxbox/config/zapit/myservices.xml  found.
[getservices] dup transponder id 3 onid 85
[getservices] dup transponder id 11 onid 85
[getservices] dup transponder id 2 onid 85
[getservices] dup transponder id 1 onid 85
/tmp/currentservices.xml: No such file or directory
[controld] Boxtype detected: (1, Nokia D-BOX2)
[controld]: ROUTEVIDEO v1 = 5 a1 = 1 v2 = 1 a2 = 1 v3 = 0 a3 = 1 fblk=1
[camd] ca system id: 1702
[CVideo::setVideoFormat] output format: 4:3(LB)
[yhttpd] Webserver nhttpd/3.1.8 (yhttpd_core/1.2.0)
[LCDFONT] initializing core...
[LCDFONT] adding font /share/fonts/micron.ttf...OK (Micron/Regular)
[LCDFONT] adding font /share/fonts/micron_bold.ttf...OK (Micron/Bold)
[LCDFONT] adding font /share/fonts/pakenham.ttf...OK (Pakenham/Regular)
[LCDFONT] Intializing font cache...
[yhttpd] Webserver starting...
neutrino: /lib/libpng12.so.0: no version information available (required by neutrino)
starting /bin/neutrino
[neutrino] frameBuffer Instance created
812k video mem
avia_gt_gv: set_input_mode (mode=2)
avia_gt_gv: set_input_size (width=720, height=576)
[neutrino] Software update enabled
[neutrino] enable flash
[lcdd] time-skin not found -> using default...
[lcdd] weekday-skin not found -> using default...
[lcdd] date-skin not found -> using default...
[lcdd] month-skin not found -> using default...
[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 (Fix14/Bold)
/dev/input/event1: No such file or directory
[neutrino] menue setup
[neutrino] found esound, adding to mainmenue/personalize
imageinfo: JTG-Image [IDE] (2.3.3)
loading locales: scandir: No such file or directory
[neutrino] can not use input repeat on fd_rc[0]: 22 (Invalid argument) 
[neutrino] setRepeat: delay=25 period=0 use kernel-repeat: no
[neutrino] received 29 sats
[neutrino] registering as event client
[LCDFONT] FTC_Face_Requester (Fix15/Bold)
avia_gt_core: masking unhandled irq reg 0 bit 6
avia_gt_core: masking unhandled irq reg 0 bit 7
PES, queue 0 normal.
avia_gt_core: masking unhandled irq reg 1 bit 15
[neutrino] no file /var/tuxbox/config/init.end was found
[neutrino] initialized everything
[controld] VIDEO_EVENT_SIZE_CHANGED 720x576 (4:3 -> 16:9)
01:01:04.378 [timeThread] - 07.12.2009 18:02:38, tim: Mon Dec  7 18:02:38 2009
18:02:38.004 [timeThread] Time set via DVB, going to sleep for 1800 seconds.
18:02:39.012 dmxSDT: going to sleep...
18:02:39.140 eit_set_update_filter, servicekey = 0x44100012ee3, current version 8
Gruß bbox

bbox
Einmal-Streamer
Einmal-Streamer
Beiträge: 3
Registriert: Di 01 Dez 2009, 12:38

Re: Probleme mit IDE/SATA Interface

#2 Beitrag von bbox » Di 08 Dez 2009, 10:44

Hallo nochmal

Da bis jetzt noch niemand etwas zu meinem Problem sagen konnte, stell ich mal noch einen Auszug aus dem Bootlog mit aktivierten "combo auto" Treiber hier rein. Dort wird der Treiber scheinbar teilweise initialisiert....oder?

Vielleicht kann hier raus ja jemand deuten, ob es definitiv ein Hardware-Fehler ist, oder es "nur an der verwendeten Karte liegt.
(gleicher Initialisierungsfehler kommt auch bei nicht gesteckter Karte....also eher Hardwaredefekt??????)

Code: Alles auswählen

tuxbox: IDE-Interface detected, Vendor: DboxBaer or kpt.ahab/Stingray
$Id: mmccombo.c,v 1.2 2007/05/21 08:37:28 satsuse Exp $
mmc: force hardware allocation, even if otherwise assigned.
mmc: User asked for autodetection, I'll try ...
mmc: Hardware cleanup - nothing to clean
mmc: Hardware init for wiringopt = 4 - OK
mmc: Hardware cleanup - done
mmc: Hardware init for wiringopt = 1 - OK
mmc: Hardware cleanup - done
mmc: Hardware init for wiringopt = 2 - FORCED! But A:C0 B:0
mmc: autodetection failed. Quit
Oops: kernel access of bad area, sig: 11
NIP: C000D988 XER: 00000000 LR: C000D97C SP: C1C11CF0 REGS: c1c11c40 TRAP: 0300
   Not tainted
MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000000, DSISR: C2000000
TASK = c1c10000[47] 'insmod' Last syscall: 128
last math 00000000 last altivec 00000000
GPR00: 00001032 C1C11CF0 C1C10000 00000001 00009032 00000001 FFFFCD78 C0144C57
GPR08: 00000000 C1C11D28 00000040 00000000 28004022 1007F4F0 1007A880 10080000
GPR16: 00000001 100859A4 10085908 10085B68 00009032 C1C11EA0 C1BE2000 10092CB8
GPR24: C1C11DD0 00000008 C1C11D20 C3880000 C0165374 C1C11D20 C0165360 C0165370
Call backtrace:
C1C11D50 C0007638 C0060F64 C005B384 C38840EC C38844AC C0011148
C000289C 1000CBCC 1000A238 10009FA8 10003CA0 10003CD0 10003EB0
0FEDE6EC 00000000
Ich wäre echt froh, wenn mir hier jemand weiter helfen könnte....bin nämlich am verzweifeln.

PS: SATA-Platte und RTC sind hir abgesteckt, da ich mich immo nur auf den MicroSD-Slot konzentriere!

Gruß bbox

bbox
Einmal-Streamer
Einmal-Streamer
Beiträge: 3
Registriert: Di 01 Dez 2009, 12:38

Re: Probleme mit IDE/SATA Interface

#3 Beitrag von bbox » Di 08 Dez 2009, 18:10

Hallo nochmal

HABE DEN FEHLER GEFUNDEN


Ich weiß zwar nicht, wie die IF´s vor Versand getestet werden.......aber bei meinem ist wohl nur die Funktion der HDD oder überhaupt nicht getestet worden.

Fehlergrund war folgender:

Nach dem ich mir die Platine des IF mit einer mobilen Webcamera (bis 10fach Zomm) auf dem PC-Bildschirm mal genauer angeschaut habe, fiel mir auf der Unterseite der Platine in der Nähe der Kontakte des IDE-Slots ein Lötpunkt auf, der etwas "verlaufen" war und mit seinen "Ausläufern" eine weitere Leiterbahn berührte. Dieses war mit bloßen Auge nicht wahrzunehmen und ich habe versucht, diesen "Lötausläufer" zu unterbrechen. bzw. zu entfernen.
Diese ist mir mit entsprechender Lötspitze auch gelungen und das IF funktioniert seit dem in allen Bereichen (incl. RTC) so, wie es bei Lieferung eigentlich sein sollte.

Gruß bbox

Antworten