cramfs: wrong magic | Kernel panic: No init found

Das Original Benutzerinterface Neutrino-SD incl. zapit, sectionsd, yWeb etc...
aTahualpa
Beiträge: 2
Registriert: Donnerstag 26. Februar 2004, 20:44

cramfs: wrong magic | Kernel panic: No init found

Beitrag von aTahualpa »

hi,
vom pech verfolgt, zuerst geht der debug nicht rein, dann hab ich den a800a8 fehler / sagem 1x , flashen geht nicht erase error, dann find ich ne andere möglichkeit mit yadd > 4

dann der kack:

Code: Alles auswählen

Copy to Flash... Can't write to protected Flash sectors
### FS (cramfs) loading 'vmlinuz' to 0x100000
cramfs: wrong magic
### FS LOAD ERROR<-1> for vmlinuz!
## Booting image at 00100000 ...
Bad Magic Number

TFTP from server 192.168.0.2; our IP address is 192.168.0.22
Filename 'kernel-cdk'.
Load address: 0x100000
Loading: #################################################################
         #################################################################
         ############
done
Bytes transferred = 725487 (b11ef hex)
..............................................................
Un-Protected 62 sectors
## Booting image at 00100000 ...
   Image Name:   dbox2
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    725423 Bytes = 708.4 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Linux version 2.4.22-dbox2 (Sinnlos98@athlon-mp) (gcc version 3.2.3) #4 Fri Jan 
2 11:37:57 2004
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.2:/C/yadd/cdkroot/ ip=19
2.168.0.22:192.168.0.2:::::off 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.74 BogoMIPS
Memory: 30628k available (1236k kernel code, 436k 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.12c (20020818) 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:6a:81
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
CFI: Found no D-Box 2 flash memory device at location zero
D-Box 2 flash memory: Found 1 x16 devices at 0x0 in 16-bit mode
 Intel/Sharp Extended Query Table at 0x0031
cfi_cmdset_0001: Erase suspend on write enabled
Using buffer write method
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"
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, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
      device=eth0, addr=192.168.0.22, mask=255.255.255.0, gw=255.255.255.255,
     host=192.168.0.22, domain=, nis-domain=(none),
     bootserver=192.168.0.2, rootserver=192.168.0.2, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 192.168.0.2
Looking up port of RPC 100005/1 on 192.168.0.2
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..
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.2  mID 03
debug: feID 00    enxID 03
debug: fpID 52     dsID 
debug: HWrev 21  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> 
dbox2:root> boot net
debug: 
BOOTP/TFTP bootstrap loader (v0.3)
debug: 
debug: Transmitting BOOTP request via broadcast
debug: Got BOOTP reply from Server IP 192.168.0.2, My IP 192.168.0.22
debug: Sending TFTP-request for file C/yadd/tftpboot/u-boot
will verify ELF image, start= 0x800000, size= 145940
verify sig: 262
boot net: boot file has no valid signature
Branching to 0x40000


U-Boot 0.4.0 (TuxBox) (Jan  2 2004 - 11:37:01)

CPU:   PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Board: DBOX2, Sagem, BMon V1.2
       Watchdog enabled
I2C:   ready
DRAM:  32 MB
FLASH:  8 MB
Scanning JFFS2 FS:  done.
find_inode failed for name=u-boot.conf
load: Failed to find inode
FB:    ready
LCD:   ready
In:    serial
Out:   serial
Err:   serial
Net:   SCC ETHERNET
Scanning JFFS2 FS:  done.
find_inode failed for name=logo-lcd
load: Failed to find inode
ready - can't find logo in flash - try network
BOOTP broadcast 1
TFTP from server 192.168.0.2; our IP address is 192.168.0.22
Filename 'logo-lcd'.
Load address: 0x100000
Loading: ##
done
Bytes transferred = 7680 (1e00 hex)
Scanning JFFS2 FS:  done.
find_inode failed for name=logo-fb
load: Failed to find inode
can't find logo in flash - try network
BOOTP broadcast 1
TFTP from server 192.168.0.2; our IP address is 192.168.0.22
Filename 'logo-fb'.
Load address: 0x100000
Loading: #########
done
Bytes transferred = 43045 (a825 hex)

Options:
  1: Bootmeldungen auf Seriell (ttyS0) - standard
  2: Bootmeldungen auf TV (fb0)
  3: Keine Bootmeldungen
  4: Flashen via YADD
     - Flashimage umbennenn in dboxflash.img
     - in das Verzeichniss tftpboot kopieren
     - beim Bootvorgang die Taste 4 drcken.
       HAVE FUN...

...special u-boot for DboxII Boot-Manager
V0.2 patched by Homar 2003 :-P


Select option (1-4), other keys to stop autoboot:  0 TFTP from server 192.168.0.
2; our IP address is 192.168.0.22
Filename 'dboxflash.img'.
Load address: 0x100000
Loading: #################################################################
                           #
done
Bytes transferred = 8257536 (7e0000 hex)
...............................................................
Un-Protected 63 sectors
Erase Flash from 0x10020000 to 0x107fffff - Warning: 63 protected sectors will n
ot be erased!
 done
Erased 63 sectors
Copy to Flash... Can't write to protected Flash sectors
### FS (cramfs) loading 'vmlinuz' to 0x100000
cramfs: wrong magic
### FS LOAD ERROR<-1> for vmlinuz!
## Booting image at 00100000 ...
Bad Magic Number

TFTP from server 192.168.0.2; our IP address is 192.168.0.22
Filename 'kernel-cdk'.
Load address: 0x100000
Loading: #################################################################
         #################################################################
         ############
done
Bytes transferred = 725487 (b11ef hex)
..............................................................
Un-Protected 62 sectors
## Booting image at 00100000 ...
   Image Name:   dbox2
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    725423 Bytes = 708.4 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Linux version 2.4.22-dbox2 (Sinnlos98@athlon-mp) (gcc version 3.2.3) #4 Fri Jan 
2 11:37:57 2004
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.2:/C/yadd/cdkroot/ ip=19
2.168.0.22:192.168.0.2:::::off 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.74 BogoMIPS
Memory: 30628k available (1236k kernel code, 436k 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.12c (20020818) 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:6a:81
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
CFI: Found no D-Box 2 flash memory device at location zero
D-Box 2 flash memory: Found 1 x16 devices at 0x0 in 16-bit mode
 Intel/Sharp Extended Query Table at 0x0031
cfi_cmdset_0001: Erase suspend on write enabled
Using buffer write method
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"
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, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
      device=eth0, addr=192.168.0.22, mask=255.255.255.0, gw=255.255.255.255,
     host=192.168.0.22, domain=, nis-domain=(none),
     bootserver=192.168.0.2, rootserver=192.168.0.2, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 192.168.0.2
Looking up port of RPC 100005/1 on 192.168.0.2
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..