From owner-freebsd-scsi Sun Aug 4 11:08:57 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA16631 for freebsd-scsi-outgoing; Sun, 4 Aug 1996 11:08:57 -0700 (PDT) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA16621; Sun, 4 Aug 1996 11:08:52 -0700 (PDT) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id LAA06584; Sun, 4 Aug 1996 11:08:50 -0700 From: "Rodney W. Grimes" Message-Id: <199608041808.LAA06584@GndRsh.aac.dev.com> Subject: Re: scsi-diffs.960802.gz now availible To: gibbs@freefall.freebsd.org (Justin T. Gibbs) Date: Sun, 4 Aug 1996 11:08:50 -0700 (PDT) Cc: scsi@freefall.freebsd.org In-Reply-To: <199608021636.JAA15546@freefall.freebsd.org> from "Justin T. Gibbs" at "Aug 2, 96 09:36:14 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 > I've put an updated copy of my scsi diffs in Freefall's incoming > directory. These split out the scsi_queue stuff into a separate > file and pulls some of the crud in scsiconf.h into separate headers > too. The includes are still a mess, but this should make it easier > for people to review the new queue management code since its all in > one place now. > > I also added Jason Thorpe's chio program. A kernel with the ncr driver in it will not compile, probably a missing header file (haven't tracked it down yet, just nuked the ncr driver out of my kernel config). Something to do with a parse error on scsi_queue at line 1206 of ncr.c. I should be up and running on a 2940U any minute now... anything special you want tested? [First thing I am going to run is a make world, that should be done in about 2 hours...] -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD From owner-freebsd-scsi Sun Aug 4 13:34:17 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA22241 for freebsd-scsi-outgoing; Sun, 4 Aug 1996 13:34:17 -0700 (PDT) Received: from freefall.freebsd.org (localhost.cdrom.com [127.0.0.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA22230; Sun, 4 Aug 1996 13:34:13 -0700 (PDT) Message-Id: <199608042034.NAA22230@freefall.freebsd.org> To: "Rodney W. Grimes" cc: scsi@freefall.freebsd.org Subject: Re: scsi-diffs.960802.gz now availible In-reply-to: Your message of "Sun, 04 Aug 1996 11:08:50 PDT." <199608041808.LAA06584@GndRsh.aac.dev.com> Date: Sun, 04 Aug 1996 13:34:12 -0700 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> I've put an updated copy of my scsi diffs in Freefall's incoming >> directory. These split out the scsi_queue stuff into a separate >> file and pulls some of the crud in scsiconf.h into separate headers >> too. The includes are still a mess, but this should make it easier >> for people to review the new queue management code since its all in >> one place now. >> >> I also added Jason Thorpe's chio program. > >A kernel with the ncr driver in it will not compile, probably a missing >header file (haven't tracked it down yet, just nuked the ncr driver >out of my kernel config). Something to do with a parse error on scsi_queue >at line 1206 of ncr.c. I know. Once I decided to leave the queue work to Stephan, I killed it from the LINT file I used to test that all the drivers compiled correctly. The diffs are only in there to give Stephan an idea of what's needed. >I should be up and running on a 2940U any minute now... anything special >you want tested? [First thing I am going to run is a make world, that >should be done in about 2 hours...] I don't have any particular test cases in mind. I'm mostly interested in knowing if I've created any strange I/O behavior with the new round-robin scheme (especially with multiple targets active). It would also be nice to know if its faster or slower than the old code. As an aside, I'd like to find "owners" for all of the controller and type drivers. I'd like to complete a comprehensive review of the entire SCSI system before 2.2R ships, and we'll have to split up the work in order to make this an achievable goal. Even if we simply create a list of who has the documentation for which cards, that would be a start. >-- >Rod Grimes rgrimes@gndrsh.aac.dev.com >Accurate Automation Company Reliable computers for FreeBSD -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations =========================================== From owner-freebsd-scsi Sun Aug 4 14:35:21 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA25381 for freebsd-scsi-outgoing; Sun, 4 Aug 1996 14:35:21 -0700 (PDT) Received: (from grog@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA25369; Sun, 4 Aug 1996 14:35:18 -0700 (PDT) From: Greg Lehey Message-Id: <199608042135.OAA25369@freefall.freebsd.org> Subject: Re: 8 * 0xFF bytes at intermittent multiples of 0x1000 To: peter@taronga.com (Peter da Silva) Date: Sun, 4 Aug 1996 14:35:17 -0700 (PDT) Cc: scsi In-Reply-To: <199608040037.TAA22365@bonkers.taronga.com> from "Peter da Silva" at Aug 3, 96 07:37:48 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I've been having weird problems with a variety of tape drives on the 1542B. > I haven't been able to reliably get any tape to work. *sigh* I had a > disk dedicated to swap on it at one point, but was having too many > problems with it so I gave that up. > > I'm currently running 2.0.5R, and will be upgrading to 2.1.5R when it > comes out on CD. If anyone has things they'd like me to try let me know. I'm currently running 2.1.5R on a friend's box here (the one I put together out of spare parts), and he was thinking of buying an Archive Anaconda. Recalling that you were having problems with this combination, I'd be interested in hearing more. BTW, it seems that at least some of the problems I reported earlier were due to a really bad VLB motherboard, which seem to indicate that it has serious DMA problems. I haven't checked the 1542A, which is still in Germany, but it made a big difference with the 1542B. Greg From owner-freebsd-scsi Mon Aug 5 01:13:58 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA00454 for freebsd-scsi-outgoing; Mon, 5 Aug 1996 01:13:58 -0700 (PDT) Received: from ki1.chemie.fu-berlin.de (ki1.Chemie.FU-Berlin.DE [160.45.24.21]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA00447 for ; Mon, 5 Aug 1996 01:13:49 -0700 (PDT) Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1) from mail.hanse.de (193.174.9.9) with smtp id ; Mon, 5 Aug 96 10:13 MEST Received: from wavehh.UUCP by mail.hanse.de with UUCP for freebsd-scsi@freebsd.org id ; Mon, 5 Aug 96 10:13 MET DST Received: by wavehh.hanse.de (4.1/SMI-4.1) id AA10369; Mon, 5 Aug 96 09:57:20 +0200 From: cracauer@wavehh.hanse.de (Martin Cracauer) Message-Id: <9608050757.AA10369@wavehh.hanse.de> Subject: Can I write Audio CDs? To: freebsd-scsi@freebsd.org Date: Mon, 5 Aug 1996 09:57:19 +0200 (MET DST) Reply-To: cracauer@wavehh.hanse.de X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk The subject says it all: Can I write Audio CDs using FreeBSD? I want to make new collections of songs, so I need some software to build and image from different audio tracks. Thanks for any help Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.bik-gmbh.de/~cracauer Fax +49 40 522 85 36 From owner-freebsd-scsi Mon Aug 5 11:43:45 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA10413 for freebsd-scsi-outgoing; Mon, 5 Aug 1996 11:43:45 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA10403 for ; Mon, 5 Aug 1996 11:43:39 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id UAA00509; Mon, 5 Aug 1996 20:43:35 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id UAA29696; Mon, 5 Aug 1996 20:43:34 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id TAA05212; Mon, 5 Aug 1996 19:08:36 +0200 (MET DST) From: J Wunsch Message-Id: <199608051708.TAA05212@uriah.heep.sax.de> Subject: Re: Can I write Audio CDs? To: freebsd-scsi@freebsd.org Date: Mon, 5 Aug 1996 19:08:36 +0200 (MET DST) Cc: cracauer@wavehh.hanse.de Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <9608050757.AA10369@wavehh.hanse.de> from Martin Cracauer at "Aug 5, 96 09:57:19 am" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Martin Cracauer wrote: > The subject says it all: Can I write Audio CDs using FreeBSD? In theory: yes. > I want to make new collections of songs, so I need some software to > build and image from different audio tracks. You don't need to build an `image', all you need is the raw audio data, 44 kHz sample rate, two-channel, 16-bit. One file per track. (Big-endian encoded, i think.) Alas, i have heard from those folks using an HP 4020i, that they're getting a ``Command sequence error'' with the current worm driver when writing audio tracks. I have no experiences myself with the Plasmon driver either, i wanna read CD-DA's first. The HP problem can only be solved by somebody with a 4020i, by comparing the commands issued step by step with their SCSI reference docs. Sorry, i don't have the HP ref. To the best of my knowledge, the sequence for the Plasmon should be in accordance with the Plasmon ref. -- 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 Aug 7 14:42:56 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA10962 for freebsd-scsi-outgoing; Wed, 7 Aug 1996 14:42:56 -0700 (PDT) Received: from rs1.rrz.Uni-Koeln.DE (rs1.rrz.Uni-Koeln.DE [134.95.100.208]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA10942 for ; Wed, 7 Aug 1996 14:42:28 -0700 (PDT) Received: from pc1.scs-koeln.de ([134.95.30.183]) by rs1.rrz.Uni-Koeln.DE with SMTP id AA33006 (5.67b/IDA-1.5 for ); Wed, 7 Aug 1996 23:41:55 +0200 Message-Id: <1.5.4.32.19960807214049.00693efc@mail.rrz.uni-koeln.de> X-Sender: afr04@mail.rrz.uni-koeln.de X-Mailer: Windows Eudora Light Version 1.5.4 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 07 Aug 1996 23:40:49 +0200 To: freebsd-scsi@freebsd.org From: Ralf Luettgen Subject: SCSI-Command to stop devices. Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello. Is there anyone who have knowings about the SCSI-command to stop a harddisc? I'm using an Adaptec 2940. On my EZSCSI CD I found a programm called SCSI-Explorer for Windows 95. By using this you can configure a period before a harddisc is powered down. This is for power management. My server runs 24 hours a day and 365 days a year so I'm interested to power down my discs during the time where nobody on my machine. Thank's Ralf From owner-freebsd-scsi Thu Aug 8 00:58:21 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA19502 for freebsd-scsi-outgoing; Thu, 8 Aug 1996 00:58:21 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA19372 for ; Thu, 8 Aug 1996 00:57:08 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA10749; Thu, 8 Aug 1996 09:56:54 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA22387; Thu, 8 Aug 1996 09:56:54 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id JAA00292; Thu, 8 Aug 1996 09:36:30 +0200 (MET DST) From: J Wunsch Message-Id: <199608080736.JAA00292@uriah.heep.sax.de> Subject: Re: SCSI-Command to stop devices. To: freebsd-scsi@freebsd.org Date: Thu, 8 Aug 1996 09:36:29 +0200 (MET DST) Cc: afr04@rs1.rrz.Uni-Koeln.DE (Ralf Luettgen) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <1.5.4.32.19960807214049.00693efc@mail.rrz.uni-koeln.de> from Ralf Luettgen at "Aug 7, 96 11:40:49 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Ralf Luettgen wrote: > Is there anyone who have knowings about the SCSI-command to stop a harddisc? scsi -s 30 -f /dev/rsd1.ctl -c "1b 0 0 0 0:b7 v:b1 0" ${start} with ${start} = 1 to start it, or = 0 to stop it. However, do ONLY apply this to a drive where all filesystems are unmounted. Currently, the kernel does not anticipate the drive not being ready except at open() time. -- 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 Aug 8 01:44:10 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA22571 for freebsd-scsi-outgoing; Thu, 8 Aug 1996 01:44:10 -0700 (PDT) Received: from freefall.freebsd.org (localhost.cdrom.com [127.0.0.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA22561 for ; Thu, 8 Aug 1996 01:44:07 -0700 (PDT) Message-Id: <199608080844.BAA22561@freefall.freebsd.org> To: scsi Subject: scsi-diffs.960808.gz uploaded Date: Thu, 08 Aug 1996 01:44:07 -0700 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I found the bug that was causing the hangs I was seeing on my system. The problem was that the "waiting" field for the scsi_link structure was only a u_int8_t and was easily overflowed making the scsi system believe it had no more work to do. It's now a u_int32_t. I also cleaned up a few things here and there, fixed some bugs in the scsi_clean_queue code, and brought in some patches from Stefan to make the NCR driver compile (don't expect it to work yet though). Please let me know how these work out. -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations =========================================== From owner-freebsd-scsi Thu Aug 8 14:42:43 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA15592 for freebsd-scsi-outgoing; Thu, 8 Aug 1996 14:42:43 -0700 (PDT) Received: from inga.augusta.de (root@inga.augusta.de [193.175.23.65]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA15571 for ; Thu, 8 Aug 1996 14:42:38 -0700 (PDT) Received: from rabbit by inga.augusta.de with uucp (Smail3.1.29.1 #1) id m0uocox-004jzOC; Thu, 8 Aug 96 23:40 MET DST Received: by rabbit.augusta.de (Smail3.1.29.1 #1) id m0uoTin-000AGqC; Thu, 8 Aug 96 13:57 MET DST Message-Id: Date: Thu, 8 Aug 96 13:57 MET DST X-Newsreader: knews 0.9.6 Organization: Privat Site running FreeBSD References: <1.5.4.32.19960807214049.00693efc@mail.rrz.uni-koeln.de> From: shanee@rabbit.augusta.de (Andreas Kohout) Subject: Re: SCSI-Command to stop devices. X-Original-Newsgroups: muc.lists.freebsd.scsi In-Reply-To: <1.5.4.32.19960807214049.00693efc@mail.rrz.uni-koeln.de> To: scsi@freebsd.org Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article <1.5.4.32.19960807214049.00693efc@mail.rrz.uni-koeln.de>, afr04@rs1.rrz.Uni-Koeln.DE (Ralf Luettgen) writes: > Is there anyone who have knowings about the SCSI-command to stop a > harddisc? I asked the same question an get help from Joerg? anyway ... I use this shell-script to shutdown my second SCSI-Disk: #!/bin/sh scsi -s 20 -f /dev/rsd0.ctl -c "1b 0 0 0 0:b6 0:b1 v:b1 0" 0 touch /tmp/DOS-down and this one to spin it up: #!/bin/sh scsi -s 20 -f /dev/rsd0.ctl -c "1b 0 0 0 0:b6 0:b1 v:b1 0" 1 rm /tmp/DOS-down -- Greeting, Andy running FreeBSD-current --------------------------------------------------------------------------- From owner-freebsd-scsi Thu Aug 8 15:16:27 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA19846 for freebsd-scsi-outgoing; Thu, 8 Aug 1996 15:16:27 -0700 (PDT) Received: from linux4nn.gn.iaf.nl (root@linux4nn.gn.iaf.nl [193.67.144.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA19837 for ; Thu, 8 Aug 1996 15:16:23 -0700 (PDT) Received: from uni4nn.iaf.nl (root@uni4nn.iaf.nl [193.67.144.33]) by linux4nn.gn.iaf.nl (8.6.9/8.6.9) with SMTP id AAA17648; Fri, 9 Aug 1996 00:18:51 +0200 Received: by uni4nn.iaf.nl with UUCP id AA11035 (5.67b/IDA-1.5); Fri, 9 Aug 1996 00:18:24 +0200 Received: by iafnl.es.iaf.nl with UUCP id AA20170 (5.67b/IDA-1.5); Thu, 8 Aug 1996 23:17:52 +0200 Received: (from wilko@localhost) by yedi.iaf.nl (8.6.12/8.6.6) id TAA00628; Thu, 8 Aug 1996 19:15:44 +0200 From: Wilko Bulte Message-Id: <199608081715.TAA00628@yedi.iaf.nl> X-Organisation: Private FreeBSD site - Arnhem - The Netherlands Subject: Re: SCSI-Command to stop devices. To: afr04@rs1.rrz.Uni-Koeln.DE (Ralf Luettgen) Date: Thu, 8 Aug 1996 19:15:44 +0200 (MET DST) Cc: freebsd-scsi@freebsd.org In-Reply-To: <1.5.4.32.19960807214049.00693efc@mail.rrz.uni-koeln.de> from "Ralf Luettgen" at Aug 7, 96 11:40:49 pm X-Mailer: ELM [version 2.4 PL23] 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 Ralf Luettgen wrote... > > Hello. > > Is there anyone who have knowings about the SCSI-command to stop a harddisc? See the SCSI standard under 'START/STOP UNIT' > This is for > power management. My server runs 24 hours a day and 365 days a year so I'm > interested to power down > my discs during the time where nobody on my machine. Beware of sync.... Wilko _ ____________________________________________________________________ | / o / / _ Wilko Bulte email: wilko@yedi.iaf.nl |/|/ / / /( (_) Private FreeBSD site - Arnhem - The Netherlands --------------------------------------------------------------------------