From owner-freebsd-current@FreeBSD.ORG Wed Mar 31 09:18:22 2010 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 6DBED1065673 for ; Wed, 31 Mar 2010 09:18:22 +0000 (UTC) (envelope-from matpockuh@gmail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id 016808FC12 for ; Wed, 31 Mar 2010 09:18:21 +0000 (UTC) Received: by fxm25 with SMTP id 25so21782fxm.3 for ; Wed, 31 Mar 2010 02:18:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=TNBEYT5DefRRWYgd7l2kSvolape6mL8NCv922W/tedA=; b=S8/XE2Nt4hpappmnJQJwSeZebg+u7uzjuQT7nabKQZl2FF9vI29rnr6JEPz0Lz/kL1 DDiLhO21lv32E/WlQY8K1XVkR80QUePgLiJ3vgfTzGJ/tskRDojpFX2VR6ekj5We1pPg Lxf3lb0Zw4l/a9ODTN9Fx9C4NjeNiZ6neQtXU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=AkvKCn9JqtuNdzQzt7LNhSSLvGO3XpHsO6v5EvN4p7w8qJVW7h2jwQTZx3irShzzcF E6Btwd3YLpC9g4gQ3wxRV5l7fIexXXpiqzT95iKHdwwzYGYzmqW0NuBuqQcyo9H+qqTM UpJa0A0f5PlRo4guQNKdq0WsvqQ3PzGqxXu6Q= MIME-Version: 1.0 Received: by 10.239.153.206 with HTTP; Wed, 31 Mar 2010 02:18:20 -0700 (PDT) Date: Wed, 31 Mar 2010 12:18:20 +0300 Received: by 10.239.185.129 with SMTP id c1mr683551hbh.167.1270027100839; Wed, 31 Mar 2010 02:18:20 -0700 (PDT) Message-ID: From: KOT MATPOCKuH To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: On fresh current zvol with org.freebsd:swap=on crashes zfs list (PR:145234) 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, 31 Mar 2010 09:18:22 -0000 On fresh freebsd-current automatic swap configuration on zvol with org.freebsd:swap=on by /etc/rc.d/zvol doesn't work because zfs list -H -o org.freebsd:swap,name -t volume fails with bus error. To repeat a problem try: # zfs create -V 128m rpool/test # zfs list rpool/test NAME USED AVAIL REFER MOUNTPOINT rpool/test 128M 55.9G 16K - # zfs set org.freebsd:swap=on rpool/test # zfs list rpool/test Segmentation fault (core dumped) # zfs list Segmentation fault (core dumped) # zfs inherit org.freebsd:swap rpool/test # zfs list rpool/test NAME USED AVAIL REFER MOUNTPOINT rpool/test 128M 55.9G 16K - PR:bin/145234 registered for this problem. -- MATPOCKuH