8.3-PRERELEASE and ATA_CAM

Kevin Oberman kob6558 at gmail.com
Mon May 14 06:30:01 UTC 2012


On Sun, May 13, 2012 at 9:54 PM, Ask Bjørn Hansen <ask at develooper.com> wrote:
>
> On Apr 6, 2012, at 0:48, Daniel Braniss wrote:
>
>> with the latest svn, I can't compile kernel with  options ATA_CAM:
>>
>> ...
>> linking kernel.debug
>> ata-disk.o(.text+0x93): In function `ad_init':
>> /r+d/stable/8.3/sys/dev/ata/ata-disk.c:389: undefined reference to
>> `ata_setmode'
>
> I ran into this, too (on 9.0).
>
> In my kernel config I include GENERIC and then have a bunch of (mostly) nooptions, nodevice to get a smaller kernel.
>
> To make it compile after updating /usr/src to the latest STABLE (from 9.0-RELEASE) I added
>
> option         ATA_CAM
> device         da
>
> nodevice ata
> nodevice atadisk
>
> ... but this makes the boot loader unable to find/see any partitions at all.
>
> What devices am I missing?   I am booting from a compact flash ata interface on Soekris and PCEngines Alix boards.

ata

ATA_CAM still needs it.

But why are you doing this? 9.0 defaults to use ATA_CAM, so just build
GENERIC. atadisk is not in GENERIC, but both ata and da ar, though da
has nothing to do with ata_cam. It's the SCSI disk driver.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6558 at gmail.com


More information about the freebsd-stable mailing list