kernel panic: Attempted to kill init!
bin sun
busybox_mail at yahoo.com.cn
Mon Nov 21 12:47:11 UTC 2005
hi:
i'm porting linux to motorola lite5200 board:
linux kernel version:linux 2.6.14.2
root file system: randisk
busybox:busybox-1.00-pre8
tinylogin:tinylogin-1.4
Kernel command line: console=ttyS0,115200
root=/dev/ram0 rw init=/bin/busybox console=ttyS0
i run the following commands in u-boot:
=> tftpboot 100000 /MPC5200/uImage
=> tftpboot 200000 /MPC5200/initrd.boot (my ramdisk)
=> bootm 100000 200000
then result as the following:
## Booting image at 00100000 ...
Image Name: Linux-2.4.25
Image Type: PowerPC Linux Kernel Image (gzip
compressed)
Data Size: 832761 Bytes = 813.2 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Loading RAMDisk Image at 00200000 ...
Image Name: RAM disk
Image Type: PowerPC Linux RAMDisk Image (gzip
compressed)
Data Size: 1850172 Bytes = 1.8 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Ramdisk to 03d8d000, end 03f50b3c ... OK
Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual:
0Mb
Linux version 2.4.25 (sb at localhost.localdomain) (gcc
version 3.3.3 (DENX ELDK 3.
1.1 3.3.3-10)) #1 二 11月 15 19:23:00 CST 2005
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,115200
root=/dev/ram0 rw init=/bin/busybox co
nsole=ttyS0
Calibrating delay loop... 307.20 BogoMIPS
Memory: 60472k available (1440k kernel code, 456k
data, 76k init, 0k highmem)
Dentry cache hash table entries: 8192 (order: 4, 65536
bytes)
Inode cache hash table entries: 4096 (order: 3, 32768
bytes)
Mount cache hash table entries: 512 (order: 0, 4096
bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384
bytes)
Page-cache hash table entries: 16384 (order: 4, 65536
bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 0 of device
00:1a.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society
NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
pty: 256 Unix98 ptys configured
ttyS0 on PSC1
ttyS1 on PSC2
ttyS2 on PSC3
RAMDISK driver initialized: 16 RAM disks of 16384K
size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision:
7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes;
override with idebus=xx
Port Config is: 0x11050004
ipb=66MHz, set clock period to 15
GPIO config: 11050004
ATA invalid: 00800000
ATA hostcnf: 03000000
ATA pio1 : 100a0a00
ATA pio2 : 02040600
XLB Arb cnf: 0000a366
mpc5xxx_ide: Setting up IDE interface ide0...
ATA DMA task: 5
Probing IDE interface ide0...
Icecube Bank 0: Found 1 x8 devices at 0x0 in 8-bit
mode
Icecube Bank 0: Found 1 x8 devices at 0x800000 in
8-bit mode
Amd/Fujitsu Extended Query Table at 0x0040
Icecube Bank 0: CFI does not contain boot bank
location. Assuming top.
number of CFI chips: 2
cfi_cmdset_0002: Disabling erase-suspend-program due
to code brokenness.
Icecube flash bank 0: Using static image partition
definition
Creating 5 MTD partitions on "Icecube Bank 0":
0x00000000-0x00800000 : "Spare"
0x00800000-0x00900000 : "kernel"
0x00900000-0x00c00000 : "initrd"
0x00c00000-0x00f00000 : "jffs"
0x00f00000-0x01000000 : "Firmware"
NET4: Linux TCP/IP 1.0 for NET4.0
eth0: Phy @ 0x0, type LXT971 (0x001378e2)
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind
8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 1806k freed
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 76k init
BusyBox v1.00-pre8 (2005.11.21-08:09+0000) multi-call
binary
Usage: busybox [function] [arguments]...
or: [function] [arguments]...
BusyBox is a multi-call binary that combines
many common Unix
utilities into a single executable. Most
people will create a
link to busybox for each function they wish to
use, and BusyBox
will act like whatever it was invoked as.
Currently defined funKctions:
[, ash, basename, busybox, cat, chgrp, chmod,
chown, chroot, clear,
cp, cut, date, dd, df, dirname, dmesg, du,
echo, env, false, fgrep,
find, free, grep, gunzip, gzip, halt, head,
hostname, id, ifconfig,
init, kill, killall, klogd, ln, logger, ls,
mesg, mkedir, mknod,
more, mount, mv, nslookup, ping, poweroff, ps,
pwd, reboot, reset,
rm, rmdir, route, sed, sh, sleep, sort, sync,
syslogd, tail, tar,
test, touch, true, tty, umount, uname, uniq,
uptime, which, whoami,
yes, zcat
rnel panic: Attempted to kill init!
<0>Rebooting in 180 seconds..
please tell me what's the problem
___________________________________________________________
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱
http://cn.mail.yahoo.com
More information about the busybox
mailing list