hänger "bei loading kernel"

Anlaufschwierigkeiten? Was ist was? Worum geht's?
wumonline
Neugieriger
Neugieriger
Beiträge: 16
Registriert: Samstag 21. September 2002, 17:36

hänger "bei loading kernel"

Beitrag von wumonline »

Hi NG,

ich habe auf meine Sagem 2xAMD das 1.6 Baseimage geflasht und die aktuellen cdk.cramfs von http://www.neutrino-anleitung.de/flash_base.htm auf die box geladen. Auserdem ucodes die allerding nicht von meinen Backup erstellt worden sind.
Bei den ersten neustart bleibt die Box jetzt immer beim "loading kernel" sehen.

=================LOGFILE=========================
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.1 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-cb.ef.86.07.00.00-45
debug: HWrev 01 FPrev 0.23
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/sagem-dbox2/kernel/os in Flash-FS
debug: Got Block #0052

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


PPCBoot 1.1.6 (TuxBox) (Jul 27 2002 - 10:11:47)

CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Watchdog enabled
Board: DBOX2, Sagem
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
Scanning JFFS2 FS: done.
find_inode failed for name=tuxbox
load: Failed to find inode
LCD: Scanning JFFS2 FS: done.
find_inode failed for name=tuxbox
load: Failed to find inode
ready - can't find logo in flash
FB: Scanning JFFS2 FS: done.
find_inode failed for name=tuxbox
load: Failed to find inode
can't find logo in flash - no init
In: serial
Out: serial
Err: serial

Options:
1: Console on null
2: Console on ttyS0
3: Console on framebuffer
Select (1-3), other keys to stop autoboot: 0
...............................................................
Un-Protected 63 sectors
### FS (cramfs) loading 'vmlinuz' to 0x100000
### FS LOAD ERROR<ffffffff> for vmlinuz!
=>

============LOGEND===========================
SoLaLa
Tuxboxer
Tuxboxer
Beiträge: 6119
Registriert: Mittwoch 3. April 2002, 00:32

Beitrag von SoLaLa »

hallöle,
hast du dir da auch bestimmt das richtige image runtergeladen? für 2xflash-boxen?
weil die ppcboot findet ja nichtmal die logos im flash und das ist schon n bissi merkwürdig, entweder ist der download korrupt gewesen oder das war n falsches image
never change a running system
wumonline
Neugieriger
Neugieriger
Beiträge: 16
Registriert: Samstag 21. September 2002, 17:36

Beitrag von wumonline »

Ja, ich habe definitiv den 2'er base. Das interesante an der sache ist das ich jetzt nicht einmal mehr das image neu flashen kann.


=================LOGFILE=========================

=>
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.1 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-cb.ef.86.07.00.00-45
debug: HWrev 01 FPrev 0.23
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/sagem-dbox2/kernel/os in Flash-FS
debug: Got Block #0052

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


PPCBoot 1.1.6 (TuxBox) (Jul 27 2002 - 10:11:47)

CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Watchdog enabled
Board: DBOX2, Sagem
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
Scanning JFFS2 FS: done.
find_inode failed for name=tuxbox
load: Failed to find inode
LCD: Scanning JFFS2 FS: done.
find_inode failed for name=tuxbox
load: Failed to find inode
ready - can't find logo in flash
FB: Scanning JFFS2 FS: done.
find_inode failed for name=tuxbox
load: Failed to find inode
can't find logo in flash - no init
In: serial
Out: serial
Err: serial

Options:
1: Console on null
2: Console on ttyS0
3: Console on framebuffer
Select (1-3), other keys to stop autoboot: 0
=> bootp 120000 /D/DOWNLOAD/Hard/DBOX-linux/alexW2xBaseimageV1.6.img
BOOTP broadcast 1
=>

=================ENDLOG=====================

Gibt es eine möglichkeit den flash nochmal ganz zu löschen??
Tom1069
Erleuchteter
Erleuchteter
Beiträge: 664
Registriert: Donnerstag 4. Juli 2002, 00:53

