From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 14:30:46 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 59E3B47F for ; Mon, 31 Mar 2014 14:30:46 +0000 (UTC) Received: from isis.morrow.me.uk (isis.morrow.me.uk [204.109.63.142]) by mx1.freebsd.org (Postfix) with ESMTP id 33432640 for ; Mon, 31 Mar 2014 14:30:45 +0000 (UTC) Received: from anubis.morrow.me.uk (host86-173-254-150.range86-173.btcentralplus.com [86.173.254.150]) (Authenticated sender: mauzo) by isis.morrow.me.uk (Postfix) with ESMTPSA id 5675F4509A for ; Mon, 31 Mar 2014 14:23:43 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 isis.morrow.me.uk 5675F4509A DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=morrow.me.uk; s=dkim201101; t=1396275824; bh=t+v+SpAkauQshcjM6/SPKXWakj1F8oZ9JCV4WJWm1Wo=; h=Date:From:To:Subject:References:In-Reply-To; b=V74eQBAwLnyLXYSJQkohtJkBHjs9s5EEYNREXdBX16p60YD9zriW9saQUNPCRWXQB E/1jC8UkgLS17DV//qmIPSQKeueC7Yx9Ykbo+OuwIjLdf9QNKS8jb809WVlOD3J0Wv L99I37s6Lgqd5Kf4dsBSCrUbxgqSaMqiDuaAqDfU= X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98.1 at isis.morrow.me.uk Received: by anubis.morrow.me.uk (Postfix, from userid 5001) id 9EFCE12689; Mon, 31 Mar 2014 15:23:38 +0100 (BST) Date: Mon, 31 Mar 2014 15:23:38 +0100 From: Ben Morrow To: freebsd-stable@freebsd.org Subject: Re: device ada n/ in kernconf, how to omitt for hv_storvsc.ko Message-ID: <20140331142334.GA48430@anubis.morrow.me.uk> Mail-Followup-To: freebsd-stable@freebsd.org References: <53391CC7.9010308@omnilan.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0084eb7aeae97ecc37032daaedef4a6e.authenticated@ultimatedns.net> X-Newsgroups: gmane.os.freebsd.stable User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2014 14:30:46 -0000 Quoth "Chris H" : > > > > I'm experimenting with MS-Hyper-V and saw that as soon as hv_storvsc.ko > > is loaded, an IDE hdd attaches as 'da' _and_ 'ada' (the former seems to > > be called “FastIDE” on “synthetic storage driver” and gains efficiency > > for HDD workloads). Is this a problem? Can't you just ignore the one you don't want to use? If nothing else, you could hide the device node using devfs.rules. > > I'd prefere to disable 'ada' only (leaving cdrom via atapci->ATA_CAM->cd). > > But I can't find the place where “device ada” gets defined for kernel > > conf. “device ata” is in GENERIC, along with da, sa, scbus etc., but no > > 'ada' ?!?. No trace of 'ada' in DEFAULTS either!?! > > Off the top of my head, I /believe/ it's (ada) a part of the ahci > implementation. No, it works perfectly well without ahci (I'm using it with ataintel, since the ICH7 in this box doesn't support AHCI). It's compiled in with this line in sys/conf/files: cam/ata/ata_da.c optional ada | da which says 'include this file if either of "device ada" or "device da" were requested'. So, I believe that if you want 'device da', you get 'device ada' as well, unless you edit that line to remove the '| da' and make buildkernel. (I make no guarantee that this won't break things. I'm not a kernel hacker.) Ben