Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2016 14:41:48 +0200
From:      Michael Gmelin <freebsd@grem.de>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: r300951: mountroot: waiting for device /dev/ad4s1a...
Message-ID:  <20160604144148.000a4fc3@bsd64.grem.de>
In-Reply-To: <20160604120134.GA5402@c720-r292778-amd64>
References:  <20160604101826.GA4660@c720-r292778-amd64> <20160604112806.GA5079@c720-r292778-amd64> <20160604134046.00fc182f@bsd64.grem.de> <20160604114852.GA5261@c720-r292778-amd64> <20160604135430.42e2f849@bsd64.grem.de> <20160604120134.GA5402@c720-r292778-amd64>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 4 Jun 2016 14:01:34 +0200
Matthias Apitz <guru@unixarea.de> wrote:

> El d=C3=ADa Saturday, June 04, 2016 a las 01:54:30PM +0200, Michael Gmelin
> escribi=C3=B3:
>=20
> >=20
> > On Sat, 4 Jun 2016 13:48:52 +0200
> > Matthias Apitz <guru@unixarea.de> wrote:
> >  =20
> > > > Did you do a full clean build?
> > > > GENERIC or custom kernel config?   =20
> > >=20
> > > yes, clean 'make buildkernel KERNCONF=3DGENERIC' =20
> > And then 'make installkernel KERNCONF=3DGENERIC' I suppose. =20
>=20
> yes, ofc :-)
>=20
> > > interestingly: I can type at the prompt 'mountroot> ' into the
> > > dark and always when I press Ctrl the chars are written to the
> > > screen and so I can specify 'ufs:/dev/ad4s1a' which than leads to
> > > the same error 19. =20
> >=20
> > Did you try ufs:/dev/ada0s1a? =20
>=20
> no, but now and it worked; I will adjust /etc/fstab; but why is this?
>=20

The SATA subsystem was changed to use cam back in 2012 [1], which
changed device numbering from adX to ada0, ada1.

Back then, a sysctl called kern.cam.ada.legacy_aliases, which is
enabled by default, was provided for backwards compatibility.

Some research shows that this feature was removed in r289137 [2]

It's also covered in UPDATING:

20151011:
        Compatibility shims for legacy ATA device names have been
        removed. It includes ATA_STATIC_ID kernel option,
        kern.cam.ada.legacy_aliases and kern.geom.raid.legacy_aliases
        loader tunables, kern.devalias.* environment variables, /dev/ad*
        and /dev/ar* symbolic links.

- Michael

[1] https://www.freebsd.org/releases/9.0R/relnotes-detailed.html
(see 3.2.3)
[2] https://svnweb.freebsd.org/base?view=3Drevision&revision=3D289137

--=20
Michael Gmelin



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