DietmarW Newmake & JTG Image 27.08.06 IDE Interface Prob

to stream or not to stream
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

DietmarW Newmake & JTG Image 27.08.06 IDE Interface Prob

Beitrag von PT-1 »

Nachdem ich ja schon im Erfahrungs Bericht und in Barf's Topic was darueber geschrieben habe nun hier mein naechster Versuch.

Sat Dbox Nokia
Avia500
32/00/08

Bootlog mit eingebautem IDE Interface & Festplatte als 2tes eingeschaltet:

Code: Alles auswählen

zdebug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.0  mID 01
debug: feID dd    gtxID 0b
debug: fpID 5a     dsID 
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= 149536
verify sig: 262
Branching to 0x40000


U-Boot 1.1.4 (Tuxbox) (Aug 27 2006 - 05:42:54)

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 (jffs2) loading 'vmlinuz' to 0x100000
### FS load complete: 663939 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:    663875 Bytes = 648.3 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Linux version 2.4.32-dbox2 (dietmarw@linux) (gcc version 3.4.4) #3 So Aug 27 05:
43:31 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 rw rootfstype=jffs2
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: 30812k available (1128k 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
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 2.2-r2 (released 2005/09/08) (C) 2002-2005 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 5 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x00040000 : "FLFS (U-Boot)"
0x00040000-0x00800000 : "root (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 (jffs2 filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 60k init
Starting pid 11, console /dev/console: '/etc/init.d/rcS'lti-call 
[color=red]Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide: late registration of driver.
dboxide: activating cs2
dboxide: address space of DBox2 IDE CPLD is at: c38aa000
Probing IDE interface ide0...
hda: SAMSUNG SP2514N, ATA DISK drive
ide0 at 0x010-0x017,0x04e on irq 47
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1 p2
Journalled Block Device driver loaded
mount: Mounting /dev/ide/host0/bus0/target0/lun0/part2 on /hdd failed: Invalid a
rgument[/color]event: $Id: event.c,v 1.12 2003/09/30 05:45:38 obi Exp $
Detected STB:
        Vendor: Nokia
        Model: D-BOX2 
[i2c-8xx]: mpc 8xx i2c init
[i2c-8xx]: adapter: 0
$Id: cam.c,v 1.30 2004/01/10 16:36:34 alexw Exp $
cam: no firmware file found
$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: registering frontend 0:0 (VES1893)...
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_core.c: avia_av_firmware_read: Unable to load '/var/tuxbox/ucodes/avia50
0.ux'.
avia_av: microcode not found, setting up dummy
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 enabled.
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
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 $
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 $
Missing lircd.conf, no lirc support!
Starting the automounter
Starting pid 117, console /dev/console: '/etc/init.d/start'

Please press Enter to activate this console. Thu Jan  1 01:00:00 CET 1970
$Id: sectionsd.cpp,v 1.227 2006/06/08 20:19:32 houdini Exp $
[sectionsd] Caching max 6000 events
[sectionsd] Caching 14 days
[sectionsd] Events are old 60min after their end time
[ConfigFile] Unable to open file /var/tuxbox/config/timerd.conf for reading.
[camd] CA_SEND_MSG: No such device
[camd] CA_SEND_MSG: No such device
$Id: zapit.cpp,v 1.389 2006/06/08 20:17:58 houdini Exp $
[ConfigFile] Unable to open file /var/tuxbox/config/zapit/zapit.conf for reading
.
/var/tuxbox/config/zapit/services.xml: No such file or directory
$Id: controld.cpp,v 1.124 2006/06/27 10:21:59 barf Exp $

[ConfigFile] Unable to open file /var/tuxbox/config/controld.conf for reading.
[controld] /var/tuxbox/config/controld.conf not found
[controld] Boxtype detected: (1, Nokia D-BOX2)
[controld]: ROUTEVIDEO v1 = 5 a1 = 1 v2 = 1 a2 = 1 v3 = 0 a3 = 1 fblk=1
avia_av: new_audio_config timeout
[nhttpd] Neutrino HTTP-Server starting..
[LCDFONT] initializing core...
[LCDFONT] adding font /share/fonts/micron.ttf...avia_av: new_audio_config timeou
t
OK (Micron/Regular)
[LCDFONT] adding font /share/fonts/micron_bold.ttf...OK (Micron/Bold)
[LCDFONT] adding font /share/fonts/pakenham.ttf...neutrino: /lib/libpng12.so.0: 
no version information available (required by neutrino)
OK (Pakenham/Regular)
[LCDFONT] Intializing font cache...
[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] enable flash
[neutrino] Software update enabled
[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
loading locales: scandir: No such file or directory
[neutrino] received 17 sats
[neutrino] registering as event client
[sectionsd] getUTC: read: Connection timed out
IDE Interface schein OK aber Platte wird nicht gemountet. Ich hatte schon mehrfach das JTG Image getestet und die Platte ist niegel nagel neu
Hatte auch schon vorher eine alte 3GB Platte getestet ohne Erfolg

Wenn ich jetzt die neue Barf methode mit init_hdd.sh versuche kommt folgendes:

Code: Alles auswählen

~ # cd ..
/ # cd sbin
/sbin # init_hdd.sh

The number of cylinders for this disk is set to 30401.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): Building a new DOS disklabel. Changes will remain in memor
y only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.


The number of cylinders for this disk is set to 30401.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4): First cylinder (1-30401, default 1): Last cylinder or +s
ize or +sizeM or +sizeK (1-30401, default 30401):
Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4): First cylinder (14-30401, default 14): Using default val
ue 14
Last cylinder or +size or +sizeM or +sizeK (14-30401, default 30401): Using defa
ult value 30401

