From owner-freebsd-current Thu Oct 24 19: 9:37 2002 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 CBC5637B401 for ; Thu, 24 Oct 2002 19:09:27 -0700 (PDT) Received: from warez.scriptkiddie.org (uswest-dsl-142-38.cortland.com [209.162.142.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F2D443E6A for ; Thu, 24 Oct 2002 19:09:14 -0700 (PDT) (envelope-from lamont@scriptkiddie.org) Received: from [192.168.69.11] (unknown [192.168.69.11]) by warez.scriptkiddie.org (Postfix) with ESMTP id 8DFA362D1A for ; Thu, 24 Oct 2002 19:09:08 -0700 (PDT) Date: Thu, 24 Oct 2002 19:09:08 -0700 (PDT) From: Lamont Granquist To: freebsd-current@freebsd.org Subject: mi_switch deadlock? Message-ID: <20021024190841.E2439-100000@coredump.scriptkiddie.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG my -current box keeps freezing about every 24h. i broke into the kernel and forced a panic and found lots of processes stuck in mi_switch(). my uname is a build from tuesday running on an SMP machine: uname -a FreeBSD coredump.scriptkiddie.org 5.0-CURRENT FreeBSD 5.0-CURRENT #16: Tue Oct 22 19:42:51 PDT 2002 lamont@coredump.scriptkiddie.org:/usr/obj/usr/src/sys/COREDUMP i386 i can get more information if anyone needs it... Script started on Thu Oct 24 18:58:57 2002 You have mail. coredump# gdb -k kernel.debug /var/crash/vmcore.4 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-undermydesk-freebsd"... panic: bremfree: bp 0xce62a48c not locked panic messages: --- panic: lockmgr: pid 8272, not exclusive lock holder 7858 unlocking panic: from debugger Uptime: 4h30m13s pfs_vncache_unload(): 1 entries remaining Dumping 511 MB ata0: resetting devices .. done 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 496Copyright (c) 1992-2002 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.0-CURRENT #16: Tue Oct 22 19:42:51 PDT 2002 lamont@coredump.scriptkiddie.org:/usr/obj/usr/src/sys/COREDUMP Preloaded elf kernel "/boot/kernel/kernel" at 0xc06a5000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc06a50a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1400057705 Hz CPU: AMD Athlon(TM) XP 1600+ (1400.06-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xffffffffc0480000 real memory = 536788992 (524208K bytes) avail memory = 513298432 (501268K bytes) Initializing GEOMetry subsystem Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard Using $PIR table, 9 entries at 0xc00f1370 acpi0: power button is handled as a fixed feature programming model. acpi0: sleep button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 ---- initial configuration ------------------------ ---- before setting priority for links ------------ ---- before fixup boot-disabled links ------------- ---- after fixup boot-disabled links -------------- ---- arbitrated configuration --------------------- pci0: on pcib0 agp0: port 0xe800-0xe803 mem 0xfb800000-0xfb800fff,0xfc000000-0xfdffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 ---- initial configuration ------------------------ ---- before setting priority for links ------------ ---- before fixup boot-disabled links ------------- ---- after fixup boot-disabled links -------------- ---- arbitrated configuration --------------------- pci1: on pcib1 pci1: at device 5.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xd800-0xd80f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 7.3 (no driver attached) ahc0: port 0xd400-0xd4ff mem 0xed800000-0xed800fff irq 10 at device 9.0 on pci0 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0xd000-0xd0ff mem 0xed000000-0xed000fff irq 5 at device 9.1 on pci0 aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs pcib2: at device 16.0 on pci0 pcib2: could not get PCI interrupt routing table for \\_SB_.PCI0.OP2P - AE_NOT_FOUND pci2: on pcib2 fxp0: port 0xb800-0xb83f mem 0xeb800000-0xeb8fffff,0xec000000-0xec000fff irq 10 at device 6.0 on pci2 fxp0: Ethernet address 00:90:27:bc:09:95 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci2: at device 8.0 (no driver attached) pci2: