From owner-freebsd-scsi Sun Mar 24 01:22:19 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA16619 for freebsd-scsi-outgoing; Sun, 24 Mar 1996 01:22:19 -0800 (PST) Received: from chain.iafrica.com (chain.iafrica.com [196.7.74.174]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA16555 for ; Sun, 24 Mar 1996 01:21:50 -0800 (PST) Received: (from khetan@localhost) by localhost.iafrica.com (8.6.12/8.6.12) id LAA01989; Sun, 24 Mar 1996 11:10:04 +0200 Date: Sun, 24 Mar 1996 11:10:04 +0200 (SAT) From: Khetan Gajjar To: Joerg Wunsch cc: freebsd-scsi@freebsd.org Subject: Re: SCSI refresh In-Reply-To: <199603232319.AAA26231@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 24 Mar 1996, J Wunsch wrote: > ^^^^^^^^^^^^^_____ This must be a device that has been > successfully probed at boot time. Otherwise, > you've got a chicken-and-egg problem. This is the problem! Device was not probed at boot time :( --- Thanx, Khetan Gajjar Visit at http://www.iafrica.com/~khetan/index.html Pipex-Internet Africa Operations help@iafrica.com or 0800-030-002 From owner-freebsd-scsi Sun Mar 24 02:23:01 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA22311 for freebsd-scsi-outgoing; Sun, 24 Mar 1996 02:23:01 -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 CAA22298 for ; Sun, 24 Mar 1996 02:22:51 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id MAA18426; Sun, 24 Mar 1996 12:22:14 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id LAA25047; Sun, 24 Mar 1996 11:22:14 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id LAA01333; Sun, 24 Mar 1996 11:19:04 +0100 (MET) From: J Wunsch Message-Id: <199603241019.LAA01333@uriah.heep.sax.de> Subject: Re: SCSI refresh To: freebsd-scsi@freebsd.org Date: Sun, 24 Mar 1996 11:19:04 +0100 (MET) Cc: khetan@chain.iafrica.com (Khetan Gajjar) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Khetan Gajjar" at Mar 24, 96 11:10:04 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] 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 Khetan Gajjar wrote: > On Sun, 24 Mar 1996, J Wunsch wrote: > > > ^^^^^^^^^^^^^_____ This must be a device that has been > > successfully probed at boot time. Otherwise, > > you've got a chicken-and-egg problem. > > This is the problem! Device was not probed at boot time :( Of course -- but all you need is *just one* device on the SCSI bus. The -r option will reprobe the entire bus then. That's why i gave you /dev/rsd0.ctl as an example. -- 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 Sun Mar 24 07:54:18 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA11421 for freebsd-scsi-outgoing; Sun, 24 Mar 1996 07:54:18 -0800 (PST) Received: from chain.iafrica.com (chain.iafrica.com [196.7.74.174]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA11391 for ; Sun, 24 Mar 1996 07:53:09 -0800 (PST) Received: (from khetan@localhost) by chain.iafrica.com (8.6.12/8.6.12) id RAA00471; Sun, 24 Mar 1996 17:43:34 +0200 Date: Sun, 24 Mar 1996 17:43:34 +0200 (SAT) From: Khetan Gajjar To: Joerg Wunsch cc: freebsd-scsi@freebsd.org Subject: Re: SCSI refresh In-Reply-To: <199603241019.LAA01333@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 24 Mar 1996, J Wunsch wrote: > Of course -- but all you need is *just one* device on the SCSI bus. > The -r option will reprobe the entire bus then. That's why i gave you > /dev/rsd0.ctl as an example. Unfortunately, CD-ROM is *only* device on scsi bus :( --- Thanx, Khetan Gajjar Visit at http://www.iafrica.com/~khetan/index.html Pipex-Internet Africa Operations help@iafrica.com or 0800-030-002 From owner-freebsd-scsi Sun Mar 24 11:03:20 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA18409 for freebsd-scsi-outgoing; Sun, 24 Mar 1996 11:03:20 -0800 (PST) Received: from charlotte.spiders.com (charlotte.spiders.com [199.224.7.188]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA18402 Sun, 24 Mar 1996 11:03:16 -0800 (PST) Received: (from gwh@localhost) by charlotte.spiders.com (8.6.12/8.6.12) id OAA18062; Sun, 24 Mar 1996 14:05:50 -0500 Message-Id: <199603241905.OAA18062@charlotte.spiders.com> From: gwh@spiders.com (Gene W Homicki) Date: Sun, 24 Mar 1996 14:05:50 -0500 X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: freebsd-hardware@freebsd.org, freebsd-scsi@freebsd.org Subject: HP C1553A autochanger. Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hey all, I have an HP C1553A DDS-2 6 Tape autolaoder/changer. In the docs for the drive, it specifies that that it can ork in changer mode, which "SCSI Medium Changer" commands can be sent. When the machine boots up, its recognized as a SCSI tape drive, but not as a changer device (I have the ch driver compiled into the kernel and I'm running 2.1R). The drive works just fine in "stacker" mode, but I'd be much much happier if I could randomly access cartridges. If anyone has experience with these drives and/or can give me a pointer to docs to get it working, I'd appreciate it. --Gene -- Gene W. Homicki gwh@spiders.com Objective Consulting, Inc. http://www.spiders.com/ Internet Presence Design voice: +1 914.353.3511 From owner-freebsd-scsi Sun Mar 24 14:24:25 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA28076 for freebsd-scsi-outgoing; Sun, 24 Mar 1996 14:24:25 -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 OAA28044 for ; Sun, 24 Mar 1996 14:24:14 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id AAA03586 for ; Mon, 25 Mar 1996 00:24:03 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id XAA01023 for freebsd-scsi@freebsd.org; Sun, 24 Mar 1996 23:24:03 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id WAA05745; Sun, 24 Mar 1996 22:32:38 +0100 (MET) Date: Sun, 24 Mar 1996 22:32:38 +0100 (MET) Message-Id: <199603242132.WAA05745@uriah.heep.sax.de> X-Newsreader: knews 0.9.3 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: SCSI bus hangs - AIC7870 (fwd) To: freebsd-scsi@freebsd.org Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Can anybody give this guy help? ----- Forwarded Message ----- From: swhite@xwing.wcape.gov.za (Sean White) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: SCSI bus hangs - AIC7870 Date: 19 Mar 1996 10:32:22 GMT Organization: Internet Africa Message-ID: <4im2fm$aqa@newnews.iafrica.com> J Wunsch (j@uriah.heep.sax.de) wrote: : Can you play with the timeouts in the sys/scsi/st.c tape driver? Each : call to scsi_scsi_cmd() gets a timeout parameter (in milliseconds, if : i remember well). Try a simple tweaking, and see if it helps. Well, I tried that - increased the timeout values by a factor of 10 - and it helped not a bit. Nothing. I stripped the machine and found that the terminators were enabled on the HDD (as expected, seeing as it's on the end of the cable) but still can't check the tape drive termination. I've disabled the termination on the HDD and stuck it in the middle of the cable and put the DAT on the end. Everything works (or doesn't) as before - still got the hangs. I'm going to try shoving a AHA2742AT EISA card into the machine to see if that resolves the issue, but is there anything else I can try to get this lot working as it's supposed to? Oh, I've captured the message that the machine comes up with just as it hangs. This is while doing 'mt rewind' :- ahc0: target 0, lun 0 (sd0) timed out st0(ahc0:1:0): BUS DEVICE RESET message queued. ahc0: target 0, lun 0 (sd0) timed out .... and that's where the machine sits. Locked. Does that give anyone any ideas? Regards, Sean (about to shoot this machine!) White. From owner-freebsd-scsi Sun Mar 24 15:34:49 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA02671 for freebsd-scsi-outgoing; Sun, 24 Mar 1996 15:34:49 -0800 (PST) Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA02623 Sun, 24 Mar 1996 15:34:39 -0800 (PST) Message-Id: <199603242334.PAA02623@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: Host localhost.cdrom.com [127.0.0.1] didn't use HELO protocol To: swhite@xwing.wcape.gov.za (Sean White) cc: freebsd-scsi@freebsd.org Subject: Re: SCSI bus hangs - AIC7870 (fwd) In-reply-to: Your message of "Sun, 24 Mar 1996 22:32:38 +0100." <199603242132.WAA05745@uriah.heep.sax.de> Date: Sun, 24 Mar 1996 15:34:38 -0800 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Oh, I've captured the message that the machine comes up with just as it >hangs. This is while doing 'mt rewind' :- > >ahc0: target 0, lun 0 (sd0) timed out >st0(ahc0:1:0): BUS DEVICE RESET message queued. >ahc0: target 0, lun 0 (sd0) timed out What version of the driver are you using? Do you have disconnection *enabled* in SCSI-Select for your tape drive? Does your tape drive even support disconnection? The problem looks like your tape drive is not disconnecting (leaving the bus free) while it does a rewind, so all writes to your hard drive are delayed beyond the maximum timeout period for sd commands (10 seconds) and you get the timeout and all hell breaks loose. You would have to increase the timeouts in the sd code in order to kludge around this if you tape will not disconnect. >Regards, >Sean (about to shoot this machine!) White. > -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations =========================================== From owner-freebsd-scsi Mon Mar 25 02:21:21 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA11339 for freebsd-scsi-outgoing; Mon, 25 Mar 1996 02:21:21 -0800 (PST) Received: from kanto.cc.jyu.fi (kallio@kanto.cc.jyu.fi [130.234.1.2]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id CAA11286 Mon, 25 Mar 1996 02:21:01 -0800 (PST) Received: (from kallio@localhost) by kanto.cc.jyu.fi (8.7.2/8.7.2) id MAA22697; Mon, 25 Mar 1996 12:15:41 +0200 (EET) Date: Mon, 25 Mar 1996 12:15:40 +0200 (EET) From: Seppo Kallio To: Gene W Homicki cc: freebsd-hardware@FreeBSD.org, freebsd-scsi@FreeBSD.org Subject: Re: HP C1553A autochanger. In-Reply-To: <199603241905.OAA18062@charlotte.spiders.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk I am trying to use same device with amanda + 2.1R. I have one sh script from Peter Dufault . It is using the scsi-command. It can be used to change the tape randomly. It wokrs even with amanda in 2.2-960303 snap but not in 2.1R. In 2.1R mt -f /dev/nrst0 rewind command after scsi-slot selection command cause all next slot commands to fail. This can be solved by giving 1-2 extra slot selection commands selecting the same slot. #!/bin/sh #From dufault@hda.comThu Feb 29 10:04:36 1996 #Date: Fri, 26 Jan 1996 18:48:44 -0500 (EST) #From: Peter Dufault #To: Seppo Kallio #Cc: questions@freebsd.org, hardware@freebsd.org, # kallio@beeblebrox.pccc.jyu.fi #Subject: Re: HP C1553A Autoloading DDS-2 DAT tape drive control?# # #> #> #> Hi, we have HP C1553A Autoloading DDS2 DAT tape drives attached to #> a FreeBSD node. Is there a program available that would allow me to #> fully manipulate the drive? #> #> I have code for HPUX and Solaris, but it is so OS dependend I cannot #> compile it in FreeBSD.# # #You can use scsi(8) to send commands to the device. Something like #this (I didn't run this - this is a dramatization based on that C #code) saved as dds_changer and made executable. As a raw-device-name #you must use something that accepts the SCSI ioctl calls - the #control device for whatever it comes on line as will. # PATH="/sbin:/usr/sbin:/bin:/usr/bin"; export PATH usage() { echo "(/dev/rst0 for reading/writing, /dev/st0ctl.0 for command)" echo "Usage: dds_changer [123456ne] raw-device-name (/dev/st0ctl.0)" echo "1..6 = Select cartridge" echo "n = next cartridge" echo "e = eject magazine" exit 2 } if [ $# -ne 2 ] ; then usage fi cdb3=0 cdb4=0 cdb5=0 case $1 in [123456]) cdb3=$1 cdb4=1 ;; n) ;; e) cdb5=0x80 ;; ?) usage ;; esac scsi -f $2 -s 100 -c "1b 0 0 v v v" $cdb3 $cdb4 $cdb5 On Sun, 24 Mar 1996, Gene W Homicki wrote: > Hey all, > > I have an HP C1553A DDS-2 6 Tape autolaoder/changer. In the > docs for the drive, it specifies that that it can ork in changer mode, > which "SCSI Medium Changer" commands can be sent. > > When the machine boots up, its recognized as a SCSI tape drive, but > not as a changer device (I have the ch driver compiled into the kernel > and I'm running 2.1R). > > The drive works just fine in "stacker" mode, but I'd be much much > happier if I could randomly access cartridges. If anyone has > experience with these drives and/or can give me a pointer to docs to > get it working, I'd appreciate it. > > > --Gene > > -- > Gene W. Homicki gwh@spiders.com > Objective Consulting, Inc. http://www.spiders.com/ > Internet Presence Design voice: +1 914.353.3511 > From owner-freebsd-scsi Mon Mar 25 12:13:35 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA02078 for freebsd-scsi-outgoing; Mon, 25 Mar 1996 12:13:35 -0800 (PST) Received: from mail.ruhrgebiet.individual.net (in-ruhr.ruhr.de [193.100.176.38]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id MAA02073 for ; Mon, 25 Mar 1996 12:13:31 -0800 (PST) Received: from robkaos.UUCP (admin@localhost) by mail.ruhrgebiet.individual.net (8.7.1/8.7.1) with UUCP id SAA06239 for freebsd.org!freebsd-scsi; Mon, 25 Mar 1996 18:59:44 +0100 (MET) Received: by robkaos.ruhr.de (/\oo/\ Smail3.1.29.1 #29.1) id ; Mon, 25 Mar 96 18:58 MET Message-Id: From: robsch@robkaos.ruhr.de (Robert Schien) Subject: turning on/off DAT compression To: freebsd-scsi@freebsd.org Date: Mon, 25 Mar 1996 18:58:51 +0100 (MET) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Has anyone a script or short program to turn on/off the compression mode of a DAT drive? It seems that the 'mt' command doesn't support such a command yet. Thanks in advance. Robert From owner-freebsd-scsi Mon Mar 25 12:14:17 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA02135 for freebsd-scsi-outgoing; Mon, 25 Mar 1996 12:14:17 -0800 (PST) Received: from mail.ruhrgebiet.individual.net (in-ruhr.ruhr.de [193.100.176.38]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id MAA02130 for ; Mon, 25 Mar 1996 12:14:13 -0800 (PST) Received: from robkaos.UUCP (admin@localhost) by mail.ruhrgebiet.individual.net (8.7.1/8.7.1) with UUCP id TAA06961 for freebsd.org!freebsd-scsi; Mon, 25 Mar 1996 19:00:58 +0100 (MET) Received: by robkaos.ruhr.de (/\oo/\ Smail3.1.29.1 #29.1) id ; Mon, 25 Mar 96 18:58 MET Message-Id: From: robsch@robkaos.ruhr.de (Robert Schien) Subject: HP 4020i CD-R wishes To: freebsd-scsi@freebsd.org Date: Mon, 25 Mar 1996 18:57:59 +0100 (MET) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Well, not only for the HP drive, but this is the CD-R drive I have :-) I would like to read audio tracks from an audio CD. Writing is no problem with 'wormcontrol', but how to read? /dev/rworm0 seems to be write only (at least dd if=/dev/rworm0 ... gives an I/O error). Another point: how to create multisession discs so that things like incremental backup is possible? Thanks in advance. Robert From owner-freebsd-scsi Mon Mar 25 13:24:29 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA06153 for freebsd-scsi-outgoing; Mon, 25 Mar 1996 13:24:29 -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 NAA06083 Mon, 25 Mar 1996 13:24:12 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id WAA10508; Mon, 25 Mar 1996 22:22:27 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id WAA12186; Mon, 25 Mar 1996 22:22:28 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id WAA10629; Mon, 25 Mar 1996 22:11:49 +0100 (MET) From: J Wunsch Message-Id: <199603252111.WAA10629@uriah.heep.sax.de> Subject: Re: HP C1553A autochanger. To: kallio@cc.jyu.fi (Seppo Kallio) Date: Mon, 25 Mar 1996 22:11:48 +0100 (MET) Cc: gwh@spiders.com, freebsd-hardware@freebsd.org, freebsd-scsi@freebsd.org In-Reply-To: from "Seppo Kallio" at Mar 25, 96 12:15:40 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] 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 Seppo Kallio wrote: > > > I am trying to use same device with amanda + 2.1R. I have one sh script from > Peter Dufault . It is using the scsi-command. Peter, any chance to commit this little script? -- 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 Mon Mar 25 14:55:39 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA13451 for freebsd-scsi-outgoing; Mon, 25 Mar 1996 14:55:39 -0800 (PST) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA13442 Mon, 25 Mar 1996 14:55:34 -0800 (PST) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id OAA05797; Mon, 25 Mar 1996 14:55:07 -0800 From: "Rodney W. Grimes" Message-Id: <199603252255.OAA05797@GndRsh.aac.dev.com> Subject: Re: turning on/off DAT compression To: robsch@robkaos.ruhr.de (Robert Schien) Date: Mon, 25 Mar 1996 14:55:06 -0800 (PST) Cc: freebsd-scsi@freebsd.org, gibbs@freebsd.org In-Reply-To: from Robert Schien at "Mar 25, 96 06:58:51 pm" X-Mailer: ELM [version 2.4ME+ PL11 (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 > Has anyone a script or short program to turn on/off the compression > mode of a DAT drive? It seems that the 'mt' command doesn't support > such a command yet. If this is done via a mode select then see ``man scsi'', look at /usr/share/misc/scsi_modes, and get a SCSI command manual for your drive. I have the stuff to turn parity on and off on the Archive/Python DAT drives, and can easily add any other model selects for this device. (Justin, did you ever test my parity scsi mode select???) -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD From owner-freebsd-scsi Mon Mar 25 15:51:21 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA18720 for freebsd-scsi-outgoing; Mon, 25 Mar 1996 15:51:21 -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 PAA18712 for ; Mon, 25 Mar 1996 15:51:15 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id AAA16288; Tue, 26 Mar 1996 00:50:54 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id AAA14022; Tue, 26 Mar 1996 00:50:55 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id AAA11347; Tue, 26 Mar 1996 00:39:26 +0100 (MET) From: J Wunsch Message-Id: <199603252339.AAA11347@uriah.heep.sax.de> Subject: Re: HP 4020i CD-R wishes To: freebsd-scsi@freebsd.org Date: Tue, 26 Mar 1996 00:39:25 +0100 (MET) Cc: robsch@robkaos.ruhr.de (Robert Schien) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Robert Schien" at Mar 25, 96 06:57:59 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] 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 Robert Schien wrote: > > Well, not only for the HP drive, but this is the CD-R drive I have :-) > I would like to read audio tracks from an audio CD. Writing is > no problem with 'wormcontrol', but how to read? /dev/rworm0 seems > to be write only (at least dd if=/dev/rworm0 ... gives an I/O error). /dev/rworm0 should also be readable. I'm not even sure why it doesn't work (it's supposed to). /dev/worm0 should also be added. There's still the problem that apparently nobody has got a bright idea on how to `clone' the `cd' driver for the `worm' class of devices. CD-R's are a true superclass of CD-ROM, so duplicating the CD-ROM functionality inside the worm driver doesn't seem to make sense. > Another point: how to create multisession discs so that things > like incremental backup is possible? All you need is specifying the ``onp'' parameter in the ``fixate'' command of wormcontrol(8). Very easy, indeed. You'll have a hard time reading the sessions 1 thru N however. :-P (Our CD-ROM driver simply can't do it by now, and the SCSI-2 spec doesn't specify the required commands.) -- 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 Mon Mar 25 15:52:33 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA18976 for freebsd-scsi-outgoing; Mon, 25 Mar 1996 15:52:33 -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 PAA18960 for ; Mon, 25 Mar 1996 15:52:26 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id AAA16284; Tue, 26 Mar 1996 00:50:51 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id AAA14015; Tue, 26 Mar 1996 00:50:53 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id AAA11336; Tue, 26 Mar 1996 00:35:26 +0100 (MET) From: J Wunsch Message-Id: <199603252335.AAA11336@uriah.heep.sax.de> Subject: Re: turning on/off DAT compression To: freebsd-scsi@freebsd.org Date: Tue, 26 Mar 1996 00:35:25 +0100 (MET) Cc: robsch@robkaos.ruhr.de (Robert Schien) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Robert Schien" at Mar 25, 96 06:58:51 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] 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 Robert Schien wrote: > > Has anyone a script or short program to turn on/off the compression > mode of a DAT drive? It seems that the 'mt' command doesn't support > such a command yet. I've once posted a /usr/share/misc/scsi_modes definition for the mode page 0x10 (?) in this mailing list. Using this, you should be able to edit the compression field in the mode page. Alas, none of the drives avaible to me did really let me edit this field, so there are certainly other problems around. (I've trashed my archive of freebsd-scsi, so i cannot repost this message now. However, you should be able to dig it up in the mailing list archive on freefall, or via the WWW server.) Once we know that it works, adding it to the ioctl(MTIOCOP) and to mt(1) is 5 minutes of work. -- 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 Mon Mar 25 23:51:46 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA17973 for freebsd-scsi-outgoing; Mon, 25 Mar 1996 23:51:46 -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 XAA17911 for ; Mon, 25 Mar 1996 23:51:04 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id IAA02208 for ; Tue, 26 Mar 1996 08:50:43 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id IAA17652 for freebsd-scsi@freebsd.org; Tue, 26 Mar 1996 08:50:45 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id IAA13432 for freebsd-scsi@freebsd.org; Tue, 26 Mar 1996 08:41:17 +0100 (MET) From: J Wunsch Message-Id: <199603260741.IAA13432@uriah.heep.sax.de> Subject: Re: HP 4020i CD-R wishes To: freebsd-scsi@freebsd.org Date: Tue, 26 Mar 1996 08:41:16 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199603260050.QAA23710@ref.tfs.com> from "JULIAN Elischer" at Mar 25, 96 04:50:44 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] 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 JULIAN Elischer wrote: > It is becoming clear that we need to be able to 'stack' SCSI drivers. > I have three cases of this now... > > 1/WORM/CDROM > 2/TAPE/CHANGER > and the last.. more amazingly.. > 3/WORM/CDROM/CHANGER > > how can one identify such a situation, and which 'done' routine get's called? I think we need some layering scenario like for ioctl commands on ttys. They are being passed through the general ioctl code first, then to the line discipline, then down to the physical driver. (Something like this -- i didn't code-review it now.) Could one also call this `streams'? :) -- 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 Mon Mar 25 23:52:13 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA18105 for freebsd-scsi-outgoing; Mon, 25 Mar 1996 23:52:13 -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 XAA18002 for ; Mon, 25 Mar 1996 23:51:55 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id IAA02204; Tue, 26 Mar 1996 08:50:42 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id IAA17651; Tue, 26 Mar 1996 08:50:43 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id IAA13415; Tue, 26 Mar 1996 08:39:06 +0100 (MET) From: J Wunsch Message-Id: <199603260739.IAA13415@uriah.heep.sax.de> Subject: Re: turning on/off DAT compression To: freebsd-scsi@freebsd.org Date: Tue, 26 Mar 1996 08:39:05 +0100 (MET) Cc: robsch@robkaos.ruhr.de Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199603260051.QAA23973@ref.tfs.com> from "JULIAN Elischer" at Mar 25, 96 04:51:53 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] 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 JULIAN Elischer wrote: > > Once we know that it works, adding it to the ioctl(MTIOCOP) and to > > mt(1) is 5 minutes of work. > The IOCTL is already there! > and so is the code in the kernel! I've been too lazy to look there. :) Anyway, as long as one couldn't get it to work with `scsi -e', i'm afraid the code in the kernel won't work neither. Oh well :), i just wanted to provide a quick'ndirty hack for experimenting, but had to find that it's already there in mt(1)! If it works, the only patch that will be needed is to remove the line ``(Not yet implemented.)'' from the man page. ;-) So folx, try it! -- 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 Mar 26 05:08:52 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA03320 for freebsd-scsi-outgoing; Tue, 26 Mar 1996 05:08:52 -0800 (PST) Received: from hda.com ([199.232.245.71]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id FAA03314 for ; Tue, 26 Mar 1996 05:08:49 -0800 (PST) Received: (from dufault@localhost) by hda.com (8.6.11/8.6.9) id HAA03628; Tue, 26 Mar 1996 07:58:06 -0500 From: Peter Dufault Message-Id: <199603261258.HAA03628@hda.com> Subject: Re: HP 4020i CD-R wishes To: joerg_wunsch@uriah.heep.sax.de Date: Tue, 26 Mar 1996 07:58:06 -0500 (EST) Cc: freebsd-scsi@FreeBSD.org Reply-To: hdalog@zipnet.net In-Reply-To: <199603260741.IAA13432@uriah.heep.sax.de> from "J Wunsch" at Mar 26, 96 08:41:16 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-scsi@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > As JULIAN Elischer wrote: > > It is becoming clear that we need to be able to 'stack' SCSI drivers. > > I have three cases of this now... > > > > 1/WORM/CDROM > > 2/TAPE/CHANGER > > and the last.. more amazingly.. > > 3/WORM/CDROM/CHANGER > > > > how can one identify such a situation, and which 'done' routine get's called? > > I think we need some layering scenario like for ioctl commands on > ttys. They are being passed through the general ioctl code first, > then to the line discipline, then down to the physical driver. > (Something like this -- i didn't code-review it now.) We have some layering now, where you go through per-device ioctl code first and then hit the general code if it wasn't handled. It would probably benefit from one more layer: Specific device (specific WORM for example); Type device (WORM class) General device (set debugging, etc). In terms of stacking - how about "This is a WORM and a CDROM and a CHANGER", and you have to potentially open three devices to exercise all three "personalities". Then which done to call is clear. We have to pay attention to locking issues. -- Temporarily via "hdalog@zipnet.net"... Peter Dufault Real-Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267 From owner-freebsd-scsi Tue Mar 26 09:36:53 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA02049 for freebsd-scsi-outgoing; Tue, 26 Mar 1996 09:36:53 -0800 (PST) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA02044 for ; Tue, 26 Mar 1996 09:36:49 -0800 (PST) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id JAA06846; Tue, 26 Mar 1996 09:35:34 -0800 From: "Rodney W. Grimes" Message-Id: <199603261735.JAA06846@GndRsh.aac.dev.com> Subject: Re: HP 4020i CD-R wishes To: hdalog@zipnet.net Date: Tue, 26 Mar 1996 09:35:33 -0800 (PST) Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-scsi@freebsd.org In-Reply-To: <199603261258.HAA03628@hda.com> from Peter Dufault at "Mar 26, 96 07:58:06 am" X-Mailer: ELM [version 2.4ME+ PL11 (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 JULIAN Elischer wrote: > > > It is becoming clear that we need to be able to 'stack' SCSI drivers. > > > I have three cases of this now... > > > > > > 1/WORM/CDROM > > > 2/TAPE/CHANGER > > > and the last.. more amazingly.. > > > 3/WORM/CDROM/CHANGER > > > > > > how can one identify such a situation, and which 'done' routine get's called? > > > > I think we need some layering scenario like for ioctl commands on > > ttys. They are being passed through the general ioctl code first, > > then to the line discipline, then down to the physical driver. > > (Something like this -- i didn't code-review it now.) > > We have some layering now, where you go through per-device ioctl > code first and then hit the general code if it wasn't handled. It > would probably benefit from one more layer: > > Specific device (specific WORM for example); Type device (WORM > class) General device (set debugging, etc). > > In terms of stacking - how about "This is a WORM and a CDROM and > a CHANGER", and you have to potentially open three devices to > exercise all three "personalities". Then which done to call is > clear. We have to pay attention to locking issues. Sounds good. Locking should occur as a scsibus/target/lun tuplet lock, so that the locks are independent of what kind of device it is being used as. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD From owner-freebsd-scsi Tue Mar 26 11:21:50 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA09439 for freebsd-scsi-outgoing; Tue, 26 Mar 1996 11:21:50 -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 LAA09422 for ; Tue, 26 Mar 1996 11:21:16 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id VAA26947 for ; Tue, 26 Mar 1996 21:21:04 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id UAA23393 for freebsd-scsi@freebsd.org; Tue, 26 Mar 1996 20:21:04 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id TAA15110 for freebsd-scsi@freebsd.org; Tue, 26 Mar 1996 19:06:52 +0100 (MET) From: J Wunsch Message-Id: <199603261806.TAA15110@uriah.heep.sax.de> Subject: Re: HP 4020i CD-R wishes To: freebsd-scsi@freebsd.org Date: Tue, 26 Mar 1996 19:06:52 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199603261258.HAA03628@hda.com> from "Peter Dufault" at Mar 26, 96 07:58:06 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] 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: > We have some layering now, where you go through per-device ioctl > code first and then hit the general code if it wasn't handled. It > would probably benefit from one more layer: Hmm, but that doesn't cover stacking for read or write op's. However, perhaps we don't need this at all? -- 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 Mar 26 17:59:54 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA00989 for freebsd-scsi-outgoing; Tue, 26 Mar 1996 17:59:54 -0800 (PST) Received: from hda.com ([199.232.245.79]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA00975 for ; Tue, 26 Mar 1996 17:59:50 -0800 (PST) Received: (from dufault@localhost) by hda.com (8.6.11/8.6.9) id UAA04383; Tue, 26 Mar 1996 20:50:02 -0500 From: Peter Dufault Message-Id: <199603270150.UAA04383@hda.com> Subject: Re: HP 4020i CD-R wishes To: joerg_wunsch@uriah.heep.sax.de Date: Tue, 26 Mar 1996 20:50:01 -0500 (EST) Cc: freebsd-scsi@FreeBSD.org Reply-To: hdalog@zipnet.net In-Reply-To: <199603261806.TAA15110@uriah.heep.sax.de> from "J Wunsch" at Mar 26, 96 07:06:52 pm Reply-to: hdalog@zipnet.net X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-scsi@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > As Peter Dufault wrote: > > > We have some layering now, where you go through per-device ioctl > > code first and then hit the general code if it wasn't handled. It > > would probably benefit from one more layer: > > Hmm, but that doesn't cover stacking for read or write op's. However, > perhaps we don't need this at all? > Is it stacking you want or better packaging? I think of stacking as more like the ccd driver where you stack on top of an existing driver without changing it much. Do you want to be able to say "the worm uses this style write" and use the same code in use in the tape writer? Then I think we tidy up and formalize the libraries already started so that if you use the same type of write for a tape and a recorder you don't have the replicated code. -- Temporarily via "hdalog@zipnet.net"... Peter Dufault Real-Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267 From owner-freebsd-scsi Tue Mar 26 23:43:21 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA03479 for freebsd-scsi-outgoing; Tue, 26 Mar 1996 23:43:21 -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 XAA03442 for ; Tue, 26 Mar 1996 23:43:12 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA12452 for ; Wed, 27 Mar 1996 09:43:09 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id IAA29385 for freebsd-scsi@freebsd.org; Wed, 27 Mar 1996 08:43:08 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id IAA19213 for freebsd-scsi@freebsd.org; Wed, 27 Mar 1996 08:17:02 +0100 (MET) From: J Wunsch Message-Id: <199603270717.IAA19213@uriah.heep.sax.de> Subject: Re: HP 4020i CD-R wishes To: freebsd-scsi@freebsd.org Date: Wed, 27 Mar 1996 08:17:01 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199603270150.UAA04383@hda.com> from "Peter Dufault" at Mar 26, 96 08:50:01 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] 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: > Do you want to be able to say "the worm uses this style write" and > use the same code in use in the tape writer? Then I think we tidy > up and formalize the libraries already started so that if you use > the same type of write for a tape and a recorder you don't have > the replicated code. This has some merits, but i figure there are more urging problems to fix in the SCSI code, right? (My original layering argument wasn't very well-thought. Stacking the ioctl requests would most likely suffice.) -- 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 Wed Mar 27 14:18:28 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA04377 for freebsd-scsi-outgoing; Wed, 27 Mar 1996 14:18:28 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [144.206.136.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA04358 Wed, 27 Mar 1996 14:18:16 -0800 (PST) Received: by sovcom.kiae.su id AA06936 (5.65.kiae-1 ); Thu, 28 Mar 1996 01:05:28 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Thu, 28 Mar 96 01:05:28 +0300 Received: (from ache@localhost) by astral.msk.su (8.7.5/8.7.3) id BAA00333; Thu, 28 Mar 1996 01:03:41 +0300 (MSK) Message-Id: <199603272203.BAA00333@astral.msk.su> Subject: Panic in sc_done To: current@freebsd.org (FreeBSD-current), scsi@freebsd.org (FreeBSD-SCSI List) Date: Thu, 28 Mar 1996 01:03:39 +0300 (MSK) From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL14 (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 just got page fault: sc_done+0x35: testb $0x40,0x5(%ecx) sc_err1 scsi_done ahc_done ahc_intr -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849 From owner-freebsd-scsi Wed Mar 27 14:46:59 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA08655 for freebsd-scsi-outgoing; Wed, 27 Mar 1996 14:46:59 -0800 (PST) Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA08601 for ; Wed, 27 Mar 1996 14:46:47 -0800 (PST) Received: (from julian@localhost) by ref.tfs.com (8.7.3/8.6.9) id QAA23973; Mon, 25 Mar 1996 16:51:53 -0800 (PST) Message-Id: <199603260051.QAA23973@ref.tfs.com> Subject: Re: turning on/off DAT compression To: joerg_wunsch@uriah.heep.sax.de Date: Mon, 25 Mar 1996 16:51:53 -0800 (PST) From: "JULIAN Elischer" Cc: freebsd-scsi@freebsd.org, robsch@robkaos.ruhr.de In-Reply-To: <199603252335.AAA11336@uriah.heep.sax.de> from "J Wunsch" at Mar 26, 96 00:35:25 am X-Mailer: ELM [version 2.4 PL25 ME8b] 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 Robert Schien wrote: > > > > Has anyone a script or short program to turn on/off the compression > > mode of a DAT drive? It seems that the 'mt' command doesn't support > > such a command yet. > > I've once posted a /usr/share/misc/scsi_modes definition for the mode > page 0x10 (?) in this mailing list. Using this, you should be able to > edit the compression field in the mode page. Alas, none of the drives > avaible to me did really let me edit this field, so there are > certainly other problems around. > > (I've trashed my archive of freebsd-scsi, so i cannot repost this > message now. However, you should be able to dig it up in the mailing > list archive on freefall, or via the WWW server.) > > Once we know that it works, adding it to the ioctl(MTIOCOP) and to > mt(1) is 5 minutes of work. The IOCTL is already there! and so is the code in the kernel! > > -- > 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 Wed Mar 27 14:47:03 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA08665 for freebsd-scsi-outgoing; Wed, 27 Mar 1996 14:47:03 -0800 (PST) Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA08624 for ; Wed, 27 Mar 1996 14:46:53 -0800 (PST) Received: (from julian@localhost) by ref.tfs.com (8.7.3/8.6.9) id QAA23710; Mon, 25 Mar 1996 16:50:44 -0800 (PST) Message-Id: <199603260050.QAA23710@ref.tfs.com> Subject: Re: HP 4020i CD-R wishes To: joerg_wunsch@uriah.heep.sax.de Date: Mon, 25 Mar 1996 16:50:44 -0800 (PST) From: "JULIAN Elischer" Cc: freebsd-scsi@freebsd.org, robsch@robkaos.ruhr.de In-Reply-To: <199603252339.AAA11347@uriah.heep.sax.de> from "J Wunsch" at Mar 26, 96 00:39:25 am X-Mailer: ELM [version 2.4 PL25 ME8b] 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 It is becoming clear that we need to be able to 'stack' SCSI drivers. I have three cases of this now... 1/WORM/CDROM 2/TAPE/CHANGER and the last.. more amazingly.. 3/WORM/CDROM/CHANGER how can one identify such a situation, and which 'done' routine get's called? > > As Robert Schien wrote: > > > > Well, not only for the HP drive, but this is the CD-R drive I have :-) > > I would like to read audio tracks from an audio CD. Writing is > > no problem with 'wormcontrol', but how to read? /dev/rworm0 seems > > to be write only (at least dd if=/dev/rworm0 ... gives an I/O error). > > /dev/rworm0 should also be readable. I'm not even sure why it doesn't > work (it's supposed to). /dev/worm0 should also be added. > > There's still the problem that apparently nobody has got a bright idea > on how to `clone' the `cd' driver for the `worm' class of devices. > CD-R's are a true superclass of CD-ROM, so duplicating the CD-ROM > functionality inside the worm driver doesn't seem to make sense. > > > Another point: how to create multisession discs so that things > > like incremental backup is possible? > > All you need is specifying the ``onp'' parameter in the ``fixate'' > command of wormcontrol(8). Very easy, indeed. > > You'll have a hard time reading the sessions 1 thru N however. :-P > (Our CD-ROM driver simply can't do it by now, and the SCSI-2 spec > doesn't specify the required commands.) > > -- > 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 Wed Mar 27 14:47:05 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA08675 for freebsd-scsi-outgoing; Wed, 27 Mar 1996 14:47:05 -0800 (PST) Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA08630 Wed, 27 Mar 1996 14:46:54 -0800 (PST) Received: (from julian@localhost) by ref.tfs.com (8.7.3/8.6.9) id QAA13216; Mon, 25 Mar 1996 16:18:54 -0800 (PST) Message-Id: <199603260018.QAA13216@ref.tfs.com> Subject: Re: turning on/off DAT compression To: rgrimes@GndRsh.aac.dev.com (Rodney W. Grimes) Date: Mon, 25 Mar 1996 16:18:54 -0800 (PST) From: "JULIAN Elischer" Cc: robsch@robkaos.ruhr.de, freebsd-scsi@freebsd.org, gibbs@freebsd.org In-Reply-To: <199603252255.OAA05797@GndRsh.aac.dev.com> from "Rodney W. Grimes" at Mar 25, 96 02:55:06 pm X-Mailer: ELM [version 2.4 PL25 ME8b] 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 there is a compression enable/disable ioctl in teh driver, with the appropriate commands in mt(1) it has never been tested.. > > > Has anyone a script or short program to turn on/off the compression > > mode of a DAT drive? It seems that the 'mt' command doesn't support > > such a command yet. > > If this is done via a mode select then see ``man scsi'', look at > /usr/share/misc/scsi_modes, and get a SCSI command manual for your > drive. > > I have the stuff to turn parity on and off on the Archive/Python DAT > drives, and can easily add any other model selects for this device. > > (Justin, did you ever test my parity scsi mode select???) > > > -- > Rod Grimes rgrimes@gndrsh.aac.dev.com > Accurate Automation Company Reliable computers for FreeBSD > From owner-freebsd-scsi Wed Mar 27 14:47:11 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA08688 for freebsd-scsi-outgoing; Wed, 27 Mar 1996 14:47:11 -0800 (PST) Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA08648 Wed, 27 Mar 1996 14:46:57 -0800 (PST) Received: (from julian@localhost) by ref.tfs.com (8.7.3/8.6.9) id UAA01179; Sun, 24 Mar 1996 20:28:32 -0800 (PST) Message-Id: <199603250428.UAA01179@ref.tfs.com> Subject: Re: HP C1553A autochanger. To: gwh@spiders.com (Gene W Homicki) Date: Sun, 24 Mar 1996 20:28:31 -0800 (PST) From: "JULIAN Elischer" Cc: freebsd-hardware@freebsd.org, freebsd-scsi@freebsd.org In-Reply-To: <199603241905.OAA18062@charlotte.spiders.com> from "Gene W Homicki" at Mar 24, 96 02:05:50 pm X-Mailer: ELM [version 2.4 PL25 ME8b] 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 probably the 'changer device' is on a second LUN you will need to add an entry to scsiconf.c for the device (in the registration table, and add the flag SCSI_MORE_LUNS (or however it's spelled) to tell the scsi system to look for another LUN on the device.. then you will also need to configure in the 'ch' device which is the changer device. (see the LINT config file). (I see you've done that) The ioctls to control the changer wre defined in . there are no programs that presently do this so the driver hasn't been TESTED for a few generations, though it compiles fine.. it was last seen running correctly under OSF1 when the scsi system was shared between the two OS's but it has changed under FreeBSD a LOT (understatement) You may need to do debugging to get it going... sorry but i don't have such a changer to rest it on... > > > Hey all, > > I have an HP C1553A DDS-2 6 Tape autolaoder/changer. In the > docs for the drive, it specifies that that it can ork in changer mode, > which "SCSI Medium Changer" commands can be sent. > > When the machine boots up, its recognized as a SCSI tape drive, but > not as a changer device (I have the ch driver compiled into the kernel > and I'm running 2.1R). > > The drive works just fine in "stacker" mode, but I'd be much much > happier if I could randomly access cartridges. If anyone has > experience with these drives and/or can give me a pointer to docs to > get it working, I'd appreciate it. > > > --Gene > > -- > Gene W. Homicki gwh@spiders.com > Objective Consulting, Inc. http://www.spiders.com/ > Internet Presence Design voice: +1 914.353.3511 > From owner-freebsd-scsi Thu Mar 28 02:53:50 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA16391 for freebsd-scsi-outgoing; Thu, 28 Mar 1996 02:53:50 -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 CAA16357 Thu, 28 Mar 1996 02:53:35 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id MAA28840; Thu, 28 Mar 1996 12:52:49 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id LAA14534; Thu, 28 Mar 1996 11:52:48 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id LAA24351; Thu, 28 Mar 1996 11:08:51 +0100 (MET) From: J Wunsch Message-Id: <199603281008.LAA24351@uriah.heep.sax.de> Subject: Re: Panic in sc_done To: current@FreeBSD.org, scsi@FreeBSD.org Date: Thu, 28 Mar 1996 11:08:50 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199603272203.BAA00333@astral.msk.su> from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Mar 28, 96 01:03:39 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] 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 =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= wrote: > I just got page fault: > sc_done+0x35: testb $0x40,0x5(%ecx) > sc_err1 This is here: /* * an EOF condition results in a VALID resid.. */ if(xs->flags & SCSI_EOF) { ^^^^^^^^^ xs->resid = xs->datalen; xs->flags |= SCSI_RESID_VALID; } Looks weird. sc_err1() does always evaluate xs->error first, so this should already break if xs is an invalid pointer. -- 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 Thu Mar 28 03:15:41 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA18144 for freebsd-scsi-outgoing; Thu, 28 Mar 1996 03:15:41 -0800 (PST) Received: from newton.Space.net (root@newton.space.net [194.59.182.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA18137 for ; Thu, 28 Mar 1996 03:15:37 -0800 (PST) Received: from nasim.camelot.de ([194.97.87.2]) by newton.Space.NET with SMTP id <82509-4>; Thu, 28 Mar 1996 12:15:15 +0100 Received: from lancelot.camelot.de by nasim.camelot.de with smtp (Smail3.1.29.0 #1) id m0u2FfY-000JjxC; Thu, 28 Mar 96 12:15 MET Received: (from news@localhost) by lancelot.camelot.de (8.6.12/8.6.12) id MAA24389; Thu, 28 Mar 1996 12:15:06 +0100 To: freebsd-scsi@FreeBSD.org Path: not-for-mail From: knarf@camelot.de (Frank Bartels) Newsgroups: muc.lists.freebsd.scsi Subject: DAT problems Date: Thu, 28 Mar 1996 12:15:06 +0100 Organization: Camelot Online Services Lines: 79 Message-ID: <4jdsbq$lqj@lancelot.camelot.de> NNTP-Posting-Host: lancelot.camelot.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [UNIX 1.3 950726BETA PL0] Sender: owner-freebsd-scsi@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Hi all, I have big problems to get a HP DAT drive working under FreeBSD 2.1.0-RELEASE. ncr0 rev 2 int a irq 9 on pci0:1 ncr0 waiting for scsi devices to settle (ncr0:0:0): "QUANTUM EMPIRE_1080S 1202" type 0 fixed SCSI 2 sd0(ncr0:0:0): Direct-Access sd0(ncr0:0:0): FAST SCSI-2 125ns (8 Mb/sec) offset 8. 1029MB (2109376 512 byte sectors) sd0(ncr0:0:0): with 2874 cyls, 8 heads, and an average 91 sectors/track (ncr0:4:0): "TOSHIBA CD-ROM XM-5301TA 0925" type 5 removable SCSI 2 cd0(ncr0:4:0): CD-ROM cd0(ncr0:4:0): asynchronous. cd present.[186827 x 2048 byte records] (ncr0:6:0): "HP HP35480A 1109" type 1 removable SCSI 2 st0(ncr0:6:0): Sequential-Access st0(ncr0:6:0): 200ns (5 Mb/sec) offset 8. density code 0x13, variable blocks, write-enabled Using amanda's amrestore, I can produce the following error: st0(ncr0:6:0): COMMAND FAILED (4 88) @f08ea400. st0(ncr0:6:0): Deferred Error: MEDIUM ERROR asc:9,0 Track following error After that the machine sometimes crashes a couple of minutes later. The tape seems to wind forward and then backward and then panics. I tried another tape in another SP3G with NCR. (ncr0:4:0): "HP HP35470A 9 09" type 1 removable SCSI 2 Same error. :/ So I bought a new machine: ahc0 rev 0 int a irq 11 on pci0:9 ahc0: aic7870 Ultra Wide Channel, SCSI Id=7, aic7870, 255 SCBs ahc0 waiting for scsi devices to settle (ahc0:0:0): "IBM DSAS-3720 S47W" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 696MB (1427328 512 byte sectors) (ahc0:6:0): "HP HP35480A 1109" type 1 removable SCSI 2 st0(ahc0:6:0): Sequential-Access density code 0x13, drive empty And this is the output from a `tar tv': ahc0: target 6, lun 0 (st0) timed out st0(ahc0:6:0): BUS DEVICE RESET message queued. ahc0: target 6, lun 0 (st0) timed out st0(ahc0:6:0): UNIT ATTENTION asc:28,0 st0(ahc0:6:0): Not ready to ready transition, medium may have changed ahc0: Issued Channel A Bus Reset #1. 1 SCBs aborted ahc0: target 6, lun 0 (st0) timed out st0(ahc0:6:0): BUS DEVICE RESET message queued. st0(ahc0:6:0): Deferred Error: MEDIUM ERROR asc:9,0 Track following error sd0(ahc0:0:0): UNIT ATTENTION asc:29,0 sd0(ahc0:0:0): Power on, reset, or bus device reset occurred, retries:4 ahc0: target 6, lun 0 (st0) timed out st0(ahc0:6:0): BUS DEVICE RESET message queued. ahc0: target 6, lun 0 (st0) timed out st0(ahc0:6:0): UNIT ATTENTION asc:28,0 st0(ahc0:6:0): Not ready to ready transition, medium may have changed ahc0: Issued Channel A Bus Reset #1. 1 SCBs aborted st0(ahc0:6:0): UNIT ATTENTION asc:29,0 st0(ahc0:6:0): Power on, reset, or bus device reset occurred st0(ahc0:6:0): Deferred Error: HARDWARE FAILURE asc:9,0 Track following error field replaceable unit: 1 I don't know which machine/scsi-controller/tape-drive/tape combination I did not try, but I really would like to continue my backups. I really have no idea where the problem really is. Hardware? Software? Please help! Bye, Knarf -- Frank Bartels |UUCP/ZModem/Fax: + 49 89 5469593| "Captain, why not just knarf@camelot.de | http://www.camelot.de/~knarf/ | give the Borg Windows?" From owner-freebsd-scsi Thu Mar 28 07:28:19 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA06809 for freebsd-scsi-outgoing; Thu, 28 Mar 1996 07:28:19 -0800 (PST) Received: from innocence.interface-business.de (innocence.interface-business.de [193.101.57.101]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id HAA06787 for ; Thu, 28 Mar 1996 07:28:04 -0800 (PST) Received: from ida.interface-business.de (ida.interface-business.de [193.101.57.203]) by innocence.interface-business.de (8.6.11/8.6.9) with SMTP id QAA04534 for ; Thu, 28 Mar 1996 16:30:08 +0100 Received: (from j@localhost) by ida.interface-business.de (8.7.3/8.7.3) id QAA13803 for freebsd-scsi@freebsd.org; Thu, 28 Mar 1996 16:28:15 +0100 (MET) From: J Wunsch Message-Id: <199603281528.QAA13803@ida.interface-business.de> Subject: Nakamichi CD changer To: freebsd-scsi@freebsd.org Date: Thu, 28 Mar 1996 16:28:15 +0100 (MET) Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch) X-Phone: +49-351-31809-14 X-Fax: +49-351-3361187 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 X-Loop: FreeBSD.org Precedence: bulk Hi all, Holm Tiffe (holm@geophysik.tu-freiberg.de) asked me for help, but i can't see the problem. His Nakamichi CD changer always jams the SCSI controller when attempting to access multiple disks simultaneously. I've got a full SCSI_DEBUG log of what happens, but it's fairly large. Who could gimme a hint, or would be willing to have a look at the log? -- J"org Wunsch Unix support engineer joerg_wunsch@interface-business.de http://www.interface-business.de/~j From owner-freebsd-scsi Thu Mar 28 08:22:49 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA13325 for freebsd-scsi-outgoing; Thu, 28 Mar 1996 08:22:49 -0800 (PST) Received: from nixpbe.pdb.sni.de (mail.sni.de [192.109.2.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id IAA13279 for ; Thu, 28 Mar 1996 08:22:17 -0800 (PST) Received: (from nerv@localhost) by nixpbe.pdb.sni.de (8.6.12/8.6.12) id RAA12024 for freebsd-scsi@FreeBSD.org; Thu, 28 Mar 1996 17:21:49 +0100 Message-Id: <199603281621.RAA12024@nixpbe.pdb.sni.de> Subject: Re: DAT problems To: knarf@camelot.de (Frank Bartels) Date: Thu, 28 Mar 96 17:18:56 MET From: Greg Lehey Cc: freebsd-scsi@FreeBSD.org In-Reply-To: <4jdsbq$lqj@lancelot.camelot.de>; from "Frank Bartels" at Mar 28, 96 12:15 pm X-Mailer: xmail 2.4 (based on ELM 2.2 PL16) Sender: owner-freebsd-scsi@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > I have big problems to get a HP DAT drive working under FreeBSD > 2.1.0-RELEASE. > > ncr0 rev 2 int a irq 9 on pci0:1 > ncr0 waiting for scsi devices to settle > (ncr0:0:0): "QUANTUM EMPIRE_1080S 1202" type 0 fixed SCSI 2 > sd0(ncr0:0:0): Direct-Access > sd0(ncr0:0:0): FAST SCSI-2 125ns (8 Mb/sec) offset 8. > 1029MB (2109376 512 byte sectors) > sd0(ncr0:0:0): with 2874 cyls, 8 heads, and an average 91 sectors/track > (ncr0:4:0): "TOSHIBA CD-ROM XM-5301TA 0925" type 5 removable SCSI 2 > cd0(ncr0:4:0): CD-ROM > cd0(ncr0:4:0): asynchronous. > cd present.[186827 x 2048 byte records] > (ncr0:6:0): "HP HP35480A 1109" type 1 removable SCSI 2 > st0(ncr0:6:0): Sequential-Access > st0(ncr0:6:0): 200ns (5 Mb/sec) offset 8. > density code 0x13, variable blocks, write-enabled > > Using amanda's amrestore, I can produce the following error: > > st0(ncr0:6:0): COMMAND FAILED (4 88) @f08ea400. > st0(ncr0:6:0): Deferred Error: MEDIUM ERROR asc:9,0 Track following error I've just compared asc 9,0 in an Exabyte manual (I don't have a 34580A manual handy), and it says "tracking error". > After that the machine sometimes crashes a couple of minutes later. > The tape seems to wind forward and then backward and then panics. How long does it do this for? More or less than a minute? > I tried another tape in another SP3G with NCR. > > (ncr0:4:0): "HP HP35470A 9 09" type 1 removable SCSI 2 > > Same error. :/ > > So I bought a new machine: A new computer or a new DAT drive? Judging by the report, I'm assuming a new computer. > ahc0 rev 0 int a irq 11 on pci0:9 > ahc0: aic7870 Ultra Wide Channel, SCSI Id=7, aic7870, 255 SCBs > ahc0 waiting for scsi devices to settle > (ahc0:0:0): "IBM DSAS-3720 S47W" type 0 fixed SCSI 2 > sd0(ahc0:0:0): Direct-Access 696MB (1427328 512 byte sectors) > (ahc0:6:0): "HP HP35480A 1109" type 1 removable SCSI 2 > st0(ahc0:6:0): Sequential-Access density code 0x13, drive empty > > And this is the output from a `tar tv': > > ahc0: target 6, lun 0 (st0) timed out > st0(ahc0:6:0): BUS DEVICE RESET message queued. > ahc0: target 6, lun 0 (st0) timed out > st0(ahc0:6:0): UNIT ATTENTION asc:28,0 > st0(ahc0:6:0): Not ready to ready transition, medium may have changed > ahc0: Issued Channel A Bus Reset #1. 1 SCBs aborted > ahc0: target 6, lun 0 (st0) timed out > st0(ahc0:6:0): BUS DEVICE RESET message queued. > st0(ahc0:6:0): Deferred Error: MEDIUM ERROR asc:9,0 Track following error > sd0(ahc0:0:0): UNIT ATTENTION asc:29,0 > sd0(ahc0:0:0): Power on, reset, or bus device reset occurred, retries:4 > ahc0: target 6, lun 0 (st0) timed out > st0(ahc0:6:0): BUS DEVICE RESET message queued. > ahc0: target 6, lun 0 (st0) timed out > st0(ahc0:6:0): UNIT ATTENTION asc:28,0 > st0(ahc0:6:0): Not ready to ready transition, medium may have changed > ahc0: Issued Channel A Bus Reset #1. 1 SCBs aborted > st0(ahc0:6:0): UNIT ATTENTION asc:29,0 > st0(ahc0:6:0): Power on, reset, or bus device reset occurred > st0(ahc0:6:0): Deferred Error: HARDWARE FAILURE asc:9,0 Track following error field replaceable unit: 1 > > I don't know which machine/scsi-controller/tape-drive/tape combination > I did not try, but I really would like to continue my backups. I really > have no idea where the problem really is. Hardware? Software? There are a couple of things you should check: 1. You don't have a 120m cartridge, do you? The 34580A can't read them (but it should report the fact, and not go into deep meditation mode). 2. Have you cleaned the drive with a cleaning cartridge in the last 25 hours of operation? 3. Does it work with a new cartridge? It looks as if you're trying to read an existing cartridge, and if that's not in good condition, it could cause these problems. If none of these apply, I'd guess that this is very similar to a problem I have had a number of times. I had it on a BSD/OS machine, which doesn't (didn't) report the error in so much detail, but it did cause a panic at least once. In every case, I have had to replace the drive. It seems to be some kind of hardware error, and the best bet is to change the drive. The good news is that all 35480As are still under guarantee, so this shouldn't be too big a problem. Other people: have you had problems like this? In the past two years, I have sent three 35480As and a C1533 back for this kind of symptom. I haven't seen similar problems on other makes, and it's getting on my nerves. I'm estimating that my next failure will be in May or June. I intend to write to HP and ask for an explanation, so any supporting evidence would be useful. > Please help! Hope this helps. Greg From owner-freebsd-scsi Thu Mar 28 08:30:26 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA14437 for freebsd-scsi-outgoing; Thu, 28 Mar 1996 08:30:26 -0800 (PST) Received: from nixpbe.pdb.sni.de (mail.sni.de [192.109.2.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id IAA14400 for ; Thu, 28 Mar 1996 08:30:13 -0800 (PST) Received: (from nerv@localhost) by nixpbe.pdb.sni.de (8.6.12/8.6.12) id RAA12480 for freebsd-scsi@freebsd.org; Thu, 28 Mar 1996 17:29:44 +0100 Message-Id: <199603281629.RAA12480@nixpbe.pdb.sni.de> Subject: Re: Nakamichi CD changer To: joerg_wunsch@interface-business.de Date: Thu, 28 Mar 96 17:26:54 MET From: Greg Lehey Cc: freebsd-scsi@freebsd.org, freebsd-current@freebsd.org In-Reply-To: <199603281528.QAA13803@ida.interface-business.de>; from "J Wunsch" at Mar 28, 96 4:28 pm X-Mailer: xmail 2.4 (based on ELM 2.2 PL16) Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Holm Tiffe (holm@geophysik.tu-freiberg.de) asked me for help, but i > can't see the problem. His Nakamichi CD changer always jams the SCSI > controller when attempting to access multiple disks simultaneously. > > I've got a full SCSI_DEBUG log of what happens, but it's fairly large. > Who could gimme a hint, or would be willing to have a look at the log? You have a Nakamichi, too--doesn't it happen on yours? I've seen similar problems on mine, and I've had to power down the changer to get it to listen to reason. Stick it in the uucp queue, and I'll take a look, though I don't promise to come up with an answer. An allied question (and the reason for including -current in the reply): I find that when I do, say, 'df /usr' as myself (grog), the changer will go through all disks it has loaded before coming back with the correct information. This doesn't happen if I'm root. Any ideas before I go code-digging? Greg From owner-freebsd-scsi Thu Mar 28 08:36:23 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA15391 for freebsd-scsi-outgoing; Thu, 28 Mar 1996 08:36:23 -0800 (PST) Received: from innocence.interface-business.de (innocence.interface-business.de [193.101.57.101]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id IAA15366 for ; Thu, 28 Mar 1996 08:36:14 -0800 (PST) Received: from ida.interface-business.de (ida.interface-business.de [193.101.57.203]) by innocence.interface-business.de (8.6.11/8.6.9) with SMTP id RAA05074 for ; Thu, 28 Mar 1996 17:38:56 +0100 Received: (from j@localhost) by ida.interface-business.de (8.7.3/8.7.3) id RAA14206 for freebsd-scsi@freebsd.org; Thu, 28 Mar 1996 17:37:03 +0100 (MET) From: J Wunsch Message-Id: <199603281637.RAA14206@ida.interface-business.de> Subject: Re: Nakamichi CD changer To: freebsd-scsi@freebsd.org Date: Thu, 28 Mar 1996 17:37:03 +0100 (MET) Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch) In-Reply-To: <199603281629.RAA12462@nixpbe.pdb.sni.de> from "Greg Lehey" at Mar 28, 96 05:26:54 pm X-Phone: +49-351-31809-14 X-Fax: +49-351-3361187 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 X-Loop: FreeBSD.org Precedence: bulk As Greg Lehey wrote: > You have a Nakamichi, too--doesn't it happen on yours? I've seen No, it's not mine. I'll mail you the trace in a separate message. -- J"org Wunsch Unix support engineer joerg_wunsch@interface-business.de http://www.interface-business.de/~j From owner-freebsd-scsi Thu Mar 28 10:35:22 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA25740 for freebsd-scsi-outgoing; Thu, 28 Mar 1996 10:35:22 -0800 (PST) Received: from rich.isdn.bcm.tmc.edu (root@RICH.ISDN.BCM.TMC.EDU [128.249.250.34]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA25733 for ; Thu, 28 Mar 1996 10:35:18 -0800 (PST) Received: from richc.isdn.bcm.tmc.edu (root@richc.isdn.bcm.tmc.edu [128.249.250.37]) by rich.isdn.bcm.tmc.edu (8.6.12/8.6.12) with ESMTP id MAA03139; Thu, 28 Mar 1996 12:35:16 -0600 Received: (rich@localhost) by richc.isdn.bcm.tmc.edu (8.6.12/8.6.12) id MAA00418; Thu, 28 Mar 1996 12:35:16 -0600 Date: Thu, 28 Mar 1996 12:35:16 -0600 Message-Id: <199603281835.MAA00418@richc.isdn.bcm.tmc.edu> From: Rich Murphey To: joerg_wunsch@interface-business.de CC: freebsd-scsi@freebsd.org In-reply-to: <199603281528.QAA13803@ida.interface-business.de> (message from J Wunsch on Thu, 28 Mar 1996 16:28:15 +0100 (MET)) Subject: Re: Nakamichi CD changer Reply-to: rich@lamprey.utmb.edu Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk |From: J Wunsch | |Holm Tiffe (holm@geophysik.tu-freiberg.de) asked me for help, but i |can't see the problem. His Nakamichi CD changer always jams the SCSI |controller when attempting to access multiple disks simultaneously. | |I've got a full SCSI_DEBUG log of what happens, but it's fairly large. |Who could gimme a hint, or would be willing to have a look at the log? I'm willing to loan a Nakamichi CD changer to any core developer interested in looking at this. I'll pay the shipping costs both ways. Rich From owner-freebsd-scsi Thu Mar 28 11:54:50 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA28997 for freebsd-scsi-outgoing; Thu, 28 Mar 1996 11:54:50 -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 LAA28989 for ; Thu, 28 Mar 1996 11:54:30 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id VAA16291; Thu, 28 Mar 1996 21:50:59 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id UAA19516; Thu, 28 Mar 1996 20:50:58 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id UAA25713; Thu, 28 Mar 1996 20:30:48 +0100 (MET) From: J Wunsch Message-Id: <199603281930.UAA25713@uriah.heep.sax.de> Subject: Re: DAT problems To: freebsd-scsi@freebsd.org Date: Thu, 28 Mar 1996 20:30:48 +0100 (MET) Cc: knarf@camelot.de (Frank Bartels) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <4jdsbq$lqj@lancelot.camelot.de> from "Frank Bartels" at Mar 28, 96 12:15:06 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] 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 Frank Bartels wrote: > So I bought a new machine: > > ahc0 rev 0 int a irq 11 on pci0:9 > ahc0: aic7870 Ultra Wide Channel, SCSI Id=7, aic7870, 255 SCBs > ahc0 waiting for scsi devices to settle > (ahc0:0:0): "IBM DSAS-3720 S47W" type 0 fixed SCSI 2 > sd0(ahc0:0:0): Direct-Access 696MB (1427328 512 byte sectors) > (ahc0:6:0): "HP HP35480A 1109" type 1 removable SCSI 2 > st0(ahc0:6:0): Sequential-Access density code 0x13, drive empty This combination works find for me in my machine at work (except that i've got two ahc's, where one does only drive the disks). Looks like poor cabling, mistermination, colliding term power, or something like this. (Just my DM 0.02.) Err, no, my machine doesn't have an ``Ultra''. Dunno whether this makes any difference. -- 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 Thu Mar 28 12:22:11 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA00508 for freebsd-scsi-outgoing; Thu, 28 Mar 1996 12:22:11 -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 MAA00497 for ; Thu, 28 Mar 1996 12:21:56 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id WAA16953; Thu, 28 Mar 1996 22:20:29 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id VAA19896; Thu, 28 Mar 1996 21:20:28 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id VAA26018; Thu, 28 Mar 1996 21:01:02 +0100 (MET) From: J Wunsch Message-Id: <199603282001.VAA26018@uriah.heep.sax.de> Subject: Re: DAT problems To: lehey.pad@sni.de (Greg Lehey) Date: Thu, 28 Mar 1996 21:01:01 +0100 (MET) Cc: knarf@camelot.de, freebsd-scsi@FreeBSD.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199603281621.RAA12024@nixpbe.pdb.sni.de> from "Greg Lehey" at Mar 28, 96 05:18:56 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] 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 Greg Lehey wrote: > 1. You don't have a 120m cartridge, do you? The 34580A can't read > them (but it should report the fact, and not go into deep > meditation mode). The 35480A spits them out again immediately. ``media recognition system'' :-) -- 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 Thu Mar 28 13:02:34 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA04866 for freebsd-scsi-outgoing; Thu, 28 Mar 1996 13:02:34 -0800 (PST) Received: from watson.grauel.com (watson.grauel.com [199.233.104.36]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id NAA04854 for ; Thu, 28 Mar 1996 13:02:30 -0800 (PST) Received: from sparcmill.grauel.com (sparcmill.grauel.com [199.233.104.34]) by watson.grauel.com (8.7.5/8.7.3) with SMTP id QAA06022 for ; Thu, 28 Mar 1996 16:12:11 -0500 (EST) Received: by sparcmill.grauel.com (SMI-8.6/SMI-SVR4) id QAA14902; Thu, 28 Mar 1996 16:02:33 -0500 Date: Thu, 28 Mar 1996 16:02:33 -0500 Message-Id: <199603282102.QAA14902@sparcmill.grauel.com> From: Richard J Kuhns To: freebsd-scsi@freebsd.org Subject: Archive Anaconda Tape drive 1.35GB && Adaptec 1542CF Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Well, based on Jonathan Bresler's report on the Anaconda at the beginning of this month, I decided to try one. The machine is running -stable with the most recent ctm updates (0061, I think), and just finished a "make world" I'd started yesterday. I had no trouble dumping root (about 15MB), altho the tape never seemed to stream, using "dump 0unBbf 1200000 10 /dev/nrst0 /". When I followed up by trying to dump /usr (about 300MB), the tape ran a little longer (it still didn't stream) and then started reporting i/o errors reading the hard drive. I've included the kernel messages in the dmesg output below. I interrupted the dump at this point; after it stopped, there were no more kernel messages and everything seemed fine. Any brilliant suggestions? Fair warning, tho: if I get this tape drive working under the 1542, I'm liable to try it with a Buslogic 946 C next :-). TIA. === FreeBSD 2.1-STABLE #0: Thu Mar 28 13:40:16 EST 1996 root@cohome.grauel.com:/usr/src/sys/compile/COHOME CPU: i486 DX2 (486-class CPU) Origin = "GenuineIntel" Id = 0x436 Stepping=6 Features=0xb real memory = 16777216 (16384K bytes) avail memory = 14876672 (14528K bytes) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x280-0x29f irq 5 maddr 0xd8000 msize 16384 on isa ed0: address 00:00:c0:c5:92:d6, type SMC8216/SMC8216C (16 bit) pca0 on motherboard pca0: PC speaker audio driver cy0 irq 10 maddr 0xd4000 msize 8192 on isa lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface lpt1 not found at 0xffffffff fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in aha0: Rev 45 (AHA-1542CF BIOS v2.01) VE.0, enabling mailbox, enabling residuals aha0: reading board settings, dma=5 int=11 id=7 (bus speed defaulted) aha0 at 0x330-0x333 irq 11 drq 5 on isa aha0 waiting for scsi devices to settle (aha0:0:0): "FUJITSU M2684S-512 2039" type 0 fixed SCSI 2 sd0(aha0:0:0): Direct-Access 507MB (1039329 512 byte sectors) sd0(aha0:0:0): with 2380 cyls, 6 heads, and an average 72 sectors/track (aha0:6:0): "ARCHIVE ANCDA 2750 28077 -003" type 1 removable SCSI 2 st0(aha0:6:0): Sequential-Access density code 0x12, 512-byte blocks, write-enabled npx0 on motherboard npx0: INT 16 interface BIOS Geometries: 0:01fa3f20 0..506=507 cylinders, 0..63=64 heads, 1..32=32 sectors 0 accounted for sd0s1: type 0xa5, start 32, end = 1038335, size 1038304 : OK sd0(aha0:0:0): timed out sd0(aha0:0:0): timed out adapter not taking commands.. frozen?! Debugger("aha1542") called. AGAIN aha0: MBO 02 and not 00 (free) sd0(aha0:0:0): timed out adapter not taking commands.. frozen?! Debugger("aha1542") called. aha0: MBO 02 and not 00 (free) -- Rich Kuhns rjk@grauel.com PO Box 6249 100 Sawmill Road Lafayette, IN 47903 (317)477-6000 x319 From owner-freebsd-scsi Thu Mar 28 13:51:27 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA09928 for freebsd-scsi-outgoing; Thu, 28 Mar 1996 13:51:27 -0800 (PST) Received: from mail.zynet.com (mail.zynet.com [205.219.116.9]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA09921 for ; Thu, 28 Mar 1996 13:51:22 -0800 (PST) Received: from thelair.zynet.com (thelair.zynet.com [205.219.116.2]) by mail.zynet.com (8.6.12/8.6.12) with ESMTP id OAA11537 for ; Thu, 28 Mar 1996 14:50:28 -0700 From: Danny Dulai Received: (from nirva@localhost) by thelair.zynet.com (8.6.11) id OAA03114 for freebsd-scsi@freebsd.org; Thu, 28 Mar 1996 14:51:14 -0700 Message-Id: <199603282151.OAA03114@thelair.zynet.com> Subject: More Nakamichi problems To: freebsd-scsi@freebsd.org Date: Thu, 28 Mar 1996 14:51:14 -0700 (MST) X-Mailer: ELM [version 2.4 PL25] 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 think I have a defective Nakamichi MBR-7 CD changer, but I want to confirm if I'm the only one having this problem. I can't seem to read ANY CDs that are CD-Rs... every other CD works, the CD-Rs just freeze up, the cd changer keeps reading reading. It doesn't work under FreeBSD, but it does in DOS. Anyone else having similar problems? --Nirva From owner-freebsd-scsi Thu Mar 28 14:36:14 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA13444 for freebsd-scsi-outgoing; Thu, 28 Mar 1996 14:36:14 -0800 (PST) Received: from newton.Space.net (root@newton.space.net [194.59.182.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA13403 for ; Thu, 28 Mar 1996 14:36:06 -0800 (PST) Received: from nasim.camelot.de ([194.97.87.2]) by newton.Space.NET with SMTP id <82435-2>; Thu, 28 Mar 1996 23:35:20 +0100 Received: from lancelot.camelot.de by nasim.camelot.de with smtp (Smail3.1.29.0 #1) id m0u2QHl-000JnGC; Thu, 28 Mar 96 23:35 MET Received: (from news@localhost) by lancelot.camelot.de (8.6.12/8.6.12) id XAA26747; Thu, 28 Mar 1996 23:35:17 +0100 To: freebsd-scsi@freebsd.org Path: not-for-mail From: knarf@camelot.de (Frank Bartels) Newsgroups: muc.lists.freebsd.scsi Subject: Re: DAT problems Date: Thu, 28 Mar 1996 23:35:16 +0100 Organization: Camelot Online Services Lines: 16 Message-ID: <4jf474$pl4@lancelot.camelot.de> References: <4jdsbq$lqj@lancelot.camelot.de> <199603281930.UAA25713@uriah.heep.sax.de> NNTP-Posting-Host: lancelot.camelot.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [UNIX 1.3 950726BETA PL0] Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk J Wunsch (j@uriah.heep.sax.de) wrote: > As Frank Bartels wrote: > Looks like poor cabling, mistermination, colliding term power, or > something like this. (Just my DM 0.02.) Don't think so. I tried the DAT in four different machines, which all work fine with their SCSI devices if the tape is not present. The tape has no terminators set and the TERMPWR jumper is also not set - so I always added the DAT in the middle of the scsi chain. Bye, Knarf -- Frank Bartels |UUCP/ZModem/Fax: + 49 89 5469593| "Captain, why not just knarf@camelot.de | http://www.camelot.de/~knarf/ | give the Borg Windows?" From owner-freebsd-scsi Thu Mar 28 17:28:24 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA25542 for freebsd-scsi-outgoing; Thu, 28 Mar 1996 17:28:24 -0800 (PST) Received: (from jmb@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA25534 Thu, 28 Mar 1996 17:28:17 -0800 (PST) From: "Jonathan M. Bresler" Message-Id: <199603290128.RAA25534@freefall.freebsd.org> Subject: Re: Archive Anaconda Tape drive 1.35GB && Adaptec 1542CF To: rjk@sparcmill.grauel.com (Richard J Kuhns) Date: Thu, 28 Mar 1996 17:28:16 -0800 (PST) Cc: freebsd-scsi@FreeBSD.ORG In-Reply-To: <199603282102.QAA14902@sparcmill.grauel.com> from "Richard J Kuhns" at Mar 28, 96 04:02:33 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Richard J Kuhns wrote: > > Well, based on Jonathan Bresler's report on the Anaconda at the beginning > of this month, I decided to try one. guess that i should respond here ;) > > The machine is running -stable with the most recent ctm updates (0061, I > think), and just finished a "make world" I'd started yesterday. > > I had no trouble dumping root (about 15MB), altho the tape never seemed to > stream, using "dump 0unBbf 1200000 10 /dev/nrst0 /". "/" is the mounted filesystem. examining hte code to 'dump' shows that it translatees the filesystem to the raw device. so i guess that's not the problem ... do you have "SCSI_DELAY=15" in your kernel? > When I followed up by trying to dump /usr (about 300MB), the tape ran a > little longer (it still didn't stream) and then started reporting i/o > errors reading the hard drive. I've included the kernel messages in the > dmesg output below. I interrupted the dump at this point; after it > stopped, there were no more kernel messages and everything seemed fine. > > Any brilliant suggestions? Fair warning, tho: if I get this tape drive > working under the 1542, I'm liable to try it with a Buslogic 946 C next > :-). arghhhhhhh..... > (aha0:6:0): "ARCHIVE ANCDA 2750 28077 -003" type 1 removable SCSI 2 same string as mine. this is good! regarding the timeouts, this is a problme for my ncr card during rewind, not while reading or writing the tape. i just tested the drive with a scsi drive on the same controller no problems here. nearly all of my testing and use has been with the drives on one ncr810 and the tape on the other ncr810 (the tape shares a scsi chain wiht the cdrom and the /usr/obj /usr/src partitions that i can recreate from cvs so i dont back them up general) From owner-freebsd-scsi Fri Mar 29 00:51:29 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA25464 for freebsd-scsi-outgoing; Fri, 29 Mar 1996 00:51:29 -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 AAA25442 for ; Fri, 29 Mar 1996 00:51:23 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA02707; Fri, 29 Mar 1996 09:50:45 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id JAA26101; Fri, 29 Mar 1996 09:50:44 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id JAA29451; Fri, 29 Mar 1996 09:38:51 +0100 (MET) From: J Wunsch Message-Id: <199603290838.JAA29451@uriah.heep.sax.de> Subject: Re: SCSI refresh To: freebsd-scsi@freebsd.org Date: Fri, 29 Mar 1996 09:38:51 +0100 (MET) Cc: khetan@chain.iafrica.com (Khetan Gajjar) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Khetan Gajjar" at Mar 24, 96 05:43:34 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] 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 Khetan Gajjar wrote: > > Of course -- but all you need is *just one* device on the SCSI bus. > > The -r option will reprobe the entire bus then. That's why i gave you > > /dev/rsd0.ctl as an example. > > Unfortunately, CD-ROM is *only* device on scsi bus :( Peter Dufault was thinking about a /dev/superscsi or something like this some time ago, but apparently, it has never made its way into the code. Well, perhaps we should also create device nodes for the SCSI busses (/dev/scsi0, /dev/scsi1)? All they can be used for are some basic ioctl's. Peter? Julian? -- 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 Fri Mar 29 01:22:24 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA26931 for freebsd-scsi-outgoing; Fri, 29 Mar 1996 01:22:24 -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 BAA26919 for ; Fri, 29 Mar 1996 01:22:15 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id KAA05188; Fri, 29 Mar 1996 10:21:21 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id KAA26242; Fri, 29 Mar 1996 10:21:20 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id KAA29758; Fri, 29 Mar 1996 10:01:28 +0100 (MET) From: J Wunsch Message-Id: <199603290901.KAA29758@uriah.heep.sax.de> Subject: Re: More Nakamichi problems To: freebsd-scsi@freebsd.org Date: Fri, 29 Mar 1996 10:01:27 +0100 (MET) Cc: nirva@mail.zynet.com (Danny Dulai), holm@geophysik.tu-freiberg.de (Holm Tiffe) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199603282151.OAA03114@thelair.zynet.com> from "Danny Dulai" at Mar 28, 96 02:51:14 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] 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 Danny Dulai wrote: > I think I have a defective Nakamichi MBR-7 CD changer, but I > want to confirm if I'm the only one having this problem. > > I can't seem to read ANY CDs that are CD-Rs... every other > CD works, the CD-Rs just freeze up, the cd changer keeps > reading reading. It doesn't work under FreeBSD, but it does > in DOS. > > Anyone else having similar problems? Holm, can you say anything about this? (You should really subscribe to this list, anyway.) -- 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 Fri Mar 29 03:09:15 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA05163 for freebsd-scsi-outgoing; Fri, 29 Mar 1996 03:09:15 -0800 (PST) Received: from hda.com ([199.232.245.30]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA05156 for ; Fri, 29 Mar 1996 03:09:10 -0800 (PST) Received: (from dufault@localhost) by hda.com (8.6.11/8.6.9) id FAA07880; Fri, 29 Mar 1996 05:59:13 -0500 From: Peter Dufault Message-Id: <199603291059.FAA07880@hda.com> Subject: Re: SCSI refresh To: joerg_wunsch@uriah.heep.sax.de Date: Fri, 29 Mar 1996 05:59:12 -0500 (EST) Cc: freebsd-scsi@freebsd.org, khetan@chain.iafrica.com In-Reply-To: <199603290838.JAA29451@uriah.heep.sax.de> from "J Wunsch" at Mar 29, 96 09:38:51 am Reply-to: hdalog@zipnet.net X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > As Khetan Gajjar wrote: > > > > Of course -- but all you need is *just one* device on the SCSI bus. > > > The -r option will reprobe the entire bus then. That's why i gave you > > > /dev/rsd0.ctl as an example. > > > > Unfortunately, CD-ROM is *only* device on scsi bus :( > > Peter Dufault was thinking about a /dev/superscsi or something like > this some time ago, but apparently, it has never made its way into the > code. It is in the code (character major 49) but doesn't work properly when there aren't any SCSI devices at all - I recently tested that. -- Temporarily via "hdalog@zipnet.net"... Peter Dufault Real-Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267 From owner-freebsd-scsi Sat Mar 30 10:16:15 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA22951 for freebsd-scsi-outgoing; Sat, 30 Mar 1996 10:16:15 -0800 (PST) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA22937 for ; Sat, 30 Mar 1996 10:16:08 -0800 (PST) Received: from allegro.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0u35Bz-000QYDC; Sat, 30 Mar 96 19:16 MET From: grog@lemis.de (Greg Lehey) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Received: (grog@localhost) by allegro.lemis.de (8.6.9/8.6.9) id SAA10980; Sat, 30 Mar 1996 18:54:04 +0100 Message-Id: <199603301754.SAA10980@allegro.lemis.de> Subject: Re: More Nakamichi problems To: joerg_wunsch@uriah.heep.sax.de Date: Sat, 30 Mar 1996 18:54:03 +0100 (MET) Cc: freebsd-scsi@FreeBSD.ORG, nirva@mail.zynet.com, holm@geophysik.tu-freiberg.de, current@allegro.lemis.de In-Reply-To: <199603290901.KAA29758@uriah.heep.sax.de> from "J Wunsch" at Mar 29, 96 10:01:27 am 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 X-Loop: FreeBSD.org Precedence: bulk J Wunsch writes: > > As Danny Dulai wrote: > >> I think I have a defective Nakamichi MBR-7 CD changer, but I >> want to confirm if I'm the only one having this problem. >> >> I can't seem to read ANY CDs that are CD-Rs... every other >> CD works, the CD-Rs just freeze up, the cd changer keeps >> reading reading. It doesn't work under FreeBSD, but it does >> in DOS. >> >> Anyone else having similar problems? > > Holm, can you say anything about this? (You should really subscribe > to this list, anyway.) Well, I now have a Nakamichi as well, and I don't have *that* particular problem. I find it quite easy to panic the machine with concurrent access to the machine (as simple as trying to mount all the disks sequentially; something in the background wants to go and check the other disks). They symptoms are a bus hang for several seconds, followed by a panic: panic: vref used where vget required During symbol reading, debug info mismatch between compiler and debugger. #0 boot (howto=256) at ../../i386/i386/machdep.c:942 942 dumppcb.pcb_ptd = rcr3(); (kgdb) bt #0 boot (howto=256) at ../../i386/i386/machdep.c:942 #1 0xf0119ac7 in panic (fmt=0xf0131f2e "vref used where vget required") at ../../kern/subr_prf.c:133 #2 0xf0131f62 in vref (vp=0xf0cead80) at ../../kern/vfs_subr.c:815 #3 0xf010476d in iso_iget (xp=0xefbffdc4, ino=73728, relocated=1, ipp=0xefbffd50, isodir=0xf0d60344) at ../../isofs/cd9660/cd9660_node.c:238 #4 0xf01066e9 in cd9660_root (mp=0xf0d60600, vpp=0xefbffe70) at ../../isofs/cd9660/cd9660_vfsops.c:497 #5 0xf0130bec in lookup (ndp=0xefbfff00) at ../../kern/vfs_lookup.c:475 #6 0xf01305c0 in namei (ndp=0xefbfff00) at ../../kern/vfs_lookup.c:149 #7 0xf013340d in statfs (p=0xf0d68700, uap=0xefbfff94, retval=0xefbfff84) at ../../kern/vfs_syscalls.c:418 #8 0xf01bb46d in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 53504, tf_esi = -272640788, tf_ebp = -272640956, tf_isp = -272629788, tf_ebx = -272640908, tf_edx = 10, tf_ecx = 61, tf_eax = 157, tf_trapno = 0, tf_err = 7, tf_eip = 12333, tf_cs = 31, tf_eflags = 642, tf_esp = -272641240, tf_ss = 39}) at ../../i386/i386/trap.c:904 #9 0xf01b2f95 in Xsyscall () #10 0x1866 in ?? () #11 0x165d in ?? () #12 0x14ee in ?? () #13 0x1066 in ?? () Looking down the stack, the vnode is either bogus or overwritten: (kgdb) f2 #2 0xf0131f62 in vref (vp=0xf0cead80) at ../../kern/vfs_subr.c:815 815 panic("vref used where vget required"); esp: 0xefbffcac (9 words on stack) ebp: 0xefbffce0 eip: 0xf0131f62 : nop Saved ebp: 0xefbffd1c (maximum of 11 parameters possible) Saved eip: 0xf010476d : addl $0x8,%esp Parm 1 at 0xefbffce8: 0xf0cead80 "" Parm 2 at 0xefbffcec: 0xf0d4f800 "Ü~\037ðÜ~\037ð" Parm 3 at 0xefbffcf0: 0xf0d60200 "" Parm 4 at 0xefbffcf4: 0xf0d60344 "D" (kgdb) f 2 #2 0xf0131f62 in vref (vp=0xf0cead80) at ../../kern/vfs_subr.c:815 815 panic("vref used where vget required"); (kgdb) l 810 vref(vp) 811 struct vnode *vp; 812 { 813 814 if (vp->v_usecount <= 0) 815 panic("vref used where vget required"); 816 vp->v_usecount++; 817 } 818 819 /* (kgdb) p *vp $1 = { v_flag = 74581447, v_usecount = 305397760, v_writecount = 1793427797, v_holdcnt = -661873406, v_lastr = -393289586, v_id = 294275, v_mount = 0x7d833874, v_op = 0x1740018, v_freelist = { tqe_next = 0x1c5d8bf4, tqe_prev = 0xf883038b }, v_mntvnodes = { le_next = 0xb8077401, le_prev = 0x1 }, v_cleanblkhd = { lh_first = 0x738bc3c9 }, v_dirtyblkhd = { lh_first = 0xfe8304 }, v_numoutput = 12130420, v_type = -1929379836, v_un = { vu_mountedhere = 0x1e30203d, vu_socket = 0x1e30203d, vu_specinfo = 0x1e30203d, vu_fifoinfo = 0x1e30203d }, v_lease = 0x2f3e8000, v_lastw = 130418036, v_cstart = -62306513, v_lasta = 213492979, v_clen = -150994944, v_ralen = 2117, v_usage = 57966592, v_maxra = -1993323637, v_object = 0x1024bfde, v_tag = -108855266, v_data = 0xb9057648 } (kgdb) x/10 0x1c5d8bf4 0x1c5d8bf4: Cannot access memory at address 0x1c5d8bf4. I'm currently tossing up between analyzing the dump further and using this as a test case for testing my ddb extensions (conditional memory access breakpoints); don't expect me to do either for a while. Greg From owner-freebsd-scsi Sat Mar 30 15:25:05 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA21440 for freebsd-scsi-outgoing; Sat, 30 Mar 1996 15:25:05 -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 PAA21406 Sat, 30 Mar 1996 15:24:55 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id AAA26564; Sun, 31 Mar 1996 00:24:50 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id AAA15360; Sun, 31 Mar 1996 00:24:49 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id XAA04670; Sat, 30 Mar 1996 23:13:52 +0100 (MET) From: J Wunsch Message-Id: <199603302213.XAA04670@uriah.heep.sax.de> Subject: Re: Archive Anaconda Tape drive 1.35GB && Adaptec 1542CF To: freebsd-scsi@freebsd.org Date: Sat, 30 Mar 1996 23:13:51 +0100 (MET) Cc: rjk@sparcmill.grauel.com, jmb@freefall.freebsd.org (Jonathan M. Bresler) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199603290128.RAA25534@freefall.freebsd.org> from "Jonathan M. Bresler" at Mar 28, 96 05:28:16 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] 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 Jonathan M. Bresler wrote: > do you have "SCSI_DELAY=15" in your kernel? This is for the device probing at boot time only. -- 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 Sat Mar 30 16:06:46 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA24658 for freebsd-scsi-outgoing; Sat, 30 Mar 1996 16:06:46 -0800 (PST) Received: from neon.Glock.COM (neon.glock.com [198.82.228.159]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id QAA24647 Sat, 30 Mar 1996 16:06:35 -0800 (PST) Received: (from mmead@localhost) by neon.Glock.COM (8.7.5/8.7.3) id TAA10346; Sat, 30 Mar 1996 19:06:20 -0500 (EST) From: "matthew c. mead" Message-Id: <199603310006.TAA10346@neon.Glock.COM> Subject: Re: Archive Anaconda Tape drive 1.35GB && Adaptec 1542CF To: joerg_wunsch@uriah.heep.sax.de Date: Sat, 30 Mar 1996 19:06:20 -0500 (EST) Cc: freebsd-scsi@freebsd.org, rjk@sparcmill.grauel.com, jmb@freefall.freebsd.org In-Reply-To: <199603302213.XAA04670@uriah.heep.sax.de> from "J Wunsch" at Mar 30, 96 11:13:51 pm X-Mailer: ELM [version 2.4 PL24 ME8a] 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 J Wunsch writes: > As Jonathan M. Bresler wrote: > > do you have "SCSI_DELAY=15" in your kernel? > This is for the device probing at boot time only. Hmm. I have one of these drives I got for $169 coming in the next week or so. I will report any troubles/successes I have with -current to this group. -matt -- Matthew C. Mead mmead@Glock.COM http://www.Glock.COM/~mmead/ From owner-freebsd-scsi Sat Mar 30 23:04:30 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA04517 for freebsd-scsi-outgoing; Sat, 30 Mar 1996 23:04:30 -0800 (PST) Received: from hcshh.hcs.de (hcshh.hcs.de [194.49.17.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id XAA04483 for ; Sat, 30 Mar 1996 23:04:18 -0800 (PST) Received: from hcswork.hcs.de by hcshh.hcs.de with smtp (Smail3.1.28.1 #9) id m0u3HBE-000TLzC; Sun, 31 Mar 96 09:04 METDST Received: by hcswork.hcs.de (Smail3.1.28.1 #9) id m0u3HBD-000UNOC; Sun, 31 Mar 96 09:04 METDST Message-Id: From: hm@hcs.de (Hellmuth Michaelis) Subject: Re: More Nakamichi problems To: freebsd-scsi@freebsd.org Date: Sun, 31 Mar 1996 09:04:03 +0200 (METDST) In-Reply-To: <199603301754.SAA10980@allegro.lemis.de> from "Greg Lehey" at Mar 30, 96 06:54:03 pm Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >From the keyboard of Greg Lehey: > Well, I now have a Nakamichi as well, and I don't have *that* > particular problem. I find it quite easy to panic the machine with > concurrent access to the machine (as simple as trying to mount all the > disks sequentially; Hey, might it be possible that the problem is with the SCSI adaptor (or are you using -current ?) ? I'm using a Nakamichi with an Adaptec 1742 under 2.1 RELEASE and have no problem with it. hellmuth -- Hellmuth Michaelis HCS Hanseatischer Computerservice GmbH Hamburg, Europe "If you can read usenet you can read the FM" (nigel@theplanet.net)