Nokia Sat Avia 500 IDE Interface Erfahrungs/Problembericht

to stream or not to stream
MarcM
Foren-Moderator
Beiträge: 1119
Registriert: Sonntag 9. Juni 2002, 13:28

Beitrag von MarcM »

Device Boot Start End #cyls #blocks Id System
/dev/hdb1 0+ 127 128- 64511+ 82 Linux swap / Solaris
/dev/hdb2 128 159559 159432 80353728 83 Linux
/dev/hdb3 0 - 0 0 0 Empty
/dev/hdb4 0 - 0 0 0 Empty
wie wäre es denn mit
mkswap /dev/hdb1
und
mkfs.ext3 -T largefile -m0 /dev/hdb2
Marc
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Beitrag von PT-1 »

Goil !!!

Code: Alles auswählen

root@1[dev]# mkswap /dev/hdb1
Setting up swapspace version 1, size = 66052 kB
no label, UUID=5bc79ea3-fdf7-4ee2-b47e-76080f2cb688
und dann

Code: Alles auswählen

root@1[dev]# mkfs.ext3 -T largefile -m0 /dev/hdb2
mke2fs 1.39-WIP (09-Apr-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
78592 inodes, 20088432 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
614 block groups
32768 blocks per group, 32768 fragments per group
128 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 26 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Beitrag von PT-1 »

Code: Alles auswählen

debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.0  mID 01
debug: feID dd    gtxID 0b
debug: fpID 5a     dsID xxxxxxxxxxxxxxxxxxxxxxx
debug: HWrev X5  SWrev 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 #0032

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


U-Boot 1.1.4 (Tuxbox) (Aug  7 2006 - 21:15:08)

CPU:   PPC823ZTnnA at 67.200 MHz: 2 kB I-Cache 1 kB D-Cache
         *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
Board: DBOX2, Nokia, BMon V1.0
       Watchdog enabled
I2C:   ready
DRAM:  32 MB
FLASH:  8 MB
Scanning JFFS2 FS: .. done.
FB:    ready
LCD:   ready
In:    serial
Out:   serial
Err:   serial
Net:   SCC ETHERNET

Options:
  1: Console on null
  2: Console on ttyS0
  3: Console on framebuffer
Select option (1-3), other keys to stop autoboot:  0 
### FS (squashfs) loading 'vmlinuz' to 0x100000
### FS load complete: 758931 bytes loaded to 0x100000
...............................................................
Un-Protected 63 sectors
## Booting image at 00100000 ...
   Image Name:   dbox2
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    758867 Bytes = 741.1 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Linux version 2.4.33.3-dbox2 (vom Jtg-Team)  (gcc version 3.4.4) #1 So Sep 3 18:
07:01 CEST 2006
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0 root=/dev/mtdblock2 rootfstype=squashfs
Decrementer Frequency = 252000000/60
m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
m8xx_wdt: keep-alive trigger installed (PITC: 0x12C0)
Console: colour dummy device 80x25
Calibrating delay loop... 66.96 BogoMIPS
Memory: 30644k available (1296k kernel code, 368k 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
Journalled Block Device driver loaded
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
eth0: CPM ENET Version 0.2.dbox2 on SCC2, 00:50:9c:1a:72:b6
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)"
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
Starting pid 10, console /dev/console: '/etc/init.d/rcS'lti-call 
Starting the automounter
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
dbox2ide: $Id: main.c,v 1.8 2006/09/09 14:13:23 carjay Exp $
ide: late registration of driver.
dbox2ide: activating cs2
dbox2ide: address space of DBox2 IDE CPLD is at: 0xc38aa000
Probing IDE interface ide0...
hda: IC35L080AVVA07-0, ATA DISK drive
ide0 at 0x010-0x017,0x04e on irq 47
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 160836480 sectors (82348 MB) w/1863KiB Cache, CHS=159560/16/63
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1 p2
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal
EXT3-fs: mounted filesystem with ordered data mode.

/dev/ide/host0/bus0/target0/lun0/disc:
 setting standby to 60
5 minutes + 0 seconds)
event: $Id: event.c,v 1.12 2003/09/30 05:45:38 obi Exp $
Thu Jan  1 12:00:00 CET 1970
[i2c-8xx]: mpc 8xx i2c init
[i2c-8xx]: adapter: 0
$Id: cam.c,v 1.30 2004/01/10 16:36:34 alexw Exp $
$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
$Id: cam_napi.c,v 1.8 2003/09/30 05:45:34 obi Exp $
avia_av: $Id: avia_av_core.c,v 1.99 2006/01/08 21:36:22 carjay Exp $
avia_av: AVIA500 sptsfix is off
avia_av_event: $Id: avia_av_event.c,v 1.11 2003/10/26 16:32:51 obi Exp $
avia_av_proc: $Id: avia_av_proc.c,v 1.14 2004/01/21 20:02:29 carjay 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
jtginfo $Id: jtginfo.c,v 1.7 2006/08/01 22:04:55 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.26 2004/05/31 22:56:02 carjay 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 $
$Id: sectionsd.cpp,v 1.227 2006/06/08 20:19:32 houdini Exp $
[sectionsd] Caching max 3000 events
[sectionsd] Caching 7 days
[sectionsd] Events are old 60min after their end time
$Id: zapit.cpp,v 1.389 2006/06/08 20:17:58 houdini Exp $
[getservices] loading motor positions...
[getservices] motor.conf not found.
/tmp/currentservices.xml: No such file or directory
[camd] ca system id: 1722
$Id: controld.cpp,v 1.124 2006/06/27 10:21:59 barf Exp $

[controld] Boxtype detected: (1, Nokia D-BOX2)
[controld]: ROUTEVIDEO v1 = 5 a1 = 1 v2 = 1 a2 = 1 v3 = 0 a3 = 1 fblk=1
[controld] setting VideoFormat to auto 
[nhttpd] Neutrino HTTP-Server starting..
[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...
/bin/neutrino: /lib/libpng12.so.0: no version information available (required by
 /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
[basicsocket] send_data: Resource temporarily unavailable
[basicsocket] send_data: Resource temporarily unavailable
[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 (Fix15/Bold)
[LCDFONT] FTC_Face_Requester (Fix14/Bold)
/dev/input/event1: No such file or directory
[neutrino] menue setup
[controld] setting VideoFormat to auto 
loading locales: scandir: No such file or directory
[neutrino] received 17 sats
[neutrino] registering as event client
[controld] setting VideoFormat to auto 
[basicsocket] send_data: Resource temporarily unavailable
[basicsocket] send_data: Resource temporarily unavailable
[neutrino] initialized everything
zap failed!
[sectionsd] getUTC: read: Connection timed out
jetzt bootet sie erst mal wieder mit meiner 80GB IBM Platte ...

Eventuell koennte sich ja mal einer mein Bootlog anschauen ob die da etwas merkwuerdiges sehen ...

Nur beim

Code: Alles auswählen

lcd.o: init lcd driver module
lcd.o: found KS0713/SED153X lcd interface
macht er eine kleine Gedenkpause ...

Leuchtet leider nur noch schwach gruen auf ...
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Beitrag von PT-1 »

OK,

fuer alle anderen die eventuell ein aehnliches Problem haben:

http://www.knoppix.org/
und dort von http://www.knopper.net/knoppix-mirrors/ auf einem der Mirrors eine Version von Knoppix als ISO herunterladen.

Das ganze dann z.B. mit Nero oder aehnlichem brennen.

Dannach kann man den PC erst einmal mit der DBox Festplatte ausstatten.

In meinem Fall war diese als Slave gejumpert und das CD/DVD Laufwerk als Master.

Nach dem booten des PC's von der Knoppix CD bekommt man den Desktop.

Dann einfach auf die shell (sieht aus wie ein PC Monitor) clicken und das cmd tool startet.

dort dann:

sudo su den Benutzer wechseln
dann
sfdisk -f /dev/hdb << EOF [enter]
dann ,,128,S [enter]
dann ,F [enter]
dann EOF [enter]

man sollte dann diese meldung bekommen

Code: Alles auswählen

root@1[dev]# sfdisk -f /dev/hdb << EOF 
> ,128,S 
> ,,L 
> EOF 
Checking that no-one is using this disk right now ... 
OK 

Disk /dev/hdb: 159560 cylinders, 16 heads, 63 sectors/track 
Old situation: 
Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0 

   Device Boot Start     End   #cyls    #blocks   Id  System 
/dev/hdb1          0+    127     128-     64511+  82  Linux swap / Solaris 
/dev/hdb2        128  159559  159432   80353728   83  Linux 
/dev/hdb3          0       -       0          0    0  Empty 
/dev/hdb4          0       -       0          0    0  Empty 
New situation: 
Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0 

   Device Boot Start     End   #cyls    #blocks   Id  System 
/dev/hdb1          0+    127     128-     64511+  82  Linux swap / Solaris 
/dev/hdb2        128  159559  159432   80353728   83  Linux 
/dev/hdb3          0       -       0          0    0  Empty 
/dev/hdb4          0       -       0          0    0  Empty 
Warning: no primary partition is marked bootable (active) 
This does not matter for LILO, but the DOS MBR will not boot this disk. 
Successfully wrote the new partition table 

Re-reading the partition table ... 

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1) 
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1 
(See fdisk(8).) 
WICHTIG: In meinem Fall ist HDD Slave (HDB) kann aber bei euch Master sein (HDA). Also einfach obiges und folgendes zu dem abaendern !

dann:

mkswap /dev/hdb1

Code: Alles auswählen

Setting up swapspace version 1, size = 66052 kB 
no label, UUID=5bc79ea3-fdf7-4ee2-b47e-76080f2cb688
und dann

mkfs.ext3 -T largefile -m0 /dev/hdb2

Code: Alles auswählen

mke2fs 1.39-WIP (09-Apr-2006) 
Filesystem label= 
OS type: Linux 
Block size=4096 (log=2) 
Fragment size=4096 (log=2) 
78592 inodes, 20088432 blocks 
0 blocks (0.00%) reserved for the super user 
First data block=0 
614 block groups 
32768 blocks per group, 32768 fragments per group 
128 inodes per group 
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624, 11239424 

Writing inode tables: done 
Creating journal (32768 blocks): done 
Writing superblocks and filesystem accounting information: done 

This filesystem will be automatically checked every 26 mounts or 
180 days, whichever comes first.  Use tune2fs -c or -i to override. 
Danach koennt ihr Knoppix wieder herunterfahren und die HDD wieder an die Dbox anklemmen.

HINTS:

Diese Variante oben ist fuer Faelle gedacht wo sich die Dbox einfach weigert z.B. die Platte zu formatieren usw.

Wichtig bei Linux IMMER Gross und Klein Schreibung beachten !!!

Bitte and Master/Slave Jumper denken (box wollte nicht von slave booten)

Wenn Master Jumper dann obige scripts auf HDA aendern !!!

CREDITS: Danke an MarcM der einem Linux Newbie geholfen hat !!!!
froozer
Interessierter
Interessierter
Beiträge: 47
Registriert: Dienstag 16. Mai 2006, 13:17

Beitrag von froozer »

Ich habe es so ähnlich gemacht, nur brauchte ich kein knoppix - egal, ansonsten war es der gleiche weg. Geholfen hat es leider nicht wirklich, da ich nun da angekommen bin, wo du den Thread gestartet hast. Ich bekomme nun lost interrupts.

Ich fürchte wenn die Dbox nicht richtig formatiert, dann klappts mit diesem Weg auch nicht. Ich werde nun mal den Durchgang des Modemkabels messen. Wenn das nicht hilft, teste ich es einmal ohne Distanzhülsen und wenn das dann auch nicht hilft gehe ich ratlos zu Bett.
Schöne Grüße
froozer