Date: Thu, 12 Aug 2010 15:39:36 GMT From: Bryce Simonds <bsimonds@veriam.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/149580: When using an SIIG SATA card the error "Unexpected signature 0xa05f" is reported when a new drive is connected Message-ID: <201008121539.o7CFdaD1034745@www.freebsd.org> Resent-Message-ID: <201008121540.o7CFe4hM015386@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 149580 >Category: kern >Synopsis: When using an SIIG SATA card the error "Unexpected signature 0xa05f" is reported when a new drive is connected >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: Thu Aug 12 15:40:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Bryce Simonds >Release: 8.1-RELEASE >Organization: Veriam Technology, Inc. >Environment: FreeBSD fossel 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Thu Aug 12 10:08:51 CDT 2010 bsimonds@fossel:/usr/src/sys/i386/compile/FOSSEL i386 >Description: When using the SIIG DP SATA 6Gb/s 2S1P PCIe card an error is reported when a drive is hot plugged into the card: Aug 11 16:59:05 fossel kernel: (aprobe0:ahcich0:0:0:0): Unexpected signature 0xa05f The SATA controller on the motherboard works fine. >How-To-Repeat: Need a SIIG DP SATA 6Gb/s 2S1P PCIe card. While using the ahci(4) driver, hot plug a SATA drive into the card, this should generate the error (the error is viewable from dmesg) >Fix: Submitted a patch that appears to work around the problem okay, but I'm not certain this this is a correct fix. I believe this might be a RAID signature code, but I'm using the card for individual SATA drives not the RAID portion so it suits our needs. Patch attached with submission follows: --- ata_xpt.c.orig 2010-08-12 10:16:46.000000000 -0500 +++ ata_xpt.c 2010-08-12 10:08:29.000000000 -0500 @@ -776,7 +776,10 @@ done_ccb->ataio.res.lba_mid; if (bootverbose) xpt_print(path, "SIGNATURE: %04x\n", sign); - if (sign == 0x0000 && +/* BEGIN VERIAM HACK! */ +/* if (sign == 0x0000 && */ + if ( ((sign == 0x0000) || (sign == 0xA05F)) && +/* END VERIAM HACK! */ done_ccb->ccb_h.target_id != 15) { path->device->protocol = PROTO_ATA; PROBE_SET_ACTION(softc, PROBE_IDENTIFY); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008121539.o7CFdaD1034745>