From owner-freebsd-bugs@FreeBSD.ORG Tue Oct 25 17:00:20 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 D0F2A10656A9 for ; Tue, 25 Oct 2011 17:00:20 +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 564E28FC21 for ; Tue, 25 Oct 2011 17:00:20 +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 p9PH0Ksj034616 for ; Tue, 25 Oct 2011 17:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9PH0Kd5034606; Tue, 25 Oct 2011 17:00:20 GMT (envelope-from gnats) Resent-Date: Tue, 25 Oct 2011 17:00:20 GMT Resent-Message-Id: <201110251700.p9PH0Kd5034606@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, Robert Millan Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 765691065680 for ; Tue, 25 Oct 2011 16:53:33 +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 65E298FC0A for ; Tue, 25 Oct 2011 16:53:33 +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 p9PGrXNi073222 for ; Tue, 25 Oct 2011 16:53:33 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p9PGrW67073205; Tue, 25 Oct 2011 16:53:33 GMT (envelope-from nobody) Message-Id: <201110251653.p9PGrW67073205@red.freebsd.org> Date: Tue, 25 Oct 2011 16:53:33 GMT From: Robert Millan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/162008: [zfs] Latest 9-STABLE and 10-CURRENT fail to boot from ZFS v15 root 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: Tue, 25 Oct 2011 17:00:20 -0000 >Number: 162008 >Category: kern >Synopsis: [zfs] Latest 9-STABLE and 10-CURRENT fail to boot from ZFS v15 root >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 25 17:00:19 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Robert Millan >Release: Debian GNU/kFreeBSD "sid" >Organization: >Environment: see description >Description: With both 9-STABLE and 10-CURRENT, since recently the kernel is no longer able to boot from my ZFS pool as root file system. The on-disk pool is ZFS version 15 and was created with 8.2 kernel. I've bisected the problem in stable/9/sys/ and found that it'd been introduced by r226405 (commit that disables debug options in GENERIC), which is obviously just exposing the bug and not causing it. Ironically, in head/sys/ the same problem is present but disappears when removing the debug options. If I attempt to replicate the disk (by creating a new v15 pool and zfs send/receive'ing the data), the destination ZFS pool is bootable unlike the source one. This makes me suspect the problem has something to do with /boot/zfs/zpool.cache. I'm currently dd'ing the raw partition to another disk to check if the pool can be imported/exported manually, and if "zpool upgrade" has any effect on the problem (I don't want to risk losing the testcase). Please let me know if there's anything else I can try. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: