Kernel panic - not syncing: Attempted to kill init! 问题
linux版本是2.6.27,自己编译了一个内核,烧写到ARM9的板子上停留在Kernel panic - not syncing: Attempted to kill init! ,帮忙看看是怎么回事
RomBOOT
>Start AT91Bootstrap 1.14...
U-Boot 2010.03 (Apr 20 2010 - 22:23:51)
DRAM: 64 MB
NAND: 128 MiB
*** Warning - bad CRC or NAND, using default environment
In: serial
Out: serial
Err: serial
Net: macb0
macb0: Starting autonegotiation...
macb0: Autonegotiation timed out (status=0x7849)
macb0: link down (status: 0x7849)
Hit any key to stop autoboot: 3 2 1 0
NAND read: device 0 offset 0xa0000, size 0x200000
2097152 bytes read: OK
## Booting kernel from Legacy Image at 22000000 ...
Image Name: Linux-2.6.27
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1538504 Bytes = 1.5 MB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux.................................................................................................... done, booting the kernel.
<5>Linux version 2.6.27 (root@zhouchuan) (gcc version 4.2.3 (Sourcery G++ Lite 2008q1-126)) #5 Fri Feb 25 15:26:25 CST 2011
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: Atmel AT91SAM9263-EK
Ignoring unrecognised tag 0x54410008
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 198 MHz, master 99 MHz, main 18.432 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock5 mtdparts=atmel_nand:128k(bootstrap)ro,256k(uboot)ro,128k(env1)ro,128k(env2)ro,2M(linux),-(root) rw rootfstype=jffs2
AT91: 160 gpio irqs in 5 banks
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
console [ttyS0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61664KB available (2844K code, 234K data, 124K init)
Calibrating delay loop... 99.12 BogoMIPS (lpj=495616)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
AT91: Power Management
AT91: Starting after user reset
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
msgmni has been set to 120
io scheduler noop registered
io scheduler anticipatory registered (default)
atmel_lcdfb atmel_lcdfb.0: 150KiB frame buffer at 23940000 (mapped at ffc00000)
Console: switching to colour frame buffer device 30x40
atmel_lcdfb atmel_lcdfb.0: fb0: Atmel LCDC at 0x00700000 (mapped at c485c000), irq 26
atmel_usart.0: ttyS0 at MMIO 0xfeffee00 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfff8c000 (irq = 7) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
macb macb: invalid hw address, using random
MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffbc000 irq 21 (3e:0d:1d:97:54:b3)
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00, irq=-1)
Driver 'sd' needs updating - please use bus_type methods
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
AT91 NAND: 8-bit, Software ECC
Scanning device for bad blocks
Bad eraseblock 256 at 0x02000000
6 cmdlinepart partitions found on MTD device atmel_nand
Creating 6 MTD partitions on "atmel_nand":
0x00000000-0x00020000 : "bootstrap"
0x00020000-0x00060000 : "uboot"
0x00060000-0x00080000 : "env1"
0x00080000-0x000a0000 : "env2"
0x000a0000-0x002a0000 : "linux"
0x002a0000-0x08000000 : "root"
atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffa4000 (irq 14)
usbmon: debugfs is not available
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 29, io mem 0x00a00000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
udc: at91_udc version 3 May 2006
mice: PS/2 mouse device common for all mice
input: gpio-keys as /class/input/input0
ads7846 spi0.3: touchscreen, irq 31
input: ADS784x Touchscreen as /class/input/input1
rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0
rtc-at91sam9 at91_rtt.0: rtc0: SET TIME!
Registered led device: ds1
Registered led device: ds2
Registered led device: ds3
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.17.
AC97C regs = FFFA0000
AC97C irq = 18
at91-ac97: codec write timeout
<4>at91-ac97: codec write timeout
<3>AC'97 0 access is not valid [0xffffffff], removing mixer.
ac97c: probe of ac97c.1 failed with error -5
ALSA device list:
No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x8000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x0015 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x20be instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0x3c7f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x30ff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x0003 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0x0009 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0x3000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x3000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0x2001 instead
Further such events for this erase block will not be printed
Empty flash at 0x0001c3d4 ends at 0x0001c3d8
Empty flash at 0x0001c41c ends at 0x0001c420
Empty flash at 0x0001c460 ends at 0x0001c464
Empty flash at 0x0001c4ac ends at 0x0001c4b0
Empty flash at 0x0001c5d4 ends at 0x0001c5d8
Empty flash at 0x0001c660 ends at 0x0001c664
Empty flash at 0x0001c690 ends at 0x0001c694
Empty flash at 0x0001c6d4 ends at 0x0001c6d8
Empty flash at 0x0001c718 ends at 0x0001c71c
Empty flash at 0x0001c758 ends at 0x0001c75c
Empty flash at 0x0001c7ec ends at 0x0001c7f0
Empty flash at 0x0001c840 ends at 0x0001c844
Empty flash at 0x0001cb74 ends at 0x0001cb78
Empty flash at 0x0001cbbc ends at 0x0001cbc0
Empty flash at 0x0001cc00 ends at 0x0001cc04
Empty flash at 0x0001cc4c ends at 0x0001cc50
Empty flash at 0x0001cc9c ends at 0x0001cca0
Empty flash at 0x0001cce0 ends at 0x0001cce4
Empty flash at 0x0001cd24 ends at 0x0001cd28
Empty flash at 0x0001cd64 ends at 0x0001cd68
Empty flash at 0x0001ce28 ends at 0x0001ce2c
Empty flash at 0x0001ceb4 ends at 0x0001ceb8
Empty flash at 0x0001d210 ends at 0x0001d214
Empty flash at 0x0001d470 ends at 0x0001d474
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0x3004 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0x0008 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0x3001 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c: 0x3000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010: 0x0887 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014: 0x3000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018: 0x009c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c: 0x1008 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020020: 0x3004 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020024: 0x3000 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0x0359 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0x00c7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004000c: 0x0323 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040010: 0x0320 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040014: 0x030d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040018: 0x030f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004001c: 0x04b9 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040020: 0x04cd instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040024: 0x02c1 instead
Further such events for this erase block will not be printed