From owner-freebsd-current@FreeBSD.ORG Wed Sep 9 16:32:12 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9591A1065698 for ; Wed, 9 Sep 2009 16:32:12 +0000 (UTC) (envelope-from nkoch@demig.de) Received: from www61.your-server.de (www61.your-server.de [213.133.104.61]) by mx1.freebsd.org (Postfix) with ESMTP id DC5AE8FC13 for ; Wed, 9 Sep 2009 16:32:11 +0000 (UTC) Received: from [217.7.243.216] (helo=firewall.demig.intra) by www61.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MlPqP-0004Qe-FF for freebsd-current@freebsd.org; Wed, 09 Sep 2009 18:16:29 +0200 Received: from [192.168.148.83] (ws-pr-3a.demig.intra [192.168.148.83]) by firewall.demig.intra (8.14.3/8.14.0) with ESMTP id n89GFsMa028480 for ; Wed, 9 Sep 2009 18:15:54 +0200 (CEST) (envelope-from nkoch@demig.de) Message-ID: <4AA7D4BA.40002@demig.de> Date: Wed, 09 Sep 2009 18:15:54 +0200 From: Norbert Koch User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-current@freebsd.org X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Scanned-By: MIMEDefang 2.64 on 192.168.148.235 X-Authenticated-Sender: webmaster@demig.de X-Virus-Scanned: Clear (ClamAV 0.95.1/9789/Wed Sep 9 17:39:23 2009) Subject: lock order reversal etc. 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: Wed, 09 Sep 2009 16:32:12 -0000 Hello. Is this the right mailing list to post kernel stack traces from Freebsd-8-BETA4? If yes, see below, otherwise just ignore this message. Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-BETA4 #0: Wed Sep 9 09:07:30 CEST 2009 root@entw-pr2.demig.intra:/usr/obj/usr/src/sys/ENTW-PR2 WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E4600 @ 2.40GHz (2407.32-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6fd Stepping = 13 Features=0xbfebfbff Features2=0xe39d AMD Features=0x20100000 AMD Features2=0x1 TSC: P-state invariant real memory = 1073741824 (1024 MB) avail memory = 1035853824 (987 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq 16 at device 0.0 on pci1 uhci0: port 0xdc00-0xdc1f irq 16 at device 26.0 on pci0 uhci0: [ITHREAD] uhci0: LegSup = 0x0f00 usbus0: on uhci0 uhci1: port 0xe000-0xe01f irq 17 at device 26.1 on pci0 uhci1: [ITHREAD] uhci1: LegSup = 0x0f00 usbus1: on uhci1 ehci0: mem 0xfebffc00-0xfebfffff irq 18 at device 26.7 on pci0 ehci0: [ITHREAD] usbus2: EHCI version 1.0 usbus2: on ehci0 pci0: at device 27.0 (no driver attached) pcib2: irq 16 at device 28.0 on pci0 pci4: on pcib2 pcib3: irq 19 at device 28.3 on pci0 pci3: on pcib3 re0: port 0xa800-0xa8ff mem 0xfe9ff000-0xfe9fffff irq 19 at device 0.0 on pci3 re0: Using 1 MSI messages re0: Chip rev. 0x38000000 re0: MAC rev. 0x00000000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:1d:60:76:0d:a3 re0: [FILTER] pcib4: irq 16 at device 28.4 on pci0 pci2: on pcib4 atapci0: port 0x9c00-0x9c07,0x9880-0x9883,0x9800-0x9807,0x9480-0x9483,0x9400-0x940f mem 0xfe8fe000-0xfe8fffff irq 16 at device 0.0 on pci2 atapci0: [ITHREAD] atapci0: AHCI called from vendor specific driver atapci0: AHCI v1.00 controller with 2 3Gbps ports, PM supported ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] uhci2: port 0xd480-0xd49f irq 23 at device 29.0 on pci0 uhci2: [ITHREAD] uhci2: LegSup = 0x0f00 usbus3: on uhci2 uhci3: port 0xd800-0xd81f irq 19 at device 29.1 on pci0 uhci3: [ITHREAD] uhci3: LegSup = 0x0f00 usbus4: on uhci3 uhci4: port 0xd880-0xd89f irq 18 at device 29.2 on pci0 uhci4: [ITHREAD] uhci4: LegSup = 0x0f00 usbus5: on uhci4 ehci1: mem 0xfebff800-0xfebffbff irq 23 at device 29.7 on pci0 ehci1: [ITHREAD] usbus6: EHCI version 1.0 usbus6: on ehci1 pcib5: at device 30.0 on pci0 pci5: on pcib5 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xbc00-0xbc7f mem 0xfeaffc00-0xfeaffc7f irq 21 at device 0.0 on pci5 miibus1: on xl0 ukphy0: PHY 24 on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:0a:5e:04:dc:62 xl0: [ITHREAD] atapci1: port 0xb880-0xb887,0xb800-0xb803,0xb480-0xb487,0xb400-0xb403,0xb080-0xb08f mem 0xfeaf8000-0xfeafbfff irq 22 at device 1.0 on pci5 atapci1: [ITHREAD] ata5: on atapci1 ata5: [ITHREAD] ata6: on atapci1 ata6: [ITHREAD] isab0: at device 31.0 on pci0 isa0: on isab0 atapci2: port 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe40f,0xe080-0xe08f irq 19 at device 31.2 on pci0 atapci2: [ITHREAD] ata7: on atapci2 ata7: [ITHREAD] ata8: on atapci2 ata8: [ITHREAD] pci0: at device 31.3 (no driver attached) atapci3: port 0xd400-0xd407,0xd080-0xd083,0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc88f,0xc800-0xc80f irq 19 at device 31.5 on pci0 atapci3: [ITHREAD] ata9: on atapci3 ata9: [ITHREAD] ata10: on atapci3 ata10: [ITHREAD] acpi_button0: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] ACPI Warning: \\_SB_.PCI0.SBRG.FDC_._FDE: Return type mismatch - found Package, expected Buffer 20090521 nspredef-1051 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: port 0x378-0x37f,0x778-0x77f 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 ppc0: [ITHREAD] ppbus0: on ppc0 lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 cpu0: on acpi0 ACPI Warning: Incorrect checksum in table [OEMB] - 27, should be 1A 20090521 tbutils-275 est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 p4tcc1: on cpu1 pmtimer0 on isa0 orm0: at iomem 0xd2000-0xd27ff,0xd2800-0xd4fff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata0: [ITHREAD] ata1 at port 0x170-0x177,0x376 irq 15 on isa0 ata1: [ITHREAD] Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 ugen6.1: at usbus6 uhub6: on usbus6 acd0: DVDROM at ata4-master PIO4 ad10: 239372MB at ata5-master UDMA100 ad12: 239372MB at ata6-master UDMA100 ar0: 239372MB status: READY ar0: disk0 READY (master) using ad10 at ata5-master ar0: disk1 READY (mirror) using ad12 at ata6-master SMP: AP CPU #1 Launched! WARNING: WITNESS option enabled, expect reduced performance. uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered GEOM: ad10: geometry does not match label (255h,63s != 16h,63s). GEOM: ad10: media size does not match label. GEOM: ad12: geometry does not match label (255h,63s != 16h,63s). GEOM: ad12: media size does not match label. Root mount waiting for: usbus6 usbus2 uhub2: 4 ports with 4 removable, self powered uhub6: 6 ports with 6 removable, self powered Trying to mount root from ufs:/dev/ar0a uma_zalloc_arg: zone "64" with the following non-sleepable locks held: exclusive sleep mutex jail mutex (jail mutex) r = 0 (0xc0b91328) locked @ /usr/src/sys/modules/syscons/daemon/../../../dev/syscons/daemon/daemon_saver.c:355 KDB: stack backtrace: db_trace_self_wrapper(c0abf50f,e69b391c,c07ab3b5,c4a0580a,163,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c4a0580a,163,ffffffff,c0d261c4,e69b3954,...) at kdb_backtrace+0x29 _witness_debugger(c0ac198e,e69b3968,4,1,0,...) at _witness_debugger+0x25 witness_warn(5,0,c0ae4b92,c0add27b,e69b3984,...) at witness_warn+0x1fd uma_zalloc_arg(c148b000,0,2,2,14,...) at uma_zalloc_arg+0x34 malloc(29,c0b92dd0,2,163,c46562e4,...) at malloc+0xe4 daemon_init(c0d61940,c0aba83e,e69b3a28,c46f5600,c4a06cc0,...) at daemon_init+0x7b splash_test(7b,c46f5600,c4a06cc0,c46f5600,e69b3a50,...) at splash_test+0x91 splash_register(c4a06c40,0,0,76,0,...) at splash_register+0x48 module_register_init(c4a06cc0,0,c0ab8be2,e4,0,...) at module_register_init+0xa7 linker_load_module(0,e69b3c48,c0ab8be2,3f7,0,...) at linker_load_module+0x9fa kern_kldload(c4656240,c43d9c00,e69b3c70,0,33d,...) at kern_kldload+0xca kldload(c4656240,e69b3cf8,4,c,c0b8eb80,...) at kldload+0x74 syscall(e69b3d38) at syscall+0x2a3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (304, FreeBSD ELF32, kldload), eip = 0x280d6ddb, esp = 0xbfbfe94c, ebp = 0xbfbfee38 --- IPv4 address: "192.168.1.191" is not on the network pid 1275 (xfce4-settings-help), uid 1000: exited on signal 11 (core dumped) lock order reversal: 1st 0xc4afca2c filedesc structure (filedesc structure) @ /usr/src/sys/kern/kern_descrip.c:1088 2nd 0xc4be3488 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:4091 KDB: stack backtrace: db_trace_self_wrapper(c0abf50f,e6975a2c,c07ab3b5,c079c13b,c0ac23e2,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c079c13b,c0ac23e2,c4123168,c4126290,e6975a88,...) at kdb_backtrace+0x29 _witness_debugger(c0ac23e2,c4be3488,c0ab4f66,c4126290,c0ac96be,...) at _witness_debugger+0x25 witness_checkorder(c4be3488,9,c0ac96be,ffb,c4be34a4,...) at witness_checkorder+0x839 __lockmgr_args(c4be3488,80400,c4be34a4,0,0,...) at __lockmgr_args+0x7a7 ffs_lock(e6975b98,4,0,80400,c4be3430,...) at ffs_lock+0x8a VOP_LOCK1_APV(c0bae360,e6975b98,c0ab7180,c0bc5660,c4be3430,...) at VOP_LOCK1_APV+0xb5 _vn_lock(c4be3430,80400,c0ac96be,ffb,e6975bf4,...) at _vn_lock+0x5e vfs_knllock(c4be3430,0,c0ab7180,696,c4e7d110,...) at vfs_knllock+0x29 knlist_remove_kq(0,e6975c14,c07f69f9,c4dcdd78,c4e7d110,...) at knlist_remove_kq+0x85 knlist_remove(c4dcdd78,c4e7d110,0,e6975c40,c0739c35,...) at knlist_remove+0x1b filt_vfsdetach(c4e7d110,0,c0ab7180,777,d,...) at filt_vfsdetach+0x39 knote_fdclose(c4686b40,4cd,c0ab6cc3,440,c4afca2c,...) at knote_fdclose+0xf5 kern_close(c4686b40,4cd,e6975d2c,c0a2e883,c4686b40,...) at kern_close+0xd2 close(c4686b40,e6975cf8,4,c0ac2cbd,c0b8cae8,...) at close+0x1a syscall(e6975d38) at syscall+0x2a3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (6, FreeBSD ELF32, close), eip = 0x2837b3d3, esp = 0xbfbfe5bc, ebp = 0xbfbfe5d8 --- IPv4 address: "192.168.1.191" is not on the network IPv4 address: "192.168.1.191" is not on the network lock order reversal: 1st 0xd82d03f0 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2559 2nd 0xc4f64800 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:285 KDB: stack backtrace: db_trace_self_wrapper(c0abf50f,e6a5b850,c07ab3b5,c079c13b,c0ac23e2,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c079c13b,c0ac23e2,c4122e90,c41262f8,e6a5b8ac,...) at kdb_backtrace+0x29 _witness_debugger(c0ac23e2,c4f64800,c0ae35e8,c41262f8,c0ae3281,...) at _witness_debugger+0x25 witness_checkorder(c4f64800,9,c0ae3281,11d,0,...) at witness_checkorder+0x839 _sx_xlock(c4f64800,0,c0ae3281,11d,c512fb54,...) at _sx_xlock+0x85 ufsdirhash_acquire(d82d0390,de0b7800,200,de0b783c,e6a5b97c,...) at ufsdirhash_acquire+0x35 ufsdirhash_add(c512fb54,e6a5ba0c,83c,e6a5b968,e6a5b96c,...) at ufsdirhash_add+0x13 ufs_direnter(c5167218,0,e6a5ba0c,e6a5bba0,0,...) at ufs_direnter+0x729 ufs_rename(e6a5bc1c,0,c51b7b84,e6a5bbc8,0,...) at ufs_rename+0x717 VOP_RENAME_APV(c0bae360,e6a5bc1c,0,1,e6a5bba0,...) at VOP_RENAME_APV+0xa5 kern_renameat(c4a2f900,ffffff9c,2992b3a0,ffffff9c,29922880,...) at kern_renameat+0x307 kern_rename(c4a2f900,2992b3a0,29922880,0,e6a5bd2c,...) at kern_rename+0x36 rename(c4a2f900,e6a5bcf8,8,c0addc93,c0b8d840,...) at rename+0x29 syscall(e6a5bd38) at syscall+0x2a3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (128, FreeBSD ELF32, rename), eip = 0x2954475b, esp = 0xbfbf98dc, ebp = 0xbfbf9988 --- IPv4 address: "192.168.1.191" is not on the network lock order reversal: 1st 0xc464337c ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2083 2nd 0xd81d14b0 bufwait (bufwait) @ /usr/src/sys/ufs/ffs/ffs_softdep.c:6177 3rd 0xc673a7ac ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2083 KDB: stack backtrace: db_trace_self_wrapper(c0abf50f,e6b103cc,c07ab3b5,c079c13b,c0ac23fb,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c079c13b,c0ac23fb,c4122e90,c4126290,e6b10428,...) at kdb_backtrace+0x29 _witness_debugger(c0ac23fb,c673a7ac,c0ab4f66,c4126290,c0ac96be,...) at _witness_debugger+0x25 witness_checkorder(c673a7ac,9,c0ac96be,823,0,...) at witness_checkorder+0x839 __lockmgr_args(c673a7ac,80100,c673a7c8,0,0,...) at __lockmgr_args+0x7a7 ffs_lock(e6b10538,c07ab15b,c0ac8bb1,80100,c673a754,...) at ffs_lock+0x8a VOP_LOCK1_APV(c0bae360,e6b10538,c4c08524,c0bc5660,c673a754,...) at VOP_LOCK1_APV+0xb5 _vn_lock(c673a754,80100,c0ac96be,823,4,...) at _vn_lock+0x5e vget(c673a754,80100,c4c08480,50,0,...) at vget+0xb9 vfs_hash_get(c46e1508,18ef074,80000,c4c08480,e6b10694,...) at vfs_hash_get+0xe6 ffs_vgetf(c46e1508,18ef074,80000,e6b10694,1,...) at ffs_vgetf+0x49 softdep_sync_metadata(c4643324,0,c0ae2efa,146,0,...) at softdep_sync_metadata+0x5ba ffs_syncvnode(c4643324,1,c0abaa2c,c0ab45da,3,...) at ffs_syncvnode+0x3e2 ffs_truncate(c4643324,600,0,880,c465d280,...) at ffs_truncate+0x66a ufs_direnter(c4643324,c673a754,e6b10a1c,e6b10c00,d82ec1d0,...) at ufs_direnter+0x8f6 ufs_mkdir(e6b10c28,e6b10c3c,0,0,e6b10b6c,...) at ufs_mkdir+0x8a7 VOP_MKDIR_APV(c0bae360,e6b10c28,e6b10c00,e6b10b6c,0,...) at VOP_MKDIR_APV+0xa5 kern_mkdirat(c4c08480,ffffff9c,804c2e8,0,41fd,...) at kern_mkdirat+0x22b kern_mkdir(c4c08480,804c2e8,0,41fd,e6b10d2c,...) at kern_mkdir+0x2e mkdir(c4c08480,e6b10cf8,8,c0ac2cbd,c0b8d920,...) at mkdir+0x29 syscall(e6b10d38) at syscall+0x2a3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (136, FreeBSD ELF32, mkdir), eip = 0x2816c973, esp = 0xbfbfe5cc, ebp = 0xbfbfe748 --- -- *********************************************************************** * demig Prozessautomatisierung GmbH * demig Anlagentechnik GmbH * * * * * Anschrift: Haardtstrasse 40 * Haardtstrasse 40 * * D-57076 Siegen * D-57076 Siegen * * Registergericht: Siegen HRB 2819 * Siegen HRB 5532 * * Geschaeftsfuehrer: Joachim Herbst, * Joachim Herbst, * * Winfried Held * Winfried Held * * Telefon: +49 271 772020 * +49 271 772020 * * Telefax: +49 271 74704 * +49 271 74704 * * E-Mail: info@demig.de * at@demig.de * * http://www.demig.de * http://www.demig.de * ***********************************************************************