Command (m for help): Command (m for help): Partition number (1-4): Hex code (ty
pe L to list codes): Changed system type of partition 1 to 82 (Linux swap)

Command (m for help):
Disk /dev/ide/host0/bus0/target0/lun0/disc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot    Start       End    Blocks   Id  S
ystem
/dev/ide/host0/bus0/target0/lun0/part1               1          13      104391
 82  Linux swap
/dev/ide/host0/bus0/target0/lun0/part2              14       30401   244091610
 83  Linux

Command (m for help): The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

/dev/ide/host0/bus0/target0/lun0/disc:
 setting standby to 60 (5 minutes)
Now creating the file system. This may take a few minutes.
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
238464 inodes, 61022902 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
1863 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, 20480000, 23887872

Writing inode tables:  344/1863
Bitte an die Hardware Developers: HILFE !!
Zuletzt geändert von PT-1 am Montag 28. August 2006, 12:13, insgesamt 1-mal geändert.
zoo
Interessierter
Interessierter
Beiträge: 32
Registriert: Dienstag 27. Juni 2006, 08:21

Beitrag von zoo »

Das sieht doch alles gut aus. Allerdings kann man in deinem Log nicht erkennen, ob die Platte zu mounten versucht wird.
Wenn du kannst, dann formatier die Platte doch mal am PC. Und dann versuch mal, die Partition von Hand zu mounten. Und überprüf auch mal deine /etc/fstab.
dietmarw
Contributor
Beiträge: 1833
Registriert: Mittwoch 10. April 2002, 15:39

Re: DietmarW Newmake Image 27.08.06 IDE Interface Problem

Beitrag von dietmarw »

PT-1 hat geschrieben:Ich hatte schon mehrfach das JTG Image getestet
und da lief das ide-if ohne probleme??
muss ja, sonst wäre der titel des treads irgendwie falsch..

laut barf es tests soll die ide unterstützung seit heute defenetiv laufen
Barf
Developer
Beiträge: 1475
Registriert: Dienstag 4. Februar 2003, 22:02

Beitrag von Barf »

Der Thread ist in alles Wesentlichen eine neue Inkarnation von http://tuxbox-forum.dreambox-fan.de/for ... highlight= Dadrin habe ich geschrieben dass das problem ist dass mkfs.ext3 nicht durchläuft. Dies ist entweder ein Problem mit Hardware, Treibers oder mkfs. In engen Sinn hat es nichts mit newmake- oder JtG-Images zu tun.

(@PT-1: mit den Zeilen oben habe ich dein Problem nicht bagatellisiert.)
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Beitrag von PT-1 »

@All (und DietmarW)

Sorry wegen dem verwirrenden Title..
Hatte das ganze WE keine Zeit mehr da aber hier in UK heute ein Feiertag ist habe ich meine neue 250GB mit meiner 80GB Platte getauscht (per Ghost) und habe die 80GB in die Dbxox..

Ergebis:

Code: Alles auswählen

Nokia D-BOX2 - Kernel 2.4.32-dbox2 (01:00:39).
dbox login: root


BusyBox v1.1.3 (2006.08.27-03:22+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # init_hdd.sh

The number of cylinders for this disk is set to 10011.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): Building a new DOS disklabel. Changes will remain in memor
y only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.


The number of cylinders for this disk is set to 10011.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4): First cylinder (1-10011, default 1): Last cylinder or +s
ize or +sizeM or +sizeK (1-10011, default 10011):
Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4): First cylinder (14-10011, default 14): Using default val
ue 14
Last cylinder or +size or +sizeM or +sizeK (14-10011, default 10011): Using defa
ult value 10011

Command (m for help): Command (m for help): Partition number (1-4): Hex code (ty
pe L to list codes): Changed system type of partition 1 to 82 (Linux swap)

Command (m for help):
Disk /dev/ide/host0/bus0/target0/lun0/disc: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot    Start       End    Blocks   Id  S
ystem
/dev/ide/host0/bus0/target0/lun0/part1               1          13      104391
 82  Linux swap
/dev/ide/host0/bus0/target0/lun0/part2              14       10011    80308935
 83  Linux

Command (m for help): The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

/dev/ide/host0/bus0/target0/lun0/disc:
 setting standby to 60 (5 minutes)
Now creating the file system. This may take a few minutes.
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
78464 inodes, 20077233 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
613 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 23 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
Scheint zu funkionieren ;-)