做过嵌入式内核移植的进来拉一把.
1.在华恒9200板子上调试.
2.以下信息没有载入ramdisk.image.gz的情况下输出
谁能分析一下问题在那儿.
Uboot> go 20008000 ## Starting application at 0x20008000 ...
Uncompressing Linux............................................................. done, booting the kernel.
Linux version 2.6.15 (hmp@lemigo) (gcc version 3.4.1) #2 Sat May 27 15:31:43 CST 2006
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: Atmel AT91RM9200-DK
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 180 MHz, master 60 MHz, main 12.000 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: initrd=0x20410000,32M root=/dev/ram init=/linuxrc console=ttyS0
AT91: 128 gpio irqs in 4 banks
PID hash table entries: 512 (order: 9, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 30096KB available (1519K code, 336K data, 88K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Division by zero in kernel.
Division by zero in kernel.
Division by zero in kernel.
Division by zero in kernel.
oom-killer: gfp_mask=0x200d2, order=0
Mem-info:
DMA per-cpu:
cpu 0 hot: low 0, high 18, batch 3 used:0
cpu 0 cold: low 0, high 6, batch 1 used:0
DMA32 per-cpu: empty
Normal per-cpu: empty
HighMem per-cpu: empty
Free pages: 0kB (0kB HighMem)
Active:7379 inactive:97 dirty:0 writeback:0 unstable:0 free:0 slab:52 mapped:0 pagetables:0
DMA free:0kB min:0kB low:0kB high:0kB active:29516kB inactive:388kB present:65536kB pages_scanned:15569 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB
DMA32: empty
Normal: empty
HighMem: empty
Free swap: 0kB
16384 pages of RAM
3 free pages
8845 reserved pages
52 slab pages
2 pages shared
0 pages swap cached
BUG: soft lockup detected on CPU#0!
Pid: 1, comm: swapper
CPU: 0
PC is at out_of_memory+0xc8/0x194
LR is at 0xb
pc : [<c005367c>] lr : [<0000000b>] Not tainted
sp : c0407cf4 ip : c0407cf4 fp : c0407d20
r10: c019cd88 r9 : 00000000 r8 : 00000000
r7 : 00000000 r6 : c0403a40 r5 : 00000000 r4 : c0403a40
r3 : 00000001 r2 : 0000000b r1 : 0000000b r0 : 00000000
Flags: nzCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: 717F Table: 20004000 DAC: 00000017
[<c0020830>] (show_regs+0x0/0x4c) from [<c004f4bc>] (softlockup_tick+0x64/0x7c)
r4 = C0407CAC
[<c004f458>] (softlockup_tick+0x0/0x7c) from [<c003c814>] (do_timer+0x42c/0x4ac)
r4 = C01DE6BC
[<c003c3e8>] (do_timer+0x0/0x4ac) from [<c0023a4c>] (timer_tick+0xe4/0x11c)
[<c0023968>] (timer_tick+0x0/0x11c) from [<c00289a8>] (at91rm9200_timer_interrupt+0x64/0x9
r6 = C0407CAC r5 = C01DD670 r4 = FEFFF000
[<c0028944>] (at91rm9200_timer_interrupt+0x0/0x9 from [<c001f970>] (__do_irq+0x4c/0x8
r6 = 00000000 r5 = 00000000 r4 = C019E570
[<c001f924>] (__do_irq+0x0/0x8 from [<c001fbb0>] (do_level_IRQ+0x68/0xbc)
r8 = C0407CAC r7 = 00000000 r6 = C0407CAC r5 = 00000001
r4 = C01D58B8
[<c001fb48>] (do_level_IRQ+0x0/0xbc) from [<c001fc54>] (asm_do_IRQ+0x50/0x14c)
r6 = 00000001 r5 = FEFFF000 r4 = FFFFFFFF
[<c001fc04>] (asm_do_IRQ+0x0/0x14c) from [<c001e9a4>] (__irq_svc+0x24/0x60)
[<c00535b4>] (out_of_memory+0x0/0x194) from [<c00548d8>] (__alloc_pages+0x228/0x2ac)
[<c00546b0>] (__alloc_pages+0x0/0x2ac) from [<c0051980>] (generic_file_buffered_write+0x1b8/0x5ac)
[<c00517cc>] (generic_file_buffered_write+0x4/0x5ac) from [<c00524c8>] (__generic_file_aio_write_nolock+0x4cc/0x4fc)
[<c0051ffc>] (__generic_file_aio_write_nolock+0x0/0x4fc) from [<c0052574>] (__generic_file_write_nolock+0x7c/0xa
[<c00524f8>] (__generic_file_write_nolock+0x0/0xa from [<c00526d4>] (generic_file_write+0x5c/0xec)
r8 = C02979E0 r7 = C24127B4 r6 = C0410000 r5 = C2412854
r4 = C2412824
[<c0052678>] (generic_file_write+0x0/0xec) from [<c006a8d8>] (vfs_write+0xc0/0x17c)
[<c006a818>] (vfs_write+0x0/0x17c) from [<c006aa54>] (sys_write+0x4c/0x74)
[<c006aa08>] (sys_write+0x0/0x74) from [<c000e030>] (populate_rootfs+0xb4/0xe4)
r8 = 00000000 r7 = C001C204 r6 = C01D5440 r5 = C01D543C
r4 = 00000000
[<c000df7c>] (populate_rootfs+0x0/0xe4) from [<c001e0a0>] (init+0x48/0x224)
r6 = 00000000 r5 = C0406000 r4 = C001C084
[<c001e058>] (init+0x0/0x224) from [<c0035414>] (do_exit+0x0/0xa9
r7 = 00000000 r6 = 00000000 r5 = 00000000 r4 = 00000000
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论