- 论坛徽章:
- 0
|
请问: arm926的芯片,64m内存,通过free命令查看内存使用情况,在freemem =15M左右的情况下会出现oops信息,如下:
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c388c000
[00000000] *pgd=a38e7031, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#3]
Modules linked in: netx fm25l mmio 8250 mox_sys_drv(P) mox_pio(P)
CPU: 0
PC is at unlock_kernel+0x28/0x70
LR is at __init_end+0x20/0x54
pc : [<c0239a20>] lr : [<c0021020>] Tainted: P
sp : c3b3ff88 ip : c3b3ff98 fp : c3b3ff94
r10: c3b3e1a8 r9 : c0021dc8 r8 : 00000b00
r7 : 00000001 r6 : c3b3e04c r5 : 00000000 r4 : c028e490
r3 : 00000000 r2 : c3b3ff88 r1 : 00000028 r0 : 000038c0
Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment user
Control: 5317F
Table: A388C000 DAC: 00000015
Process sh (pid: 818, stack limit = 0xc3b3e25
Stack: (0xc3b3ff88 to 0xc3b40000)
ff80: c3b3ffac c3b3ff98 c0021020 c0239a08 c028e490 00000000
ffa0: 00000000 c3b3ffb0 c0021d68 c0021010 bef788d8 00000000 000001d7 0000010c
ffc0: 00000000 00000000 000d5008 00000001 00000000 00000001 40025000 bef78ee4
ffe0: bef78900 bef788c8 00050cdc 400fd058 20000010 ffffffff 00000000 00000000
Backtrace:
[<c02399f8>] (unlock_kernel+0x0/0x70) from [<c0021020>] (__init_end+0x20/0x54)
[<c0021000>] (__init_end+0x0/0x54) from [<c0021d68>] (fpundefinstr+0x0/0x1
r5 = 00000000 r4 = C028E490
Code: e593300c e5933014 e3530000 b3a03000 (b5833000)
<1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 817 [#4]
Modules linked in: netx fm25l mmio 8250 mox_sys_drv(P) mox_pio(P)
CPU: 0
PC is at do_exit+0x618/0xa1c
LR is at do_exit+0x454/0xa1c
pc : [<c00413c4>] lr : [<c0041200>] Tainted: P
sp : c3b3fe00 ip : c3b3fe00 fp : c3b3fe1c
r10: 00000000 r9 : 00000008 r8 : c3cf8e18
r7 : c3ce3040 r6 : c3cf8e18 r5 : c3cf8d60 r4 : c3ce3040
r3 : 00000000 r2 : c3cf8d60 r1 : c3b3fe00 r0 : c3ce3100
Flags: nZCv IRQs off FIQs on Mode SVC_32 Segment user
Control: 5317F
Table: A388C000 DAC: 00000015
Process sh (pid: 818, stack limit = 0xc3b3e25
Stack: (0xc3b3fe00 to 0xc3b40000)
fe00: c0237a90 c3b3fe04 c3b3fe04 00000000 c3b3fe2c c3b3fe20 c0025ef8 c0040dbc
fe20: c3b3fe4c c3b3fe30 c00276e8 c0025b80 ffffffec c3cf8d60 c3eceb20 c3ebfc94
fe40: c3b3fe8c c3b3fe50 c00278fc c002768c 00000000 c3b3ff28 c3b3fecc 00000817
fe60: c003c53c c028a258 c3b3ff74 c028a2c8 00000817 c3b3ff40 60000013 00000000
fe80: c3b3ff3c c3b3fe90 c0027a70 c0027708 c3b3fecc c3b3fea0 c0039d9c c00382e8
fea0: c3b3febc 40000013 c3ce3040 00800b00 00000000 000038c0 00000000 c3b3ff28
fec0: c3b3ff1c c3b3fed0 c003c908 c0039c58 00000000 00000000 000038c0 c028a2c8
fee0: 00000017 c3b3ffb0 bef78a30 401d2480 c3b3ffac 00000a00 00000000 c3b3ff28
ff00: 00000000 c002107c c0021dc8 c3b3e1a8 c3b3ff94 c3b3ff20 ffffffff c3b3ff74
ff20: c3b3e04c 00000001 00000b00 c3b3e1a8 c3b3ff94 c3b3ff40 c00219cc c0027a48
ff40: 000038c0 00000028 c3b3ff88 00000000 c028e490 00000000 c3b3e04c 00000001
ff60: 00000b00 c0021dc8 c3b3e1a8 c3b3ff94 c3b3ff98 c3b3ff88 c0021020 c0239a20
ff80: a0000013 ffffffff c3b3ffac c3b3ff98 c0021020 c0239a08 c028e490 00000000
ffa0: 00000000 c3b3ffb0 c0021d68 c0021010 bef788d8 00000000 000001d7 0000010c
ffc0: 00000000 00000000 000d5008 00000001 00000000 00000001 40025000 bef78ee4
ffe0: bef78900 bef788c8 00050cdc 400fd058 20000010 ffffffff 00000000 00000000
Backtrace:
[<c0040dac>] (do_exit+0x0/0xa1c) from [<c0025ef8>] (die+0x388/0x3f0)
[<c0025b70>] (die+0x0/0x3f0) from [<c00276e8>] (__do_kernel_fault+0x6c/0x7c)
[<c002767c>] (__do_kernel_fault+0x0/0x7c) from [<c00278fc>] (do_page_fault+0x204/0x21c)
r7 = C3EBFC94 r6 = C3ECEB20 r5 = C3CF8D60 r4 = FFFFFFEC
[<c00276f8>] (do_page_fault+0x0/0x21c) from [<c0027a70>] (do_DataAbort+0x38/0x9
[<c0027a38>] (do_DataAbort+0x0/0x9 from [<c00219cc>] (__dabt_svc+0x4c/0x60)
[<c02399f8>] (unlock_kernel+0x0/0x70) from [<c0021020>] (__init_end+0x20/0x54)
[<c0021000>] (__init_end+0x0/0x54) from [<c0021d68>] (fpundefinstr+0x0/0x1
r5 = 00000000 r4 = C028E490
Code: e5973090 e3530000 0a000001 e3a03000 (e5833000)
<1>Fixing recursive fault but reboot is needed!
BUG: scheduling while atomic: sh/0x00000001/818
BUG: scheduling while atomic: sh/0xffffffff/14528
系统启动的打印信息:
bootloader V1.00.13.000!
Nand ID : 001500A1
Linux 2.6 Freescale MXC processor
Choose an option from below:
1. Load kernel to RAM and then boot from [0xA0008000]
2. Change the Linux kernel destination loading address [0xA0008000]
3. Enter command line option for kernel
4. Change command line option address [0xA0000100]
Please enter selection -> -->Booting from RAM...
page size 2KB
-->Size: 001589E0
-->Crc: 0B4CE671
Copying pages....Total Pages: 000002B2
Page Now: 000002F1
Pmem: A0160FF8
-->Calculated CRC: 0B4CE671
-->Found valid CRC
-->Starting kernel...
Uncompressing Linux................................................................................................ done, booting the kernel.
Linux version 2.6.19.2 (root@localhost.localdomain) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #1 PREEMPT Mon Dec 30 16:17:02 CST 2013
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
Machine: Freescale i.MX27ADS
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
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. Total pages: 16256
Kernel command line: noinitrd console=ttymxc0,115200 root=/dev/mtdblock2 rw rootfstype=jffs2 mem=64M
MXC IRQ initialized
PID hash table entries: 256 (order: 8, 1024 bytes)
WARNING: Can't find valid system rev
Assuming last known system_rev=0x20
system_rev is: 0x20
Actual CLOCK_TICK_RATE is 33250000 Hz
WARNING: Can't find valid system rev
Assuming last known system_rev=0x20
system_rev is: 0x20
Actual HRT CLOCK_TICK_RATE is 33250000 Hz
Console: colour dummy device 80x30
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: 61836KB available (2432K code, 561K data, 100K init)。。
|
|