Subject: Re: i386 Installation Problems
To: None <netbsd-help@NetBSD.ORG>
From: Jukka Partanen <jtp@cs.hut.fi>
List: netbsd-help
Date: 11/26/1996 10:06:45
Michael D. Melez writes:
> Hello,
> 
> I'm having problems installing NetBSD 1.2 i386.  After specifying my hard
> drive configuration information and answering "yes" to the question asking
> me if I want to go past the "point of no return", I get a series of errors,
> most of which look like the following:
> 
> sd0(ncr0:0:0): command aborted, data = 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00

> ncr0 at pci0 dev 15 function 0: NCR 53c825 Wide SCSI
> ncr0: interrupting at irc 10
> ncr0: restart (scsi reset).
> scsibus0 at ncr0
> sd0 at scsibus0 targ 0 lun 0: <HP, C3725S, 6039> SCSI2 0/direct fixed
> sd0: sd0(ncr0:0:0): FAST SCSI-2 100ns (10Mb/sec) offset 8.
> 2047 MB, 3703 cyl, 9 head, 125 sec, 512 bytes/sec
> 
> I've read the info in the FAQ regarding disk geometry translation, but I
> can't figure out how that might create the kinds of errors I'm receiving
> (nor how I can fix it if that's the problem).  Frankly, though, I don't
> understand the FAQ's explanation of this problem, so it's possible I'm
> missing something there.
> 
> Some relevant hardware configuration information:
> 
> Pentium 133 on Intel Endeavor motherboard
> NCR 8251S (53c825) PCI to SCSI host adapter, IRQ: 10
> SCSI ID 0: HP C3725S (2.1 GB)

	This sounds like the problem I had about six months ago with
	the NCR driver and HP 3725S disks. Apparently some HP disks
	don't support tagged commands properly. Wolfgang Stanglmaier
	provided this fix, and I thought it had been integrated into
	current (the entry must be modified to catch the 6039 version
	too).

--- dev/pci/ncr.c.orig  Fri Nov 24 14:37:51 1995
+++ dev/pci/ncr.c       Fri Mar 29 08:42:27 1996
@@ -367,6 +367,7 @@
 
 #define        QUIRK_AUTOSAVE  (0x01)
 #define        QUIRK_NOMSG     (0x02)
+#define QUIRK_NOTAG    (0x04)
 #define QUIRK_NOSYNC   (0x10)
 #define QUIRK_NOWIDE16 (0x20)
 #define        QUIRK_UPDATE    (0x80)
@@ -4713,9 +4714,10 @@
        **      only devices capable of tagges commands
        **      only disk devices
        **      only if enabled by user ..
+       **      not if disabled by quirk
        */
        if ((  tp->inqdata[7] & INQ7_QUEUE) && ((tp->inqdata[0] & 0x1f)==0x00)
-               && tp->usrtags) {
+               && tp->usrtags && !(tp->quirks & QUIRK_NOTAG)) {
                reqtags = tp->usrtags;
                if (lp->actlink <= 1)
                        lp->usetags=reqtags;
@@ -6736,6 +6738,7 @@
        {"WangDAT", "Model 2600", "01.7", QUIRK_NOMSG},
        {"WangDAT", "Model 3200", "02.2", QUIRK_NOMSG},
        {"WangDAT", "Model 1300", "02.4", QUIRK_NOMSG},
+       {"HP", "C3725S", "5153", QUIRK_NOTAG},
 #endif
        {"", "", "", 0} /* catch all: must be last entry. */
 };

	jtp

I hope the ``Eurythmics'' practice birth control...