From owner-freebsd-hackers Fri Oct 8 12:42:54 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from sumatra.americantv.com (sumatra.americantv.com [208.139.222.227]) by hub.freebsd.org (Postfix) with ESMTP id 8A0C215160 for ; Fri, 8 Oct 1999 12:42:51 -0700 (PDT) (envelope-from jlemon@americantv.com) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id OAA11877; Fri, 8 Oct 1999 14:42:51 -0500 (CDT) Received: from free.pcs (free.PCS [148.105.10.51]) by right.PCS (8.8.5/8.6.4) with ESMTP id OAA10640; Fri, 8 Oct 1999 14:42:49 -0500 (CDT) Received: (from jlemon@localhost) by free.pcs (8.8.6/8.8.5) id OAA14853; Fri, 8 Oct 1999 14:42:49 -0500 (CDT) Date: Fri, 8 Oct 1999 14:42:49 -0500 (CDT) From: Jonathan Lemon Message-Id: <199910081942.OAA14853@free.pcs> To: dragon.s@ix.netcom.com, hackers@freebsd.org Subject: Re: Compaq Proliant 2500 file corruptions X-Newsgroups: local.mail.freebsd-hackers In-Reply-To: Organization: Architecture and Operating System Fanatics Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article you write: >My school has recently acquired a Compaq Proliant 2500 and we are trying >to set up FreeBSD on it. I download the 3.3 kern and mfsroot disks and >replaced the kernel with a custom one that had the IDA driver included >in it. Everything installed fine. Then I started working on it again >and >whenever I'd cvsup or download ports the files would get corrupted. Let me guess, the symptom is that blocks of zeros are scattered randomly throughout the file? If this is the case, the IDA driver in 3.3 is the culprit. >3. Would I be better off running the newer driver in current? I keep >tabs with whats going on in the current list, I just need a somewhat >stable machine. It's only going to get light usage. This probably is one solution. Another is to try a couple of patches to see if they fix the problem; attached is some code that might help. -- Jonathan Index: ida.c =================================================================== RCS file: /ncvs/src/sys/i386/isa/Attic/ida.c,v retrieving revision 1.1.2.3 diff -u -r1.1.2.3 ida.c --- ida.c 1999/08/29 16:07:18 1.1.2.3 +++ ida.c 1999/10/08 19:41:57 @@ -1206,7 +1206,8 @@ if (PCI_CONTROLLER(ida)) { qcbp->hdr.priority = 0x00; - qcbp->hdr.flags = 0x24; + qcbp->hdr.flags = + (sizeof(struct ida_req) + sizeof(struct ida_sgb) * IDA_MAX_SGLEN) >> } else { qcbp->hdr.priority = IDA_DEF_PRIORITY; qcbp->hdr.flags = 0x10; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message