CDK startet nicht >> Kernel panic: no init found

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
sap
Neugieriger
Neugieriger
Beiträge: 11
Registriert: Freitag 11. Januar 2002, 18:59

CDK startet nicht >> Kernel panic: no init found

Beitrag von sap »

Habe gestern aus dem cvs ein cdk erstellt.
ich denke es hat soweit alles funktioniert.

Allerdings ist mir aufgefallen, dass weder bei make all noch bei make extra der kernel miterstellt wurde

mit make boot hat es dann funktioniert.

ABER:
Leider bootet er nicht richtig. Hier die BOOTLOG:
<BOOTLOG>
odebug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.0 mID 01
debug: feID dd gtxID 0b
debug: fpID 5a dsID 01-d3.9a.2b.07.00.00-34
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: Got BOOTP reply from Server IP 192.168.0.10, My IP 192.168.0.2
debug: Sending TFTP-request for file T/dbox2/tftpboot/ppcboot
will verify ELF image, start= 0x800000, size= 219484
verify sig: 262
boot net: boot file has no valid signature
Branching to 0x40000


ppcboot 0.6.4 (Feb 7 2003 - 09:49:41)

Initializing...
CPU: PPC823ZTnnA at 67 MHz: 2 kB I-Cache 1 kB D-Cache
*** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
Board: ### No HW ID - assuming TQM8xxL
DRAM: (faked) 32 MB
Ethernet: 00-50-9c-1c-4e-18
FLASH: 8 MB
LCD driver (KS0713) initialized
No LCD Logo in Flash , trying tftp
BOOTP broadcast 1
TFTP from server 192.168.0.10; our IP address is 192.168.0.2
Filename 'T/dbox2/tftpboot/logo-lcd'.
Load address: 0x130000
Loading: ##
done
LCD logo at: 0x130000 (0x1FD2AD8 bytes)
No FB Logo in Flash , trying tftp
BOOTP broadcast 1
TFTP from server 192.168.0.10; our IP address is 192.168.0.2
Filename 'T/dbox2/tftpboot/logo-fb'.
Load address: 0x120000
Loading: ###
done
FB logo at: 0x0 (0x1FD2AD8 bytes)
AVIA Frambuffer
Input: serial
Output: serial

Images:
1: cdk
2: yadd
3: debian
4: tiab
5: flash
Select image (1-5), other keys to stop autoboot: 0
BOOTP broadcast 1
TFTP from server 192.168.0.10; our IP address is 192.168.0.2
Filename 'T/dbox2/tftpboot/kernel-cdk'.
Load address: 0x100000
Loading: #######################################################################
########################################################
done
## Booting Linux kernel at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 647363 Bytes = 632 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.19 (Administrator@SAP-NOTEBOOK) (gcc version 3.2) #1 Fri Feb 7
09:51:46 WEST 2003
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0 root=/dev/nfs rw nfsroot=192.168.0.10:T/dbox2
/cdkroot/ ip=192.168.0.2:192.168.0.10:::::off
WARNING: Frequency is not in HZ. Please consider using a newer bootloader!
WARNING: OLD intfreq = 67 busfreq = 67
WARNING: NEW intfreq = 67000000 busfreq = 67000000
Decrementer Frequency = 251250000/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... 66.56 BogoMIPS
Memory: 30788k available (1136k kernel code, 376k 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
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:1c:4e:18
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
Using word write method
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"
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.2, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.0.2, domain=, nis-domain=(none),
bootserver=192.168.0.10, rootserver=192.168.0.10, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 192.168.0.10
Looking up port of RPC 100005/1 on 192.168.0.10
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..
</BOOTLOG>

Mir ist noch aufgefallen, dass im Verz. cdkroot/sbin2 keine init-datei ist und einige andere auch nicht, die in einer yadd die ich heruntergeladen habe schon sind.
Hat jemand eine Idee?
habjetztLinux
Interessierter
Interessierter
Beiträge: 89
Registriert: Sonntag 9. Februar 2003, 10:45

Beitrag von habjetztLinux »

ne Idee leider nicht, nur das selbe Problem... :(
Sagem D-BoxII Kabel 1xIntel AVIA600 Bmon1.3
Zwen
Developer
Beiträge: 867
Registriert: Mittwoch 14. August 2002, 19:50

Beitrag von Zwen »

Ohne init startet die Box nicht, das sollte klar sein...
init ist teil des Pakets busybox, ist das bei dir korrekt gebaut worden ? Oder hast du es womöglich mit nem touch .busybox übersprungen. Gibt es andere binaries aus dem busybox Paket ? (rm,mv,ps,...) ?

Zwen
habjetztLinux
Interessierter
Interessierter
Beiträge: 89
Registriert: Sonntag 9. Februar 2003, 10:45

Beitrag von habjetztLinux »

Nein, das wurde korrekt aufgebaut. Übersprungen hab ich nur ein paar Sachen die zu den Extras zählen, soe wie scummvm (eigentlich schade).
Ich werds noch mal neu compilieren, mal sehen was dann geht.
Sagem D-BoxII Kabel 1xIntel AVIA600 Bmon1.3
boxi
Einsteiger
Einsteiger
Beiträge: 134
Registriert: Montag 22. April 2002, 13:52

Beitrag von boxi »

schon mal geschaut, ob das init file aus inittab existiert???
habjetztLinux
Interessierter
Interessierter
Beiträge: 89
Registriert: Sonntag 9. Februar 2003, 10:45

Beitrag von habjetztLinux »

hat sich erledigt: nochmal compiliert und dann gings
Sagem D-BoxII Kabel 1xIntel AVIA600 Bmon1.3