Beitrag von Tom1069 »

Hast Du im Bootmanager auf Image flashen geklickt?
Im Log bootet die Box ja aus dem Flash,und der ist ja mit Müll voll.

Vielleicht hift dir das weiter:
http://www.dietmar-h.net/flashprob.html
wumonline
Neugieriger
Neugieriger
Beiträge: 16
Registriert: Samstag 21. September 2002, 17:36

Beitrag von wumonline »

Ja, habe ich.
Bin nach dem FAQ http://www.dietmar-h.net/flashprob.html vorgegangen.
1. DBOx aus
2. DBox-Boot gestartet
3. Einstellungen wie hier http://www.neutrino-anleitung.de/flash_img.htm
4. Image flashen angeklickt
5. DBox an
6. DBox boot nicht von alleine
7. DBox mit reset / pfeil nach oben taste neu gestartet
8. im com-terminal boot net eingegeben
9. flashen klapte
10. IP Nummer vergeben
11. cdk.cramfs und ucodes hochgeladen

so, und jetzt bleibt die box immer noch beim loading kernel hängen.
boot net failt

Kann ich die box jetz nur noch über PC/com terminal starten?
Soll ich die ganze sache nochmal ab den enablen des debug moduses versuchen?

BTW: Ein versuch nach http://www.dietmar-h.net/alt_flash.html hat mich auch nicht weiter gebracht.
Dietmar
Senior Member
Beiträge: 8282
Registriert: Mittwoch 10. Oktober 2001, 00:00

Beitrag von Dietmar »

hm, post halt mal das Log, wenn die box startet. (alle server im bootmanager aus, nur den com-port aktiv lassen)
an die ucodes hast gedacht und die sind ok?
wumonline
Neugieriger
Neugieriger
Beiträge: 16
Registriert: Samstag 21. September 2002, 17:36

Beitrag von wumonline »

=====================LOG FILLE====================
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.1 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-cb.ef.86.07.00.00-45
debug: HWrev 01 FPrev 0.23
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/sagem-dbox2/kernel/os in Flash-FS
debug: Got Block #0052

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


PPCBoot 1.1.6 (TuxBox) (Jul 27 2002 - 10:11:47)

CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Watchdog enabled
Board: DBOX2, Sagem
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
Scanning JFFS2 FS: done.
find_inode failed for name=tuxbox
load: Failed to find inode
LCD: Scanning JFFS2 FS: done.
find_inode failed for name=tuxbox
load: Failed to find inode
ready - can't find logo in flash
FB: Scanning JFFS2 FS: done.
find_inode failed for name=tuxbox
load: Failed to find inode
can't find logo in flash - no init
In: serial
Out: serial
Err: serial

Options:
1: Console on null
2: Console on ttyS0
3: Console on framebuffer
Select (1-3), other keys to stop autoboot: 0
...............................................................
Un-Protected 63 sectors
### FS (cramfs) loading 'vmlinuz' to 0x100000
### FS LOAD ERROR<ffffffff> for vmlinuz!
=>

=====================END LOG===================

Die ucodes habe ich aus dem Netz da ich leider kein Image auslesen konnte.
Kannn daran aber eigendlich nicht liegen da die ucodes IMHO erst später benutzt werden.
Dietmar
Senior Member
Beiträge: 8282
Registriert: Mittwoch 10. Oktober 2001, 00:00

Beitrag von Dietmar »

Hm, und Du hast genau die Dateien benutzt die auf http://www.neutrino-anleitung.de verlinkt sind?
Hast du mal ein andres Image probiert?
Evlt. kommst Du auch mit dem 1.6.2 weiter:
http://dboxupdate.berlios.de/images/ale ... V1.6.2.zip
bzw. dem aktuellen Snapshot von http://dboxupdate.berlios.de
wumonline
Neugieriger
Neugieriger
Beiträge: 16
Registriert: Samstag 21. September 2002, 17:36

Beitrag von wumonline »

