From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 19:07:05 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7A0B16A4CE for ; Tue, 27 Jan 2004 19:07:04 -0800 (PST) Received: from lakemtao05.cox.net (lakemtao05.cox.net [68.1.17.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03CF543D67 for ; Tue, 27 Jan 2004 19:06:12 -0800 (PST) (envelope-from emoe@cox.net) Received: from emoe ([68.97.44.169]) by lakemtao05.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040128030602.XXIQ29834.lakemtao05.cox.net@emoe> for ; Tue, 27 Jan 2004 22:06:02 -0500 From: "Erik Moe" To: Date: Tue, 27 Jan 2004 21:06:00 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: 5.2-RELEASE panic in turnstile_wait X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 03:07:05 -0000 Script started on Tue Jan 27 20:46:14 2004 t30# gdb -k kernel.debug /usr/crash/vmcore.0 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... panic: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x6c fault code = supervisor read, page not present instruction pointer = 0x8:0xc0571bfd stack pointer = 0x10:0xe3ab7c28 frame pointer = 0x10:0xe3ab7c2c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 699 (zcat) trap number = 12 panic: page fault syncing disks, buffers remaining... 3007 3007 3007 3007 3007 3007 3007 3007 3007 3007 3007 3007 3007 3007 3007 3007 3007 3007 3007 3007 giving up on 81 buffers Uptime: 31m17s Dumping 767 MB [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] 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 --- warning: cannot find file for module ltmdm.ko Error while mapping shared library sections: ltmdm.ko: No such file or directory. Reading symbols from /usr/obj/usr/src/sys/T30/modules/usr/src/sys/modules/acpi/acpi.ko.debug...do ne. Loaded symbols for /usr/obj/usr/src/sys/T30/modules/usr/src/sys/modules/acpi/acpi.ko.debug Reading symbols from /usr/obj/usr/src/sys/T30/modules/usr/src/sys/modules/linux/linux.ko.debug... done. Loaded symbols for /usr/obj/usr/src/sys/T30/modules/usr/src/sys/modules/linux/linux.ko.debug Error while reading shared library symbols: ltmdm.ko: No such file or directory. Reading symbols from /boot/kernel/radeon.ko...done. Loaded symbols for /boot/kernel/radeon.ko #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 240 dumping++; (kgdb) bt #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 #1 0xc054ea58 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:372 #2 0xc054ed48 in panic () at /usr/src/sys/kern/kern_shutdown.c:550 #3 0xc06b59fc in trap_fatal (frame=0xe3ab7be8, eva=0) at /usr/src/sys/i386/i386/trap.c:821 #4 0xc06b5113 in trap (frame= {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -969008320, tf_esi = -969012736, tf_ebp = -475300820, tf_isp = -475300844, tf_ebx = -969008320, tf_edx = -969012736, tf_ecx = 0, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1068033027, tf_cs = 8, tf_eflags = 65538, tf_esp = -962721112, tf_ss = -475300780}) at /usr/src/sys/i386/i386/trap.c:250 #5 0xc06a7de8 in calltrap () at {standard input}:94 #6 0xc0571efc in turnstile_wait (ts=0xc63e1b40, lock=0xc69e0aa8, owner=0x0) at /usr/src/sys/kern/subr_turnstile.c:458 #7 0xc0546015 in _mtx_lock_sleep (m=0xc69e0aa8, opts=0, file=0xc06f3a10 "/usr/src/sys/kern/kern_exit.c", line=453) at /usr/src/sys/kern/kern_mutex.c:476 #8 0xc0545e20 in _mtx_lock_flags (m=0x0, opts=0, file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:218 #9 0xc05398ed in exit1 (td=0xc63e0a00, rv=0) at /usr/src/sys/kern/kern_exit.c:453 #10 0xc0538bd1 in sys_exit () at /usr/src/sys/kern/kern_exit.c:102 #11 0xc06b5d10 in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = -1, tf_ebp = -1077941448, tf_isp = -475300492, tf_ebx = 672416032, tf_edx = 2, tf_ecx = 0, tf_eax = 1, tf_trapno = 12, tf_err = 2, tf_eip = 671903659, tf_cs = 31, tf_eflags = 582, tf_esp = -1077941476, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1010 #12 0xc06a7e3d in Xint0x80_syscall () at {standard input}:136 ---Can't read userspace from dump, or kernel process--- (kgdb) frame 6 #6 0xc0571efc in turnstile_wait (ts=0xc63e1b40, lock=0xc69e0aa8, owner=0x0) at /usr/src/sys/kern/subr_turnstile.c:458 458 turnstile_setowner(ts, owner); (kgdb) list 458 453 ("thread's turnstile has a non-empty free list")); 454 KASSERT(ts->ts_lockobj == NULL, ("stale ts_lockobj pointer")); 455 ts->ts_lockobj = lock; 456 mtx_lock_spin(&td_contested_lock); 457 TAILQ_INSERT_TAIL(&ts->ts_blocked, td, td_lockq); 458 turnstile_setowner(ts, owner); 459 mtx_unlock_spin(&td_contested_lock); 460 } else { 461 TAILQ_FOREACH(td1, &ts->ts_blocked, td_lockq) 462 if (td1->td_priority > td->td_priority) (kgdb) p ts $1 = (struct turnstile *) 0xc63e1b40 (kgdb) p *ts $2 = {ts_blocked = {tqh_first = 0xc63e0a00, tqh_last = 0xc63e0a20}, ts_pending = {tqh_first = 0x0, tqh_last = 0xc63e1b48}, ts_hash = { le_next = 0x0, le_prev = 0xc07683b0}, ts_link = {le_next = 0x0, le_prev = 0x0}, ts_free = {lh_first = 0x0}, ts_lockobj = 0xc69e0aa8, ts_owner = 0x0} (kgdb) p owner $3 = (struct thread *) 0x0 (kgdb) quit t30# dmesg Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2-RELEASE #11: Fri Jan 16 13:07:12 CST 2004 root@t30.us.ibm.com:/usr/obj/usr/src/sys/T30 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0879000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc087926c. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (1998.31-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebf9ff real memory = 804716544 (767 MB) avail memory = 771964928 (736 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi_ec0: port 0x66,0x62 on acpi0 pcibios: BIOS version 2.10 Using $PIR table, 14 entries at 0xc00fdeb0 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: port 0x530-0x537 on acpi0 acpi_tz0: port 0x530-0x537 on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 29 INTA is routed to irq 11 pcib0: slot 29 INTB is routed to irq 11 pcib0: slot 29 INTC is routed to irq 11 pcib0: slot 31 INTB is routed to irq 5 pcib0: slot 31 INTB is routed to irq 5 pcib0: slot 31 INTB is routed to irq 5 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib1: slot 0 INTA is routed to irq 11 pci1: at device 0.0 (no driver attached) uhci0: port 0x1800-0x181f irq 11 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 11 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f irq 11 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 pcib2: slot 0 INTA is routed to irq 11 pcib2: slot 0 INTB is routed to irq 5 pcib2: slot 8 INTA is routed to irq 11 cbb0: mem 0x50000000-0x50000fff irq 11 at device 0.0 on pci2 start (50000000) < sc->membase (d0200000) start (50000000) < sc->pmembase (f0000000) cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [MPSAFE] cbb1: mem 0x51000000-0x51000fff irq 5 at device 0.1 on pci2 start (51000000) < sc->membase (d0200000) start (51000000) < sc->pmembase (f0000000) cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [MPSAFE] fxp0: port 0x8000-0x803f mem 0xd0200000-0xd0200fff irq 11 at device 8.0 on pci2 fxp0: Ethernet address 00:09:6b:86:e1:92 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1860-0x186f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] ichsmb0: port 0x1880-0x189f irq 5 at device 31.3 on pci0 smbus0: on ichsmb0 smb0: on smbus0 pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff irq 5 at device 31.5 on pci0 pcm0: pci0: at device 31.6 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A ppc0 port 0x3bc-0x3c3 irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio1 port 0x2f8-0x2ff irq 3 drq 3 on acpi0 sio1: type 16550A acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_acad0: on acpi0 orm0: