Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2001 13:05:04 -0800 (PST)
From:      "Aaron D. Gifford" <agifford@infowest.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/31672: Build-stopping bug in sys/dev/ata/ata-all.c -STABLE
Message-ID:  <200110312105.f9VL54n77082@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         31672
>Category:       kern
>Synopsis:       Build-stopping bug in sys/dev/ata/ata-all.c -STABLE
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 31 13:10:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Aaron D. Gifford
>Release:        FreeBSD-STABLE as of 24 Oct. 2001 (but the bug applies to -STABLE as of today, 31 Oct. 2001)
>Organization:
>Environment:
FreeBSD my.host 4.4-STABLE FreeBSD 4.4-STABLE #4: Wed Oct 24 08:37:24 MDT 2001 root@my.host:/usr/obj/usr/src/sys/MYCONF i386 --- BUT the bug applies to -STABLE as of today (31 Oct. 2001)
>Description:
In the file /usr/src/sys/dev/ata/ata-all.c at line 259 and line 266, there are duplicate switch/case entries that cause buildkernel to fail.  Here's a snippet from the file (line 258 to 267 - note the identical entries on 259 and 266):

    case 0x71998086:
    case 0x84ca8086:
        return "Intel PIIX4 ATA33 controller";

    case 0x24218086:
        return "Intel ICH0 ATA33 controller";

    case 0x24118086:
    case 0x84ca8086:
        return "Intel ICH ATA66 controller";


>How-To-Repeat:
Try building a -STABLE kernel with ATA support today (31 Oct. 2001).
>Fix:
Remove one of the offending duplicates.  I don't know which one is the correct one and which one is a typo, so I'll leave that to those wise in the realm of ATA drivers.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110312105.f9VL54n77082>