内核启动kernel panic-not syncing:No init found.Try passing init=option to kernel

2010-08-04  张芳芳 

   我用的系统是fedora7. 主机IP:192.168.0.1,虚拟机IP192.168.0.3,开发板IP:192.168.0.2 uboot是别人烧好了的,内核也是别人烧好了的,而且明确的是uboot和内核在别人的机子上可以正常跑起来,板子也没问题,SD卡也没问题。nfs系统也挂载了。但是内核启动不起来,具体我贴出来,我连夜在这搞,搞了两天了也没搞定,网上说的有点乱了,哪位高手指点指点:
 
U-Boot code: 41E00000 -> 41E214D8  BSS: -> 41E27D88
DRAM:  32 MB
NAND:  NAND_ECC_NONE selected by board driver. This is not recommended !!
2048 MiB
env_relocate...............go
env_2...............go
env_relocate[217] malloced ENV at 41d654a0
env_3...............go
gd->env_valid =0x1
env_8...............go
env_nand_spec2.........................go
the total is 0x80000
 nand_read.......go
end =0x1000
oobreadlen =0x80
env_nand_spec21.........................go
*** Warning - bad CRC or NAND, using default environment
which is use_default()
env_9...............go
In:    serial
Out:   serial
Err:   serial
board_late_init.....
enter dm9000 eth_init()!
dm9000 reset!
the id_val is 9696f1b6!
the  id_val4 id 0x90000a46!
dm9000 i/o: 0x20000000, id: 0x90000a46
MAC: 00:50:c2:1e:af:fb
operating at 100M full duplex mode
Hit any key to stop autoboot:  0
TFTP from server 192.168.0.1; our IP address is 192.168.0.2
Filename 'zImage'.
Load address: 0x40008000
Loading: checksum bad
####checksum bad
#############################################################
  #################################################################
  #################################################################
  #################################################################
  ########################################
done
Bytes transferred = 1533232 (176530 hex)
Boot with zImage
Using machid 0x0 from environment

Starting kernel ...

Uncompressing Linux................................................................................................ done, booting the kernel.
Linux version 2.6.32 (liupijing@SEP4020.Linux) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #29 Tue Aug 3 13:25:03 CST 2010
CPU: ARMv6-compatible processor [4117b365] revision 5 (ARMv6TEJ), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: SEP0718 board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.3:/nfs ip=192.168.0.2:192.168.0.3:192.168.0.1:255.255.255.0:sep0718:eth0:off console=ttyS0,115200 mem=32mb
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 29292KB available (2640K code, 324K data, 88K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:64
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 49.66 BogoMIPS (lpj=248320)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 57
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x31000000 (irq = 42) is a 16450
serial8250.0: ttyS1 at MMIO 0x31001000 (irq = 43) is a 16450
SEP0718 NAND Driver
mapped registers at 0xc286a000
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd7 (Samsung NAND 8GiB 8-bit)
Scanning device for bad blocks
Creating 4 MTD partitions on "NAND 8GiB 8-bit":
0x000000000000-0x000040000000 : "U-boot"
0x000040000000-0x000080000000 : "linux 2.6.32 kernel"
0x000080000000-0x000140000000 : "root"
0x000140000000-0x000200000000 : "user"
dm9000 Ethernet Driver, V1.31
eth0: dm9000b at c286e000,c2872400 IRQ 10 MAC: 00:50:c2:1e:af:fb (eeprom)
mice: PS/2 mouse device common for all mice
TCP cubic registered
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
IP-Config: Complete:
     device=eth0, addr=192.168.0.2, mask=255.255.255.0, gw=192.168.0.1,
     host=sep0718, domain=, nis-domain=(none),
     bootserver=192.168.0.3, rootserver=192.168.0.3, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.3
Looking up port of RPC 100005/1 on 192.168.0.3
VFS: Mounted root (nfs filesystem) on device 0:11.
devtmpfs: mounted
Freeing init memory: 88K
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

这后面就没有信息了~

 


 具体我感觉有错的地方用蓝色突出标记出来,哪位高手能帮助解决,不甚感激!
761°/7612 人阅读/0 条评论 发表评论

登录 后发表评论