device ada n/ in kernconf, how to omitt for hv_storvsc.ko

Chris H bsd-lists at bsdforge.com
Mon Mar 31 13:27:05 UTC 2014


> 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
>
>



More information about the freebsd-stable mailing list