From owner-freebsd-scsi Thu Jan 25 06:05:11 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA23046 for freebsd-scsi-outgoing; Thu, 25 Jan 1996 06:05:11 -0800 (PST) Received: from jjarray.umd.edu (jjarray.umd.edu [129.2.40.99]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA23023 for ; Thu, 25 Jan 1996 06:04:51 -0800 (PST) Received: (from fred@localhost) by jjarray.umd.edu (8.6.12/8.6.12) id IAA00931; Thu, 25 Jan 1996 08:40:35 -0500 From: Fred Cawthorne Message-Id: <199601251340.IAA00931@jjarray.umd.edu> Subject: Re: HP CD Writer To: joerg_wunsch@uriah.heep.sax.de Date: Thu, 25 Jan 1996 08:40:35 -0500 (EST) Cc: freebsd-scsi@FreeBSD.org, fcawth@jjarray.umd.edu In-Reply-To: <199601241936.UAA11476@uriah.heep.sax.de> from "J Wunsch" at Jan 24, 96 08:36:17 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-freebsd-scsi@FreeBSD.org Precedence: bulk > > As Fred Cawthorne wrote: > > > > I just installed an HP Surestore CD writer in my FreeBSD-2.1R box. > > I have a couple of questions: > > > > 1. > > It is probed like a regular scsi CD rom, i.e. : > > (ncr0:6:0): "HP C4324/C4325 1.20" type 5 removable SCSI 2 > > cd1(ncr0:6:0): CD-ROM cd present.[330928 x 2340 byte records] > > Is this correct?? Will I be able to issue scsi commands to the cd1 > > device? (i.e. shouldn't I be using the worm device to write CD's) > > 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 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? > > For FreeBSD 2.1, you also need to rebuild your system with the > ``options NEW_SCSICONF'' (verify my spelling in scsiconf.c, please). > I did this... > > > 3. When I initially tried to mount a cdrom, I got a bunch of scsi > > error messages. > > > Jan 24 11:55:41 jjarray /kernel: sd1(ncr0:1:0): UNIT ATTENTION asc:29,0 > > Jan 24 11:55:41 jjarray /kernel: sd1(ncr0:1:0): Power on, reset, or bus device reset occurred > > 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. Fred.