Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2012 07:51:11 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Anton Shterenlikht <mexas@bristol.ac.uk>
Subject:   Re: updating from r231158 to 234465: mounting from ufs:/dev/ad4s1a failed with error 19
Message-ID:  <201204270751.11885.jhb@freebsd.org>
In-Reply-To: <20120426224215.GA79891@mech-cluster241.men.bris.ac.uk>
References:  <20120426224215.GA79891@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

> 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?

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204270751.11885.jhb>