der bei ...starting kernel stehenblieb

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
flk
Contributor
Beiträge: 292
Registriert: Donnerstag 21. November 2002, 05:32
Box 1: AX HD51
Image: tuxbox

der bei ...starting kernel stehenblieb

Beitrag von flk »

Hallo,


ich habe mir heute ein Image aus dem CVS erstellt. Hat soweit auch ganz gut geklappt. make all ist ganz durchgelaufen, erst bei make extra hatte ich dann Fehler. Ich habe ein Jffs2-only Image erstellt und das dann geflasht. Mein Image bleibt bei "starting Kernel" stehen. Im Com Terminal erscheinen auch ne ganze Menge Fehler. Aber da das bei mir noch recht experimentell ist (um nicht zu sagen ich hab keine Ahnung :)), könnte ich einen kleinen Tipp brauchen .


debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.0 mID 02
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-f6.12.c5.07.00.00-c0
debug: HWrev 01 FPrev 0.30
debug: B/Ex/Fl(MB) 32/00/08
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/philips-dbox2/kernel/os in Flash-FS
debug: Got Block #0052

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


PPCBoot 1.1.6 (TuxBox) (Nov 16 2002 - 10:23:37)

CPU: PPC823ZTnnB2 at 65.900 MHz: 2 kB I-Cache 1 kB D-Cache
Watchdog enabled
Board: DBOX2, Phillips
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: framebuffer on ttyS0
2: framebuffer on fb0
3: framebuffer on null
Select option (1-3), other keys to stop autoboot: 0
...............................................................
Un-Protected 63 sectors
### FS (jffs2) loading 'vmlinuz' to 0x100000
### FS load compleate: 722723 bytes loaded to 0x100000
## Booting image at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 722659 Bytes = 705 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.20-dbox2 (root@linux) (gcc version 3.2.1) #1 Fri Jan 17 12:08:
40 CET 2003
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock/2 rw console=ttyS0
Decrementer Frequency = 247125000/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: 30632k available (1256k kernel code, 404k data, 76k 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.1. (C) 2001 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:2a:fa:71
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
Creating 6 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x00040000 : "flfs (ppcboot)"
0x00040000-0x00700000 : "root (cramfs)"
0x00700000-0x00800000 : "var (jffs2)"
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, IGMP
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.
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
cramfs: wrong magic
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000100: 0x3c60 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000104: 0x3863 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000108: 0x7c68 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000010c: 0x4e80 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000110: 0x4160 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000210: 0x3800 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000214: 0x7d18 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000218: 0x3c60 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000021c: 0x7c78 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000220: 0x7c9e in
stead
Further such events for this erase block will not be printed
JFFS2: Erase block at 0x00000000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00004000: 0x9421 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00004004: 0x7c08 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00004008: 0x9001 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000400c: 0x3c60 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00004010: 0x3863 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00004014: 0x4800 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00004018: 0x8001 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000401c: 0x7c08 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00004020: 0x3821 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00004024: 0x4e80 in
stead
Further such events for this erase block will not be printed
JFFS2: Erase block at 0x00004000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00008000: 0x7d29 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00008004: 0x7d29 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00008008: 0x7f03 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000800c: 0x4800 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00008010: 0x7f03 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00008014: 0x8001 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00008018: 0x7c08 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000801c: 0x8281 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00008020: 0x82a1 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00008024: 0x82c1 in
stead
Further such events for this erase block will not be printed
JFFS2: Erase block at 0x00008000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c000: 0x8063 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c004: 0x4e80 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c008: 0x9421 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c00c: 0x7c08 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c010: 0x9321 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c014: 0x9341 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c018: 0x9361 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c01c: 0x9381 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c020: 0x93a1 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000c024: 0x93c1 in
stead
Further such events for this erase block will not be printed
JFFS2: Erase block at 0x0000c000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0x7d5f in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0x7d9f in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0x556b in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001000c: 0x551e in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010010: 0x7d7f in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010014: 0x7d4a in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010018: 0x7d9f in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001001c: 0x7d4a in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010020: 0x7d48 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010024: 0x7d68 in
stead
Further such events for this erase block will not be printed
JFFS2: Erase block at 0x00010000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00014000: 0xcb2b in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00014004: 0xcb4b in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00014008: 0xcb6b in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001400c: 0xcb8b in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00014010: 0xcbab in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00014014: 0xcbcb in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00014018: 0x800b in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001401c: 0xcbeb in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00014020: 0x7c08 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00014024: 0x7d61 in
stead
Further such events for this erase block will not be printed
JFFS2: Erase block at 0x00014000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00018034: 0x0001 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00018038: 0x0001 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001803c: 0x0001 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00018040: 0x0001 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00018044: 0x0001 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00018048: 0x0001 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001804c: 0x0001 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00018050: 0x0001 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00018054: 0x0001 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00018058: 0x0001 in
stead
Further such events for this erase block will not be printed
JFFS2: Erase block at 0x00018000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001ffe0: 0x0202 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001ffe4: 0x509c in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001ffe8: 0x716c in
stead
jffs2_scan_empty(): Empty block at 0x0001ffec ends at 0x0001fffc (with 0xd06d56a
f)! Marking dirty
JFFS2: Erase block at 0x0001c000 is not formatted. It will be erased
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
Kernel panic: VFS: Unable to mount root fs on 1f:00
<0>Rebooting in 180 seconds..
Indy500
Interessierter
Interessierter
Beiträge: 62
Registriert: Donnerstag 10. Oktober 2002, 19:40

Beitrag von Indy500 »

Ein unmodifizierter Kernel aus dem CDK läuft im Jffs2only nicht.
flk
Contributor
Beiträge: 292
Registriert: Donnerstag 21. November 2002, 05:32
Box 1: AX HD51
Image: tuxbox

Beitrag von flk »

Danke für den Hinweis
flk
Contributor
Beiträge: 292
Registriert: Donnerstag 21. November 2002, 05:32
Box 1: AX HD51
Image: tuxbox

Beitrag von flk »

So , jetzt habe ich's mal mit einem modifizierten Kernel probiert und er hält wieder bei starting Kernel. Diesmal kann aber sogar ich was mit der Fehlermeldung anfangen ;)
Der modif. Kernel zu alt, müsste ein 2.4.20 sein, da ich nicht den Release branch ausgecheckt habe (der bei mir nämlich abbricht, weil das Package "tuxbox-plugins" nicht gefunden wird. Komischerweise kann ich den Head kompilieren. Gibt's schon einen modifizierten 2.4.20 Kernel oder geht jffs2only bisher nur mit dem 2.4.19?
Space_2063
Einsteiger
Einsteiger
Beiträge: 294
Registriert: Samstag 8. Dezember 2001, 00:00

Beitrag von Space_2063 »

Nein, sollte auch mit 2.4.20 funktionieren, die flashrules sind ja sogar schon mit drin. Du muss halt deine Kernelconfig anpassen, dann kannst du den Kernel selber kompilieren.
Indy500
Interessierter
Interessierter
Beiträge: 62
Registriert: Donnerstag 10. Oktober 2002, 19:40

Beitrag von Indy500 »

Die Kernel und Module Version sollte schon übereinstimmen. Kernel 2.4.19 mit 2.4.20 modules und umgekehrt geht nicht.

Heute oder Morgen gibts eine neue Version meines Images. Es wird den aktuellen Head mit 2.4.20er Kernel enthalten.

Die Änderungen/Verbesserungen des Jffs2 Codes kann man im Jffs2-Cvs nachlesen.

P.S Nein, das 1x Image geht immer noch nicht.
flk
Contributor
Beiträge: 292
Registriert: Donnerstag 21. November 2002, 05:32
Box 1: AX HD51
Image: tuxbox

Beitrag von flk »

Vielen Dank für das neue Image :P