From owner-freebsd-scsi Tue Jan 30 14:32:58 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA11639 for freebsd-scsi-outgoing; Tue, 30 Jan 1996 14:32:58 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA11624 for ; Tue, 30 Jan 1996 14:32:38 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id XAA21565 for ; Tue, 30 Jan 1996 23:32:27 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id XAA04708 for scsi@freebsd.org; Tue, 30 Jan 1996 23:32:27 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id XAA15903 for scsi@freebsd.org; Tue, 30 Jan 1996 23:24:05 +0100 (MET) From: J Wunsch Message-Id: <199601302224.XAA15903@uriah.heep.sax.de> Subject: Re: FreeBSD CD-R driver alpha available To: scsi@freebsd.org Date: Tue, 30 Jan 1996 23:24:05 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199601301917.OAA20034@jjarray.umd.edu> from "Fred Cawthorne" at Jan 30, 96 02:17:35 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-scsi@freebsd.org Precedence: bulk As Fred Cawthorne wrote: > > You could have used an explicit > > > > wormcontrol prepdisk double > I did this. Hmm. > " Switching from emulation mode to real mode (or vice-versa) is not allowed > if the PMA needs to be updated. After an (emulated) PMA update (open/start) > one is allowed to switch the write modes " Well, i haven't been reading something like this in the Plasmon manual. It's quite possible that it has the same restriction. I've also noticed today that we're still getting one Unit Attention too much at the first wormcontrol command after inserting the disk. A single scsi -f /dev/rworm0.ctl -c "0 0 0 0 0 0" fixes this, so we need to stuff this into the worm_open() function. > I suspect that the emulated PMA update was performed when I ejected the disk. Perhaps it's best to eject the disk after the (perhaps even dummy) fixation? > So, I don't think this is a really serious bug or anything, but it might be > a good idea to put an UPDATE PMA command, (0xEA) into the HP quirks stuff. Hmm, i haven't seen this command in the Plasmon reference. Maybe it wasn't that obvious, but perhaps they simply don't have it. > BTW, should I make an entry and subroutines for the HP and try them out and > post diffs or something? Yup, including the override record for scsiconf.c, please. You could send it to the list, or also directly to me, whatever you prefer. Please, make the HP quirks four separate functions, even where they are identical to the Plasmon quirks. The functions are relatively short anyway, and this will make it easier to LKMize the quirks stuff some day. -- 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. ;-)