From: Robert S. <rst...@re...> - 2002-12-06 18:38:03
|
On Thu, 05 Dec 2002 15:08:34 -0500 Jeff Dike <jd...@ka...> wrote: JD> rst...@re... said: JD> > (gdb) bt JD> > #0 panic (fmt=0xa01c5960 "Kernel mode fault at addr 0x%lx, ip 0x%lx") JD> > at panic.c:52 JD> > #1 0xa00d4794 in segv (address=0, ip=2684414083, is_write=0, is_user=0, JD> > sc=0xa060c278) at trap_kern.c:116 JD> JD> Where exactly is that ip? JD> JD> Can you enable slab debugging and see if anything panics sooner? Here is a stack trace from a similar panic, this time on 2.4.19-34um w/slab: Breakpoint 1, panic (fmt=0xa01c6100 "Kernel mode fault at addr 0x%lx, ip 0x%lx") at panic.c:52(gdb) bt #0 panic (fmt=0xa01c6100 "Kernel mode fault at addr 0x%lx, ip 0x%lx") at panic.c:52#1 0xa00d52d4 in segv (address=0, ip=2684414083, is_write=0, is_user=0, sc=0xa05e8278) at trap_kern.c:116#2 0xa00d55c1 in segv_handler (sig=11, regs=0xa05e8278) at trap_user.c:69#3 0xa00d8896 in sig_handler_common_tt (sig=11, sc=0xa05eb6b0) at trap_user.c:36#4 0xa00d55ea in sig_handler (sig=11, sc={gs = 0, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 0, edi = 3, esi = 2703716468, ebp = 2690562476, esp = 2690562436, ebx = 0, edx = 0, ecx = 2690562260, eax = 2690575508, trapno = 14, err = 4, eip = 2684414083, cs = 35, __csh = 0, eflags = 66050, esp_at_signal = 2690562436, ss = 43, __ssh = 0, fpstate = 0x0, oldmask = 436281344, cr2 = 0}) at trap_user.c:101#5 <signal handler called> #6 __wake_up (q=0xa05eec90, mode=1, nr=0) at sched.c:731 #7 0xa0112ecf in sock_def_readable (sk=0xa0de90a0, len=28) at sock.c:1138 #8 0xa014c07e in unix_stream_sendmsg (sock=0xa05eea9c, msg=0xa05ebac4, len=28, scm=0xa05eba64) at af_unix.c:1367#9 0xa010fd19 in sock_sendmsg (sock=0xa05eea9c, msg=0xa05ebac4, size=28) at socket.c:508#10 0xa0110c40 in sys_sendto (fd=6, buff=0x46265800, len=28, flags=0, addr=0x0, addr_len=0) at socket.c:1207#11 0xa0110c7b in sys_send (fd=6, buff=0x46265800, len=28, flags=0) at socket.c:1221#12 0xa01115c5 in sys_socketcall (call=9, args=0x9ffff430) at socket.c:1578#13 0xa00d774f in execute_syscall_tt (r=0xa05e8278) at syscall_kern.c:117#14 0xa00d780a in syscall_handler_tt (sig=12, regs=0xa05e8278) at syscall_user.c:38#15 0xa00d8896 in sig_handler_common_tt (sig=12, sc=0xa05ebd28) at trap_user.c:36#16 0xa00d55ea in sig_handler (sig=12, sc={gs = 0, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 0, edi = 28, esi = 1091026880, ebp = 2684351576, esp = 2684351532, ebx = 9, edx = 4294967295, ecx = 2684351536, eax = 4294967258, trapno = 14, err = 7, eip = 1077156130, cs = 35, __csh = 0, eflags = 646, esp_at_signal = 2684351532, ss = 43, __ssh = 0, fpstate = 0xa05ebd80, oldmask = 134283264, cr2 = 1204040172}) at trap_user.c:101#17 <signal handler called>#18 0x40341922 in ?? () #19 0x080e4753 in ?? () #20 0x080e48ef in ?? () #21 0x080e4225 in ?? () #22 0x0808fed5 in ?? () #23 0x080e502a in ?? () #24 0x080e5f13 in ?? () #25 0x080e5f3f in ?? () #26 0x080e527e in ?? () #27 0x08067310 in ?? () #28 0x0805e5a5 in ?? () #29 0x4027c0c4 in ?? () (gdb) i sym 2684414083 __wake_up + 55 in section .text (gdb) i line *2684414083 Line 731 of "sched.c" starts at address 0xa000e883 <__wake_up+55> and ends at 0xa000e885 <__wake_up+57>./home/rks/uml-linux-2.4.19/kernel/sched.c:731:19103:beg: 0xa000e883 |