From owner-freebsd-scsi Mon Dec 30 21:32:12 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id VAA16103 for freebsd-scsi-outgoing; Mon, 30 Dec 1996 21:32:12 -0800 (PST) Received: from gaia.coppe.ufrj.br (root@cisigw.coppe.ufrj.br [146.164.2.31]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id VAA16098 for ; Mon, 30 Dec 1996 21:32:09 -0800 (PST) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.3/8.7.3) id DAA04139; Tue, 31 Dec 1996 03:31:58 -0200 (EDT) From: Joao Carlos Mendes Luis Message-Id: <199612310531.DAA04139@gaia.coppe.ufrj.br> Subject: Re: Iomega SCSI Zip Drive To: joerg_wunsch@uriah.heep.sax.de Date: Tue, 31 Dec 1996 03:31:57 -0200 (EDT) Cc: freebsd-scsi@freebsd.org In-Reply-To: <199612301943.UAA12184@uriah.heep.sax.de> from J Wunsch at "Dec 30, 96 08:43:11 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk #define quoting(J Wunsch) // you might nevertheless want to try the `od' driver. It has a much // better understanding of removable media devices. // // I'll append you the patch to teach FreeBSD 2.1.5/2.1.6 (i hope it // works for both) about the ``SCSI type override'' code. This is an IT WORKS !!! Now I can use my ZIP drive without any warning about disk change, disk slices, etc. It's boringly silent. :) Probably should this be default in 2.2. It would help a lot those who don't know how to or can't compile a kernel. Happy new year, J !!! Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 ( Job ) jonny@cisi.coppe.ufrj.br Network Manager UFRJ/COPPE/CISI Universidade Federal do Rio de Janeiro From owner-freebsd-scsi Tue Dec 31 01:53:14 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA22479 for freebsd-scsi-outgoing; Tue, 31 Dec 1996 01:53:14 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id BAA22440; Tue, 31 Dec 1996 01:51:35 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id KAA09061; Tue, 31 Dec 1996 10:51:04 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id KAA26308; Tue, 31 Dec 1996 10:51:03 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id KAA23729; Tue, 31 Dec 1996 10:42:02 +0100 (MET) From: J Wunsch Message-Id: <199612310942.KAA23729@uriah.heep.sax.de> Subject: Re: Iomega SCSI Zip Drive To: freebsd-scsi@FreeBSD.org (FreeBSD SCSI list) Date: Tue, 31 Dec 1996 10:42:02 +0100 (MET) Cc: jonny@mailhost.coppe.ufrj.br (Joao Carlos Mendes Luis), core@FreeBSD.org (FreeBSD core team) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199612310531.DAA04139@gaia.coppe.ufrj.br> from Joao Carlos Mendes Luis at "Dec 31, 96 03:31:57 am" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Joao Carlos Mendes Luis wrote: > // I'll append you the patch to teach FreeBSD 2.1.5/2.1.6 (i hope it > // works for both) about the ``SCSI type override'' code. This is an > > IT WORKS !!! > > Now I can use my ZIP drive without any warning about disk change, > disk slices, etc. It's boringly silent. :) > > Probably should this be default in 2.2. It would help a lot those > who don't know how to or can't compile a kernel. Well, what do other people think about such a change? I'll Cc freebsd-core on this, since i won't decide this myself. Background for `core': my suggested patch would move the Iomega Zip drives to the `od' driver since this one is better targeted towards removable media devices. -- 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. ;-) From owner-freebsd-scsi Tue Dec 31 02:28:46 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id CAA23431 for freebsd-scsi-outgoing; Tue, 31 Dec 1996 02:28:46 -0800 (PST) Received: from hda.hda.com (ip67-max1-fitch.ziplink.net [199.232.245.67]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id CAA23391; Tue, 31 Dec 1996 02:27:42 -0800 (PST) Received: (from dufault@localhost) by hda.hda.com (8.6.12/8.6.12) id FAA19315; Tue, 31 Dec 1996 05:23:48 -0500 From: Peter Dufault Message-Id: <199612311023.FAA19315@hda.hda.com> Subject: Re: Iomega SCSI Zip Drive In-Reply-To: <199612310942.KAA23729@uriah.heep.sax.de> from J Wunsch at "Dec 31, 96 10:42:02 am" To: joerg_wunsch@uriah.heep.sax.de Date: Tue, 31 Dec 1996 05:23:47 -0500 (EST) Cc: freebsd-scsi@FreeBSD.org, jonny@mailhost.coppe.ufrj.br, core@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > I'll Cc freebsd-core on this, since i won't decide this myself. > Background for `core': my suggested patch would move the Iomega Zip > drives to the `od' driver since this one is better targeted towards > removable media devices. If it addresses issues for any removable disk for which "od" makes no sense it shouldn't move into od. Or do you suggest moving all removable disks (based on their inquiry) into od, which though it sounds funny makes more sense than a case-by-case decision. Peter -- Peter Dufault (dufault@hda.com) Realtime Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 From owner-freebsd-scsi Tue Dec 31 03:52:36 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id DAA25295 for freebsd-scsi-outgoing; Tue, 31 Dec 1996 03:52:36 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id DAA25254; Tue, 31 Dec 1996 03:51:50 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id MAA17465; Tue, 31 Dec 1996 12:51:49 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id MAA29151; Tue, 31 Dec 1996 12:51:48 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id MAA24555; Tue, 31 Dec 1996 12:03:01 +0100 (MET) From: J Wunsch Message-Id: <199612311103.MAA24555@uriah.heep.sax.de> Subject: Re: Iomega SCSI Zip Drive To: freebsd-scsi@FreeBSD.org, core@FreeBSD.org Date: Tue, 31 Dec 1996 12:03:01 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199612311023.FAA19315@hda.hda.com> from Peter Dufault at "Dec 31, 96 05:23:47 am" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Peter Dufault wrote: > If it addresses issues for any removable disk for which "od" makes > no sense it shouldn't move into od. Or do you suggest moving all > removable disks (based on their inquiry) into od, which though it > sounds funny makes more sense than a case-by-case decision. In the long run, i would see all removable disks go to `od'. We could then continue to improve the `sd' driver for fixed media devices. -- 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. ;-) From owner-freebsd-scsi Tue Dec 31 14:03:46 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA24226 for freebsd-scsi-outgoing; Tue, 31 Dec 1996 14:03:46 -0800 (PST) Received: from gaia.coppe.ufrj.br (root@cisigw.coppe.ufrj.br [146.164.2.31]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id OAA24207; Tue, 31 Dec 1996 14:02:58 -0800 (PST) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.3/8.7.3) id UAA09907; Tue, 31 Dec 1996 20:02:34 -0200 (EDT) From: Joao Carlos Mendes Luis Message-Id: <199612312202.UAA09907@gaia.coppe.ufrj.br> Subject: Re: Iomega SCSI Zip Drive To: dufault@hda.com (Peter Dufault) Date: Tue, 31 Dec 1996 20:02:33 -0200 (EDT) Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-scsi@FreeBSD.org, jonny@mailhost.coppe.ufrj.br, core@FreeBSD.org In-Reply-To: <199612311023.FAA19315@hda.hda.com> from Peter Dufault at "Dec 31, 96 05:23:47 am" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk #define quoting(Peter Dufault) // > I'll Cc freebsd-core on this, since i won't decide this myself. // > Background for `core': my suggested patch would move the Iomega Zip // > drives to the `od' driver since this one is better targeted towards // > removable media devices. // // If it addresses issues for any removable disk for which "od" makes // no sense it shouldn't move into od. Or do you suggest moving all // removable disks (based on their inquiry) into od, which though it // sounds funny makes more sense than a case-by-case decision. Is there something special about the od driver, other than support to removable disks ? The cd driver is special because it have ioctls to play audio tracks, different size sectors, etc. but what's the difference between an optical and a magnetic disk, in terms of operating system control ? If the sd driver could deal with removable devices, there would be no problem. But then, would it be necessary an od driver ? Sorry if I forgot something really stupid. I don't know much about SCSI specs. // // Peter // // -- // Peter Dufault (dufault@hda.com) Realtime Machine Control and Simulation // HD Associates, Inc. Voice: 508 433 6936 // Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 ( Job ) jonny@cisi.coppe.ufrj.br Network Manager UFRJ/COPPE/CISI Universidade Federal do Rio de Janeiro From owner-freebsd-scsi Tue Dec 31 14:57:19 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA28823 for freebsd-scsi-outgoing; Tue, 31 Dec 1996 14:57:19 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id OAA28625; Tue, 31 Dec 1996 14:56:13 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id JAA15714; Wed, 1 Jan 1997 09:51:01 +1100 Date: Wed, 1 Jan 1997 09:51:01 +1100 From: Bruce Evans Message-Id: <199612312251.JAA15714@godzilla.zeta.org.au> To: core@FreeBSD.org, freebsd-scsi@FreeBSD.org, j@uriah.heep.sax.de Subject: Re: Iomega SCSI Zip Drive Sender: owner-freebsd-scsi@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >In the long run, i would see all removable disks go to `od'. We could >then continue to improve the `sd' driver for fixed media devices. `od' is an odd name for a removable scsi disk driver. Bruce From owner-freebsd-scsi Tue Dec 31 17:06:46 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA05542 for freebsd-scsi-outgoing; Tue, 31 Dec 1996 17:06:46 -0800 (PST) Received: from hda.hda.com (ip58-max1-fitch.ziplink.net [199.232.245.58]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id RAA05531; Tue, 31 Dec 1996 17:05:51 -0800 (PST) Received: (from dufault@localhost) by hda.hda.com (8.6.12/8.6.12) id UAA20316; Tue, 31 Dec 1996 20:00:55 -0500 From: Peter Dufault Message-Id: <199701010100.UAA20316@hda.hda.com> Subject: Re: Iomega SCSI Zip Drive In-Reply-To: <199612312251.JAA15714@godzilla.zeta.org.au> from Bruce Evans at "Jan 1, 97 09:51:01 am" To: bde@zeta.org.au (Bruce Evans) Date: Tue, 31 Dec 1996 20:00:55 -0500 (EST) Cc: core@FreeBSD.org, freebsd-scsi@FreeBSD.org, j@uriah.heep.sax.de X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > >In the long run, i would see all removable disks go to `od'. We could > >then continue to improve the `sd' driver for fixed media devices. > > `od' is an odd name for a removable scsi disk driver. "od" should be the type-specific driver for a SCSI device that claims to be an "optical memory device". The optical memory device has specific behavior defined for some commands in the SCSI-II spec. Being "od" need not require removable media (granted I don't see the advantage of a fixed "od"). Peter -- Peter Dufault (dufault@hda.com) Realtime Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 From owner-freebsd-scsi Tue Dec 31 19:42:25 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id TAA10704 for freebsd-scsi-outgoing; Tue, 31 Dec 1996 19:42:25 -0800 (PST) Received: from gaia.coppe.ufrj.br (root@cisigw.coppe.ufrj.br [146.164.2.31]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id TAA10657; Tue, 31 Dec 1996 19:40:04 -0800 (PST) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.3/8.7.3) id BAA12509; Wed, 1 Jan 1997 01:38:31 -0200 (EDT) From: Joao Carlos Mendes Luis Message-Id: <199701010338.BAA12509@gaia.coppe.ufrj.br> Subject: Re: Iomega SCSI Zip Drive To: dufault@hda.com (Peter Dufault) Date: Wed, 1 Jan 1997 01:38:31 -0200 (EDT) Cc: bde@zeta.org.au, core@freebsd.org, freebsd-scsi@freebsd.org, j@uriah.heep.sax.de In-Reply-To: <199701010100.UAA20316@hda.hda.com> from Peter Dufault at "Dec 31, 96 08:00:55 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk #define quoting(Peter Dufault) // > >In the long run, i would see all removable disks go to `od'. We could // > >then continue to improve the `sd' driver for fixed media devices. // > // > `od' is an odd name for a removable scsi disk driver. // // "od" should be the type-specific driver for a SCSI device that // claims to be an "optical memory device". The optical memory device // has specific behavior defined for some commands in the SCSI-II // spec. Being "od" need not require removable media (granted I don't // see the advantage of a fixed "od"). So what we need is (better) support for removable media in "sd" ? Maybe a simple flag to identify removable devices and change the behaviour ? For those who didn't receive my message about it, the "sd" driver gives lot's of warnings (media change, not ready, etc) with my ZIP drive. But the worst problem was a drop into the debugger ("sdopen: no slices") when I changed disks. With "od", I have no more problems. Note that the drop to debugger is nasty when you are in X: you cant "cont" the system. This week we'll try the "od" driver also with the ppa (Parallel Port SCSI) driver. Results will be sent to freebsd-scsi. Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 ( Job ) jonny@cisi.coppe.ufrj.br Network Manager UFRJ/COPPE/CISI Universidade Federal do Rio de Janeiro