From owner-freebsd-stable Mon Apr 1 10:20:39 2002 Delivered-To: freebsd-stable@freebsd.org Received: from lynx.syix.com (lynx.syix.com [205.171.72.20]) by hub.freebsd.org (Postfix) with ESMTP id ABF9037B405 for ; Mon, 1 Apr 2002 10:20:33 -0800 (PST) Received: from cat (cat.npqr.net [63.147.19.40]) by lynx.syix.com (8.11.6/8.11.6) with SMTP id g31IKXk83602 for ; Mon, 1 Apr 2002 10:20:33 -0800 (PST) (envelope-from pan@syix.com) Message-ID: <006d01c1d9a9$e96fc040$2813933f@cat> From: "pan" To: Subject: more => 4.5 -> 4.5s panic: breaks raid array Date: Mon, 1 Apr 2002 10:20:27 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG today [4/1/2002] on a machine with uname 4.5-STABLE FreeBSD 4.5-STABLE #0: Fri Mar 29 15:08:39 PST 2002 I built a kernel for the machine referenced in previous messages with uname 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Mar 25 14:07:06 PST 2002 (with appropriate conf) same result as before - on boot ar0 is not properly recognized, individual hdd are dropped from array, kernel panics, can't mount /, tries to sync buffers, gives up ... I notice that the below appended RCS file is now in the cvs repository .. Does anyone know if this would allow a stable build on a machine with HPT372/raid0(ar0:udma 6:80pin cables)? How can I ascertain the chiptype number referenced in the diff? [hpt372 is not a card] Abit KR7A-RAID w HPT372 Athlon XP 1900+ 1024 mgB Raid 0 with 2 x Maxtor 6L040J2 UDMA 6 hdd {ar0: ad4/ad5} =================================================================== RCS file: /c/ncvs/src/sys/dev/ata/ata-dma.c,v retrieving revision 1.35.2.20 retrieving revision 1.35.2.21 diff -u -p -r1.35.2.20 -r1.35.2.21 --- src/sys/dev/ata/ata-dma.c 2002/03/26 09:35:22 1.35.2.20 +++ src/sys/dev/ata/ata-dma.c 2002/03/31 13:44:37 1.35.2.21 @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $FreeBSD: /c/ncvs/src/sys/dev/ata/ata-dma.c,v 1.35.2.20 2002/03/26 09:35:22 sos Exp $ + * $FreeBSD: /c/ncvs/src/sys/dev/ata/ata-dma.c,v 1.35.2.21 2002/03/31 13:44:37 sos Exp $ */ #include @@ -946,7 +946,7 @@ via_82c586: } } if (!ATAPI_DEVICE(ch, device) && udmamode >= 5 && hpt_cable80(ch) && - ((ch->chiptype == 0x00041103 && pci_get_revid(parent) >= 0x05) || + ((ch->chiptype == 0x00041103 && pci_get_revid(parent) >= 0x03) || (ch->chiptype == 0x00051103 && pci_get_revid(parent) >= 0x01) || (ch->chiptype == 0x00081103 && pci_get_revid(parent) >= 0x07))) { error = ata_command(atadev, ATA_C_SETFEATURES, 0, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message