Panic in _mtx_lock_sleep

From: Lukas Ertl <l.ertl_at_univie.ac.at>
Date: Tue, 23 Sep 2003 10:23:48 +0200 (CEST)
Hi,

I got this panic with an SMP kernel from yesterday, is this a known issue?

panic: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
cpuid = 0; lapic.id = 00000000
fault virtual address   = 0x70040045
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0241c52
stack pointer           = 0x10:0xe1bfea9c
frame pointer           = 0x10:0xe1bfeab8
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 17 (swi1: net)
trap number             = 12
panic: page fault
cpuid = 0; lapic.id = 00000000
boot() called on cpu#0

syncing disks, buffers remaining...

Fatal trap 12: page fault while in kernel mode
cpuid = 0; lapic.id = 00000000
fault virtual address   = 0x24
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01f448b
stack pointer           = 0x10:0xe1bf8c10
frame pointer           = 0x10:0xe1bf8c24
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 15 (swi8: tty:sio clock)
trap number             = 12
panic: page fault
cpuid = 0; lapic.id = 00000000
boot() called on cpu#0
Uptime: 14h29m52s
Dumping 2047 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320
336 352 368 384 400 416 432 448 464 480 496 512 528 544 560 576 592 608
624 640 656 672 688 704 720 736 752 768 784 800 816 832 848 864 880 896
912 928 944 960 976 992 1008 1024 1040 1056 1072 1088 1104 1120 1136 1152
1168 1184 1200 1216 1232 1248 1264 1280 1296 1312 1328 1344 1360 1376 1392
1408 1424 1440 1456 1472 1488 1504 1520 1536 1552 1568 1584 1600 1616 1632
1648 1664 1680 1696 1712 1728 1744 1760 1776 1792 1808 1824 1840 1856 1872
1888 1904 1920 1936 1952 1968 1984 2000 2016 2032
---
Reading symbols from
/usr/obj/usr/src/sys/NEWSCORE/modules/usr/src/sys/modules/acpi/acpi.ko.debug...done.
Loaded symbols for
/usr/obj/usr/src/sys/NEWSCORE/modules/usr/src/sys/modules/acpi/acpi.ko.debug
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240             dumping++;
(kgdb) where
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc01ff3c1 in boot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:372
#2  0xc01ff818 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc035fd66 in trap_fatal (frame=0xe1bf8bd0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:819
#4  0xc035f383 in trap (frame=
      {tf_fs = -507576296, tf_es = -1071579120, tf_ds = -1069613040,
tf_edi = -930744588, tf_esi = 36, tf_ebp = -507540444, tf_isp =
-507540484, tf_ebx = 0, tf_edx = -1069923316, tf_ecx = -1011810304, tf_eax
= 36, tf_trapno = 12, tf_err = 0, tf_eip = -1071692661, tf_cs = 8,
tf_eflags = 66195, tf_esp = -507540428, tf_ss = -1071571840}) at
/usr/src/sys/i386/i386/trap.c:251
#5  0xc03472b8 in calltrap () at {standard input}:103
#6  0xc01f48d9 in _mtx_lock_sleep (m=0x24, opts=0, file=0x0, line=0)
    at /usr/src/sys/kern/kern_mutex.c:635
#7  0xc0299f7d in tcp_timer_delack (xtp=0xc885f6f4)
    at /usr/src/sys/netinet/tcp_timer.c:180
#8  0xc021181e in softclock (dummy=0x0) at
/usr/src/sys/kern/kern_timeout.c:225
#9  0xc01e9158 in ithread_loop (arg=0xc3b0cd00)
    at /usr/src/sys/kern/kern_intr.c:534
#10 0xc01e7d91 in fork_exit (callout=0xc01e8f80 <ithread_loop>, arg=0x0,
    frame=0x0) at /usr/src/sys/kern/kern_fork.c:796
(kgdb) bt full
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
No locals.
#1  0xc01ff3c1 in boot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:372
No locals.
#2  0xc01ff818 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
        td = (struct thread *) 0xc3b0fd10
        bootopt = 260
        newpanic = 0
        ap = 0xe1bf8b44 "g\b;À,å°Ã\001"
        buf = "page fault", '\0' <repeats 245 times>
#3  0xc035fd66 in trap_fatal (frame=0xe1bf8bd0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:819
        code = 16
        type = 12
        ss = 16
        esp = 0
        softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27,
  ssd_dpl = 0, ssd_p = 1, ssd_xx = 12, ssd_xx1 = 0, ssd_def32 = 1,
  ssd_gran = 1}
#4  0xc035f383 in trap (frame=
      {tf_fs = -507576296, tf_es = -1071579120, tf_ds = -1069613040,
tf_edi = -930744588, tf_esi = 36, tf_ebp = -507540444, tf_isp =
-507540484, tf_ebx = 0, tf_edx = -1069923316, tf_ecx = -1011810304, tf_eax
= 36, tf_trapno = 12, tf_err = 0, tf_eip = -1071692661, tf_cs = 8,
tf_eflags = 66195, tf_esp = -507540428, tf_ss = -1071571840}) at
/usr/src/sys/i386/i386/trap.c:251
        td = (struct thread *) 0xc3b0fd10
        p = (struct proc *) 0xc3b0e3c8
        sticks = 0
        i = 0
        ucode = 0
        type = 12
        code = 0
        eva = 36
#5  0xc03472b8 in calltrap () at {standard input}:103
No locals.
#6  0xc01f48d9 in _mtx_lock_sleep (m=0x24, opts=0, file=0x0, line=0)
    at /usr/src/sys/kern/kern_mutex.c:635
        td = (struct thread *) 0x0
        td1 = (struct thread *) 0x0
        v = 0
#7  0xc0299f7d in tcp_timer_delack (xtp=0xc885f6f4)
    at /usr/src/sys/netinet/tcp_timer.c:180
        tp = (struct tcpcb *) 0xc885f6f4
        inp = (struct inpcb *) 0x6
#8  0xc021181e in softclock (dummy=0x0) at
/usr/src/sys/kern/kern_timeout.c:225
        c_func = (void (*)(void *)) 0xc0299f30 <tcp_timer_delack>
        c_arg = (void *) 0xc885f6f4
        c_flags = 6
        c = (struct callout *) 0x0
        bucket = (struct callout_tailq *) 0xd41daf80
        curticks = 5219084
        steps = 6
        depth = 9
        mpcalls = 2
        gcalls = 7
#9  0xc01e9158 in ithread_loop (arg=0xc3b0cd00)
    at /usr/src/sys/kern/kern_intr.c:534
        ithd = (struct ithd *) 0xc3b0cd00
        ih = (struct intrhand *) 0xc3b04a40
        td = (struct thread *) 0xc3b0fd10
        p = (struct proc *) 0xc3b0e3c8
#10 0xc01e7d91 in fork_exit (callout=0xc01e8f80 <ithread_loop>, arg=0x0,
    frame=0x0) at /usr/src/sys/kern/kern_fork.c:796
        p = (struct proc *) 0xc3b0e3c8
        td = (struct thread *) 0x0


regards,
le

-- 
Lukas Ertl                             eMail: l.ertl_at_univie.ac.at
UNIX Systemadministrator               Tel.:  (+43 1) 4277-14073
Vienna University Computer Center      Fax.:  (+43 1) 4277-9140
University of Vienna                   http://mailbox.univie.ac.at/~le/
Received on Mon Sep 22 2003 - 23:24:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:23 UTC