Skip to contentSkip to conversation

2.5.14 Kernel panic

DISCUSSION Seiichi Nakashima 2 participants 4 messages May 6, 2002 – Jul 27, 2002

lore
Share & tools
lore
#0 lore raw

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]
--------------------------------

#1 lore raw

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]
#2 lore raw
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_page
c0105000 T _stext
c0105000 T stext
c0105000 t rest_init
c010501c t init
c0105140 T prepare_namespace
c0105220 T thread_saved_pc
c0105230 T disable_hlt
...
c01745e0 t set_cursor
c0174660 t set_origin
c01746f4 T redraw_screen
c017483c T vc_cons_allocated
c017485c t visual_init
c017493c T vc_allocate
...
c0177cbc t con_close
c0177cf4 t vc_init
c0177df8 t clear_buffer_attributes
c0177e64 T take_over_console
c0177ff4 T give_up_console
c0178020 t set_vesa_blanking
c017803c t vesa_powerdown
...
c01a6514 t fb_open
c01a6598 t fb_release
c01a65f0 T register_framebuffer
c01a671c T unregister_framebuffer
c01a67a0 T fb_alloc_cmap
c01a68a4 T fb_copy_cmap
c01a6ae4 T fb_get_cmap
...
c01a93c4 t fbcon_bmove_rec
c01a9554 t fbcon_switch
c01a971c t fbcon_blank
c01a9938 t fbcon_free_font
...
c01ab05c T gen_get_cmap
c01ab088 T fbgen_set_cmap
c01ab11c T gen_set_cmap
c01ab1b4 T fbgen_pan_display
c01ab274 T fbgen_do_set_var
...

=====

--------------------------------
Seiichi Nakashima
Email [email protected]
--------------------------------

#3 lore raw

2.5.29 Compile error

In reply to Seiichi Nakashima

Hi.

linux-2.5.29 compile error occured.

===== make bzImage error log =====

softirq.c: In function `spawn_ksoftirqd':
softirq.c:416: warning: statement with no effect
buffer.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 used
ide-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 used
apm.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]
--------------------------------