From owner-freebsd-current@freebsd.org Sat Jun 4 12:48:34 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11BE1B690C2 for ; Sat, 4 Jun 2016 12:48:34 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id 757E812CF for ; Sat, 4 Jun 2016 12:48:33 +0000 (UTC) (envelope-from freebsd@grem.de) Received: (qmail 98276 invoked by uid 89); 4 Jun 2016 12:41:51 -0000 Received: from unknown (HELO bsd64.grem.de) (mg@grem.de@194.97.158.70) by mail.grem.de with ESMTPA; 4 Jun 2016 12:41:51 -0000 Date: Sat, 4 Jun 2016 14:41:48 +0200 From: Michael Gmelin To: Matthias Apitz 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> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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, 04 Jun 2016 12:48:34 -0000 On Sat, 4 Jun 2016 14:01:34 +0200 Matthias Apitz 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 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