- 论坛徽章:
- 0
|
我在网上下载了一个新kernel2.6.23.14,编译器用的是arm-linux 3.4.1 在2410开发板上启动时。显示到
Uncompressing Linux.......................................................................................... done, booting the kernel.
就没有反应了。
用printascii 后 显示如下
Uncompressing Linux.............................................................
.............................. done, booting the kernel.
<5>Linux version 2.6.23.14 (root@localhost) (gcc version 3.4.1) #14 Tue May 27 2
3:13:01 C
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: SMDK2410
Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 16384
<7> DMA zone: 128 pages used for memmap
<7> DMA zone: 0 pages reserved
<7> DMA zone: 16256 pages, LIFO batch:3
<7> Normal zone: 0 pages used for memmap
<7> Movable zone: 0 pages used for memmap
CPU S3C2410A (id 0x32410002)
S3C2410: core 202.800 MHz, memory 101.400 MHz, peripheral 50.700 MHz
<6>S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
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 in Zone order. Total pages: 16256
<5>Kernel command line: console=ttySAC0,115200 mem=64M
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00500000, tcnt a509, tcfg 00000200,00000000, usec 00001e4c
<1>Unable to handle kernel paging request at virtual address f60003da
<1>pgd = c0004000
<1>[f60003da] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.23.14 #14)
PC is at vgacon_startup+0x1c0/0x408
LR is at ioport_resource+0x20/0x24
pc : [<c011f4b4>] lr : [<c02b231c>] psr: 60000053
sp : c02abf74 ip : c02b22fc fp : c02abf94
r10: 3001dc38 r9 : 41129200 r8 : c02fc880
r7 : c02854dc r6 : 00000000 r5 : c02aebd8 r4 : 00000000
r3 : f6000000 r2 : 00000000 r1 : 00000000 r0 : 00000000
Flags: nZCv IRQs on FIQs off Mode SVC_32 ISA ARM Segment kernel
Control: c000717f Table: 30004000 DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc02aa25
Stack: (0xc02abf74 to 0xc02ac000)
bf60: c02ff650 c001e2cc 00000000
bf80: 00000000 3001dc6c c02abfb8 c02abf98 c00195d8 c011f304 c02fec14 c001e2c8
bfa0: c001e2cc c002134c c02aeab8 c02abfd0 c02abfbc c0018ee0 c00195b4 c02c79f0
bfc0: c02c79e4 c02abff4 c02abfd4 c00089f4 c0018ec0 c0008470 c002134c c0007175
bfe0: c02c8304 c0021348 00000000 c02abff8 30008034 c0008848 00000000 00000000
Backtrace:
[<c011f2f4>] (vgacon_startup+0x0/0x40 from [<c00195d8>] (con_init+0x34/0x2b0)
r8:3001dc6c r7:00000000 r6:00000000 r5:c001e2cc r4:c02ff650
[<c00195a4>] (con_init+0x0/0x2b0) from [<c0018ee0>] (console_init+0x30/0x4
r7:c02aeab8 r6:c002134c r5:c001e2cc r4:c001e2c8
[<c0018eb0>] (console_init+0x0/0x4 from [<c00089f4>] (start_kernel+0x1bc/0x2f4
)
r5:c02c79e4 r4:c02c79f0
[<c0008838>] (start_kernel+0x0/0x2f4) from [<30008034>] (0x30008034)
r6:c0021348 r5:c02c8304 r4:c0007175
Code: e59f7208 ebfc7528 e1a01004 e3a034f6 (e5d323da)
<0>Kernel panic - not syncing: Attempted to kill the idle task!
感觉是console_init(void)的问题,执行到这个函数显示Unable to handle kernel paging request at virtual address f60003da
跟到这个函数里面发现
void __init console_init(void)
{
initcall_t *call;
/* Setup the default TTY line discipline. */
(void) tty_register_ldisc(N_TTY, &tty_ldisc_N_TTY);
/*
* set up the console device so that later boot sequences can
* inform about problems etc..
*/
call = __con_initcall_start;
while (call < __con_initcall_end) {
(*call)();
call++;
}
}
while (call < __con_initcall_end) {
(*call)();
call++;
就没有执行, 怎么解决呀。 |
|