From owner-freebsd-current@FreeBSD.ORG Wed Feb 11 01:51:14 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 5480416A4CE for ; Wed, 11 Feb 2004 01:51:14 -0800 (PST) Received: from discrete.rycks.com (rycks.nfrance.com [80.247.227.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFBEA43D1D for ; Wed, 11 Feb 2004 01:51:13 -0800 (PST) (envelope-from olive@deep-ocean.net) Received: from syrenna.deep-ocean.local (ocortes.net1.nerim.net [213.41.136.105]) by discrete.rycks.com (Postfix) with ESMTP id 9C2F69F2DA for ; Wed, 11 Feb 2004 10:13:14 +0100 (CET) From: Olivier Cortes To: freebsd-current@freebsd.org Content-Type: text/plain Organization: Deep-Ocean.net Message-Id: <1076490617.2607.8.camel@syrenna> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 11 Feb 2004 10:10:17 +0100 Content-Transfer-Encoding: 7bit Subject: lock order reversal in CURRENT as of yesterday 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: Wed, 11 Feb 2004 09:51:14 -0000 Hi, while copying the ports tree (with tar | tar) from /dev/ad3s1d to /dev/ad0s3d. Not many processes on this box, it's a temporary install. kernel is GENERIC whith {firewire,sbp2,fwe} commented out, and ehci added (everytime i plug in some usb2 stuff, it panics, but that's another problem i'll help to debug later...). FreeBSD scylla.deep-ocean.local 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Tue Feb 10 16:59:58 CET 2004 olive@scylla.deep-ocean.local:/usr/obj/usr/src/sys/SCYLL i386 lock order reversal 1st 0xc65ab108 vm object (vm object) @ /usr/src/sys/vm/swap_pager.c:1314 2nd 0xc089e320 swap_pager swhash (swap_pager swhash) @ /usr/src/sys/vm/swap_pager.c:1822 3rd 0xc1041b58 vm object (vm object) @ /usr/src/sys/vm/uma_core.c:886 Stack backtrace: backtrace(0,1,c086cf90,c086e098,c07fdddc) at backtrace+0x12 witness_checkorder(c1041b58,9,c07be627,376) at witness_checkorder+0x593 _mtx_lock_flags(c1041b58,0,c07be627,376,c6449714) at _mtx_lock_flags+0x67 obj_alloc(c6449700,1000,e1771a3b,101,c6449714) at obj_alloc+0x31 slab_zalloc(c6449700,1,c6449700,c6449714,1) at slab_zalloc+0x82 uma_zone_slab(c6449700,1,c6449714,0,c07be627,68f) at uma_zone_slab+0xb5 uma_zalloc_internal(c6449700,0,1,c6449714,0) at uma_zalloc_internal+0x28 uma_zalloc_arg(c6449700,0,1) at uma_zalloc_arg+0x2f8 swp_pager_meta_build(c65ab108,8,0,2,0) at swp_pager_meta_build+0x108 swap_pager_putpages(c65ab108,e1771c00,1,0,e1771b70) at swap_pager_putpages+0x2b4 default_pager_putpages(c65ab108,e1771c00,1,0,e1771b70) at default_pager_putpages+0x18 vm_pageout_flush(e1771c00,1,0,e1771be0,c05b619a) at vm_pageout_flush+0x11e vm_pageout_clean(c1dd2d48) at vm_pageout_clean+0x2a5 vm_pageout_scan(0) at vm_pageout_scan+0x537 vm_pageout(0,e1771d48,0,c070dfa4,0) at vm_pageout+0x2d2 fork_exit(c070dfa4,0,e1771d48) at fork_exit+0xa8 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xe1771d7c, ebp = 0 --- # ps ax PID TT STAT TIME COMMAND 0 ?? DLs 0:00,03 (swapper) 1 ?? SLs 0:00,09 /sbin/init -- 2 ?? DL 0:00,37 (g_event) 3 ?? DL 1:04,20 (g_up) 4 ?? DL 0:30,49 (g_down) 5 ?? DL 0:00,00 (taskqueue) 6 ?? SL 0:00,00 (acpi_task0) 7 ?? SL 0:00,00 (acpi_task1) 8 ?? SL 0:00,00 (acpi_task2) 9 ?? DL 0:03,54 (pagedaemon) 10 ?? DL 0:00,00 (ktrace) 11 ?? RL 12:55,16 (idle: cpu1) 12 ?? RL 11:31,01 (idle: cpu0) 13 ?? WL 0:00,00 (irq1:) 14 ?? WL 0:00,00 (irq3: sio1) 15 ?? WL 0:00,00 (irq4: sio0) 16 ?? WL 0:00,00 (irq5:) 17 ?? WL 0:00,00 (irq6:) 18 ?? WL 0:00,00 (irq7: ppc0) 19 ?? WL 0:00,00 (irq8: rtc) 20 ?? WL 0:00,00 (irq9: acpi0) 21 ?? WL 0:00,00 (irq10: uhci0 uhci1) 22 ?? WL 0:00,00 (irq11:) 23 ?? WL 0:00,00 (irq12:) 24 ?? WL 0:00,00 (irq13:) 25 ?? WL 0:04,40 (irq14: ata0) 26 ?? WL 0:04,49 (irq15: ata1) 27 ?? WL 0:00,00 (irq16: uhci3+) 28 ?? WL 0:00,00 (irq17: fxp1 ehci0) 29 ?? WL 0:00,33 (irq18: fxp0) 30 ?? WL 0:00,00 (irq19: uhci2) 31 ?? WL 0:00,00 (irq20:) 32 ?? WL 0:00,00 (irq21:) 33 ?? WL 0:00,00 (irq22:) 34 ?? WL 0:00,00 (irq23:) 35 ?? WL 0:00,00 (irq0: clk) 36 ?? WL 0:04,68 (swi8: tty:sio clock) 37 ?? WL 0:00,00 (swi4: vm) 38 ?? WL 0:00,26 (swi1: net) 39 ?? DL 0:02,12 (random) 40 ?? WL 0:00,00 (swi6:+) 41 ?? WL 0:00,00 (swi5:+) 42 ?? WL 0:00,00 (swi7: acpitaskq) 43 ?? WL 0:00,00 (swi2: camnet) 44 ?? WL 0:00,00 (swi3: cambio) 45 ?? WL 0:00,00 (swi7: task queue) 46 ?? DL 0:00,00 (usb0) 47 ?? DL 0:00,00 (usbtask) 48 ?? DL 0:00,01 (usb1) 49 ?? DL 0:00,00 (usb2) 50 ?? DL 0:00,00 (usb3) 51 ?? DL 0:00,00 (usb4) 52 ?? WL 0:00,00 (swi0: tty:sio) 53 ?? DL 0:00,00 (vmdaemon) 54 ?? DL 0:09,53 (pagezero) 55 ?? DL 0:58,39 (bufdaemon) 56 ?? DL 0:15,44 (syncer) 57 ?? DL 0:00,05 (vnlru) 58 ?? SL 0:00,00 (nfsiod 0) 59 ?? SL 0:00,00 (nfsiod 1) 60 ?? SL 0:00,00 (nfsiod 2) 61 ?? SL 0:00,00 (nfsiod 3) 174 ?? Ss 0:00,00 adjkerntz -i 228 ?? Ss 0:00,18 /sbin/dhclient fxp0 288 ?? Ss 0:00,12 /usr/sbin/syslogd -s 389 ?? Ss 0:00,01 /usr/sbin/usbd 437 ?? Ss 0:00,17 /usr/sbin/sshd 443 ?? Ss 0:00,15 sendmail: accepting connections (sendmail) 446 ?? Ss 0:00,02 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail) 460 ?? Ss 0:00,06 /usr/sbin/cron 523 ?? Ss 0:00,13 sshd: olive [priv] (sshd) 526 ?? S 0:01,01 sshd: olive@ttyp0 (sshd) 560 ?? Ss 0:00,12 sshd: olive [priv] (sshd) 563 ?? S 0:00,19 sshd: olive@ttyp1 (sshd) 725 ?? Ss 0:00,13 sshd: olive [priv] (sshd) 728 ?? S 0:00,19 sshd: olive@ttyp2 (sshd) 527 p0 Ss 0:00,21 -zsh (zsh) 540 p0 S 0:00,08 su 541 p0 S 0:00,31 su (zsh) 723 p0 R+ 3:23,19 tar -cf - ports 724 p0 S+ 3:33,33 tar -xf - -C /usr 564 p1 Ss 0:00,20 -zsh (zsh) 580 p1 S 0:00,08 su 581 p1 S 0:00,25 su (zsh) 714 p1 S+ 0:00,02 fsck -B -y /dev/ad3s1d 719 p1 S+ 0:18,90 fsck_4.2bsd -y -B /dev/ad3s1d 729 p2 Ss 0:00,22 -zsh (zsh) 742 p2 S 0:00,09 su 743 p2 S 0:00,28 su (zsh) 797 p2 R+ 0:00,03 ps ax 515 v0 Ss+ 0:00,03 /usr/libexec/getty Pc ttyv0 516 v1 Ss+ 0:00,03 /usr/libexec/getty Pc ttyv1 517 v2 Ss+ 0:00,03 /usr/libexec/getty Pc ttyv2 518 v3 Ss+ 0:00,03 /usr/libexec/getty Pc ttyv3 519 v4 Ss+ 0:00,03 /usr/libexec/getty Pc ttyv4 520 v5 Ss+ 0:00,03 /usr/libexec/getty Pc ttyv5 521 v6 Ss+ 0:00,03 /usr/libexec/getty Pc ttyv6 522 v7 Ss+ 0:00,03 /usr/libexec/getty Pc ttyv7 #