Date: Sun, 5 Jan 1997 01:41:03 +0100 From: se@FreeBSD.ORG (Stefan Esser) To: p.richards@elsevier.co.uk (Paul Richards) Cc: current@FreeBSD.ORG Subject: Re: 2.2 Beta Message-ID: <Mutt.19970105014103.se@x14.mi.uni-koeln.de> In-Reply-To: <57g20isrgp.fsf@tees.elsevier.co.uk>; from Paul Richards on Jan 3, 1997 15:34:14 %2B0000 References: <57g20isrgp.fsf@tees.elsevier.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 3, p.richards@elsevier.co.uk (Paul Richards) wrote: > > I just tried to install this on a Compaq Deskpro XL 575 which has an > AMD scsi controller. It didn't work :-( > > The amd driver probes the scsi bus and finds the hard disk which is > listed as (this is all typed in by hand) > > (amd0:0:0): "COMPAQPC DPES-31080 S31K" type 0 fixed SCSI 2 > sd0(ams0:0:0): Direct-Access 0Mb (1 512 byte sectors) > sd0(ams0:0:0): with 0 cyls, 64 heads, and an average 32 sectors/track Hi Paul! Is this an OEM variant of the IBM DPES-31080 ? The name seems to suggest that ... Since the INQUIRY command returned reasonable data, there might be a problem with the sync. transfer rate negotiation. Could you please try the following patch, first alone, then combined with the second one: Index: /sys/pci/scsiiom.c =================================================================== RCS file: /usr/cvs/src/sys/pci/scsiiom.c,v retrieving revision 1.1.1.1 diff -C2 -r1.1.1.1 scsiiom.c *** scsiiom.c 1996/12/15 23:40:48 1.1.1.1 --- scsiiom.c 1997/01/05 00:36:55 *************** *** 591,594 **** --- 591,596 ---- pDCB->NegoPeriod = pSRB->MsgInBuf[3]; wval = (USHORT) pSRB->MsgInBuf[3]; + printf ("\tsync period = %d * 4ns, offset = %d\n", + pSRB->MsgInBuf[3], pSRB->MsgInBuf[4]); wval = wval << 2; wval--; Please disable synchronous transfers by applying the following patch in addition to the first one, and report the results: Index: /sys/pci/tek390.c =================================================================== RCS file: /usr/cvs/src/sys/pci/tek390.c,v retrieving revision 1.5 diff -C2 -r1.5 tek390.c *** tek390.c 1996/12/20 21:52:11 1.5 --- tek390.c 1997/01/05 00:38:14 *************** *** 1495,1499 **** for(i=0; i<0x40; i++) { ! *ptr = (TAG_QUEUING_|EN_DISCONNECT_|SYNC_NEGO_|PARITY_CHK_); ptr += 4; } --- 1495,1499 ---- for(i=0; i<0x40; i++) { ! *ptr = (TAG_QUEUING_|EN_DISCONNECT_|PARITY_CHK_); ptr += 4; } Regards, STefan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970105014103.se>