From owner-freebsd-current Fri Dec 6 7:31:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9623C37B401; Fri, 6 Dec 2002 07:31:14 -0800 (PST) Received: from goku.cl.msu.edu (goku.cl.msu.edu [35.8.3.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE3F643EBE; Fri, 6 Dec 2002 07:31:13 -0800 (PST) (envelope-from guru@goku.cl.msu.edu) Received: from goku.cl.msu.edu (localhost.msu.edu [127.0.0.1]) by goku.cl.msu.edu (8.12.6/8.12.6) with ESMTP id gB6FVCvP071396; Fri, 6 Dec 2002 10:31:12 -0500 (EST) (envelope-from guru@goku.cl.msu.edu) Received: (from guru@localhost) by goku.cl.msu.edu (8.12.6/8.12.6/Submit) id gB6FVCC1071395; Fri, 6 Dec 2002 10:31:12 -0500 (EST) Date: Fri, 6 Dec 2002 10:31:12 -0500 From: GuRU To: Kris Kennaway Cc: sos@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Link failure in ata driver Message-ID: <20021206153112.GB71324@goku.cl.msu.edu> Mail-Followup-To: Kris Kennaway , sos@FreeBSD.ORG, current@FreeBSD.ORG References: <20021206083020.GA11032@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021206083020.GA11032@rot13.obsecurity.org> X-Operating-System: FreeBSD 5.0-RC i386 WWW-Home-Page: http://bantu.cl.msu.edu Organisation: Information Systems - Michigan State University User-Agent: Mutt/1.5.1i 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 Out of da blue Kris Kennaway aka (kris@obsecurity.org) said: > Kernels with the following configuration do not link: > > # ATA and ATAPI devices > device ata > device atapicd # ATAPI CDROM drives > > linking kernel.debug > ata-all.o: In function `ata_boot_attach': > ata-all.o(.text+0x1590): undefined reference to `ata_raid_attach' > ata-all.o(.text+0x1594): undefined reference to `ata_raid_attach' > *** Error code 1 > 1 error Not sure what the exact fix is, but I've had to add atadisk in order to get the kernel to link: device atadisk # ATA disk drives > > Kris ./i'khala -- "Consider a spherical bear, in simple harmonic motion..." -- Professor in the UCB physics department bush doctor To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message