2.5.14 Kernel panic
Hi.
I installed linux-2.5.14 that kernel configuration is as same as linux-2.5.13. compile is OK, but kernel panic occured at boot up.
=== console log ===
biovec: init pool 0, 1 entries, 12 bytes
biovec: init pool 1, 4 entries, 48 bytes
biovec: init pool 2, 16 entries, 192 bytes
biovec: init pool 3, 64 entries, 768 bytes
biovec: init pool 4, 128 entries, 1536 bytes
biovec: init pool 5, 256 entries, 3072 bytes
parport0: PC-style at 0x3bc [PCSPP(,...)]
vesafb: framebuffer at 0xe0000000, mapped to 0xc6800000, size 8192k
vesafb: mode is 800x600x8, linelength=800, pages=15
vesafb: protected mode interface info at c000:49a0
vesafb: scrolling: redraw
Unable to handle kernel NULL pointer dereference at virtual address 00000040
printing eip:
c01a6946
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c01a6946>] Not tainted
EFLAGS: 00010202
eax: 00000020 ebx: 00000040 ecx: 00000008 edx: 00000000
esi: c02a18a0 edi: 00000040 ebp: 00000020 esp: c5f97e50
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 1, threadinfo=c5f96000 task=c5f94040)
Stack: c02a1b88 00000000 c02a1a60 00000000 00005656 00000008 00000010 c01ab1a7
c022984c c02a1b88 00000000 00000010 00000010 00000000 00000010 c0243c64
c022984c 00000001 00000000 c02a1a60 00007f58 c029d520 c10da160 00000000
Call Trace: [<c01ab1a7>] [<c01a96c4>] [<c01a96df>] [<c01747d4>] [<c0177f57>]
[<c01a66f1>] [<c0105023>] [<c010553c>]
Code: f3 a5 a8 02 74 02 66 a5 a8 01 74 01 a4 8b 4c 24 24 8b 44 24
<0>Kernel panic: Attempted to kill init!== compile error messages ==
floppy.c: In function `floppy_revalidate':
floppy.c:3856: warning: unused variable bh' eepro100.c:2252: warning: eepro100_remove_one' defined but not used io_apic.c:221: warning: `move' defined but not used bsetup.s: Assembler messages:
bsetup.s:1023: Warning: value 0x37ffffff truncated to 0x37ffffff Root device is (3, 4)
Boot sector 512 bytes.
Setup is 4764 bytes.
System is 685 kB
--------------------------------
Seiichi Nakashima
Email [email protected]
--------------------------------
You will get more information by showing symbol.
Use ksymoops or do symbolize virtual address by hand (using ``System.map''). ``Call Trace'' may be useful.
Quoted 20 lines · Seiichi Nakashima
Unable to handle kernel NULL pointer dereference at virtual address 00000040
printing eip:
c01a6946
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c01a6946>] Not tainted
EFLAGS: 00010202
eax: 00000020 ebx: 00000040 ecx: 00000008 edx: 00000000
esi: c02a18a0 edi: 00000040 ebp: 00000020 esp: c5f97e50
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 1, threadinfo=c5f96000 task=c5f94040)
Stack: c02a1b88 00000000 c02a1a60 00000000 00005656 00000008 00000010 c01ab1a7
c022984c c02a1b88 00000000 00000010 00000010 00000000 00000010 c0243c64
c022984c 00000001 00000000 c02a1a60 00007f58 c029d520 c10da160 00000000
Call Trace: [<c01ab1a7>] [<c01a96c4>] [<c01a96df>] [<c01747d4>] [<c0177f57>]
[<c01a66f1>] [<c0105023>] [<c010553c>]
Code: f3 a5 a8 02 74 02 66 a5 a8 01 74 01 a4 8b 4c 24 24 8b 44 24
<0>Kernel panic: Attempted to kill init!Signature · 2 lines
Osamu Tomita E-mail: [email protected]
Quoted 4 lines
You will get more information by showing symbol.
Use ksymoops or do symbolize virtual address by hand (using ``System.map''). ``Call Trace'' may be useful.
I boot up linux-2.5.14 to use vga=771 parameter, Now I boot up linux-2.5.14 to unuse vga parameter, then linux-2.5.14 boot up.
Quoted 2 lines
Quoted 2 lines
Call Trace: [<c01ab1a7>] [<c01a96c4>] [<c01a96df>] [<c01747d4>] [<c0177f57>] [<c01a66f1>] [<c0105023>] [<c010553c>]
I extracted Call Trace address( nearly ) from /boot/System.map. Is it OK?
c0104000 T empty_zero_pagec0105000 T _stextc0105000 T stextc0105000 t rest_initc010501c t initc0105140 T prepare_namespacec0105220 T thread_saved_pcc0105230 T disable_hlt
...c01745e0 t set_cursorc0174660 t set_originc01746f4 T redraw_screenc017483c T vc_cons_allocatedc017485c t visual_initc017493c T vc_allocate
...c0177cbc t con_closec0177cf4 t vc_initc0177df8 t clear_buffer_attributesc0177e64 T take_over_consolec0177ff4 T give_up_consolec0178020 t set_vesa_blankingc017803c t vesa_powerdown
...c01a6514 t fb_openc01a6598 t fb_releasec01a65f0 T register_framebufferc01a671c T unregister_framebufferc01a67a0 T fb_alloc_cmapc01a68a4 T fb_copy_cmapc01a6ae4 T fb_get_cmap
...c01a93c4 t fbcon_bmove_recc01a9554 t fbcon_switchc01a971c t fbcon_blankc01a9938 t fbcon_free_font
...c01ab05c T gen_get_cmapc01ab088 T fbgen_set_cmapc01ab11c T gen_set_cmapc01ab1b4 T fbgen_pan_displayc01ab274 T fbgen_do_set_var
...
=====
--------------------------------
Seiichi Nakashima
Email [email protected]
--------------------------------
2.5.29 Compile error
In reply to Seiichi NakashimaHi.
linux-2.5.29 compile error occured.
===== make bzImage error log =====
softirq.c: In function `spawn_ksoftirqd':
softirq.c:416: warning: statement with no effectbuffer.c: In function `__buffer_error':
buffer.c:65: warning: implicit declaration of function show_stack' agp.h:86: warning: global_cache_flush' defined but not used
agp.h:86: warning: `global_cache_flush' defined but not usedide-cd.c: In function `ide_cdrom_do_request':
ide-cd.c:1623: warning: implicit declaration of function ide_stall_queue' eepro100.c:2248: warning: eepro100_remove_one' defined but not used share.c: In function `parport_claim_or_block':
share.c:1005: warning: unused variable `flags'
bluesmoke.c:309: warning: `mce_task' defined but not usedapm.c: In function `apm_get_info':
apm.c:1592: warning: implicit declaration of function `num_possible_cpus' apm.c: At top level:
apm.c:933: warning: sysrq_poweroff_op' defined but not used arch/i386/kernel/kernel.o: In function apm_get_info':
arch/i386/kernel/kernel.o(.text+0x903b): undefined reference to num_possible_cpus' arch/i386/kernel/kernel.o: In function apm':
arch/i386/kernel/kernel.o(.text+0x9215): undefined reference to num_possible_cpus' arch/i386/kernel/kernel.o(.text+0x937a): undefined reference to num_possible_cpus' arch/i386/kernel/kernel.o: In function `apm_init':
arch/i386/kernel/kernel.o(.text.init+0x3b81): undefined reference to num_possible_cpus' arch/i386/kernel/kernel.o(.text.init+0x3d07): undefined reference to num_possible_cpus'
make: *** [vmlinux] Error 1
--------------------------------
Seiichi Nakashima
Email [email protected]
--------------------------------