Ich habe es mit den neuen Snapshot versucht und auch mit den 1.6.2'er Image. Bei den 1.6.2 Image blieb die Box beim "schreibe Flash" hängen :cry: log ganz unten.

===============LOGFILE=====================
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.1 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-cb.ef.86.07.00.00-45
debug: HWrev 01 FPrev 0.23
debug: B/Ex/Fl(MB) 32/00/08
WATCHDOG reset enabled
debug: &_text 0x10000, &_etext 0x26ec0, &_data 0x26ec0, &_edata 0x2a9bc
debug: &_end 0x35944, &__stack 0x400000
debug: Memory tests (0x400000 -- 0x2000000)
debug: NumberTest: debug: passed
debug: MarchTest: debug: passed
debug: PermTest: debug: passed
dbox2:root> boot
debug:
BOOTP/TFTP bootstrap loader (v0.3)
debug:
debug: Transmitting BOOTP request via broadcast
debug: Got BOOTP reply from Server IP 192.168.0.1, My IP 192.168.0.23
debug: Sending TFTP-request for file C/dbox2/tftpboot/ppcboot
will verify ELF image, start= 0x800000, size= 204200
verify sig: 262
boot net: boot file has no valid signature
Branching to 0x40000


ppcboot 0.6.4 (Jun 24 2002 - 20:39:15)

Initializing...
CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Board: ### No HW ID - assuming TQM8xxL
DRAM: (faked) 32 MB
Ethernet: 00-50-9c-31-1f-e0
FLASH: 8 MB
LCD driver (KS0713) initialized
BOOTP broadcast 1
TFTP from server 192.168.0.1; our IP address is 192.168.0.23
Filename 'C/dbox2/tftpboot/logo-lcd'.
Load address: 0x130000
Loading: ##
done
LCD logo at: 0x130000 (0x1FD2814 bytes)
BOOTP broadcast 1
TFTP from server 192.168.0.1; our IP address is 192.168.0.23
Filename 'C/dbox2/tftpboot/logo-fb'.
Load address: 0x120000
Loading: ##############
done
FB logo at: 0x0 (0x1FC0000 bytes)
AVIA Frambuffer
Input: serial
Output: serial


1: Console on ttyS0
2: Console on null
3: Console on framebuffer
Select (1-3), other keys to stop autoboot: 0
...............................................................
Un-Protected 63 sectors
BOOTP broadcast 1
TFTP from server 192.168.0.1; our IP address is 192.168.0.23
Filename 'C/dbox2/tftpboot/kernel-yadd'.
Load address: 0x100000
Loading: #######################################################################
#############################################
done
## Booting Linux kernel at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 589808 Bytes = 575 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.19 (von alexW) Wer Kernels nachmacht, oder faelscht, wird best
raft ;-) #1 Don Aug 22 22:54:03 CEST 2002
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0 ip=bootp root=/dev/nfs rw nfsroot=192.168.0.1
:C/dbox2/yaddroot/
WARNING: Frequency is not in HZ. Please consider using a newer bootloader!
WARNING: OLD intfreq = 66 busfreq = 66
WARNING: NEW intfreq = 66000000 busfreq = 66000000
Decrementer Frequency = 247500000/60
mpc8xx-wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
mpc8xx-wdt: keep-alive trigger activated (PITC: 0x2000)
Console: colour dummy device 80x25
Calibrating delay loop... 65.53 BogoMIPS
Memory: 30944k available (1036k kernel code, 320k data, 68k 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.12a (20020514) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
i2c-core.o: i2c core module
CPM UART driver version 0.03
ttyS00 at 0x0280 is a SMC
ttyS01 at 0x0380 is a SMC
pty: 256 Unix98 ptys configured
eth0: CPM ENET Version 0.2 on SCC2, 00:50:9c:31:1f:e0
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Creating 3 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x00800000 : "flash without bootloader"
0x00000000-0x00800000 : "complete flash"
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)
Sending BOOTP requests . OK
IP-Config: Got BOOTP answer from 192.168.0.1, my address is 192.168.0.23
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.0.23, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.0.23, domain=, nis-domain=(none),
bootserver=192.168.0.1, rootserver=192.168.0.1, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 192.168.0.1
Looking up port of RPC 100005/1 on 192.168.0.1
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 68k init
Kernel panic: No init found. Try passing init= option to kernel.
<0>Rebooting in 180 seconds..


