From owner-freebsd-fs@FreeBSD.ORG Mon Nov 28 12:55:30 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9A79106564A for ; Mon, 28 Nov 2011 12:55:30 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 7638A8FC19 for ; Mon, 28 Nov 2011 12:55:30 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RV0k5-0007jY-I4 for freebsd-fs@freebsd.org; Mon, 28 Nov 2011 13:55:29 +0100 Received: from ib-jtotz.ib.ic.ac.uk ([155.198.110.220]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Nov 2011 13:55:29 +0100 Received: from johannes by ib-jtotz.ib.ic.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Nov 2011 13:55:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Johannes Totz Date: Mon, 28 Nov 2011 12:55:17 +0000 Lines: 39 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ib-jtotz.ib.ic.ac.uk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 Subject: panic: solaris assert X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2011 12:55:30 -0000 Hi! Just got a panic trying to create a new dataset on a test-pool. No dump, this is transcribbled off the screen: panic: solaris assert: zfs_get_zplprop(os, ZFS_PROP_NORMALIZE, &norm) == 0, file: /usr/src/sys/modules/zfs../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c, line: 2819 cpuid = 0 KDB: stack backtrace: #0 ... kbd_backtrace #1 ... panic #2 ... zfs_fill_zplprops_impl #3 ... zfs_ioc_create #4 ... zfsdev_ioctl #5 ... devfs_ioctl_f #6 ... kern_ioctl #7 ... sys_ioctl #8 ... amd64_syscall #9 ... Xfast_syscall I don't have pool config anymore. The only curious thing was that zpool status reported lots of checksum errors but nonetheless regarded it "healthy"... This is on: FreeBSD XXX 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #0 r227793: Mon Nov 21 20:19:04 GMT 2011 root@XXX:/usr/obj/usr/src/sys/GENERIC amd64 I checked the code for the assert. Instead of just assert'ing the return value it might be better to return an error to the caller and fail dataset creation. Johannes