From owner-freebsd-stable@FreeBSD.ORG Mon May 14 06:30:01 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBBD6106564A for ; Mon, 14 May 2012 06:30:01 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 569068FC0C for ; Mon, 14 May 2012 06:30:01 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so1767307wib.13 for ; Sun, 13 May 2012 23:30:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=KRoPvQwm4cX54+6jYEK9p5ux1ISNiDxIVR0o7WNQm/U=; b=T+zizUdQ6wPPvjisRXE/LTMsdE4PV3x28Lnj6GAUvGDy7Am+NqimSL2ovpVrVbLkMI mBTlfQ0PSB0TQB37L8jB5EGXHXLd5SqvQrgzQHz1gAkOZmeqJb46oPjXDFahLySJvLj9 PZAGdnJhLi8N6JPVcZnewIdbu8jQ4KMMGnlO2z/SzMWH9QqVdXxQ3Zybe7HWb2KLLq1s pruOTOF8YHTnraufZXB8ZCQ3NsYE7GfP5Xvat+uxaNATX3jYFXjLfPYnYrwGYBRUHXOh OhamBdull+YyLnP2SMfC0GcWFs9zDVK0XCiDEEtUpQp6RZpSuMnpcVIxGdVLfmOsjwq2 PhMw== MIME-Version: 1.0 Received: by 10.216.50.80 with SMTP id y58mr644171web.106.1336977000246; Sun, 13 May 2012 23:30:00 -0700 (PDT) Received: by 10.223.155.80 with HTTP; Sun, 13 May 2012 23:30:00 -0700 (PDT) In-Reply-To: References: Date: Sun, 13 May 2012 23:30:00 -0700 Message-ID: From: Kevin Oberman To: =?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: 8.3-PRERELEASE and ATA_CAM X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 14 May 2012 06:30:01 -0000 On Sun, May 13, 2012 at 9:54 PM, Ask Bj=F8rn Hansen 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