Subject: Re: kern/11346 [My system won't boot]
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Jim Spath <jspath@bcpl.net>
List: netbsd-help
Date: 03/31/2001 18:01:58
On Sat, Mar 31, 2001 at 07:32:36PM +0200, Manuel Bouyer wrote:
> On Fri, Mar 30, 2001 at 12:02:19PM -0500, Jonathan Fuerth wrote:
> > It's an Adaptec 2940UW SCSI<->PCI host adapter.  My AtlasIV is the
> > internal scsi ultra wide model.
> > 
> > I have two flawlessly functioning CD-ROM drives on the same scsi bus,
> > and the setup that wedges 1.5 boots fine and works great under 1.4.2.
> > The host adapter is set to automatic termination, and the last cdrom
> > on the narrow end of the bus has termination on, as does the atlas4
> > (being the only device on the wide end of the bus).
> > 
> > I posted this to gnats (kern/11346) when 1.5_BETA was out.. but never
> > heard from anyone about the issue.  The symptoms haven't changed under
> > the formal 1.5 release.
> 
> This may have something to do with tagged queuing. Could you try to
> disable tagged queuing ? The attached patch should do it.
> 
> Manuel Bouyer <bouyer@antioche.eu.org>

The patch did not help on my system. I needed to move it a bit, and add
another ifdef before the kernel would build. I am working with a plain
1.5 system, so I don't quite know why the lines from your patch would
differ.

--- aic7xxx.c.orig      Sat Mar 31 08:57:12 2001
+++ aic7xxx.c   Sat Mar 31 09:11:55 2001
@@ -5628,7 +5628,9 @@
 static void
 ahc_check_tags(struct ahc_softc *ahc, struct scsipi_xfer *xs)
 {
+#if 0
        struct scsipi_inquiry_data *inq;
+#endif
        struct ahc_devinfo devinfo;
        struct tmode_tstate *tstate;
        int target_id, our_id;
@@ -5651,6 +5653,7 @@
        if (tstate->tagdisable & devinfo.target_mask)
                return;
 
+#if 0
        /*
         * Sneak a look at the results of the SCSI Inquiry
         * command and see if we can do Tagged queing.  This
@@ -5679,6 +5682,7 @@
                        xs->sc_link->openings = 4;
                }
        }
+#endif
 }
 
 static int



------
<http://www.cs.indiana.edu/picons/db/users/net/bcpl/jspath/face.xbm>
<http://www.altavista.com/cgi-bin/query?q=%22web+home+for+jim+spath%22>
Marvin the Paranoid Android says:
The dew has clearly fallen with a particularly sickening thud
this morning.