From john@sentinel.pakprotector.net  Fri Sep 19 02:46:33 2003
Return-Path: <john@sentinel.pakprotector.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 37B2B16A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Sep 2003 02:46:33 -0700 (PDT)
Received: from sentinel.pakprotector.net (c211-29-165-141.carlnfd2.nsw.optusnet.com.au [211.29.165.141])
	by mx1.FreeBSD.org (Postfix) with ESMTP id ED48C43F85
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Sep 2003 02:46:29 -0700 (PDT)
	(envelope-from john@sentinel.pakprotector.net)
Received: from sentinel.pakprotector.net (localhost [127.0.0.1])
	by sentinel.pakprotector.net (8.12.9/8.12.9) with ESMTP id h8J9l438007697
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Sep 2003 19:47:04 +1000 (EST)
	(envelope-from john@sentinel.pakprotector.net)
Received: (from john@localhost)
	by sentinel.pakprotector.net (8.12.9/8.12.9/Submit) id h8J9XLfp001123;
	Fri, 19 Sep 2003 19:33:21 +1000 (EST)
Message-Id: <200309190933.h8J9XLfp001123@sentinel.pakprotector.net>
Date: Fri, 19 Sep 2003 19:33:21 +1000 (EST)
From: John Saunders <john@pakprotector.com>
Reply-To: John Saunders <john@pakprotector.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Strange messages from ATAng with compact flash disk
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         56995
>Category:       kern
>Synopsis:       Strange messages from ATAng with compact flash disk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 19 02:50:10 PDT 2003
>Closed-Date:    Fri Sep 19 03:29:14 PDT 2003
>Last-Modified:  Fri Sep 19 03:29:14 PDT 2003
>Originator:     John Saunders
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
None
>Environment:
System: FreeBSD sentinel.pakprotector.net 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Sep 16 20:30:26 EST 2003 root@sentinel.pakprotector.net:/usr/obj/usr/src/sys/SENTINEL i386

>Description:
        When booting with a 128MB CompactFLASH card in an IDE to
	CF adapter (not booting from the CF card though) strange
        error messages appear, see edited dmesg output below.
        Other than that I can mount filesystems and access files
        on the CF disk. Machine is an old Tyan Tiger with dual
        Pentium 133MHz so SMP and APIC is enabled.
...
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00030010, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00030010, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
...
atapci0: <Intel PIIX3 WDMA2 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
...
ad0: FAILURE - SETFEATURES status=51<READY,DSC,ERROR> error=4<ABORTED>
ad0: FAILURE - SETFEATURES status=51<READY,DSC,ERROR> error=4<ABORTED>
ad0: FAILURE - SETFEATURES status=51<READY,DSC,ERROR> error=4<ABORTED>
GEOM: create disk ad0 dp=0xc18db470
ad0: 126MB <KCF128M-SF6> [507/16/32] at ata0-master BIOSPIO
GEOM: create disk ad2 dp=0xc18db170
ad2: 6149MB <QUANTUM FIREBALL SE6.4A> [13328/15/63] at ata1-master WDMA2
acd0: CDROM <ASUS CD-S340> at ata1-slave PIO4
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad2s1a

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Fri Sep 19 03:27:31 PDT 2003 
State-Changed-Why:  
The FAILURE messages here are because the flash doesn't support 
setting r/w cache etc, however it still works afterwards. 
I'll think about not outputting these in the probe.. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56995 
>Unformatted:
