From owner-freebsd-current@FreeBSD.ORG Thu May 27 20:55:00 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 6E5B616A4CE for ; Thu, 27 May 2004 20:55:00 -0700 (PDT) Received: from corrupt.co.nz (222-152-15-178.jetstream.xtra.co.nz [222.152.15.178]) by mx1.FreeBSD.org (Postfix) with SMTP id CBCBC43D41 for ; Thu, 27 May 2004 20:54:57 -0700 (PDT) (envelope-from drew@corrupt.co.nz) Received: (qmail 56249 invoked by uid 1011); 28 May 2004 03:54:38 -0000 Received: from drew@corrupt.co.nz by mail.corrupt.co.nz by uid 1009 with qmail-scanner-1.20st Clear:RC:0(10.10.69.1):SA:0(0.0/3.8):. Processed in 2.428412 secs); 28 May 2004 03:54:38 -0000 X-Spam-Status: No, hits=0.0 required=3.8 Received: from unknown (HELO corrupt.co.nz) (drew@corrupt.co.nz@10.10.69.1) by corrupt.co.nz with SMTP; 28 May 2004 03:54:35 -0000 Message-ID: <40B6B79E.5030205@corrupt.co.nz> Date: Fri, 28 May 2004 15:53:02 +1200 From: Drew Broadley User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040505 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Weird occurance while "make buildworld" from /usr/src 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: Fri, 28 May 2004 03:55:00 -0000 This appeared in my /var/log/messages while building from latest source: lock order reversal 1st 0xc52e6108 vm object (vm object) @ /usr/src/sys/vm/swap_pager.c:1313 2nd 0xc09710e0 swap_pager swhash (swap_pager swhash) @ /usr/src/sys/vm/swap_pager.c:1799 3rd 0xc1040948 vm object (vm object) @ /usr/src/sys/vm/uma_core.c:886 Stack backtrace: backtrace(0,1,c093fd88,c09411d8,c08d2d1c) at backtrace+0x12 witness_checkorder(c1040948,9,c086bb23,376) at witness_checkorder+0x593 _mtx_lock_flags(c1040948,0,c086bb23,376,c45a8a94) at _mtx_lock_flags+0x67 obj_alloc(c45a8a80,1000,d6c70a3b,101,c45a8a94) at obj_alloc+0x31 slab_zalloc(c45a8a80,1,c45a8a80,c45a8a94,1) at slab_zalloc+0x82 uma_zone_slab(c45a8a80,1,c45a8a94,0,c086bb23,68f) at uma_zone_slab+0xb5 uma_zalloc_internal(c45a8a80,0,1,c45a8a94,0) at uma_zalloc_internal+0x28 uma_zalloc_arg(c45a8a80,0,1) at uma_zalloc_arg+0x2f8 swp_pager_meta_build(c52e6108,5,0,2,0) at swp_pager_meta_build+0x108 swap_pager_putpages(c52e6108,d6c70c00,1,0,d6c70b70) at swap_pager_putpages+0x2b4 default_pager_putpages(c52e6108,d6c70c00,1,0,d6c70b70) at default_pager_putpages+0x18 vm_pageout_flush(d6c70c00,1,0,e4,c0986160) at vm_pageout_flush+0x11e vm_pageout_clean(c169b828) at vm_pageout_clean+0x2a5 vm_pageout_scan(0) at vm_pageout_scan+0x54b vm_pageout(0,d6c70d48,0,c079eea4,0) at vm_pageout+0x2d2 fork_exit(c079eea4,0,d6c70d48) at fork_exit+0xa8 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xd6c70d7c, ebp = 0 --- --------------------------------------------------- uname -a FreeBSD taz.lan.corrupt.co.nz 5.2-CURRENT FreeBSD 5.2-CURRENT #14: Fri May 28 12:53:11 NZST 2004 drew@taz.lan.corrupt.co.nz:/usr/obj/usr/src/sys/EVOn800v i386 --------------------------------------------------- dmesg -a 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-CURRENT #14: Fri May 28 12:53:11 NZST 2004 drew@taz.lan.corrupt.co.nz:/usr/obj/usr/src/sys/EVOn800v WARNING: WITNESS option enabled, expect reduced performance. Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a77000. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz (1694.51-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febf9ff real memory = 536674304 (511 MB) avail memory = 515444736 (491 MB) random: Pentium Pro MTRR support enabled acpi0: on motherboard pcibios: BIOS version 2.10 acpi0: [GIANT-LOCKED] 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 cpu0: on acpi0 acpi_tz0: port 0x530-0x537 on acpi0 acpi_tz1: port 0x530-0x537 on acpi0 acpi_tz2: port 0x530-0x537 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 31 INTA is routed to irq 11 pcib0: slot 31 INTB is routed to irq 5 agp0: mem 0xa0000000-0xafffffff 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 drm0: port 0x3000-0x30ff mem 0x80380000-0x8038ffff,0x88000000-0x8fffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xa0000000 256MB info: [drm] Initialized radeon 1.10.0 20020828 on minor 0 pcib2: at device 30.0 on pci0 pci2: on pcib2 pcib2: slot 4 INTA is routed to irq 5 pcib2: slot 6 INTA is routed to irq 11 pcib2: slot 8 INTA is routed to irq 10 pcib2: slot 14 INTA is routed to irq 10 pcib2: slot 14 INTC is routed to irq 10 pci2: at device 4.0 (no driver attached) cbb0: mem 0x80100000-0x80100fff irq 11 at device 6.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 fxp0: port 0x2000-0x203f mem 0x80180000-0x80180fff irq 10 at device 8.0 on pci2 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:08:02:63:7a:48 fxp0: [GIANT-LOCKED] ohci0: mem 0x80200000-0x80200fff irq 10 at device 14.0 on pci2 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0x80280000-0x80280fff at device 14.1 on pci2 pcib2: slot 14 INTB is routed to irq 10 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci2: at device 14.2 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x4440-0x444f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 11 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pcm0: port 0x4400-0x443f,0x4000-0x40ff irq 5 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_acad0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_lid0: on acpi0 acpi_ec0: port 0x66,0x62 on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x3e8-0x3ef irq 3 drq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77a,0x378-0x37f irq 7 drq 1 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: Interrupt-driven port ppi0: on ppbus0 npx0: [FAST] npx0: on motherboard npx0: INT 16 interface orm0: