Date: Fri, 27 Dec 1996 22:17:57 -0200 (EDT) From: Joao Carlos Mendes Luis <jonny@mailhost.coppe.ufrj.br> To: joerg_wunsch@uriah.heep.sax.de Cc: freebsd-scsi@freebsd.org Subject: Re: Iomega SCSI Zip Drive Message-ID: <199612280017.WAA22879@gaia.coppe.ufrj.br> In-Reply-To: <199612261415.PAA05373@uriah.heep.sax.de> from J Wunsch at "Dec 26, 96 03:15:54 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
#define quoting(J Wunsch) // As Joao Carlos Mendes Luis wrote: // // (driver for the SCSI Iomega Zip drive) // // > // Doesn't it work for you? // > // > Aside from the drop to debugger when I change disks, its perfect. // // Huh, that's not supposed to happen. Can you quote a little more from // your error messages? It drops into the debugger with "sdopen: no slices" error if I try to do a mount with no disk or immediatelly after changing disks.. (BTW: I'm running 2.1-stable ! 2.2 floppy does not boot in my machine.) // You might also try experimenting with the `od' driver. It is better // targeted for the requirements of a changeable media device. In order // to register your Zip drive with the `od' driver, you gotta add a quirk // record to sys/scsi/scsconf.c. Something like: // // Index: scsiconf.c // =================================================================== // RCS file: /home/ncvs/src/sys/scsi/scsiconf.c,v // retrieving revision 1.73 // diff -u -u -r1.73 scsiconf.c // --- scsiconf.c 1996/12/20 20:43:45 1.73 // +++ scsiconf.c 1996/12/26 14:12:52 // @@ -265,6 +265,10 @@ // T_DIRECT, T_OPTICAL, T_REMOV, "RICOH", "RO-*", "*", // "od", SC_ONE_LU // }, // + { // + T_DIRECT, T_OPTICAL, T_REMOV, "IOMEGA", "ZIP*", "*", // + "od", SC_ONE_LU // + }, // #endif /* NOD */ // #if NSD > 0 // { // // Of course, you need to replace the "ZIP*" by whatever you drive sends // as inquiry data (see the boot message logs). It's possible that the // above patch doesn't apply to non-current systems, i had to reorder // some of the entries in that table recently. But you should get the // picture. Well, I looked for it in scsiconf.c, and used this patch: ( BTW: What's an "options NEW_SCSICONF" ? :^) ) --- scsiconf.old Fri Dec 27 21:46:59 1996 +++ scsiconf.c Fri Dec 27 21:32:14 1996 @@ -342,6 +342,12 @@ T_OPTICAL, T_REMOV, "SONY", "SMO-C501-09" ,"*", "od", SC_MORE_LUS }, +#ifdef ZEUS + { + T_DIRECT, T_REMOV, "IOMEGA", "ZIP*" + , "*", "od", SC_ONE_LU + }, +#endif #endif /* NOD */ #if NSD > 0 { Note that ZEUS is my machine's name, and so the define above is true. (I checked this with grep -l ZIP /sys/compile/ZEUS/*) No luck. It still boots likes this: (disk in drive, options SCSIDEBUG, SCSI_REPORT_GEOMETRY, device od0, etc.) ... 100 nSEC ok, using 150 nSEC aha0 at 0x330-0x333 irq 11 drq 5 on isa (aha0:3:0): "CONNER CTT8000-S 1.07" type 1 removable SCSI 2 st0(aha0:3:0): Sequential-Access density code 0x45, drive empty (aha0:5:0): "IOMEGA ZIP 100 N.38" type 0 removable SCSI 2 sd0(aha0:5:0): Direct-Access sd0(aha0:5:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB sd0 could not mode sense (4). Using ficticious geometry 96MB (196608 512 byte sectors) sd0(aha0:5:0): with 96 cyls, 64 heads, and an average 32 sectors/track ... If I try this one: --- scsiconf.old Fri Dec 27 21:46:59 1996 +++ scsiconf.c Fri Dec 27 21:32:14 1996 @@ -342,6 +342,12 @@ T_OPTICAL, T_REMOV, "SONY", "SMO-C501-09" ,"*", "od", SC_MORE_LUS }, +#ifdef ZEUS + { + T_DIRECT, T_REMOV, "*", "*" + , "*", "od", SC_ONE_LU + }, +#endif #endif /* NOD */ #if NSD > 0 { And no changes at all again... // -- // 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. ;-) 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612280017.WAA22879>