From owner-freebsd-current Fri Aug 31 23:49:27 2001 Delivered-To: freebsd-current@freebsd.org Received: from kibby.au.knfpub.com (kibby.au.knfpub.com [203.38.198.130]) by hub.freebsd.org (Postfix) with ESMTP id 58D2437B407; Fri, 31 Aug 2001 23:49:20 -0700 (PDT) Received: (from kibbet@localhost) by kibby.au.knfpub.com (8.11.4/8.11.4) id f816n4509046; Sat, 1 Sep 2001 16:19:04 +0930 (CST) (envelope-from kibbet) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200108311253.f7VCr2Y18814@aleph.alameda.edu> Date: Sat, 01 Sep 2001 16:19:04 +0930 (CST) Reply-To: kibbet@knfpub.com Organization: KNF Publishing From: kibbet@knfpub.com To: Adam Kranzel Subject: RE: Kernel builds failing Cc: current@FreeBSD.ORG, sos@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Adam, Søren (CC'd to sos@freebsd.org) On 31-Aug-01 Adam Kranzel wrote: > Hi... > > For the last two days, my kernel builds have been failing with: > > linking kernel.debug > ata-all.o: In function `ataioctl': > /usr/src/sys/dev/ata/ata-all.c(.text+0x791): undefined reference to > `atapi_queue _cmd' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/CHESHIRE. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > Any ideas? > > thanks > -Adam > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message I had this problem to, I went for a snoop and found the following; From my kenel config file; device ata device atadisk # ATA disk drives #device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives I don't have an ata cd, floppy or tape in the machine so I commented them out - I'm assuming you've done the same. From /usr/src/sys/conf/files; dev/ata/atapi-all.c optional atapicd dev/ata/atapi-all.c optional atapifd dev/ata/atapi-all.c optional atapist the atapi-all.c file contains atapi_queue_cmd(), in other words, with the above configuration, atapi-all.c is never compiled, so the function isn't there. Workaround: add one of the devices to get it compiled, ata[cd,fd,st] Søren, looks like your last ata-all.c commit has broken this, sos 2001/08/30 02:47:17 PDT Modified files: sys/dev/ata ata-all.c Log: Add support for sending ATAPI commands via ioctl. Revision Changes Path 1.118 +42 -1 src/sys/dev/ata/ata-all.c Cheers, ---------------------------------- Kent Ibbetson kibbet@knfpub.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message