From owner-freebsd-hackers Fri Oct 8 18:46:43 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from bursa05.emperors.net (bursa05.emperors.net [206.109.102.134]) by hub.freebsd.org (Postfix) with ESMTP id 4362614E09 for ; Fri, 8 Oct 1999 18:46:39 -0700 (PDT) (envelope-from cucu@cuneydi.com) Received: from h432436slap ([206.109.102.140]) by bursa05.emperors.net (8.8.8/8.8.8) with SMTP id UAA24938; Fri, 8 Oct 1999 20:46:33 -0500 (CDT) (envelope-from cucu@cuneydi.com) From: "cucu" To: "Jonathan Lemon" , , Subject: RE: Compaq Proliant 2500 file corruptions Date: Fri, 8 Oct 1999 20:50:17 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <199910081942.OAA14853@free.pcs> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just to provide some feedback, I was having the exact problem and this patch appears to resolved it. I CVSUP late afternoon, and make world with no problem on CPQ 1600 PII450 with Smart 2P controller. Thanks cuneyt > -----Original Message----- > From: owner-freebsd-hackers@FreeBSD.ORG > [mailto:owner-freebsd-hackers@FreeBSD.ORG]On Behalf Of Jonathan Lemon > Sent: Friday, October 08, 1999 2:43 PM > To: dragon.s@ix.netcom.com; hackers@FreeBSD.ORG > Subject: Re: Compaq Proliant 2500 file corruptions > > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message