From owner-freebsd-current@FreeBSD.ORG Sat Apr 28 17:20:30 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 836A6106566B; Sat, 28 Apr 2012 17:20:30 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 36E7D8FC17; Sat, 28 Apr 2012 17:20:30 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SOBJm-0001yf-JX; Sat, 28 Apr 2012 18:20:22 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SOBJm-00036C-Bf; Sat, 28 Apr 2012 18:20:22 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q3SHKMwo092280; Sat, 28 Apr 2012 18:20:22 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q3SHKMVW092279; Sat, 28 Apr 2012 18:20:22 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Sat, 28 Apr 2012 18:20:22 +0100 From: Anton Shterenlikht To: John Baldwin Message-ID: <20120428172021.GA92264@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: John Baldwin , freebsd-current@freebsd.org, Anton Shterenlikht References: <20120426224215.GA79891@mech-cluster241.men.bris.ac.uk> <201204270751.11885.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201204270751.11885.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, Anton Shterenlikht Subject: Re: updating from r231158 to 234465: mounting from ufs:/dev/ad4s1a failed with error 19 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: Sat, 28 Apr 2012 17:20:30 -0000 On Fri, Apr 27, 2012 at 07:51:11AM -0400, John Baldwin wrote: > On Thursday, April 26, 2012 6:42:15 pm Anton Shterenlikht wrote: > > I was updating from r231158 to 234465 > > (amd64 laptop Compaq 6715s), > > and I think I must've messed someting > > up in the kernel config. Now I get > > build error, panic of a loader error, > > depending on which kernel I build. > > > > ********************************************************* > > > > If I build GENERIC, I get: > > > > (transcribed by hand) > > > > mountroot: waiting for device /dev/ad4s1a > > Mounting from ufs:/dev/ad4s1a failed with error 19. > > > > mountroot> ? > > > > List of GEOM managed disk devices: > > > > cd0 > > > > mountroot> > > Hmm, so GENERIC is not finding ad4. Can you look in the dmesg > (using scroll-lock) to see if GENERIC finds your ATA controller > ok? I see only one line: ata0: at channel 0 on atapci0 ata does not appear anywhere else. > > > The device is certainly correct in r231158: > > > > BUZI> df > > Filesystem 512-blocks Used Avail Capacity Mounted on > > /dev/ad4s1a 101554068 46474368 46955376 50% / > > devfs 2 2 0 100% /dev > > BUZI> > > > > ********************************************************* > > > > If I add > > > > device atadisk > > > > to GENERIC, then I get this linking error: > > Yes, you aren't supposed to use 'atadisk' with ATA_CAM. See the UPDATING > entry 20110424 for more details on that. > > However, can you obtain a verbose dmesg from your old kernel? Amazingly (for me) I can't! Twice I got a panic. The third time, and thereafter, I get the same error as with GENERIC: Mounting from ufs:/dev/ad4s1a failed with error 19. I also see: ata0: stat0=0x00 err=0x01 lsb=0x14 msb=0exb ata0: stat1=0x00 err=0x00 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=00 stat1=00 devices=0x10000 Thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423