Kernel panic - not syncing: Attempted to kill init! 问题

zhouchuan111 2011-02-26 10:01:43
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
...全文
1176 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhouchuan111 2011-03-01
  • 打赏
  • 举报
回复
两个方面的原因:
1.分区没有弄好
2.文件系统没有做好
无知者无谓 2011-03-01
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 wenxy1 的回复:]

根文系统没做好,jffs2的格式?
[/Quote]
根文件系统加载失败
可能是对应的文件系统驱动没编译进来,或者你根文件系统没作好
yuanlulu 2011-03-01
  • 打赏
  • 举报
回复
之前做文件系统的时候见过很多次类似错误,也许是文件系统镜像没做好,或者分区配置不对
Wenxy1 2011-02-26
  • 打赏
  • 举报
回复
根文系统没做好,jffs2的格式?
zhouchuan111 2011-02-26
  • 打赏
  • 举报
回复
Empty flash at 0x002d13b0 ends at 0x002d13b8
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0004: 0xdf8b instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0008: 0x4010 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e000c: 0xff1e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0010: 0x2d68 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0014: 0x4010 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0018: 0xdf61 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e001c: 0x4000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0020: 0x0002 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0024: 0x0046 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0028: 0x0e11 instead
Further such events for this erase block will not be printed
Empty flash at 0x002e6c14 ends at 0x002e6c2c
Empty flash at 0x002e6cd4 ends at 0x002e6cec
Empty flash at 0x002e6d94 ends at 0x002e6dac
Empty flash at 0x002e6e54 ends at 0x002e6e6c
Empty flash at 0x002e6e7c ends at 0x002e6e80
Empty flash at 0x002e6f14 ends at 0x002e6f2c
Empty flash at 0x002e6f40 ends at 0x002e6f44
Empty flash at 0x002e6fd4 ends at 0x002e6fec
Empty flash at 0x002e6ffc ends at 0x002e7000
Empty flash at 0x002e7008 ends at 0x002e700c
Empty flash at 0x002e7094 ends at 0x002e70ac
Empty flash at 0x002e70c0 ends at 0x002e70c4
Empty flash at 0x002e70cc ends at 0x002e70d0
Empty flash at 0x002e7154 ends at 0x002e716c
Empty flash at 0x002e717c ends at 0x002e7180
Unable to handle kernel paging request at virtual address 600000bb
pgd = c0004000
[600000bb] *pgd=00000000
Internal error: Oops: 1 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.27 #5)
PC is at atmel_nand_cmd_ctrl+0xc/0x70
LR is at nand_command_lp+0x1e4/0x254
pc : [<c01750c4>] lr : [<c01734d0>] psr: 60000013
sp : c3819a60 ip : c3819a80 fp : c3819a7c
r10: 00000000 r9 : 00000006 r8 : ffffffff
r7 : c398b918 r6 : c398b800 r5 : 0000082e r4 : 00000005
r3 : 00000034 r2 : 00000083 r1 : 000000e0 r0 : 60000013
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 0005317f Table: 20004000 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc3818268)
Stack: (0xc3819a60 to 0xc381a000)
9a60: 00000005 0000082e c398b800 c398b918 c3819aa4 c3819a80 c01734d0 c01750c8
9a80: 00000012 0000002e c398b800 c398b918 00000100 00000002 c3819ae4 c3819aa8
9aa0: c017009c c01732fc c03011bc 00000012 00000001 c388e280 c0173538 c388e080
9ac0: 000005e8 00000000 c398b800 c398b918 00000b0e c3a00000 c3819b5c c3819ae8
9ae0: c0172710 c016ff04 c388e080 c014cbf8 00000000 00000000 00000b0e 00000218
9b00: 0000003f 00000001 00000000 00018de8 00000000 00000000 00000000 00000000
9b20: 00000000 00000000 00000001 00000000 00000000 c398b800 00018de8 c398b918
9b40: 00000000 00587218 00000000 c3983e00 c3819b8c c3819b60 c0172cc4 c0172538
9b60: c398b8e4 c3819b70 c003d80c 002e7218 00000000 c3924ec0 00000000 c39c04ac
9b80: c3819bbc c3819b90 c016b138 c0172c3c 00018de8 c3819c1c c3a00000 c3819c1c
9ba0: c3819bbc c3819c1c c3a000bc 002e7218 c3819c04 c3819bc0 c0100378 c016b0a8
9bc0: 00018de8 c3819c1c c3a00000 c0041db4 c3983f18 00000000 00000001 00018de8
9be0: c3a000bc c3a000b8 c3983e00 00000000 c39c04ac 002e7218 c3819c34 c3819c08
9c00: c00fa1b4 c0100304 00018de8 c3819c1c c3a00000 c3819c2c 00000080 002e7210
9c20: 00000080 00018de8 c3819ccc c3819c38 c00fa8dc c00fa198 000000d0 00000000
9c40: c39e0000 c38027a0 c3819c8c 00000017 00000000 00000000 00020000 c3936e20
9c60: c3a00000 00000000 00000000 c3800b40 002e7214 c3983ecc 000004ac 002e7158
9c80: 002e0000 00018ea8 c007e96c c007e394 c3936e80 c3983e00 00020000 c3a00000
9ca0: c3819ccc c3983eb4 c3983ebc c3983ea4 c3983ec4 00000000 c3983e00 c3983ed4
9cc0: c3819d0c c3819cd0 c00fd5a0 c00fa1e4 c007e72c c007e30c c3983e00 00000000
9ce0: c3983e00 00020000 00000000 c3983e00 c3937000 c380c2a0 c00ffb50 c3924ec0
9d00: c3819d2c c3819d10 c00ff650 c00fd420 c3983e00 c3937000 00000001 00000000
9d20: c3819d4c c3819d30 c00ffbf0 c00ff528 c3937000 c3937000 00008000 00000000
9d40: c3819d74 c3819d50 c016a3e4 c00ffb60 c3982000 00000000 c02fbc40 00008000
9d60: c02fbc40 00000000 c3819da4 c3819d78 c016a4a8 c016a394 c3924ec0 c00ffb50
9d80: c380c2a0 c3982000 01f00005 c3982000 c02fbc40 00008000 c3819dec c3819da8
9da0: c016a5d8 c016a458 00000005 c00ffb50 c380c2a0 00000000 00000000 c3936ec0
9dc0: c3936ec0 c380c2a0 c3982000 c02fbc40 00008000 00000000 c3984000 00000000
9de0: c3819e04 c3819df0 c00ffa24 c016a4c8 c00ffb50 c380c2a0 c3819e34 c3819e08
9e00: c0083848 c00ffa10 c380c2a0 c3819e18 c0096cfc 00008000 c3982000 00000000
9e20: c3984000 c02fbc40 c3819e5c c3819e38 c00838fc c0083800 c3984000 00008000
9e40: 00000000 c3819e88 c3982000 c3984000 c3819e7c c3819e60 c00998bc c00838d0
9e60: 00008000 00000000 c3819e88 c3985000 c3819f04 c3819e80 c0099a5c c009986c
9e80: c3982000 00000000 c380c7a0 c3401b98 00000000 c3818000 00000001 00000001
9ea0: 00000001 00000000 c02b0864 c02b0864 00008000 c3819f14 00000000 00000000
9ec0: c3819edc c3819ed0 c00682a4 c0067ed0 c3819f04 c3819ee0 c00976ac 00000000
9ee0: c3985000 c02b0864 00008000 c02b0864 00000000 00000000 c3819f3c c3819f08
9f00: c0099b10 c00998fc 00000000 c3406ad8 c3819f94 c3982000 c3984000 00000000
9f20: c3861000 c3861006 c3861000 00008000 c3819f5c c3819f40 c0008c10 c0099a94
9f40: 00000000 c0023844 00000000 c3861000 c3819fa4 c3819f60 c0008e8c c0008bf8
9f60: 00000080 5c2d2f7c 00000080 c3861000 c0023854 c3861000 01f00005 c0023844
9f80: 00000000 01f00005 c0023844 00000000 00000000 00000000 c3819fbc c3819fa8
9fa0: c0009074 c0008dac c030aca8 c0023844 c3819fdc c3819fc0 c0009224 c0008fc0
9fc0: c3819fdc c3819fd0 c030ac80 c0022674 c3819ff4 c3819fe0 c000877c c00090bc
9fe0: 00000000 00000000 00000000 c3819ff8 c003fb0c c00086d8 00000000 00000000
Backtrace:
[<c01750b8>] (atmel_nand_cmd_ctrl+0x0/0x70) from [<c01734d0>] (nand_command_lp+0x1e4/0x254)
r7:c398b918 r6:c398b800 r5:0000082e r4:00000005
[<c01732ec>] (nand_command_lp+0x0/0x254) from [<c017009c>] (nand_read_subpage+0x1a8/0x2a4)
[<c016fef4>] (nand_read_subpage+0x0/0x2a4) from [<c0172710>] (nand_do_read_ops+0x1e8/0x41c)
[<c0172528>] (nand_do_read_ops+0x0/0x41c) from [<c0172cc4>] (nand_read+0x98/0xbc)
[<c0172c2c>] (nand_read+0x0/0xbc) from [<c016b138>] (part_read+0xa0/0xd4)
r9:c39c04ac r8:00000000 r6:c3924ec0 r5:00000000 r4:002e7218
[<c016b098>] (part_read+0x0/0xd4) from [<c0100378>] (jffs2_flash_read+0x84/0x250)
r6:002e7218 r5:c3a000bc r4:c3819c1c
[<c01002f4>] (jffs2_flash_read+0x0/0x250) from [<c00fa1b4>] (jffs2_fill_scan_buf+0x2c/0x4c)
[<c00fa188>] (jffs2_fill_scan_buf+0x0/0x4c) from [<c00fa8dc>] (jffs2_scan_medium+0x708/0x1590)
r4:00018de8
[<c00fa1d4>] (jffs2_scan_medium+0x0/0x1590) from [<c00fd5a0>] (jffs2_do_mount_fs+0x190/0x568)
[<c00fd410>] (jffs2_do_mount_fs+0x0/0x568) from [<c00ff650>] (jffs2_do_fill_super+0x138/0x21c)
[<c00ff518>] (jffs2_do_fill_super+0x0/0x21c) from [<c00ffbf0>] (jffs2_fill_super+0xa0/0xbc)
r7:00000000 r6:00000001 r5:c3937000 r4:c3983e00
[<c00ffb50>] (jffs2_fill_super+0x0/0xbc) from [<c016a3e4>] (get_sb_mtd_aux+0x60/0xc4)
r7:00000000 r6:00008000 r5:c3937000 r4:c3937000
[<c016a384>] (get_sb_mtd_aux+0x0/0xc4) from [<c016a4a8>] (get_sb_mtd_nr+0x60/0x70)
[<c016a448>] (get_sb_mtd_nr+0x0/0x70) from [<c016a5d8>] (get_sb_mtd+0x120/0x188)
r7:00008000 r6:c02fbc40 r5:c3982000 r4:01f00005
[<c016a4b8>] (get_sb_mtd+0x0/0x188) from [<c00ffa24>] (jffs2_get_sb+0x24/0x30)
[<c00ffa00>] (jffs2_get_sb+0x0/0x30) from [<c0083848>] (vfs_kern_mount+0x58/0xb0)
[<c00837f0>] (vfs_kern_mount+0x0/0xb0) from [<c00838fc>] (do_kern_mount+0x3c/0xd8)
r8:c02fbc40 r7:c3984000 r6:00000000 r5:c3982000 r4:00008000
[<c00838c0>] (do_kern_mount+0x0/0xd8) from [<c00998bc>] (do_new_mount+0x60/0x90)
r9:c3984000 r8:c3982000 r7:c3819e88 r6:00000000 r5:00008000
r4:c3984000
[<c009985c>] (do_new_mount+0x0/0x90) from [<c0099a5c>] (do_mount+0x170/0x198)
r7:c3985000 r6:c3819e88 r5:00000000 r4:00008000
[<c00998ec>] (do_mount+0x0/0x198) from [<c0099b10>] (sys_mount+0x8c/0xd4)
[<c0099a84>] (sys_mount+0x0/0xd4) from [<c0008c10>] (do_mount_root+0x28/0xb0)
r7:00008000 r6:c3861000 r5:c3861006 r4:c3861000
[<c0008be8>] (do_mount_root+0x0/0xb0) from [<c0008e8c>] (mount_block_root+0xf0/0x214)
r4:c3861000
[<c0008d9c>] (mount_block_root+0x0/0x214) from [<c0009074>] (mount_root+0xc4/0xfc)
r8:00000000 r7:00000000 r6:00000000 r5:c0023844 r4:01f00005
[<c0008fb0>] (mount_root+0x0/0xfc) from [<c0009224>] (prepare_namespace+0x178/0x1d0)
r5:c0023844 r4:c030aca8
[<c00090ac>] (prepare_namespace+0x0/0x1d0) from [<c000877c>] (kernel_init+0xb4/0xdc)
r5:c0022674 r4:c030ac80
[<c00086c8>] (kernel_init+0x0/0xdc) from [<c003fb0c>] (do_exit+0x0/0x6f0)
r5:00000000 r4:00000000
Code: e89da800 e1a0c00d e92dd8f0 e24cb004 (e59030a8)
---[ end trace 859207ab7efab207 ]---
Kernel panic - not syncing: Attempted to kill init!
]
zhouchuan111 2011-02-26
  • 打赏
  • 举报
回复
这儿有这么几句,问题是不是出在这里?
Unable to handle kernel paging request at virtual address 600000bb
pgd = c0004000
[600000bb] *pgd=00000000
Internal error: Oops: 1 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.27 #5)
PC is at atmel_nand_cmd_ctrl+0xc/0x70
LR is at nand_command_lp+0x1e4/0x254
pc : [<c01750c4>] lr : [<c01734d0>] psr: 60000013
sp : c3819a60 ip : c3819a80 fp : c3819a7c
r10: 00000000 r9 : 00000006 r8 : ffffffff
r7 : c398b918 r6 : c398b800 r5 : 0000082e r4 : 00000005
r3 : 00000034 r2 : 00000083 r1 : 000000e0 r0 : 60000013
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 0005317f Table: 20004000 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc3818268)
Stack: (0xc3819a60 to 0xc381a000)
9a60: 00000005 0000082e c398b800 c398b918 c3819aa4 c3819a80 c01734d0 c01750c8
  • 打赏
  • 举报
回复
找出出错的代码段,一般是对空指针进行操作,或者内存越界。

4,436

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