From owner-freebsd-current@FreeBSD.ORG Fri Feb 26 15:13:46 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 D98381065672 for ; Fri, 26 Feb 2010 15:13:46 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 697CB8FC16 for ; Fri, 26 Feb 2010 15:13:45 +0000 (UTC) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 3B5FD5B0FF; Fri, 26 Feb 2010 16:13:42 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 37F765B0FD; Fri, 26 Feb 2010 16:13:42 +0100 (CET) X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 0C98A5D0A6; Fri, 26 Feb 2010 16:13:42 +0100 (CET) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.5.1FP1) with ESMTP id 2010022616134036-71524 ; Fri, 26 Feb 2010 16:13:40 +0100 Received: by wep4035 (sSMTP sendmail emulation); Fri, 26 Feb 2010 16:13:40 +0100 Date: Fri, 26 Feb 2010 16:13:40 +0100 From: Alexey Shuvaev To: Paul Wootton Message-ID: <20100226151340.GB93856@wep4035.physik.uni-wuerzburg.de> References: <4B87DEEA.5070808@fletchermoorland.co.uk> MIME-Version: 1.0 In-Reply-To: <4B87DEEA.5070808@fletchermoorland.co.uk> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.20 (2009-06-14) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.5.1FP1|January 05, 2010) at 02/26/2010 04:13:41 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.5.1FP1|January 05, 2010) at 02/26/2010 04:13:41 PM, Serialize complete at 02/26/2010 04:13:41 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: 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 15:13:47 -0000 On Fri, Feb 26, 2010 at 02:47:06PM +0000, Paul Wootton wrote: > Hi, > > 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 > > > Im using 2 drives in a ZFS mirror configuration (ada1 and ada2 > making raid250) > > I tried going back over the older revisions, and the last kernel > that I can build and boot is 203503. It seems the changes in 203504 > are what cause me the problems. > > Now for the weird bit, I took a friends kernel (204324) and that > boots fine. I pulled his kernel configuration and built against that > (I had decided to remake my kernel configuration just before I tried > updating). Still I get the same error. I have checked my > /etc/make.conf and that looks right. > > I attached my /etc/fstab and /etc/make.conf. Im using an Intel > Q8300 running amd64. > > Anyone have any ideas? This is my work computer, so unfortunately I > wont have access to it over the weekend but will be able to give > more information if required on monday > > Cheers > > Paul > > # Device Mountpoint FStype Options Dump Pass# > raid250/root / zfs rw 0 0 > raid250/usr /usr zfs rw 0 0 > raid250/var /var zfs rw 0 0 > raid250/tmp /tmp zfs rw,noatime 0 0 > /dev/ada1p2 none swap sw 0 0 > /dev/ada2p2 none swap sw 0 0 > linproc /usr/compat/linux/proc linprocfs rw 0 0 > CPUTYPE?=core2 > > CFLAGS= -msse3 -mmmx -O2 -fno-strict-aliasing -pipe -s ^^^^^^^^^^^^^^^ Are you sure you are allowed to use these flags to compile the kernel? I would try removing this line completely. > CXXFLAGS+= -fconserve-space > > #CFLAGS= -march=native -O2 -fno-strict-aliasing -pipe -s > #CXXFLAGS+= -fconserve-space -fpermissive -Wl,-rpath-link,/usr/local/lib/gcc44 > #CC=gcc44 > #CXX=g++44 > #NO_CPU_CFLAGS= # Don't add -march= to CFLAGS automatically > #NO_CPU_COPTFLAGS= # Don't add -march= to COPTFLAGS automatically > > > KERNCONF=DEMOPHON > > MAKE_IDEA=YES > BATCH=YES > WITH_JADETEX=YES > > LOADER_ZFS_SUPPORT="YES" > # added by use.perl 2009-07-20 19:58:21 > PERL_VERSION=5.8.9