From owner-freebsd-bugs Mon Dec 2 16:20: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68E6C37B401 for ; Mon, 2 Dec 2002 16:20:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22B6743EB2 for ; Mon, 2 Dec 2002 16:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB30K0x3037495 for ; Mon, 2 Dec 2002 16:20:00 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB30K0kG037494; Mon, 2 Dec 2002 16:20:00 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA1BB37B401 for ; Mon, 2 Dec 2002 16:19:36 -0800 (PST) Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6594243EC2 for ; Mon, 2 Dec 2002 16:19:31 -0800 (PST) (envelope-from loughry@applied-math.org) Received: from dialup-209.245.11.22.dial1.denver1.level3.net ([209.245.11.22] helo=twister.applied-math.org) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18J0ma-00043F-00 for FreeBSD-gnats-submit@freebsd.org; Mon, 02 Dec 2002 16:19:24 -0800 Received: from twister.applied-math.org (localhost [127.0.0.1]) by twister.applied-math.org (8.12.2/8.12.2) with ESMTP id gB30JJlj088828 for ; Mon, 2 Dec 2002 17:19:21 -0700 (MST) (envelope-from loughry@twister.applied-math.org) Received: (from loughry@localhost) by twister.applied-math.org (8.12.2/8.12.2/Submit) id gB30JJOB088827; Mon, 2 Dec 2002 17:19:19 -0700 (MST) Message-Id: <200212030019.gB30JJOB088827@twister.applied-math.org> Date: Mon, 2 Dec 2002 17:19:19 -0700 (MST) From: Joe Loughry Reply-To: Joe Loughry To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/45941: ata-dma.c missing from Makefile in -CURRENT Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45941 >Category: kern >Synopsis: ata-dma.c missing from Makefile in -CURRENT >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 02 16:20:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Joe Loughry >Release: FreeBSD 5.0-CURRENT i386 >Organization: Lockheed Martin >Environment: System: FreeBSD amy.applied-math.org 5.0-DP2 FreeBSD 5.0-DP2 #1: Sat Nov 16 13:38:33 GMT 2002 root@tomcat.bmah.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: CVSupped 5.0-CURRENT sources last night, builds GENERIC kernel correctly. But it fails when building a custom kernel. Error messages: linking kernel.debug ata-all.o: In function `ata_detach': /usr/src/sys/dev/ata/ata-all.c:264: undefined reference to `ata_dmafreetags' ata-all.o: In function `ata_service': machine/bus_at386.h:526: undefined reference to `ata_dmastatus' ata-all.o: In function `ata_change_mode': /usr/src/sys/dev/ata/ata-all.c:1264: undefined reference to `ata_dmainit' ata-disk.o: In function `ad_attach': /usr/src/sys/dev/ata/ata-disk.c:184: undefined reference to `ata_dmainit' ata-disk.o: In function `ad_detach': /usr/src/sys/dev/ata/ata-disk.c:243: undefined reference to `ata_dmafree' ata-disk.o: In function `ad_start': /usr/src/sys/dev/ata/ata-disk.c:375: undefined reference to `ata_dmaalloc' ata-disk.o: In function `ad_transfer': /usr/src/sys/dev/ata/ata-disk.c:438: undefined reference to `ata_dmasetup' /usr/src/sys/dev/ata/ata-disk.c:488: undefined reference to `ata_dmastart' ata-disk.o: In function `ad_interrupt': /usr/src/sys/dev/ata/ata-disk.c:558: undefined reference to `ata_dmadone' /usr/src/sys/dev/ata/ata-disk.c:583: undefined reference to `ata_dmainit' /usr/src/sys/dev/ata/ata-disk.c:594: undefined reference to `ata_dmainit' ata-disk.o: In function `ad_service': /usr/src/sys/dev/ata/ata-disk.c:748: undefined reference to `ata_dmastart' ata-disk.o: In function `ad_timeout': /usr/src/sys/dev/ata/ata-disk.c:838: undefined reference to `ata_dmadone' /usr/src/sys/dev/ata/ata-disk.c:841: undefined reference to `ata_dmainit' ata-disk.o: In function `ad_reinit': /usr/src/sys/dev/ata/ata-disk.c:875: undefined reference to `ata_dmainit' atapi-all.o: In function `atapi_attach': /usr/src/sys/dev/ata/atapi-all.c:84: undefined reference to `ata_dmainit' atapi-all.o: In function `atapi_detach': /usr/src/sys/dev/ata/atapi-all.c:157: undefined reference to `ata_dmafree' atapi-all.o: In function `atapi_queue_cmd': /usr/src/sys/dev/ata/atapi-all.c:189: undefined reference to `ata_dmaalloc' atapi-all.o: In function `atapi_transfer': /usr/src/sys/dev/ata/atapi-all.c:278: undefined reference to `ata_dmasetup' /usr/src/sys/dev/ata/atapi-all.c:297: undefined reference to `ata_dmastart' atapi-all.o: In function `atapi_interrupt': /usr/src/sys/dev/ata/atapi-all.c:355: undefined reference to `ata_dmadone' atapi-all.o: In function `atapi_reinit': /usr/src/sys/dev/ata/atapi-all.c:484: undefined reference to `ata_dmainit' atapi-all.o: In function `atapi_timeout': /usr/src/sys/dev/ata/atapi-all.c:611: undefined reference to `ata_dmadone' /usr/src/sys/dev/ata/atapi-all.c:613: undefined reference to `ata_dmainit' *** Error code 1 Stop in /usr/obj/usr/src/sys/AMY. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. >How-To-Repeat: make buildkernel KERNCONF=AMY with fresh src-all, ports-all, doc-all from cvsup last night. Use the following config file: # # AMY # # created 30 November 2002 # machine i386 cpu I486_CPU cpu I586_CPU ident AMY maxusers 0 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options MD_ROOT #MD is a potential root device options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS #Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options KBD_INSTALL_CDEV #install a CDEV entry in /dev options NO_F00F_HACK #not needed except on original Pentium # Debugging for use in -current options DDB #Enable the kernel debugger options INVARIANTS #Enable calls of extra sanity checking options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INV ARIANTS options WITNESS #Enable checks to detect deadlocks and cycles options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed device isa device eisa # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc # Floating point support - do not disable. device npx # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device ppi # Parallel port interface device device miibus # MII bus (required by ed driver) device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards # Pseudo devices - the number indicates how many units to allocate. device random # Entropy device device loop # Network loopback device ether # Ethernet support device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf # Berkeley packet filter >Fix: Add entries for ata-dma.c and ata-dma.o to /usr/obj/usr/src/dev/ata/Makefile >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message