From owner-freebsd-current@FreeBSD.ORG Thu Aug 20 01:53:47 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 04F05106564A for ; Thu, 20 Aug 2009 01:53:47 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by mx1.freebsd.org (Postfix) with ESMTP id E8CDD8FC3D for ; Thu, 20 Aug 2009 01:53:46 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii; format=flowed; delsp=yes Received: from macbook-pro.lan.xcllnt.net (mail.xcllnt.net [75.101.29.67]) by asmtp026.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KON004B8JXL4I20@asmtp026.mac.com> for freebsd-current@freebsd.org; Wed, 19 Aug 2009 18:53:46 -0700 (PDT) From: Marcel Moolenaar Date: Wed, 19 Aug 2009 18:53:45 -0700 Message-id: <6359C817-0D09-4BBC-95A3-5F9226EA8706@mac.com> To: FreeBSD Current X-Mailer: Apple Mail (2.1074) Subject: ZFS regression: Giant lock held by kldload syscall (panic: witness_warn) 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, 20 Aug 2009 01:53:47 -0000 All, I can't boot with ZFS enabled on my ia64 box: : Trying to mount root from ufs:da0p3 kldload: can't load zfs: No such file or directory /etc/rc: WARNING: Unable to load kernel module zfs Entropy harvesting: interrupts ethernet point_to_point kickstart. /dev/da0p3: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da0p3: clean, 8743374 free (100606 frags, 1080346 blocks, 0.6% fragmentation) WARNING: ZFS is considered to be an experimental feature in FreeBSD. ZFS filesystem version 13 ZFS storage pool version 13 System call kldload returning with the following locks held: exclusive sleep mutex Giant (Giant) r = 0 (0xe000000004821188) locked @ /nfs/freebsd/base/head/sys/modules/zfs/../../cddl/compat/opensolaris/ kern/opensolaris_kobj.c:228 panic: witness_warn cpuid = 0 KDB: enter: panic [thread pid 88 tid 100058 ] Stopped at kdb_enter+0x92: [I2] addl r14=0xffffffffffe1c308,gp ;; db> bt Tracing pid 88 tid 100058 td 0xe000000011558740 kdb_enter(0xe0000000046dc040, 0xe0000000046dc040, 0xe000000004317870, 0x793) at kdb_enter+0x92 panic(0xe0000000046ab268, 0xe0000000046e4618) at panic+0x2f0 witness_warn(0x2, 0x0, 0xe0000000047139b0, 0xe0000000046e5ba8) at witness_warn+0x500 syscall(0xa0000000c5c55400, 0x130, 0x2e, 0xe000000011558740, 0xe000000010ce7568, 0x0, 0x130, 0x130) at syscall+0x520 epc_syscall_return() at epc_syscall_return db> ps pid ppid pgrp uid state wmesg wchan cmd 90 0 0 0 SL l2arc_fe 0xa0000000006ac978 [l2arc_feed_thread] 89 0 0 0 SL arc_recl 0xa0000000006a44d8 [arc_reclaim_thread] 88 86 23 0 R+ CPU 0 kldload 86 23 23 0 S+ wait 0xe0000000115c1120 sh 23 1 23 0 Ss+ wait 0xe000000011416000 sh 22 0 0 0 SL - 0xe0000000048133b0 [schedcpu] 19 0 0 0 SL sdflush 0xe0000000048145d0 [softdepflush] 18 0 0 0 SL syncer 0xe0000000049ca2e0 [syncer] 17 0 0 0 SL vlruwt 0xe000000010c1c448 [vnlru] 16 0 0 0 SL psleep 0xe000000004813aa0 [bufdaemon] 15 0 0 0 SL pgzero 0xe0000000048148ec [pagezero] 9 0 0 0 SL psleep 0xe000000004814888 [vmdaemon] 8 0 0 0 SL psleep 0xe00000000481489c [pagedaemon] 14 0 0 0 SL (threaded) usb 100045 D - 0xa0000000000c6dd0 [usbus2] 100044 D - 0xa0000000000c6d78 [usbus2] 100043 D - 0xa0000000000c6d20 [usbus2] 100042 D - 0xa0000000000c6cc8 [usbus2] 100041 D - 0xa0000000000bd460 [usbus1] 100040 D - 0xa0000000000bd408 [usbus1] 100039 D - 0xa0000000000bd3b0 [usbus1] 100038 D - 0xa0000000000bd358 [usbus1] 100037 D - 0xa0000000000b9460 [usbus0] 100036 D - 0xa0000000000b9408 [usbus0] 100035 D - 0xa0000000000b93b0 [usbus0] 100034 D - 0xa0000000000b9358 [usbus0] 7 0 0 0 SL idle 0xa0000000000ca300 [mpt_raid0] 6 0 0 0 SL idle 0xa0000000000ca000 [mpt_recovery0] 13 0 0 0 SL tzpoll 0xe000000004812a18 [acpi_thermal] 5 0 0 0 SL ccb_scan 0xe000000004814ba0 [xpt_thrd] 12 0 0 0 SL - 0xe0000000048133b0 [yarrow] 4 0 0 0 SL - 0xe000000004812e88 [g_down] 3 0 0 0 SL - 0xe000000004812e80 [g_up] 2 0 0 0 SL - 0xe000000004812e70 [g_event] 11 0 0 0 WL (threaded) intr 100033 I [irq30: bge1] 100032 I [irq29: bge0] 100029 I [irq27: mpt0] 100028 I [irq19: ehci0] 100027 I [irq18: ohci1] 100026 I [irq17: ohci0] 100025 I [swi0: uart uart] 100023 I [irq25: acpi0] 100018 I [swi2: cambio] 100016 I [swi6: task queue] 100015 I [swi6: Giant taskq] 100013 I [swi5: +] 100007 I [swi1: netisr 0] 100006 I [swi4: clock] 100005 I [swi4: clock] 100004 I [swi3: vm] 10 0 0 0 RL (threaded) idle 100003 CanRun [idle: cpu0] 100002 Run CPU 1 [idle: cpu1] 1 0 1 0 SLs wait 0xe000000010c1c000 [init] 0 0 0 0 SLs (threaded) kernel 100022 D - 0xe000000010c24780 [kqueue taskq] 100021 D - 0xe000000010c24c00 [acpi_task_2] 100020 D - 0xe000000010c24c00 [acpi_task_1] 100019 D - 0xe000000010c24c00 [acpi_task_0] 100014 D - 0xe000000010c25100 [thread taskq] 100011 D - 0xe000000010c19900 [firmware taskq] 100000 D sched 0xe00000000481e8e0 [swapper] Should I stop loading the opensolaris and zfs modules in the loader? -- Marcel Moolenaar xcllnt@mac.com