From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 09:31:08 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 74E5D16A4CE for ; Mon, 26 Jan 2004 09:31:08 -0800 (PST) Received: from parallax.alastria.net (parallax.alastria.net [81.7.140.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8264543D55 for ; Mon, 26 Jan 2004 09:30:00 -0800 (PST) (envelope-from peter@alastria.net) Received: from CAESIUM.talbot.lan (yoghurt@81-86-231-71.dsl.pipex.com [81.86.231.71])i0QHTnnY090441 for ; Mon, 26 Jan 2004 17:29:49 GMT (envelope-from peter@alastria.net) From: Peter Wood To: freebsd-current@freebsd.org Date: Mon, 26 Jan 2004 17:29:48 +0000 Organization: Alastria Networks Message-ID: <2aja10d959706a59d28dotm4hjalgg9sge@4ax.com> X-Mailer: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=0.0 required=6.5 tests=none autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on parallax.alastria.net Subject: FreeBSD 5.2C: LOR - 1st 0xca738038 filedesc structure (filedesc structure) @ /usr/src/sys/kern/sys_generic.c:901 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: Mon, 26 Jan 2004 17:31:08 -0000 Good Evening, Checked nightly logs to discover that there had been two lock order = reversals last night on my SMP 5.2C machine. They are listed as: lock order reversal 1st 0xc7975dec vm object (vm object) @ /usr/src/sys/vm/swap_pager.c:1314 2nd 0xc0788d80 swap_pager swhash (swap_pager swhash) @ /usr/src/sys/vm/swap_pager.c:1823 3rd 0xc1042738 vm object (vm object) @ /usr/src/sys/vm/uma_core.c:873 Stack backtrace: lock order reversal 1st 0xca738038 filedesc structure (filedesc structure) @ /usr/src/sys/kern/sys_generic.c:901 2nd 0xc0752d80 Giant (Giant) @ /usr/src/sys/fs/specfs/spec_vnops.c:377 Stack backtrace: The backtrace for the second LOR was thankfully still on screen, I've = taken a screen shot and it can be located at: http://parallax.alastria.net/~peter/xenon-lor1.jpg I'm going to cvsup to current shortly, I'm interested in trying the new schedular. If anyone from core needs access to the machine to poke, let = me know. Kind regards, Peter. Machine dmesg is as follows: 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. =46reeBSD 5.2-CURRENT #3: Sat Jan 17 16:15:10 GMT 2004 pa@xenon.talbot.lan:/usr/src/sys/i386/compile/XENON Preloaded elf kernel "/boot/kernel/kernel" at 0xc087a000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc087a294. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) MP 2000+ (1666.74-MHz 686-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x662 Stepping =3D 2 =46eatures=3D0x383fbff AMD Features=3D0xc0480000 real memory =3D 2146959360 (2047 MB) avail memory =3D 2095476736 (1998 MB) ACPI APIC Table: =46reeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0 irqs 0-23 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_cpu0: port 0x530-0x537 on acpi0 acpi_cpu1: port 0x530-0x537 on acpi0 acpi_button0: on acpi0 pcib0: port = 0x8080-0x80ff,0x8000-0x807f,0xcf8-0xcff iomem 0xd8000-0xdbfff on acpi0 pci0: on pcib0 agp0: port 0x1010-0x1013 mem 0xf1300000-0xf1300fff, 0xf4000000-0xf7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 5.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on= pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: at device 7.3 (no driver attached) pcib2: at device 9.0 on pci0 pci2: on pcib2 asr0: mem 0xf8000000-0xfbffffff irq 21 at = device 9.1 on pci0 asr0: major=3D154 asr0: ADAPTEC 2400A FW Rev. 370L, 4 channel, 256 CCBs, Protocol I2O pcib3: at device 16.0 on pci0 pci3: on pcib3 pci3: at device 0.0 (no driver attached) atapci1: port 0x2480-0x248f,0x2490-0x2493, 0x2498-0x249f,0x2494-0x2497,0x24a0-0x24a7 mem 0xf1000000-0xf1003fff irq = 16 at device 4.0 on pci3 atapci1: [MPSAFE] ata2: at 0x24a0 on atapci1 ata2: [MPSAFE] ata3: at 0x2498 on atapci1 ata3: [MPSAFE] ahc0: port 0x2000-0x20ff mem 0xf100 5000-0xf1005fff irq 17 at device 5.0 on pci3 ahc0: Host Adapter Bios disabled. Using default SCSI device parameters aic7850: Single Channel A, SCSI Id=3D7, 3/253 SCBs pcm0: port 0x2400-0x243f irq 18 at device 6.0 on pci3 fxp0: port 0x2440-0x247f mem 0xf1020000-0xf103fff f,0xf1006000-0xf1006fff irq 19 at device 7.0 on pci3 fxp0: Ethernet address 00:02:b3:b4:4c:bb miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port fdc0: port 0x3f7,0x3f0-0 x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 orm0: