From owner-freebsd-current@FreeBSD.ORG Fri Feb 26 18:41:25 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8689A106566B; Fri, 26 Feb 2010 18:41:25 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward8.mail.yandex.net (forward8.mail.yandex.net [77.88.61.38]) by mx1.freebsd.org (Postfix) with ESMTP id 302078FC16; Fri, 26 Feb 2010 18:41:24 +0000 (UTC) Received: from webmail126.yandex.ru (webmail126.yandex.ru [213.180.223.229]) by forward8.mail.yandex.net (Yandex) with ESMTP id 557011430962; Fri, 26 Feb 2010 21:41:23 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1267209683; bh=cCz8rOUnh5+t+KuCXwk79Onm232Can6FdV1q5Y4seW0=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=QWsI4V2FjZfzWpIIMQrIqpjzr6XBsTEBrD/I+hP5wwWHDNQGl4SykMX+8wCYSa5pK 3IEeANsExOR/Za7cpUPpwefZDQFy1wiY8gPNn80h8a2rZZ+9Nz2eEqqs/n8HdIL62V FQUqJBU5lc1mmQiXwn9aptoOWNSIMqDW14647sjY= Received: from localhost (localhost [127.0.0.1]) by webmail126.yandex.ru (Yandex) with ESMTP id 4B7902950204; Fri, 26 Feb 2010 21:41:23 +0300 (MSK) X-Yandex-Spam: 1 X-Yandex-Front: webmail126 X-Yandex-TimeMark: 1267209683 Received: from heavennet.ru (heavennet.ru [77.72.136.193]) by mail.yandex.ru with HTTP; Fri, 26 Feb 2010 21:41:21 +0300 From: Andrey V. Elsukov To: Paul Wootton In-Reply-To: <4B87DEEA.5070808@fletchermoorland.co.uk> References: <4B87DEEA.5070808@fletchermoorland.co.uk> MIME-Version: 1.0 Message-Id: <18511267209682@webmail126.yandex.ru> Date: Fri, 26 Feb 2010 21:41:22 +0300 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Cc: marcel@freebsd.org, pjd@freebsd.org, current@freebsd.org Subject: Re: Can not boot after r203503. Unable to open /dev/ada(1/2)p3 for writing 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: Fri, 26 Feb 2010 18:41:25 -0000 26.02.10, 14:47, "Paul Wootton" : > I have an unusual problem. Last night I tried updating from my old-ish > kernel/world to an up to date version. I had been using 202500-ish > successfully. I can build and install the newer world and kernel fine, > but when I reboot I get the following > > Trying to mount root from zfs:raid250/root > ZFS WARNING: Unable to open /dev/ada1p3 for writing (error=1). ZFS > WARNING: Unable to open /dev/ada2p3 for writing (error=1). ROOT MOUNT ERROR. > If you have invalid mount options, reboot, and first try the following > from the loader prompt: > set vfs.root.mountfrom.options=rw > and then remove the invalid options from /etc/fstab > loader variables: > vfs.root.mountfrom=zfs:raid250/root > vfs.root.mountfrom.options=rw I had the same problem recently. I have ZFS-only 9.0-CURRENT-amd64. First time when i had this problem was after I added linux_load="YES" in /boot/loader.conf. :-) It was only change i made. So, i rebooted again and unload linux from boot prompt. And system boots fine. I tried again with linux.ko and it failed to boot. After that i synced source tree and rebuild kernel. And after that it failed to boot with and without linux. :-) So, after that i booted from another disk and only thing that i did was: # zpool import -R /mnt z # gpart modify -l ZFS -i 3 ad4 (previous label was "zfs") After that i can boot with and without linux.ko again. And I can't reproduce this bug again. -- WBR, Andrey V. Elsukov