Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 1996 22:40:30 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-scsi@freebsd.org
Cc:        joerg_wunsch@uriah.heep.sax.de, freebsd-scsi@freebsd.org, fcawth@jjarray.umd.edu
Subject:   Re: HP CD Writer
Message-ID:  <199601252140.WAA15751@uriah.heep.sax.de>
In-Reply-To: <199601251340.IAA00931@jjarray.umd.edu> from "Fred Cawthorne" at Jan 25, 96 08:40:35 am

next in thread | previous in thread | raw e-mail | index | archive | help
As Fred Cawthorne wrote:
> 
> > You need an ``override entry'' in scsiconf.c.  Most likely:
> > 
> > 	{
> > 		T_WORM, T_WORM, T_REMOV, "HP", "C4324/C4325", "*",
> > 		"worm", SC_ONE_LU
> > 	},
> > 
> I assume there are only supposed to be one of the T_WORM above?  At least

No, really two of them.  Well, actually, the first one must be a
T_CDROM, since this is what the INQUIRY string is matched for.  The
second one is the driver assigned.

> that is what the other entries look like.  Also, what exactly is the 
> format of this thing and how does it work?  I can't seem to get it to
> work.  Does it compare the ID strings for every device type, then 
> make it type T_WORM and attach it to the worm driver no matter what 
> device type the drive actually returns?  

Something that way.  Alas, i've just checked out the 2.1R code and had
to see that these changes to scsiconf.c didn't make it into 2.1.  So
i'm afraid you will either have to upgrade to some -current system, or
to hand-fiddle these changes into your code.

> > As it stands: a unit attention.  These drives tend to generate a lot
> > of them.
> > 
> The unit attention seems to be the result of the ncr driver resetting the 
> bus when the handshake timeout occurs.  I have disabled the handshake 
> timeout (like it is in the -current driver) and I don't see these problems
> any more.

Aha, i haven't been using an NCR for this kind of work yet.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601252140.WAA15751>