From owner-freebsd-bugs@FreeBSD.ORG Wed Mar 16 22:50:15 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78EEB1065678 for ; Wed, 16 Mar 2011 22:50:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3E4E98FC13 for ; Wed, 16 Mar 2011 22:50:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2GMoFic053435 for ; Wed, 16 Mar 2011 22:50:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2GMoFrd053434; Wed, 16 Mar 2011 22:50:15 GMT (envelope-from gnats) Resent-Date: Wed, 16 Mar 2011 22:50:15 GMT Resent-Message-Id: <201103162250.p2GMoFrd053434@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Roger Hammerstein Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9486106566B for ; Wed, 16 Mar 2011 22:45:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id CACA38FC13 for ; Wed, 16 Mar 2011 22:45:30 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p2GMjUU8075834 for ; Wed, 16 Mar 2011 22:45:30 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p2GMjUtx075832; Wed, 16 Mar 2011 22:45:30 GMT (envelope-from nobody) Message-Id: <201103162245.p2GMjUtx075832@red.freebsd.org> Date: Wed, 16 Mar 2011 22:45:30 GMT From: Roger Hammerstein To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/155615: zfs v28 broken on sparc64 -current X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2011 22:50:15 -0000 >Number: 155615 >Category: kern >Synopsis: zfs v28 broken on sparc64 -current >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 16 22:50:14 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Roger Hammerstein >Release: 9.0-Current >Organization: >Environment: falcon# uname -a FreeBSD falcon 9.0-CURRENT FreeBSD 9.0-CURRENT #6: Wed Mar 16 15:41:10 EDT 2011 root@falcon:/usr/obj/usr/src/sys/GENERIC sparc64 falcon# >Description: After the import of zfs v28, I updated a Sun Ultra 60 to the top of the tree and found it didn't work. I took a brief diversion to update binutils after Marius Strobl fixed an issue with kernel module loading, but now I'm unsure what new information to provide. I can kldload zfs, but a 'zfs list' or 'zpool status' or 'zpool import' will cause each of those processes to eat 100% of a cpu and never return. A ctrl-t shows: load: 1.00 cmd: zpool 995 [running] 546.02r 0.00u 0.04s 100% 2976k top says: 995 root 1 58 0 22720K 3008K CPU1 1 0:00 100.00% zpool falcon# procstat -kk 995 PID TID COMM TDNAME KSTACK 995 100049 zpool initial thread truss -p 995 never prints anything: falcon# truss -p 995 [and nothing after this] I can break to the debugger on the serial console, just tell me the commands to run. db> ps pid ppid pgrp uid state wmesg wchan cmd 999 996 999 0 Ss+ ttyin 0xfffff8000136eca8 csh 996 875 996 0 Ss select 0xfffff800017d03c0 sshd 995 1 995 0 T+ CPU 1 initial thread 992 0 0 0 DL (threaded) [zfskern] 100088 D l2arc_fe 0xc13c93e0 [l2arc_feed_thread] 100087 D arc_recl 0xc13b9570 [arc_reclaim_thread] 987 984 987 0 Ss+ pause 0xfffff800015b8508 csh 984 875 984 0 Ss select 0xfffff800010b12c0 sshd 978 975 978 0 S+ ttyin 0xfffff80001123ca8 csh 976 1 1 0 S ttydcd 0xfffff800011238e8 getty 975 1 975 0 Ss+ wait 0xfffff800014e6d38 login 974 1 974 0 Ss+ ttyin 0xfffff8000136a0a8 getty 973 1 973 0 Ss+ ttyin 0xfffff8000136a4a8 getty 972 1 972 0 Ss+ ttyin 0xfffff8000136a8a8 getty 971 1 971 0 Ss+ ttyin 0xfffff800011220a8 getty 970 1 970 0 Ss+ ttyin 0xfffff800011224a8 getty 969 1 969 0 Ss+ ttyin 0xfffff800011228a8 getty 968 1 968 0 Ss+ ttyin 0xfffff80001122ca8 getty 967 1 967 0 Ss+ ttyin 0xfffff800011230a8 getty 894 1 894 0 Ss nanslp 0xc08044e8 cron 887 1 887 25 Ss pause 0xfffff8000176a970 sendmail 883 1 883 0 Ss select 0xfffff800010b1740 sendmail 875 1 875 0 Ss select 0xfffff800010ae540 sshd 795 1 795 0 Ss select 0xfffff800010ae140 ntpd 591 1 591 0 Ss select 0xfffff800010b1840 syslogd 414 1 414 0 Ss select 0xfffff800010ae3c0 devd 109 1 109 0 Ss pause 0xfffff800014e7240 adjkerntz 18 0 0 0 DL - 0xc0803238 [schedcpu] 17 0 0 0 DL sdflush 0xc09ce948 [softdepflush] 16 0 0 0 DL syncer 0xc09c0238 [syncer] 15 0 0 0 DL vlruwt 0xfffff800010b8d38 [vnlru] 14 0 0 0 DL psleep 0xc09bfd68 [bufdaemon] 9 0 0 0 DL pgzero 0xc09d1a74 [pagezero] 8 0 0 0 DL psleep 0xc09d08b0 [vmdaemon] 7 0 0 0 DL psleep 0xc09d08ec [pagedaemon] 6 0 0 0 DL ccb_scan 0xc07e94b8 [xpt_thrd] 5 0 0 0 DL waiting_ 0xc09c2ad8 [sctp_iterator] 13 0 0 0 DL - 0xc0803238 [yarrow] 4 0 0 0 DL - 0xc07ff620 [g_down] 3 0 0 0 DL - 0xc07ff618 [g_up] 2 0 0 0 DL - 0xc07ff608 [g_event] 12 0 0 0 RL (threaded) [intr] 100026 I [vec2022: sym1] 100025 I [vec2016: sym0] 100024 I [vec2017: hme0] 100023 I [swi0: uart uart+] 100022 I [vec2024: pcib0] 100021 I [vec2021: pcib0] 100020 I [swi6: task queue] 100018 I [swi6: Giant taskq] 100016 I [swi5: +] 100014 I [swi2: cambio] 100008 I [swi4: clock] 100007 RunQ [swi4: clock] 100006 I [swi1: netisr 0] 100005 I [swi3: vm] 11 0 0 0 RL (threaded) [idle] 100004 Run CPU 0 [idle: cpu0] 100003 CanRun [idle: cpu1] 1 0 1 0 SLs wait 0xfffff800010b7a70 [init] 10 0 0 0 DL audit_wo 0xc09cddd0 [audit] 0 0 0 0 DLs (threaded) [kernel] 100086 D - 0xfffff800013d5900 [system_taskq_1] 100085 D - 0xfffff800013d5900 [system_taskq_0] 100027 D - 0xc0803238 [deadlkres] 100019 D - 0xfffff8000106ad00 [ffs_trim taskq] 100017 D - 0xfffff8000106ae00 [thread taskq] 100015 D - 0xfffff8000106af00 [kqueue taskq] 100012 D - 0xfffff80001069b00 [firmware taskq] 100000 D sched 0xc07ff7d8 [swapper] db> falcon# zdb -l /dev/da3 -------------------------------------------- LABEL 0 -------------------------------------------- version: 15 name: 'tank' state: 0 txg: 49593 pool_guid: 4077333846604751716 hostid: 447903119 hostname: 'falcon' top_guid: 9611865004625236260 guid: 10695663440244798371 vdev_tree: type: 'mirror' id: 0 guid: 9611865004625236260 metaslab_array: 23 metaslab_shift: 29 ashift: 9 asize: 73503604736 is_log: 0 children[0]: type: 'disk' id: 0 guid: 10695663440244798371 path: '/dev/da3' whole_disk: 0 DTL: 31 children[1]: type: 'disk' id: 1 guid: 14991341365972947615 path: '/dev/da6' whole_disk: 0 DTL: 30 -------------------------------------------- LABEL 1 >How-To-Repeat: >Fix: unknown. >Release-Note: >Audit-Trail: >Unformatted: