From owner-freebsd-stable@FreeBSD.ORG Sun Dec 18 21:49:50 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEC93106566C for ; Sun, 18 Dec 2011 21:49:50 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta09.emeryville.ca.mail.comcast.net (qmta09.emeryville.ca.mail.comcast.net [76.96.30.96]) by mx1.freebsd.org (Postfix) with ESMTP id 92E288FC12 for ; Sun, 18 Dec 2011 21:49:50 +0000 (UTC) Received: from omta13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by qmta09.emeryville.ca.mail.comcast.net with comcast id AlmR1i00617UAYkA9lpjoD; Sun, 18 Dec 2011 21:49:43 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta13.emeryville.ca.mail.comcast.net with comcast id Almz1i00N1t3BNj8Zln065; Sun, 18 Dec 2011 21:47:00 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 6BE7C102C19; Sun, 18 Dec 2011 13:49:48 -0800 (PST) Date: Sun, 18 Dec 2011 13:49:48 -0800 From: Jeremy Chadwick To: Randy Bush Message-ID: <20111218214948.GA7045@icarus.home.lan> References: <4EEC7B54.4070407@FreeBSD.org> <4EECC3E1.2000005@FreeBSD.org> <4EEE0F1A.4050609@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "Andrey V. Elsukov" , FreeBSD Stable Subject: Re: 8.2->9.prerel: gmirror failed with error 19 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 21:49:50 -0000 On Sun, Dec 18, 2011 at 04:43:13PM -0500, Randy Bush wrote: > >> # ATA/SCSI peripherals > >> device scbus # SCSI bus (required for ATA/SCSI) > >> #device ch # SCSI media changers > >> #device da # Direct Access (disks) > >> #device sa # Sequential Access (tape etc) > >> #device cd # CD > >> device pass # Passthrough device (direct ATA/SCSI access) > >> #device ses # SCSI Environmental Services (and SAF-TE) > > > > I think you should add "device da" or "device ada" option to have some > > disks available. > > will try. but the working 8.2 was happy with just the ata, which i have > in the 9 config > > # ATA controllers > #device ahci # AHCI-compatible SATA controllers > device ata # Legacy ATA/SATA controllers > options ATA_CAM # Handle legacy controllers with CAM > options ATA_STATIC_ID # Static device numbering > #device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA > #device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA Randy, With the introduction of FreeBSD 9.x, all ATA devices now use a translation layer (ATA->CAM), and this is especially so with anything SATA. I imagine this needs to be documented (in red, bold, etc.) in the official 9.0-RELEASE documentation, because it's probably going to trip up others. But, things of this nature are supposed to be documented in /usr/src/UPDATING, and admins are *expected* to read that file. As such, going forward, you're going to need to make sure you have SCSI support in your kernel config, including "device da" and/or "device ada" (not sure on the latter one). You'll also need to make sure any of your old rc.conf, make.conf, config files that reference ATA devices (/dev/adXX) etc. are all updated to reflect the new device naming convention. Finally, please be aware that when transitioning between FreeBSD versions, you cannot 100% reliably/safely copy your old kernel configuration file. You really do need to go through and "migrate" your kernel config to mimic what's in /sys/{arch}/conf/GENERIC. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |