From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 13:27:05 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 64CF2EA for ; Mon, 31 Mar 2014 13:27:05 +0000 (UTC) Received: from udns.ultimateDNS.NET (ultimatedns.net [209.180.214.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 30B93CDB for ; Mon, 31 Mar 2014 13:27:04 +0000 (UTC) Received: from udns.ultimateDNS.NET (localhost [127.0.0.1]) by udns.ultimateDNS.NET (8.14.5/8.14.5) with ESMTP id s2VDTfso093989; Mon, 31 Mar 2014 06:29:47 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) Received: (from www@localhost) by udns.ultimateDNS.NET (8.14.5/8.14.5/Submit) id s2VDTa0s093983; Mon, 31 Mar 2014 06:29:36 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net ([209.180.214.225]) (UDNSMS authenticated user chrish) by ultimatedns.net with HTTP; Mon, 31 Mar 2014 06:29:36 -0700 (PDT) Message-ID: <0084eb7aeae97ecc37032daaedef4a6e.authenticated@ultimatedns.net> In-Reply-To: <53391CC7.9010308@omnilan.de> References: <53391CC7.9010308@omnilan.de> Date: Mon, 31 Mar 2014 06:29:36 -0700 (PDT) Subject: Re: device ada n/ in kernconf, how to omitt for hv_storvsc.ko From: "Chris H" To: "Harald Schmalzbauer" User-Agent: UDNSMS/2.0.3 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: FreeBSD Stable 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 13:27:05 -0000 > Hello, > > 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). > > There's the hv_pci_ata_disengage.ko pseudo driver, but that also makes > IDE cdrom unavailable – same as disabling ata/atapci! Can't really get > the idea of that module… > > 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!?! Greetings, Off the top of my head, I /believe/ it's (ada) a part of the ahci implementation. --Chris > > Is there something like hint.ada.disable=1 ? > Can I use “nodevice ada“ to exclude it from my custom kernel? > > Thanks, > > -Harry > >