===================ENDLOG======================

==================LOG 1.6.2.=====================
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.1 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-cb.ef.86.07.00.00-45
debug: HWrev 01 FPrev 0.23
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/sagem-dbox2/kernel/os in Flash-FS
debug: Got Block #0052

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


PPCBoot 1.1.6 (TuxBox) (Aug 5 2002 - 09:06:03)

CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Watchdog enabled
Board: DBOX2, Sagem
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
Scanning JFFS2 FS: . done.
LCD: ready
FB: loading - ready
In: serial
Out: serial
Err: serial

Options:
1: Console on null
2: Console on ttyS0
3: Console on framebuffer
Select (1-3), other keys to stop autoboot: 0
...............................................................
Un-Protected 63 sectors
### FS (cramfs) loading 'vmlinuz' to 0x100000
### FS load compleate: 547317 bytes loaded to 0x100000
## Booting image at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 547253 Bytes = 534 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.19 (von alexW) Wer Kernels nachmacht, oder faelscht, wird best
raft ;-) #1 Son Aug 4 10:58:46 CEST 2002
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 console=ttyS0
Decrementer Frequency = 247500000/60
mpc8xx-wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
mpc8xx-wdt: keep-alive trigger activated (PITC: 0x2000)
Console: colour dummy device 80x25
Calibrating delay loop... 65.53 BogoMIPS
Memory: 30916k available (1028k kernel code, 364k 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.12a (20020514) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communications
AB.
i2c-core.o: i2c core module
CPM UART driver version 0.03
ttyS00 at 0x0280 is a SMC
ttyS01 at 0x0380 is a SMC
pty: 256 Unix98 ptys configured
eth0: CPM ENET Version 0.2 on SCC2, 00:50:9c:31:1f:e0
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Creating 6 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x00040000 : "flfs (ppcboot)"
0x00040000-0x00720000 : "root (cramfs)"
0x00720000-0x00800000 : "var (jffs2)"
0x00020000-0x00800000 : "flash without bootloader"
0x00000000-0x00800000 : "complete flash"
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 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 60k init
console=/dev/console
init started: BusyBox v0.61.pre (2002.08.18-16:06+0000) multi-caStarting pid 9,
console /dev/console: '/etc/init.d/rcS'
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003fff4: 0xffff in
stead
Using /lib/modules/2.4.19/misc/i2c-8xx.o
[i2c-8xx]: mpc 8xx i2c init
i2c-core.o: adapter registered as adapter 0.
[i2c-8xx]: adapter: 0
Using /lib/modules/2.4.19/misc/info.o
i2c-core.o: driver FOR_PROBE_ONLY registered.
i2c-core.o: driver unregistered: FOR_PROBE_ONLY
Using /lib/modules/2.4.19/misc/event.o
event: init ...
Using /lib/modules/2.4.19/misc/input.o
Using /lib/modules/2.4.19/misc/fp.o
i2c-core.o: driver DBox2 Frontprocessor driver registered.
i2c-core.o: client [DBox2 Frontprocessor client] registered to adapter [](pos. 0
).
Using /lib/modules/2.4.19/misc/lcd.o
lcd.o: init lcd driver module
lcd.o: found KS0713/SED153X lcd interface on 3
[lcdip] Bootmanager IP gefunden.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
Internal flash device timeout occured or write operation was performed while fla
sh was programming.
wumonline
Neugieriger
Neugieriger
Beiträge: 16
Registriert: Samstag 21. September 2002, 17:36

Beitrag von wumonline »

Das Image lüppt jetzt - Das Yadd-Verzeichniss muss mit den :oops: Untar-Utils entpackt werden. ;-)

Wenn ich jetzt den rest noch ans laufen bekomme ....