From owner-freebsd-bugs@FreeBSD.ORG Fri Jul 31 01:40:01 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1A161065670 for ; Fri, 31 Jul 2009 01:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AEA5B8FC20 for ; Fri, 31 Jul 2009 01:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6V1e1oq046679 for ; Fri, 31 Jul 2009 01:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6V1e1Jj046678; Fri, 31 Jul 2009 01:40:01 GMT (envelope-from gnats) Resent-Date: Fri, 31 Jul 2009 01:40:01 GMT Resent-Message-Id: <200907310140.n6V1e1Jj046678@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, freebsd@ips.gov.au Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A5D3106564A for ; Fri, 31 Jul 2009 01:36:57 +0000 (UTC) (envelope-from campbell@ips.gov.au) Received: from gatekeeper.ips.gov.au (ns.ips.gov.au [138.24.1.34]) by mx1.freebsd.org (Postfix) with SMTP id 5EBD18FC14 for ; Fri, 31 Jul 2009 01:36:56 +0000 (UTC) (envelope-from campbell@ips.gov.au) Received: from gpo.dmz.ips.gov.au (gpo.dmz.ips.gov.au [138.24.8.4]) by gatekeeper.ips.gov.au (Postfix) with ESMTP id 0034522842 for ; Fri, 31 Jul 2009 11:18:58 +1000 (EST) Received: from localhost (localhost.dmz.ips.gov.au [127.0.0.1]) by gpo.dmz.ips.gov.au (Postfix) with ESMTP id ECC927E81F; Fri, 31 Jul 2009 11:18:58 +1000 (EST) Received: from gpo.dmz.ips.gov.au ([127.0.0.1]) by localhost (gpo.dmz.ips.gov.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hBQWU3XktxTY; Fri, 31 Jul 2009 11:18:52 +1000 (EST) Received: by qayaq.syd.ips.gov.au (Postfix, from userid 2101) id 9ADB67301C; Fri, 31 Jul 2009 11:18:52 +1000 (EST) Message-Id: <20090731011852.9ADB67301C@qayaq.syd.ips.gov.au> Date: Fri, 31 Jul 2009 11:18:52 +1000 (EST) From: freebsd@ips.gov.au To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/137285: dev ata compile error X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@ips.gov.au List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 01:40:02 -0000 >Number: 137285 >Category: kern >Synopsis: dev ata compile error >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 31 01:40:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: IPS Radio & Space Service >Release: FreeBSD 7.1-PRERELEASE i386 >Organization: IPS Radio & Space Service >Environment: System: FreeBSD tesla 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Fri Nov 28 13:55:13 EST 2008 root@tesla:/usr/obj/usr/src/sys/GENERIC i386 >Description: Upgrading 7.1-PRERELEASE to 7.2-Stable Building Generic Kernel reports error /usr/src/sys/dev/ata/ata-all.c: In function 'ata_device_ioctl': /usr/src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' in something not a structure or union /usr/src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' in something not a structure or union /usr/src/sys/dev/ata/ata-all.c:454 reads (ch->dma.max_iosize ? ch->dma.max_iosize : DFLTPHYS)) { dma is a pointer in struct ata_channel see Fix: for probable code change required /usr/src/sys/dev/ata/ata-all.c Version __FBSDID("$FreeBSD: src/sys/dev/ata/ata-all.c,v 1.280.2.9 2009/07/30 13:19:12 mav Exp $"); >How-To-Repeat: Build 7.2-Stable Kernel pre 31 Jul 2009 >Fix: edit /usr/src/sys/dev/ata/ata-all.c:454 to read (ch->dma ? ch->dma->max_iosize : DFLTPHYS)) { >Release-Note: >Audit-Trail: >Unformatted: