From owner-freebsd-current@FreeBSD.ORG Thu Aug 11 14:25:22 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 D57E816A41F for ; Thu, 11 Aug 2005 14:25:22 +0000 (GMT) (envelope-from johan@double-l.nl) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id F11A743D48 for ; Thu, 11 Aug 2005 14:25:21 +0000 (GMT) (envelope-from johan@double-l.nl) Received: from xpwk01 (a213-84-11-61.adsl.xs4all.nl [213.84.11.61]) by smtp-vbr7.xs4all.nl (8.13.3/8.13.3) with SMTP id j7BEPJlX029394 for ; Thu, 11 Aug 2005 16:25:20 +0200 (CEST) (envelope-from johan@double-l.nl) Message-ID: <000601c59e80$c33637c0$6400a8c0@xpwk01> From: "Johan Hendriks" To: Date: Thu, 11 Aug 2005 16:27:11 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by XS4ALL Virus Scanner X-Mailman-Approved-At: Fri, 12 Aug 2005 11:46:41 +0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: LOR X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 11 Aug 2005 14:25:23 -0000 Here is a LOR from a HP e800 dual proc netserver pIII 800 with todays = releng_6 build lock order reversal 1st 0xc08e8c80 UMA lock (UMA lock) @ /usr/src/sys/vm/uma_core.c:1494 2nd 0xc1060144 system map (system map) @ /usr/src/sys/vm/vm_map.c:2317 KDB: stack backtrace: witness_checkorder(c1060144,9,c081a48c,90d,9d6) at = witness_checkorder+0x526 _mtx_lock_flags(c1060144,0,c081a48c,90d,c21ae000) at = _mtx_lock_flags+0x54 _vm_map_lock(c10600c0,c081a48c,90d,0,c1044500) at _vm_map_lock+0x35 vm_map_remove(c10600c0,c21ae000,c21af000,2df,c08195ca) at = vm_map_remove+0x32 zone_drain(c103f000,8,c08195ca,5d6,c085f2c0) at zone_drain+0x27b zone_foreach(29e,c081b9a6,cca47d00,c07519d7,c154fa0c) at = zone_foreach+0x4a uma_reclaim(c154fa0c,0,c081b9a6,29e,1388) at uma_reclaim+0x1b vm_pageout(0,cca47d38,c0801d74,30d,0) at vm_pageout+0x3c7 fork_exit(c0751610,0,cca47d38) at fork_exit+0xa4 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip =3D 0, esp =3D 0xcca47d6c, ebp =3D 0 --- DMESG Copyright (c) 1992-2005 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 6.0-BETA2 #0: Thu Aug 11 14:23:02 CEST 2005 root@dlsrv01.double-l.nl:/usr/obj/usr/src/sys/KRNL WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (800.03-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x686 Stepping =3D 6 = Features=3D0x383fbff real memory =3D 268369920 (255 MB) avail memory =3D 252989440 (241 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 3 cpu1 (AP): APIC ID: 0 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 10 on acpi0 pci_link1: on acpi0 pci_link2: on acpi0 pci_link3: on acpi0 pci_link4: on acpi0 pci_link5: irq 11 on acpi0 pci_link6: on acpi0 pci_link7: on acpi0 pci_link8: on acpi0 pci_link9: irq 5 on acpi0 pci_link10: irq 9 on acpi0 pci_link11: on acpi0 pci_link12: on acpi0 pci_link13: on acpi0 pci_link14: on acpi0 pci_link15: on acpi0 pci_link16: on acpi0 pci_link17: on acpi0 unknown: I/O range not supported can't fetch resources for \_SB_.PCI0.ISA_.SIO_.LPT_ - = AE_AML_INVALID_RESOURCE_TYPE Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x1208-0x120b on = acpi0 cpu0: on acpi0 cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci_link0: Unable to choose an IRQ fxp0: port 0x1800-0x183f mem = 0xfd100000-0xfd100fff,0xfd000000-0xfd0fffff irq 20 at device 2.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:e0:18:cb:a7:3c pci0: at device 7.0 (no driver attached) isab0: port 0x1040-0x104f at device 15.0 on pci0 isa0: on isab0 atapci0: port = 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1840-0x184f at device 15.1 on pci0 ata0: on atapci0 ata1: on atapci0 ohci0: mem 0xfd102000-0xfd102fff irq = 9 at device 15.2 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered pcib1: on acpi0 pci5: on pcib1 sym0: <896> port 0x1c00-0x1cff mem = 0xfd112000-0xfd1123ff,0xfd110000-0xfd111fff irq 24 at device 5.0 on pci5 sym0: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: handling phase mismatch from SCRIPTS. sym0: [GIANT-LOCKED] sym1: <896> port 0x2000-0x20ff mem = 0xfd112400-0xfd1127ff,0xfd114000-0xfd115fff irq 25 at device 5.1 on pci5 sym1: Symbios NVRAM, ID 7, Fast-40, SE, parity checking sym1: open drain IRQ line driver, using on-chip SRAM sym1: using LOAD/STORE-based firmware. sym1: handling phase mismatch from SCRIPTS. sym1: [GIANT-LOCKED] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 = on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: port 0x378-0x37f on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Polled port ppi0: on ppbus0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on = acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xca7ff,0xca800-0xce7ff on = isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on = isa0 Timecounters tick every 1.000 msec acd0: CDROM at ata0-master PIO4 Waiting 5 seconds for SCSI devices to settle (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. (noperiph:sym1:0:-1:-1): SCSI BUS reset delivered. sa0 at sym1 bus 0 target 6 lun 0 sa0: Removable Sequential Access SCSI-2 device = sa0: 10.000MB/s transfers (10.000MHz, offset 15) da0 at sym0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device=20 da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged = Queueing Enabled da0: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da1 at sym0 bus 0 target 4 lun 0 da1: Fixed Direct Access SCSI-2 device=20 da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged = Queueing Enabled da1: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) SMP: AP CPU #1 Launched! Best regards Johan