Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2012 23:30:00 -0700
From:      Kevin Oberman <kob6558@gmail.com>
To:        =?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= <ask@develooper.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 8.3-PRERELEASE and ATA_CAM
Message-ID:  <CAN6yY1vMW9HV6%2BkVZiU-RW8UtuDgb32yDG%2Bf57b3iRmB06WNJg@mail.gmail.com>
In-Reply-To: <B70E1502-8885-4E81-A301-345320913487@develooper.com>
References:  <E1SG3u1-000Ian-Te@kabab.cs.huji.ac.il> <B70E1502-8885-4E81-A301-345320913487@develooper.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 13, 2012 at 9:54 PM, Ask Bj=F8rn Hansen <ask@develooper.com> wr=
ote:
>
> On Apr 6, 2012, at 0:48, Daniel Braniss wrote:
>
>> with the latest svn, I can't compile kernel with =A0options 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) n=
ooptions, 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 =A0 =A0 =A0 =A0 ATA_CAM
> device =A0 =A0 =A0 =A0 da
>
> nodevice ata
> nodevice atadisk
>
> ... but this makes the boot loader unable to find/see any partitions at a=
ll.
>
> What devices am I missing? =A0 I am booting from a compact flash ata inte=
rface 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.
--=20
R. Kevin Oberman, Network Engineer
E-mail: kob6558@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vMW9HV6%2BkVZiU-RW8UtuDgb32yDG%2Bf57b3iRmB06WNJg>