From owner-freebsd-scsi Sun Oct 1 3:14:53 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id D915637B503; Sun, 1 Oct 2000 03:14:44 -0700 (PDT) Received: from [212.238.54.101] (helo=freebie.demon.nl) by post.mail.nl.demon.net with smtp (Exim 3.14 #2) id 13fg8o-0007ig-00; Sun, 01 Oct 2000 10:14:43 +0000 Received: (from wkb@localhost) by freebie.demon.nl (8.11.0/8.11.0) id e91A8rZ11405; Sun, 1 Oct 2000 12:08:53 +0200 (CEST) (envelope-from wkb) Date: Sun, 1 Oct 2000 12:08:53 +0200 From: Wilko Bulte To: Greg Lehey Cc: Terry Lambert , "Karsten W. Rohrbach" , Andre Albsmeier , Marc Tardif , freebsd-fs@freebsd.org, freebsd-scsi@freebsd.org Subject: Re: ccd with other filesystems Message-ID: <20001001120853.A11275@freebie.demon.nl> References: <20001001114540.G43885@wantadilla.lemis.com> <200010010228.TAA18618@usr05.primenet.com> <20001001120453.I43885@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20001001120453.I43885@wantadilla.lemis.com>; from grog@lemis.com on Sun, Oct 01, 2000 at 12:04:53PM +0930 X-OS: FreeBSD 4.1-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Oct 01, 2000 at 12:04:53PM +0930, Greg Lehey wrote: > On Sunday, 1 October 2000 at 2:28:09 +0000, Terry Lambert wrote: > > Greg Writes: snip > >> I think this is a bug in newfs. It should only create file systems on > >> partitions of type 4.2BSD. Does anybody disagree? Otherwise I'll fix > >> it. > > > > I have several systems, where the entirety of the disk (the "c" > > partition) is mounted as a single file system. > > You can do it, but it's not a good idea. I'd like to see a good > reason for doing this. This discussion seems to occur more often. I, for one, would be interested to know what is so bad in using 'c' for a filesystem. Been doing it for years now, never had any problems. After all, 'c' is just the whole disk. I don't see the point in maken e.g. 'f' de whole disk and using that one. If the reason is only because 'c' overlaps all other partitions: there is no substitute for 'checking before doing' newfs. In short: please clarify. -- Wilko Bulte wilko@freebsd.org Arnhem, the Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Oct 1 5:32:45 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id CCCB237B66D for ; Sun, 1 Oct 2000 05:32:39 -0700 (PDT) Received: (qmail 17128 invoked from network); 1 Oct 2000 12:32:34 -0000 Received: from unknown (HELO bde.zeta.org.au) (203.2.228.102) by gidora.zeta.org.au with SMTP; 1 Oct 2000 12:32:34 -0000 Date: Sun, 1 Oct 2000 23:32:29 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Greg Lehey Cc: "Karsten W. Rohrbach" , Andre Albsmeier , Marc Tardif , freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: ccd with other filesystems In-Reply-To: <20001001114540.G43885@wantadilla.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 1 Oct 2000, Greg Lehey wrote: > On Sunday, 1 October 2000 at 4:09:37 +0200, Karsten W. Rohrbach wrote: > > i dont quite know why it is still possible doing a newfs on a 'c' > > partition, since the partition type is 'unused' and not > > '4.2BSD'. newfs should check this and throw an error while providing > > an expert-only-feature command line option to explicitly override > > it. > > I think this is a bug in newfs. This is a feature of newfs. It is almost device-independent. E.g., to create a filesystem in a regular file with no label in sight: dd if=/dev/zero of=foo oseek=2779 count=1 # -v and ./foo work around device dependence. # -T floppy is so that I don't have to type a lot of args for this example. newfs -v -T floppy ./foo > It should only create file systems on > partitions of type 4.2BSD. Does anybody disagree? Otherwise I'll fix > it. Disagree. The filesystem type field is normally an output of newfs, not an input. > > it is a bad thing[tm] to be able to wedge every single blockdev in your > > system by (ab)using newfs. > > Agreed. Disagree. It is a feature that write(2) works on disk devices (block devices went away) no matter how it is (ab)used. (There should be more write protection for mounted partitions, but a disk without any of its partitions mounted should be almost just a file.) Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Oct 1 6: 1: 8 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id EA03937B66D; Sun, 1 Oct 2000 06:01:01 -0700 (PDT) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id XAA17171; Sun, 1 Oct 2000 23:59:10 +1100 Date: Sun, 1 Oct 2000 23:59:06 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Greg Lehey Cc: Terry Lambert , "Karsten W. Rohrbach" , Andre Albsmeier , Marc Tardif , freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: Partitioning (was: ccd with other filesystems) In-Reply-To: <20001001131126.L43885@wantadilla.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 1 Oct 2000, Greg Lehey wrote: > On Sunday, 1 October 2000 at 2:48:53 +0000, Terry Lambert wrote: > >> You can do it, but it's not a good idea. I'd like to see a good > >> reason for doing this. > > > > If "c" is defined to be "the whole disk" , and you want to use "the > > whole disk", it makes sense. > > No, you don't *ever* want a UFS on the whole disk, you want it on a > partition, because those are the objects on which file systems work. No, file systems work on disk devices. The disk device may be the whole disk device, a slice, or a partition. I sometimes use a slice. > That's OK. CD-ROMs don't have partitions. It's probably a bug that > we even have partition letters for non-partitioned media. cdroms have in-core labels, although this is a bug (they should work like unlabled whole disks or slices). Ken Merry has some code to support writable cdroms with real labels. > > I threw away this convention on many of my systems long ago, when I > > resigned myself to aving a DOS parititon table on my machines, when > > the Alpha and PReP platforms decided to require it as well. > > Is your 'h' key sticking? :-) I hoped to replace BSD partitions by native partitions on systems where native partitions are adequate. Native partitions always have to be supported, and another layer for BSD partitions mainly makes things more complicated. Unfortunately, my compatibility code was too good :). > I strongly object to the Microsoft "partition" table, and I don't use > it myself. And of course you're welcome to use whatever you find > convenient. It's not until you advocate making this a standard way > that anybody can have any objection. Why? It is only broken in different ways than the BSD label. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Oct 1 10: 3:56 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from mail.webmonster.de (datasink.webmonster.de [194.162.162.209]) by hub.freebsd.org (Postfix) with SMTP id D5FBB37B503 for ; Sun, 1 Oct 2000 10:03:51 -0700 (PDT) Received: (qmail 446 invoked by uid 1000); 1 Oct 2000 17:03:50 -0000 Date: Sun, 1 Oct 2000 19:03:50 +0200 From: "Karsten W. Rohrbach" To: Bruce Evans Cc: Greg Lehey , Andre Albsmeier , Marc Tardif , freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: ccd with other filesystems Message-ID: <20001001190350.B304@rohrbach.de> Reply-To: karsten@rohrbach.de References: <20001001114540.G43885@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from bde@zeta.org.au on Sun, Oct 01, 2000 at 11:32:29PM +1100 X-Arbitrary-Number-Of-The-Day: 42 X-Sender: karsten@rohrbach.de Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Bruce Evans(bde@zeta.org.au)@Sun, Oct 01, 2000 at 11:32:29PM +1100: > On Sun, 1 Oct 2000, Greg Lehey wrote: > > > On Sunday, 1 October 2000 at 4:09:37 +0200, Karsten W. Rohrbach wrote: > > > i dont quite know why it is still possible doing a newfs on a 'c' > > > partition, since the partition type is 'unused' and not > > > '4.2BSD'. newfs should check this and throw an error while providing > > > an expert-only-feature command line option to explicitly override > > > it. > > > > I think this is a bug in newfs. > > This is a feature of newfs. It is almost device-independent. E.g., to > create a filesystem in a regular file with no label in sight: > > dd if=/dev/zero of=foo oseek=2779 count=1 > # -v and ./foo work around device dependence. > # -T floppy is so that I don't have to type a lot of args for this example. > newfs -v -T floppy ./foo and thats exactly the point... if you use -v it should work, if you dont the partition type must be 4.2BSD and it must not be mounted. no more no less? not reasonable? > > > It should only create file systems on > > partitions of type 4.2BSD. Does anybody disagree? Otherwise I'll fix > > it. > > Disagree. The filesystem type field is normally an output of newfs, not > an input. thats new for me... /k -- > Sure eating yogurt will improve your sex life. People know that if > you'll eat that stuff, you'll eat anything. KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Oct 1 18:24:41 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 3962737B502; Sun, 1 Oct 2000 18:24:33 -0700 (PDT) Received: (from grog@localhost) by wantadilla.lemis.com (8.11.0/8.9.3) id e921Ngh09168; Mon, 2 Oct 2000 10:53:42 +0930 (CST) (envelope-from grog) Date: Mon, 2 Oct 2000 10:53:42 +0930 From: Greg Lehey To: Bruce Evans Cc: Terry Lambert , "Karsten W. Rohrbach" , Andre Albsmeier , Marc Tardif , freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: Partitioning (was: ccd with other filesystems) Message-ID: <20001002105342.A8937@wantadilla.lemis.com> References: <20001001131126.L43885@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from bde@zeta.org.au on Sun, Oct 01, 2000 at 11:59:06PM +1100 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sunday, 1 October 2000 at 23:59:06 +1100, Bruce Evans wrote: > On Sun, 1 Oct 2000, Greg Lehey wrote: >> On Sunday, 1 October 2000 at 2:48:53 +0000, Terry Lambert wrote: >> I strongly object to the Microsoft "partition" table, and I don't use >> it myself. And of course you're welcome to use whatever you find >> convenient. It's not until you advocate making this a standard way >> that anybody can have any objection. > > Why? It is only broken in different ways than the BSD label. Because it's another layer of abstraction which doesn't add any functionality. Yes, there are claims that some BIOSes require it, but that makes the BIOSes broken. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Oct 1 20:39:23 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.161.193]) by hub.freebsd.org (Postfix) with ESMTP id 5CD8737B66C for ; Sun, 1 Oct 2000 20:39:21 -0700 (PDT) Received: from mail.vt.edu (gkar.cc.vt.edu [198.82.161.190]) by lennier.cc.vt.edu (8.11.0/8.11.0) with ESMTP id e923dKB50070 for ; Sun, 1 Oct 2000 23:39:20 -0400 (EDT) Received: from enigma ([198.82.102.76]) by gkar.cc.vt.edu (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with ESMTP id <0G1S00B1SA5JRG@gkar.cc.vt.edu> for freebsd-scsi@freebsd.org; Sun, 1 Oct 2000 23:39:19 -0400 (EDT) Date: Sun, 01 Oct 2000 23:39:19 -0400 From: George Morgan Subject: Where to buy QLogic SCSI adapters??? To: freebsd-scsi@freebsd.org Message-id: <39D7CB27.14731.6F4DAAB@localhost> MIME-version: 1.0 X-Mailer: Pegasus Mail for Win32 (v3.12c) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm sorry if this has been asked recently: Does anyone know of a good source for Qlogic SCSI adapters? Thanks. George Morgan Virginia Tech Electrical Engineering Class of 2000! (Graduating in 2001, Co-op) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 2 7:32: 7 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 7B3EF37B502 for ; Mon, 2 Oct 2000 07:32:04 -0700 (PDT) Received: from beppo (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id HAA23761; Mon, 2 Oct 2000 07:32:02 -0700 Date: Mon, 2 Oct 2000 07:32:02 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: George Morgan Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: Where to buy QLogic SCSI adapters??? In-Reply-To: <39D7CB27.14731.6F4DAAB@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I'm sorry if this has been asked recently: > > Does anyone know of a good source for Qlogic SCSI adapters? Qlogic sales channels suck. There is no good answer I know of unless you have a reseller's permit and can go direct to one of the channel resellers. -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 2 7:37:54 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from smtp.matrix.com.br (smtp.matrix.com.br [200.202.17.7]) by hub.freebsd.org (Postfix) with ESMTP id 07BF037B503 for ; Mon, 2 Oct 2000 07:37:52 -0700 (PDT) Received: from speed.matrix.com.br (speed.matrix.com.br [200.196.0.241]) by smtp.matrix.com.br (Postfix) with ESMTP id 72B2860E36 for ; Mon, 2 Oct 2000 11:37:47 -0300 (EST) Date: Mon, 2 Oct 2000 11:37:49 -0300 (EST) From: Rodrigo Campos X-Sender: speed@speed.matrix.com.br Reply-To: Rodrigo Campos To: freebsd-scsi@freebsd.org Subject: 4.1.1 wont boot with IBM KATANA hard disk (fwd) Message-ID: Organization: Matrix Network - but not speaking for X-URL: http://www.br-unix.org/users/campos/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sorry for the cross-posting, but it seems that this is the correct mailing-list for this issue. ---------- Forwarded message ---------- Date: Mon, 2 Oct 2000 11:24:21 -0300 (EST) From: Rodrigo Campos To: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org Subject: 4.1.1 wont boot with IBM KATANA hard disk Several days ago I posted a note on the freebsd-questions mailling list about problems with 4.1.1-* and the Adaptec AIC 7899 SCSI Controller. After some tests I discovered that the problem is not related to the SCSI controller, but with the hard disk. I'll try to describe the whole scenario so it may be easier to understand the problem. I installed the system from the FreeBSD 4.0 CD (March 2000) and it works just great, after a cvsup/make world/kernel building, the kernel hangs up during SCSI devices recognition, the message follows: (probe1:ahc0:0:0:1): parity error detected in DT Data-in phase. SEQADDR(0X173) SCSIRATE (0X93) Unexpected DT Data Phase Any ideas ? All I can say is that 4.0 works with the same hardware configuration, and 4.1.1 doesn't. Best Regards, -- Rodrigo Albani de Campos Matrix Internet - NOC http://www.br-unix.org/users/campos/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 2 10:24:18 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id A245A37B503 for ; Mon, 2 Oct 2000 10:24:15 -0700 (PDT) Received: from [212.238.54.101] (helo=freebie.demon.nl) by post.mail.nl.demon.net with smtp (Exim 3.14 #4) id 13g9Jy-000ECh-00; Mon, 02 Oct 2000 17:24:10 +0000 Received: (from wkb@localhost) by freebie.demon.nl (8.11.0/8.11.0) id e92HQ3g00984; Mon, 2 Oct 2000 19:26:03 +0200 (CEST) (envelope-from wkb) Date: Mon, 2 Oct 2000 19:26:03 +0200 From: Wilko Bulte To: Matthew Jacob Cc: George Morgan , freebsd-scsi@freebsd.org Subject: Re: Where to buy QLogic SCSI adapters??? Message-ID: <20001002192603.B960@freebie.demon.nl> References: <39D7CB27.14731.6F4DAAB@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from mjacob@feral.com on Mon, Oct 02, 2000 at 07:32:02AM -0700 X-OS: FreeBSD 4.1-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Oct 02, 2000 at 07:32:02AM -0700, Matthew Jacob wrote: > > > > I'm sorry if this has been asked recently: > > > > Does anyone know of a good source for Qlogic SCSI adapters? > > Qlogic sales channels suck. There is no good answer I know of unless you have > a reseller's permit and can go direct to one of the channel resellers. Assuming enough $$ to burn: Compaq resells them as Alpha system options. -- Wilko Bulte wilko@freebsd.org Arnhem, the Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 2 10:39: 9 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.prod.itd.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id C3B1337B502 for ; Mon, 2 Oct 2000 10:39:06 -0700 (PDT) Received: from veager.siteplus.net (user-38lc8vb.dialup.mindspring.com [209.86.35.235]) by snipe.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id KAA07746; Mon, 2 Oct 2000 10:38:55 -0700 (PDT) Date: Mon, 2 Oct 2000 13:38:49 -0400 (EDT) From: Jim Weeks To: Wilko Bulte Cc: Matthew Jacob , George Morgan , freebsd-scsi@FreeBSD.ORG Subject: Re: Where to buy QLogic SCSI adapters??? In-Reply-To: <20001002192603.B960@freebie.demon.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 2 Oct 2000, Wilko Bulte wrote: > On Mon, Oct 02, 2000 at 07:32:02AM -0700, Matthew Jacob wrote: > > > > > > > I'm sorry if this has been asked recently: > > > > > > Does anyone know of a good source for Qlogic SCSI adapters? I know that CDW http://www.cdw.com stocks at least one or two models. I have had good luck with them ordering out of stock items as well. You might want to check. Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 2 10:52:32 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 4310537B503 for ; Mon, 2 Oct 2000 10:52:30 -0700 (PDT) Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id KAA24525; Mon, 2 Oct 2000 10:52:14 -0700 Date: Mon, 2 Oct 2000 10:49:03 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Jim Weeks Cc: Wilko Bulte , George Morgan , freebsd-scsi@FreeBSD.ORG Subject: Re: Where to buy QLogic SCSI adapters??? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I know that CDW http://www.cdw.com stocks at least one or two models. I > have had good luck with them ordering out of stock items as well. You might > want to check. Hmm. Well, CDW is a miserable place to do business, but if you can get them there, good. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 2 12:11:43 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from pluto.plutotech.com (mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (Postfix) with ESMTP id D6E9D37B503 for ; Mon, 2 Oct 2000 12:11:40 -0700 (PDT) Received: from caspian.plutotech.com (root@mail.plutotech.com [206.168.67.137]) by pluto.plutotech.com (8.9.2/8.9.1) with ESMTP id NAA42200; Mon, 2 Oct 2000 13:11:27 -0600 (MDT) (envelope-from gibbs@plutotech.com) Message-Id: <200010021911.NAA42200@pluto.plutotech.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Rodrigo Campos Cc: scsi@FreeBSD.org Subject: Re: 4.1.1 wont boot with IBM KATANA hard disk (fwd) X-Newsgroups: pluto.freebsd.scsi In-Reply-To: Date: Mon, 02 Oct 2000 13:12:50 -0600 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I installed the system from the FreeBSD 4.0 CD (March 2000) and it works > just great, after a cvsup/make world/kernel building, the kernel hangs up > during SCSI devices recognition, the message follows: > > (probe1:ahc0:0:0:1): parity error detected in DT Data-in > phase. SEQADDR(0X173) SCSIRATE (0X93) Unexpected DT Data Phase The Katana is expecting us to use 20MHz DT transfers when the controller believes it has negotiated 40MHz ST. I have a Katana sitting on the shelf at home that worked the last time I tested against it, but perhaps I've recently broken something. It could also be that I have different firmware on my drive than you have. 4.0 did not support DT transfers at all which explains why 4.0 works for you. I'll let you know what I find out. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 2 14:13: 9 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from smtp05.primenet.com (smtp05.primenet.com [206.165.6.135]) by hub.freebsd.org (Postfix) with ESMTP id EB02337B66D; Mon, 2 Oct 2000 14:13:04 -0700 (PDT) Received: (from daemon@localhost) by smtp05.primenet.com (8.9.3/8.9.3) id OAA23433; Mon, 2 Oct 2000 14:13:19 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp05.primenet.com, id smtpdAAAzyaaIT; Mon Oct 2 14:13:03 2000 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id OAA10784; Mon, 2 Oct 2000 14:12:36 -0700 (MST) From: Terry Lambert Message-Id: <200010022112.OAA10784@usr05.primenet.com> Subject: Re: Partitioning (was: ccd with other filesystems) To: grog@lemis.com (Greg Lehey) Date: Mon, 2 Oct 2000 21:12:36 +0000 (GMT) Cc: bde@zeta.org.au (Bruce Evans), tlambert@primenet.com (Terry Lambert), karsten@rohrbach.de (Karsten W. Rohrbach), andre@akademie3000.de (Andre Albsmeier), intmktg@CAM.ORG (Marc Tardif), freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG In-Reply-To: <20001002105342.A8937@wantadilla.lemis.com> from "Greg Lehey" at Oct 02, 2000 10:53:42 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greg Lehey wrote: > On Sunday, 1 October 2000 at 23:59:06 +1100, Bruce Evans wrote: > > On Sun, 1 Oct 2000, Greg Lehey wrote: > >> On Sunday, 1 October 2000 at 2:48:53 +0000, Terry Lambert wrote: > >> I strongly object to the Microsoft "partition" table, and I don't use > >> it myself. And of course you're welcome to use whatever you find > >> convenient. It's not until you advocate making this a standard way > >> that anybody can have any objection. > > > > Why? It is only broken in different ways than the BSD label. > > Because it's another layer of abstraction which doesn't add any > functionality. Yes, there are claims that some BIOSes require it, but > that makes the BIOSes broken. Is this semi-misattribution to get even with me for not automatically including attribution, through my use of an older mail client? 8-). I think FreeBSD should work on these systems, even if they have "broken" BIOS'; this is normally done as a virus countermeasure. PS: Your mail server whines about Primenet being a SPAM source; that's just strange... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 2 14:23:55 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (Postfix) with ESMTP id 3CEBD37B502; Mon, 2 Oct 2000 14:23:50 -0700 (PDT) Received: (from daemon@localhost) by smtp04.primenet.com (8.9.3/8.9.3) id NAA22103; Mon, 2 Oct 2000 13:51:28 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp04.primenet.com, id smtpdAAAieaOUP; Mon Oct 2 13:50:14 2000 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id NAA10099; Mon, 2 Oct 2000 13:52:24 -0700 (MST) From: Terry Lambert Message-Id: <200010022052.NAA10099@usr05.primenet.com> Subject: Re: Partitioning (was: ccd with other filesystems) To: bde@zeta.org.au (Bruce Evans) Date: Mon, 2 Oct 2000 20:52:24 +0000 (GMT) Cc: grog@lemis.com (Greg Lehey), tlambert@primenet.com (Terry Lambert), karsten@rohrbach.de (Karsten W. Rohrbach), andre@akademie3000.de (Andre Albsmeier), intmktg@CAM.ORG (Marc Tardif), freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG In-Reply-To: from "Bruce Evans" at Oct 01, 2000 11:59:06 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I strongly object to the Microsoft "partition" table, and I don't use > > it myself. And of course you're welcome to use whatever you find > > convenient. It's not until you advocate making this a standard way > > that anybody can have any objection. > > Why? It is only broken in different ways than the BSD label. The PReP specification makes it crystal clear how you can support up to 2^32 sectors with the DOS partition table mechanism. It's perhaps the best documentation I've ever seen for the DOS partition table, and the 32 bit sector field. I'd have bought the thing for that documentation alone, had I known it was there when I needed it. PS: That's 112 TB, in LBA mode. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 2 16:39:11 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id B6A2F37B502; Mon, 2 Oct 2000 16:39:05 -0700 (PDT) Received: (from grog@localhost) by wantadilla.lemis.com (8.11.0/8.9.3) id e92NclS00695; Tue, 3 Oct 2000 09:08:47 +0930 (CST) (envelope-from grog) Date: Tue, 3 Oct 2000 09:08:46 +0930 From: Greg Lehey To: Terry Lambert Cc: freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: Partitioning (was: ccd with other filesystems) Message-ID: <20001003090846.F372@wantadilla.lemis.com> References: <200010022052.NAA10099@usr05.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200010022052.NAA10099@usr05.primenet.com>; from tlambert@primenet.com on Mon, Oct 02, 2000 at 08:52:24PM +0000 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Monday, 2 October 2000 at 20:52:24 +0000, Terry Lambert wrote: >>> I strongly object to the Microsoft "partition" table, and I don't use >>> it myself. And of course you're welcome to use whatever you find >>> convenient. It's not until you advocate making this a standard way >>> that anybody can have any objection. >> >> Why? It is only broken in different ways than the BSD label. > > The PReP specification makes it crystal clear how you can > support up to 2^32 sectors with the DOS partition table > mechanism. It's perhaps the best documentation I've ever > seen for the DOS partition table, and the 32 bit sector > field. I'd have bought the thing for that documentation > alone, had I known it was there when I needed it. Why do we need it? > PS: That's 112 TB, in LBA mode. I make 1 TB for signed sector numbers, which is what we already have. How do you get 112 TB out of 512*2**31? Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 2 18:49:53 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id 764CC37B66C for ; Mon, 2 Oct 2000 18:49:47 -0700 (PDT) Received: (qmail 31816 invoked from network); 3 Oct 2000 01:49:43 -0000 Received: from unknown (HELO bde.zeta.org.au) (203.2.228.102) by gidora.zeta.org.au with SMTP; 3 Oct 2000 01:49:43 -0000 Date: Tue, 3 Oct 2000 12:49:38 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Terry Lambert Cc: Greg Lehey , "Karsten W. Rohrbach" , Andre Albsmeier , Marc Tardif , freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: Partitioning (was: ccd with other filesystems) In-Reply-To: <200010022052.NAA10099@usr05.primenet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 2 Oct 2000, Terry Lambert wrote: > > > I strongly object to the Microsoft "partition" table, and I don't use > > > it myself. And of course you're welcome to use whatever you find > > > convenient. It's not until you advocate making this a standard way > > > that anybody can have any objection. > > > > Why? It is only broken in different ways than the BSD label. > > The PReP specification makes it crystal clear how you can > support up to 2^32 sectors with the DOS partition table > mechanism. It's perhaps the best documentation I've ever This is well known. It's more interesting that you can support up to about 2^32 partitions (all empty) or about 2^31 partitions (1 sector each). The main problems with the DOS partition table is that it has no signatures or checksums. > PS: That's 112 TB, in LBA mode. Only about 2TB. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 2 19:53:11 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (Postfix) with ESMTP id DA93337B502; Mon, 2 Oct 2000 19:53:06 -0700 (PDT) Received: (from daemon@localhost) by smtp04.primenet.com (8.9.3/8.9.3) id TAA28141; Mon, 2 Oct 2000 19:50:24 -0700 (MST) Received: from usr06.primenet.com(206.165.6.206) via SMTP by smtp04.primenet.com, id smtpdAAAHfaWY2; Mon Oct 2 19:50:16 2000 Received: (from tlambert@localhost) by usr06.primenet.com (8.8.5/8.8.5) id TAA01796; Mon, 2 Oct 2000 19:52:51 -0700 (MST) From: Terry Lambert Message-Id: <200010030252.TAA01796@usr06.primenet.com> Subject: Re: Partitioning (was: ccd with other filesystems) To: grog@lemis.com (Greg Lehey) Date: Tue, 3 Oct 2000 02:52:51 +0000 (GMT) Cc: tlambert@primenet.com (Terry Lambert), freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG In-Reply-To: <20001003090846.F372@wantadilla.lemis.com> from "Greg Lehey" at Oct 03, 2000 09:08:46 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > The PReP specification makes it crystal clear how you can > > support up to 2^32 sectors with the DOS partition table > > mechanism. It's perhaps the best documentation I've ever > > seen for the DOS partition table, and the 32 bit sector > > field. I'd have bought the thing for that documentation > > alone, had I known it was there when I needed it. > > Why do we need it? Compatability? Interoperability? Booting disks on AlphaBIOS, Motorolla PowerStack machines, etc.? To avoid yet another gratuitous difference from the rest of the world? > > PS: That's 112 TB, in LBA mode. > > I make 1 TB for signed sector numbers, which is what we already have. > How do you get 112 TB out of 512*2**31? Sorry, 2TB (it's unsigned). 2^32 * 512 = 2.233383e+11 I guess I clicked again when I shouldn't have in the calculator; my bad. I should have done it in my head, instead; it's easy to say "4 billion over 2 times 1000". Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 2 21:10:43 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 127A937B502; Mon, 2 Oct 2000 21:10:34 -0700 (PDT) Received: (from grog@localhost) by wantadilla.lemis.com (8.11.0/8.9.3) id e9349Wp01648; Tue, 3 Oct 2000 13:39:32 +0930 (CST) (envelope-from grog) Date: Tue, 3 Oct 2000 13:39:32 +0930 From: Greg Lehey To: Terry Lambert Cc: Bruce Evans , "Karsten W. Rohrbach" , Andre Albsmeier , Marc Tardif , freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: Partitioning (was: ccd with other filesystems) Message-ID: <20001003133932.K759@wantadilla.lemis.com> References: <20001002105342.A8937@wantadilla.lemis.com> <200010022112.OAA10784@usr05.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200010022112.OAA10784@usr05.primenet.com>; from tlambert@primenet.com on Mon, Oct 02, 2000 at 09:12:36PM +0000 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Monday, 2 October 2000 at 21:12:36 +0000, Terry Lambert wrote: > Greg Lehey wrote: >> On Sunday, 1 October 2000 at 23:59:06 +1100, Bruce Evans wrote: >>> On Sun, 1 Oct 2000, Greg Lehey wrote: >>>> On Sunday, 1 October 2000 at 2:48:53 +0000, Terry Lambert wrote: >>>> I strongly object to the Microsoft "partition" table, and I don't use >>>> it myself. And of course you're welcome to use whatever you find >>>> convenient. It's not until you advocate making this a standard way >>>> that anybody can have any objection. >>> >>> Why? It is only broken in different ways than the BSD label. >> >> Because it's another layer of abstraction which doesn't add any >> functionality. Yes, there are claims that some BIOSes require it, but >> that makes the BIOSes broken. > > Is this semi-misattribution to get even with me for not > automatically including attribution, through my use of an older mail > client? I see no "semi-misattribution", so I can't telln > I think FreeBSD should work on these systems, even if they have > "broken" BIOS'; Agreed. > this is normally done as a virus countermeasure. I suspect it's done from lack of clue. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 2 23:15:46 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id 816CB37B502 for ; Mon, 2 Oct 2000 23:15:43 -0700 (PDT) Received: from localhost (winter@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id CAA70596; Tue, 3 Oct 2000 02:15:39 -0400 (EDT) Date: Tue, 3 Oct 2000 02:15:39 -0400 (EDT) From: "Matthew N. Dodd" To: Matthew Jacob Cc: George Morgan , freebsd-scsi@FreeBSD.ORG Subject: Re: Where to buy QLogic SCSI adapters??? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 2 Oct 2000, Matthew Jacob wrote: > > I'm sorry if this has been asked recently: > > > > Does anyone know of a good source for Qlogic SCSI adapters? > > Qlogic sales channels suck. There is no good answer I know of unless > you have a reseller's permit and can go direct to one of the channel > resellers. They do show up on eBay every now and again but I'm afraid that still doesn't qualify as much of a 'sales channel'. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Oct 3 9:50: 4 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3917837B502 for ; Tue, 3 Oct 2000 09:50:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA19833; Tue, 3 Oct 2000 09:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 3 Oct 2000 09:50:02 -0700 (PDT) Message-Id: <200010031650.JAA19833@freefall.freebsd.org> To: freebsd-scsi@FreeBSD.org Cc: From: Bob Bishop Subject: Re: kern/21278: ahc driver wedges on stressed SMP system Reply-To: Bob Bishop Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/21278; it has been noted by GNATS. From: Bob Bishop To: sheldonh@freebsd.org Cc: Subject: Re: kern/21278: ahc driver wedges on stressed SMP system Date: Fri, 22 Sep 2000 09:59:51 +0100 Hi, At 01:54 15/09/00 -0700, you wrote: >Synopsis: ahc driver wedges on stressed SMP system > >Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi >Responsible-Changed-By: sheldonh >Responsible-Changed-When: Fri Sep 15 01:53:39 PDT 2000 >Responsible-Changed-Why: >This is an experiment. I'd like to see whether it's worthwhile >assigning SCSI PR's to the freebsd-scsi mailing list, since >there are very few SCSI problems that fall squarely into >exactly one person's lap. > >http://www.freebsd.org/cgi/query-pr.cgi?pr=21278 Well, it's been a week and nobody has taken the bait yet. It's a bit frustrating because I also have a reproducible NFS problem which I can't make any progress with because the my disk system keeps wedging. -- Bob Bishop +44 (0)118 977 4017 rb@gid.co.uk fax +44 (0)118 989 4254 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Oct 3 9:53: 3 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 90DC437B66C; Tue, 3 Oct 2000 09:53:00 -0700 (PDT) Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id JAA28722; Tue, 3 Oct 2000 09:52:55 -0700 Date: Tue, 3 Oct 2000 09:49:41 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Bob Bishop Cc: freebsd-scsi@FreeBSD.ORG, sheldonh@FreeBSD.ORG Subject: Re: kern/21278: ahc driver wedges on stressed SMP system In-Reply-To: <200010031650.JAA19833@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Actually, this is squarely a Justin Gibbs problem- he's the ahc maintainer- he's also quite overloaded. > The following reply was made to PR kern/21278; it has been noted by GNATS. > > From: Bob Bishop > To: sheldonh@freebsd.org > Cc: > Subject: Re: kern/21278: ahc driver wedges on stressed SMP system > Date: Fri, 22 Sep 2000 09:59:51 +0100 > > Hi, > > At 01:54 15/09/00 -0700, you wrote: > >Synopsis: ahc driver wedges on stressed SMP system > > > >Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi > >Responsible-Changed-By: sheldonh > >Responsible-Changed-When: Fri Sep 15 01:53:39 PDT 2000 > >Responsible-Changed-Why: > >This is an experiment. I'd like to see whether it's worthwhile > >assigning SCSI PR's to the freebsd-scsi mailing list, since > >there are very few SCSI problems that fall squarely into > >exactly one person's lap. > > > >http://www.freebsd.org/cgi/query-pr.cgi?pr=21278 > > Well, it's been a week and nobody has taken the bait yet. It's a bit > frustrating because I also have a reproducible NFS problem which I can't > make any progress with because the my disk system keeps wedging. > > > -- > Bob Bishop +44 (0)118 977 4017 > rb@gid.co.uk fax +44 (0)118 989 4254 > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-scsi" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Oct 3 12:37:33 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from isbalham.ist.co.uk (isbalham.ist.co.uk [192.31.26.1]) by hub.freebsd.org (Postfix) with ESMTP id 964C037B66D; Tue, 3 Oct 2000 12:37:27 -0700 (PDT) Received: (from uucp@localhost) by isbalham.ist.co.uk (8.9.2/8.8.7) with UUCP id UAA57915; Tue, 3 Oct 2000 20:36:52 +0100 (BST) (envelope-from rb@gid.co.uk) Received: from [194.32.164.2] (eccles [194.32.164.2]) by seagoon.gid.co.uk (8.9.3/8.9.3) with ESMTP id UAA68560; Tue, 3 Oct 2000 20:34:14 +0100 (BST) (envelope-from rb@gid.co.uk) X-Sender: rb@194.32.164.1 Message-Id: In-Reply-To: References: <200010031650.JAA19833@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 3 Oct 2000 20:34:15 +0100 To: mjacob@feral.com From: Bob Bishop Subject: Re: kern/21278: ahc driver wedges on stressed SMP system Cc: freebsd-scsi@FreeBSD.ORG, sheldonh@FreeBSD.ORG Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, At 09:49 -0700 3/10/00, Matthew Jacob wrote: >Actually, this is squarely a Justin Gibbs problem- he's the ahc >maintainer- he's also quite overloaded. I already asked: At 09:10 -0600 3/10/00, Justin T. Gibbs wrote: > >I'm afraid I don't know where to start on that problem. The code in >-stable is identical to -current and doesn't have this behavior. My >belief is that interrupt threads in SMPNG are not running for some reason, >and without interrupts, the Adaptec controllers won't get very far Guidance from someone who is on top of the interrupt system in SMPng would be appreciated. >> The following reply was made to PR kern/21278; it has been noted by GNATS. >> >> From: Bob Bishop >> To: sheldonh@freebsd.org >> Cc: >> Subject: Re: kern/21278: ahc driver wedges on stressed SMP system >> Date: Fri, 22 Sep 2000 09:59:51 +0100 >> >> Hi, >> >> At 01:54 15/09/00 -0700, you wrote: >> >Synopsis: ahc driver wedges on stressed SMP system >> > >> >Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi >> >Responsible-Changed-By: sheldonh >> >Responsible-Changed-When: Fri Sep 15 01:53:39 PDT 2000 >> >Responsible-Changed-Why: >> >This is an experiment. I'd like to see whether it's worthwhile >> >assigning SCSI PR's to the freebsd-scsi mailing list, since >> >there are very few SCSI problems that fall squarely into >> >exactly one person's lap. >> > >> >http://www.freebsd.org/cgi/query-pr.cgi?pr=21278 >> >> Well, it's been a week and nobody has taken the bait yet. It's a bit >> frustrating because I also have a reproducible NFS problem which I can't >> make any progress with because the my disk system keeps wedging. >> >> >> -- >> Bob Bishop +44 (0)118 977 4017 >> rb@gid.co.uk fax +44 (0)118 989 4254 >> >> >> >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-scsi" in the body of the message >> -- Bob Bishop (0118) 977 4017 international code +44 118 rb@gid.co.uk fax (0118) 989 4254 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Oct 4 0:10:15 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from lists01.iafrica.com (lists01.iafrica.com [196.7.0.141]) by hub.freebsd.org (Postfix) with ESMTP id 1DDDB37B502 for ; Wed, 4 Oct 2000 00:10:12 -0700 (PDT) Received: from nwl.fw.uunet.co.za ([196.31.2.162]) by lists01.iafrica.com with esmtp (Exim 3.12 #2) id 13gigf-0001SK-00; Wed, 04 Oct 2000 09:09:57 +0200 Received: (from nobody@localhost) by nwl.fw.uunet.co.za (8.8.8/8.6.9) id JAA25212; Wed, 4 Oct 2000 09:10:01 +0200 (SAST) Received: by nwl.fw.uunet.co.za via recvmail id 25083; Wed Oct 4 09:09:35 2000 Received: from sheldonh (helo=axl.fw.uunet.co.za) by axl.fw.uunet.co.za with local-esmtp (Exim 3.16 #1) id 13gigI-000C1I-00; Wed, 04 Oct 2000 09:09:34 +0200 From: Sheldon Hearn To: mjacob@feral.com Cc: Bob Bishop , freebsd-scsi@freebsd.org Subject: Re: kern/21278: ahc driver wedges on stressed SMP system In-reply-to: Your message of "Tue, 03 Oct 2000 09:49:41 MST." Date: Wed, 04 Oct 2000 09:09:34 +0200 Message-ID: <46207.970643374@axl.fw.uunet.co.za> Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 03 Oct 2000 09:49:41 MST, Matthew Jacob wrote: > Actually, this is squarely a Justin Gibbs problem- he's the ahc > maintainer- he's also quite overloaded. Excellent. This is the kind of feedback that proves that assigning these things to the SCSI list first is the way to go. :-) I'll assign it to Justin and let the originator know about Justin's workload. Thanks! Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Oct 4 0:12:44 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2E2B237B503; Wed, 4 Oct 2000 00:12:43 -0700 (PDT) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id AAA28161; Wed, 4 Oct 2000 00:12:43 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Wed, 4 Oct 2000 00:12:43 -0700 (PDT) From: Message-Id: <200010040712.AAA28161@freefall.freebsd.org> To: sheldonh@FreeBSD.org, freebsd-scsi@FreeBSD.org, gibbs@FreeBSD.org Subject: Re: kern/21278: ahc driver wedges on stressed SMP system Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: ahc driver wedges on stressed SMP system Responsible-Changed-From-To: freebsd-scsi->gibbs Responsible-Changed-By: sheldonh Responsible-Changed-When: Wed Oct 4 00:11:20 PDT 2000 Responsible-Changed-Why: Over to the maintainer. The originator should be aware that the maintainer is swamped with work at the moment. http://www.freebsd.org/cgi/query-pr.cgi?pr=21278 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Oct 4 15: 6:46 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id B03F337B503 for ; Wed, 4 Oct 2000 15:06:40 -0700 (PDT) Received: (qmail 12063 invoked from network); 4 Oct 2000 22:06:36 -0000 Received: from unknown (HELO bde.zeta.org.au) (203.2.228.102) by gidora.zeta.org.au with SMTP; 4 Oct 2000 22:06:36 -0000 Date: Thu, 5 Oct 2000 09:06:30 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Greg Lehey Cc: Terry Lambert , "Karsten W. Rohrbach" , Andre Albsmeier , Marc Tardif , freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: Partitioning (was: ccd with other filesystems) In-Reply-To: <20001002105342.A8937@wantadilla.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 2 Oct 2000, Greg Lehey wrote: > On Sunday, 1 October 2000 at 23:59:06 +1100, Bruce Evans wrote: > > On Sun, 1 Oct 2000, Greg Lehey wrote: > >> On Sunday, 1 October 2000 at 2:48:53 +0000, Terry Lambert wrote: [actually, Greg wrote this, except for the quotes] > >> I strongly object to the Microsoft "partition" table, and I don't use > >> it myself. And of course you're welcome to use whatever you find > >> convenient. It's not until you advocate making this a standard way > >> that anybody can have any objection. > > > > Why? It is only broken in different ways than the BSD label. > > Because it's another layer of abstraction which doesn't add any > functionality. Yes, there are claims that some BIOSes require it, but > that makes the BIOSes broken. It adds the following functionality: - up to 2^32 partitions (normally limited to 30 in FreeBSD). - inter-operability with other OS's. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Oct 4 17:45:54 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 1C47137B503; Wed, 4 Oct 2000 17:45:48 -0700 (PDT) Received: (from grog@localhost) by wantadilla.lemis.com (8.11.0/8.9.3) id e950isl11832; Thu, 5 Oct 2000 10:14:54 +0930 (CST) (envelope-from grog) Date: Thu, 5 Oct 2000 10:14:54 +0930 From: Greg Lehey To: Bruce Evans Cc: Terry Lambert , "Karsten W. Rohrbach" , Andre Albsmeier , Marc Tardif , freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: Partitioning (was: ccd with other filesystems) Message-ID: <20001005101454.I7292@wantadilla.lemis.com> References: <20001002105342.A8937@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from bde@zeta.org.au on Thu, Oct 05, 2000 at 09:06:30AM +1100 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thursday, 5 October 2000 at 9:06:30 +1100, Bruce Evans wrote: > On Mon, 2 Oct 2000, Greg Lehey wrote: > >> On Sunday, 1 October 2000 at 23:59:06 +1100, Bruce Evans wrote: >>> On Sun, 1 Oct 2000, Greg Lehey wrote: >>>> On Sunday, 1 October 2000 at 2:48:53 +0000, Terry Lambert wrote: > [actually, Greg wrote this, except for the quotes] >>>> I strongly object to the Microsoft "partition" table, and I don't use >>>> it myself. And of course you're welcome to use whatever you find >>>> convenient. It's not until you advocate making this a standard way >>>> that anybody can have any objection. >>> >>> Why? It is only broken in different ways than the BSD label. >> >> Because it's another layer of abstraction which doesn't add any >> functionality. Yes, there are claims that some BIOSes require it, but >> that makes the BIOSes broken. > > It adds the following functionality: > - up to 2^32 partitions (normally limited to 30 in FreeBSD). > - inter-operability with other OS's. OK, I rephrase that: it adds functionality that is seldom needed. Nearly all my boxes only run a single operating system, and there's no need for this additional bloat. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Oct 4 19:50: 5 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id D87E737B66E for ; Wed, 4 Oct 2000 19:49:56 -0700 (PDT) Received: (qmail 23516 invoked from network); 5 Oct 2000 02:49:53 -0000 Received: from unknown (HELO bde.zeta.org.au) (203.2.228.102) by gidora.zeta.org.au with SMTP; 5 Oct 2000 02:49:53 -0000 Date: Thu, 5 Oct 2000 13:49:48 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Greg Lehey Cc: Terry Lambert , "Karsten W. Rohrbach" , Andre Albsmeier , Marc Tardif , freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: Partitioning (was: ccd with other filesystems) In-Reply-To: <20001005101454.I7292@wantadilla.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 5 Oct 2000, Greg Lehey wrote: > On Thursday, 5 October 2000 at 9:06:30 +1100, Bruce Evans wrote: [about Microsoft "partition" table] > > It adds the following functionality: > > - up to 2^32 partitions (normally limited to 30 in FreeBSD). > > - inter-operability with other OS's. > > OK, I rephrase that: it adds functionality that is seldom needed. > Nearly all my boxes only run a single operating system, and there's no > need for this additional bloat. I'll rephrase that again: it adds functionality that is seldom needed by you :-). Nearly all my boxes run between 2 and 4 operating systems, not counting old versions on old disks/partitions/removable-media/vmware- virtual-disks, although the active ones normally only run FreeBSD-current. Bcue To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Oct 4 21:56:12 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (Postfix) with ESMTP id 856CF37B503; Wed, 4 Oct 2000 21:56:07 -0700 (PDT) Received: (from daemon@localhost) by smtp04.primenet.com (8.9.3/8.9.3) id VAA24131; Wed, 4 Oct 2000 21:53:24 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp04.primenet.com, id smtpdAAAzdai8U; Wed Oct 4 21:53:15 2000 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id VAA07319; Wed, 4 Oct 2000 21:55:45 -0700 (MST) From: Terry Lambert Message-Id: <200010050455.VAA07319@usr07.primenet.com> Subject: Re: Partitioning (was: ccd with other filesystems) To: grog@lemis.com (Greg Lehey) Date: Thu, 5 Oct 2000 04:55:44 +0000 (GMT) Cc: bde@zeta.org.au (Bruce Evans), tlambert@primenet.com (Terry Lambert), karsten@rohrbach.de (Karsten W. Rohrbach), andre@akademie3000.de (Andre Albsmeier), intmktg@CAM.ORG (Marc Tardif), freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG In-Reply-To: <20001005101454.I7292@wantadilla.lemis.com> from "Greg Lehey" at Oct 05, 2000 10:14:54 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > It adds the following functionality: > > - up to 2^32 partitions (normally limited to 30 in FreeBSD). > > - inter-operability with other OS's. > > OK, I rephrase that: it adds functionality that is seldom needed. > Nearly all my boxes only run a single operating system, and there's no > need for this additional bloat. I have a box that shares a swap paritition between FreeBSD and Linux, which can only be accomplisged via a DOS partition table. I would bet that the vast majority of laptops have FreeBSD plus a Microsoft OS installed on them, due to FreeBSD's inability to run some increasingly common laptop hardware. I also suspect that 95% of all FreeBSD machines with a DVD ROM drive in them are dual boot, laptop or not: DVD EOM drives are not better than CDROM drives, on FreeBSD. I know that _ALL_ machines with a BIOS requirement for DOS partitioning are running a DOS partition table. I also know that all machines with a BIOS requirement, due to antivirus requirements, which may be driven by the organization making the purchase, for an MBR that passes the 8 validity tests for an MBR, must be running something other than "dangerously dedicated", since FreeBSDs boot records and its boot manager do not pass these tests (e.g. the AA55 checksum to zero, etc.). For that matter, I guarantee all legacy machines with large drives are running an MBR that has a DOS partition table in it, with the MBR loading a BIOS patching TSR to add LBA support, and then adjusting the BIOS-visible location of sector 0. Also, if it's preferred, somehow, why do we call it "dangerously dedicated" instead of just calling it "default"? 8-p Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Oct 5 9:58:20 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id AD32F37B66C for ; Thu, 5 Oct 2000 09:58:19 -0700 (PDT) Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id JAA04407; Thu, 5 Oct 2000 09:58:08 -0700 Date: Thu, 5 Oct 2000 09:54:47 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: "Jose M. Alcaide" Cc: scsi@FreeBSD.ORG Subject: Re: panic when removing device with "camcontrol rescan" In-Reply-To: <39D38146.671CFFF0@we.lc.ehu.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Checked in the fix, thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Oct 5 21:21:36 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from cx587235-a.chnd1.az.home.com (cx587235-a.chnd1.az.home.com [24.11.88.170]) by hub.freebsd.org (Postfix) with ESMTP id 5349E37B502 for ; Thu, 5 Oct 2000 21:21:34 -0700 (PDT) Received: from whale.home-net (whale [192.168.1.2]) by cx587235-a.chnd1.az.home.com (8.9.3/8.9.3) with ESMTP id VAA36868 for ; Thu, 5 Oct 2000 21:21:34 -0700 (MST) (envelope-from jjreynold@home.com) Received: (from jjreynold@localhost) by whale.home-net (8.11.0/8.11.0) id e964LXa35425; Thu, 5 Oct 2000 21:21:33 -0700 (MST) (envelope-from jjreynold@home.com) From: John Reynolds MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14813.21325.718668.456937@whale.home-net> Date: Thu, 5 Oct 2000 21:21:33 -0700 (MST) To: scsi@freebsd.org Subject: what part of the driver locks the CD tray? X-Mailer: VM 6.75 under Emacs 20.7.1 Cc: Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello -scsi, What part of the cd driver locks the tray when media is mounted? I have a 1.8 year old son who LOVES to push the buttons on my CD and CDRW, watch the tray come out, then, with all the grace and skill a 2-year-old-wanna-be can must, shoving the tray back into the drive (of course making the stepper motors squeel with pain). I've resorted to keeping CDs in both drives and mounting the iso9660 filesystems. This keeps the drives from being messed with as the eject button is "disabled" while the media is mounted. What I'm wondering is where this is in the cd driver? Is it deep down in the cd driver? Some CAM layer? ioctl? I would love to be able to figure this out and perhaps add something into camcontrol to lock the drive trays in without having media in them (it's just a PITA to have discs in the drives all the time). Sort like the evil reverse of "camcontrol eject". I also see from the man page that there is a 'cmd' option to camcontrol. Is there a specific command I can send to the device to lock and unlock its tray? What would this be? I would much appreciate any help I can get 2-year-old proofing this machine :) (already had to "unplug" the ATX power and reset lines from the easy-to-push switches :). Regards, -Jr -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= John Reynolds Chandler Capabilities Engineering, CDS, Intel Corporation jreynold@sedona.ch.intel.com My opinions are mine, not Intel's. Running jjreynold@home.com FreeBSD 4.1-STABLE. FreeBSD: The Power to Serve. http://members.home.com/jjreynold/ Come join us!!! @ http://www.FreeBSD.org/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Oct 5 22: 8:22 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 834FE37B66C for ; Thu, 5 Oct 2000 22:08:18 -0700 (PDT) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id WAA45496; Thu, 5 Oct 2000 22:54:27 -0600 (MDT) (envelope-from ken) Date: Thu, 5 Oct 2000 22:54:26 -0600 From: "Kenneth D. Merry" To: John Reynolds Cc: scsi@FreeBSD.ORG Subject: Re: what part of the driver locks the CD tray? Message-ID: <20001005225426.A45446@panzer.kdm.org> References: <14813.21325.718668.456937@whale.home-net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <14813.21325.718668.456937@whale.home-net>; from jjreynold@home.com on Thu, Oct 05, 2000 at 09:21:33PM -0700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Oct 05, 2000 at 21:21:33 -0700, John Reynolds wrote: > > Hello -scsi, > > What part of the cd driver locks the tray when media is mounted? > > I have a 1.8 year old son who LOVES to push the buttons on my CD and CDRW, > watch the tray come out, then, with all the grace and skill a > 2-year-old-wanna-be can must, shoving the tray back into the drive (of course > making the stepper motors squeel with pain). > > I've resorted to keeping CDs in both drives and mounting the iso9660 > filesystems. This keeps the drives from being messed with as the eject button > is "disabled" while the media is mounted. > > What I'm wondering is where this is in the cd driver? Is it deep down in the cd > driver? Some CAM layer? ioctl? The function in question is cdprevent(), which is called from cdopen() and cdclose(). While the device is open, ejects aren't allowed. > I would love to be able to figure this out and perhaps add something into > camcontrol to lock the drive trays in without having media in them (it's just a > PITA to have discs in the drives all the time). Sort like the evil reverse of > "camcontrol eject". > > I also see from the man page that there is a 'cmd' option to camcontrol. Is > there a specific command I can send to the device to lock and unlock its tray? > What would this be? Yes. To prevent removal: camcontrol cmd cd0 -v -c "1e 0 0 0 1 0" To allow removal: camcontrol cmd cd0 -v -c "1e 0 0 0 0 0" > I would much appreciate any help I can get 2-year-old proofing this machine :) > (already had to "unplug" the ATX power and reset lines from the easy-to-push > switches :). :) Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Oct 6 2:23:38 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id 975A337B66D for ; Fri, 6 Oct 2000 02:23:35 -0700 (PDT) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by david.siemens.de (8.11.0/8.11.0) with ESMTP id e969NYI23054 for ; Fri, 6 Oct 2000 11:23:34 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail3.siemens.de (8.11.0/8.11.0) with ESMTP id e969NX815701141 for ; Fri, 6 Oct 2000 11:23:33 +0200 (MEST) Received: (from localhost) by curry.mchp.siemens.de (8.11.0/8.11.0) id e969NXo33034; Date: Fri, 6 Oct 2000 11:23:33 +0200 From: Andre Albsmeier To: freebsd-scsi@freebsd.org Cc: Andre.Albsmeier@mchp.siemens.de Subject: Tagged Queueing gone on -STABLE ? Message-ID: <20001006112333.A1179@curry.mchp.siemens.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I just rebuilt the newest -STABLE and noticed that there is no 'Tagged Queueing Enabled' message any more when booting: da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device -da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled +da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit) da0: 2170MB (4445380 512 byte sectors: 255H 63S/T 276C) da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device -da1: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled +da1: 40.000MB/s transfers (20.000MHz, offset 31, 16bit) da1: 2170MB (4445380 512 byte sectors: 255H 63S/T 276C) da2 at ahc0 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-2 device -da2: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled +da2: 40.000MB/s transfers (20.000MHz, offset 31, 16bit) da2: 4341MB (8890760 512 byte sectors: 255H 63S/T 553C) da3 at ahc0 bus 0 target 3 lun 0 da3: Fixed Direct Access SCSI-2 device -da3: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled +da3: 40.000MB/s transfers (20.000MHz, offset 31, 16bit) da3: 4341MB (8890760 512 byte sectors: 255H 63S/T 553C) Mounting root from ufs:/dev/da1s1a da10 at ahc1 bus 0 target 0 lun 0 I don't know if only the message is missing or the Tagged Queueing is really disabled. It happens on other machines (with IBM drives) as well. I am using these two controllers: ahc0: port 0xb800-0xb8ff mem 0xdd800000-0xdd800fff irq 14 at device 9.0 on pci0 ahc1: port 0xb400-0xb4ff mem 0xdd000000-0xdd000fff irq 15 at device 10.0 on pci0 Maybe this has to do with the recent changes to the Adaptec driver. Did others observer similar things? How is it with -current? -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Oct 6 5:21:48 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from goliath.siemens.de (goliath.siemens.de [194.138.37.131]) by hub.freebsd.org (Postfix) with ESMTP id DD4A637B503 for ; Fri, 6 Oct 2000 05:21:43 -0700 (PDT) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer goliath.siemens.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by goliath.siemens.de (8.11.0/8.11.0) with ESMTP id e96CLgC09679 for ; Fri, 6 Oct 2000 14:21:42 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail1.siemens.de (8.11.0/8.11.0) with ESMTP id e96CLf128041 for ; Fri, 6 Oct 2000 14:21:41 +0200 (MET DST) Received: (from localhost) by curry.mchp.siemens.de (8.11.0/8.11.0) id e96CLfo34073; Date: Fri, 6 Oct 2000 14:21:41 +0200 From: Andre Albsmeier To: Andre.Albsmeier@mchp.siemens.de Cc: freebsd-scsi@freebsd.org Subject: Re: Tagged Queueing gone on -STABLE ? No, it seems disabled Message-ID: <20001006142141.A1444@curry.mchp.siemens.de> References: <20001006112333.A1179@curry.mchp.siemens.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001006112333.A1179@curry.mchp.siemens.de>; from Andre.Albsmeier@mchp.siemens.de on Fri, Oct 06, 2000 at 11:23:33AM +0200 X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org If have digged a bit more into this. It seems that Tagged Queueing is supported but not enabled anymore by default: Lets check some negotiation parameters: root@bali:~>camcontrol negotiate da3 -c Current Parameters: (pass3:ahc0:0:3:0): sync parameter: 12 (pass3:ahc0:0:3:0): frequency: 20.000MHz (pass3:ahc0:0:3:0): offset: 31 (pass3:ahc0:0:3:0): bus width: 16 bits (pass3:ahc0:0:3:0): disconnection is enabled (pass3:ahc0:0:3:0): tagged queueing is enabled ^^^^^^^^^^^^^^^^^^^^^^^^^^ note this Then let's check tags: root@bali:~>camcontrol tags da3 -v (pass3:ahc0:0:3:0): dev_openings 1 (pass3:ahc0:0:3:0): dev_active 0 (pass3:ahc0:0:3:0): devq_openings 1 (pass3:ahc0:0:3:0): devq_queued 0 (pass3:ahc0:0:3:0): held 0 (pass3:ahc0:0:3:0): mintags 24 (pass3:ahc0:0:3:0): maxtags 32 Now we hit the drive a bit with multiple dd's and check the tags again while the dd's are running: root@bali:~>camcontrol tags da3 -v (pass3:ahc0:0:3:0): dev_openings 0 (pass3:ahc0:0:3:0): dev_active 1 (pass3:ahc0:0:3:0): devq_openings 0 (pass3:ahc0:0:3:0): devq_queued 0 (pass3:ahc0:0:3:0): held 0 (pass3:ahc0:0:3:0): mintags 24 (pass3:ahc0:0:3:0): maxtags 32 We see that there is one tag active. Now let's enable Tagged Queueing with camcontrol: root@bali:~>camcontrol negotiate da3 -T enable Current Parameters: (pass3:ahc0:0:3:0): sync parameter: 12 (pass3:ahc0:0:3:0): frequency: 20.000MHz (pass3:ahc0:0:3:0): offset: 31 (pass3:ahc0:0:3:0): bus width: 16 bits (pass3:ahc0:0:3:0): disconnection is enabled (pass3:ahc0:0:3:0): tagged queueing is enabled Let's hit the drive again with dd and check the tags: root@bali:~>camcontrol tags da3 -v (pass3:ahc0:0:3:0): dev_openings 28 (pass3:ahc0:0:3:0): dev_active 4 (pass3:ahc0:0:3:0): devq_openings 28 (pass3:ahc0:0:3:0): devq_queued 0 (pass3:ahc0:0:3:0): held 0 (pass3:ahc0:0:3:0): mintags 24 (pass3:ahc0:0:3:0): maxtags 32 Now it seems that Tagged Queueing is really enabled. -Andre On Fri, 06-Oct-2000 at 11:23:33 +0200, Andre.Albsmeier@mchp.siemens.de wrote: > I just rebuilt the newest -STABLE and noticed that there > is no 'Tagged Queueing Enabled' message any more when booting: > > da0 at ahc0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-2 device > -da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled > +da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit) > da0: 2170MB (4445380 512 byte sectors: 255H 63S/T 276C) > da1 at ahc0 bus 0 target 1 lun 0 > da1: Fixed Direct Access SCSI-2 device > -da1: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled > +da1: 40.000MB/s transfers (20.000MHz, offset 31, 16bit) > da1: 2170MB (4445380 512 byte sectors: 255H 63S/T 276C) > da2 at ahc0 bus 0 target 2 lun 0 > da2: Fixed Direct Access SCSI-2 device > -da2: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled > +da2: 40.000MB/s transfers (20.000MHz, offset 31, 16bit) > da2: 4341MB (8890760 512 byte sectors: 255H 63S/T 553C) > da3 at ahc0 bus 0 target 3 lun 0 > da3: Fixed Direct Access SCSI-2 device > -da3: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled > +da3: 40.000MB/s transfers (20.000MHz, offset 31, 16bit) > da3: 4341MB (8890760 512 byte sectors: 255H 63S/T 553C) > Mounting root from ufs:/dev/da1s1a > da10 at ahc1 bus 0 target 0 lun 0 > > > I don't know if only the message is missing or the Tagged Queueing > is really disabled. It happens on other machines (with IBM drives) > as well. I am using these two controllers: > > ahc0: port 0xb800-0xb8ff mem 0xdd800000-0xdd800fff irq 14 at device 9.0 on pci0 > ahc1: port 0xb400-0xb4ff mem 0xdd000000-0xdd000fff irq 15 at device 10.0 on pci0 > > Maybe this has to do with the recent changes to the Adaptec driver. > > Did others observer similar things? How is it with -current? > > -Andre -- An NT server can be run by an idiot, and usually is. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Oct 6 13: 8:20 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id 8ED8C37B502 for ; Fri, 6 Oct 2000 13:08:10 -0700 (PDT) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by david.siemens.de (8.11.0/8.11.0) with ESMTP id e96K88I08970 for ; Fri, 6 Oct 2000 22:08:09 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail3.siemens.de (8.11.0/8.11.0) with ESMTP id e96K88N15887374 for ; Fri, 6 Oct 2000 22:08:08 +0200 (MEST) Received: (from localhost) by curry.mchp.siemens.de (8.11.0/8.11.0) id e96K88o36434; Date: Fri, 6 Oct 2000 22:08:08 +0200 From: Andre Albsmeier To: Andre.Albsmeier@mchp.siemens.de Cc: freebsd-scsi@freebsd.org Subject: Tagged Queueing is back again Message-ID: <20001006220808.A418@curry.mchp.siemens.de> References: <20001006112333.A1179@curry.mchp.siemens.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001006112333.A1179@curry.mchp.siemens.de>; from Andre.Albsmeier@mchp.siemens.de on Fri, Oct 06, 2000 at 11:23:33AM +0200 X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 06-Oct-2000 at 11:23:33 +0200, Andre.Albsmeier@mchp.siemens.de wrote: > I just rebuilt the newest -STABLE and noticed that there > is no 'Tagged Queueing Enabled' message any more when booting: Justin just fixed it and Tagged Queueing is back. -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Oct 6 13:13:30 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 7005737B502 for ; Fri, 6 Oct 2000 13:13:28 -0700 (PDT) Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id NAA09701; Fri, 6 Oct 2000 13:13:25 -0700 Date: Fri, 6 Oct 2000 13:10:00 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Andre Albsmeier Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: Tagged Queueing is back again In-Reply-To: <20001006220808.A418@curry.mchp.siemens.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I just rebuilt the newest -STABLE and noticed that there > > is no 'Tagged Queueing Enabled' message any more when booting: > > Justin just fixed it and Tagged Queueing is back. Actually, tagged queing was available just fine on all but Adaptec cards. Please- FreeBSD SCSI != Adaptec. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Oct 6 13:21:43 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from goliath.siemens.de (goliath.siemens.de [194.138.37.131]) by hub.freebsd.org (Postfix) with ESMTP id 7D71337B502 for ; Fri, 6 Oct 2000 13:21:41 -0700 (PDT) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer goliath.siemens.de) Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by goliath.siemens.de (8.11.0/8.11.0) with ESMTP id e96KLQC16490; Fri, 6 Oct 2000 22:21:34 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail2.siemens.de (8.11.0/8.11.0) with ESMTP id e96KLQh09630; Fri, 6 Oct 2000 22:21:26 +0200 (MET DST) Received: (from localhost) by curry.mchp.siemens.de (8.11.0/8.11.0) id e96KLQo36502; Date: Fri, 6 Oct 2000 22:21:25 +0200 From: Andre Albsmeier To: Matthew Jacob Cc: Andre Albsmeier , freebsd-scsi@FreeBSD.ORG Subject: Re: Tagged Queueing is back again Message-ID: <20001006222125.A1352@curry.mchp.siemens.de> References: <20001006220808.A418@curry.mchp.siemens.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mjacob@feral.com on Fri, Oct 06, 2000 at 01:10:00PM -0700 X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 06-Oct-2000 at 13:10:00 -0700, Matthew Jacob wrote: > > > > I just rebuilt the newest -STABLE and noticed that there > > > is no 'Tagged Queueing Enabled' message any more when booting: > > > > Justin just fixed it and Tagged Queueing is back. > > Actually, tagged queing was available just fine on all but Adaptec cards. Yep, but in my previous messages concerning this topic I stated clearly that the problem appeared on Adaptec cards. -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Oct 6 13:25: 8 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id B22A937B502 for ; Fri, 6 Oct 2000 13:25:06 -0700 (PDT) Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id NAA09829; Fri, 6 Oct 2000 13:25:03 -0700 Date: Fri, 6 Oct 2000 13:21:38 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Andre Albsmeier Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: Tagged Queueing is back again In-Reply-To: <20001006222125.A1352@curry.mchp.siemens.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Yep, but in my previous messages concerning this topic I stated clearly > that the problem appeared on Adaptec cards. > You're not picking up on my hint... :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Oct 6 13:26:21 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 7E1C537B502 for ; Fri, 6 Oct 2000 13:26:15 -0700 (PDT) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id e96KQFI23526 for freebsd-scsi@freebsd.org; Fri, 6 Oct 2000 13:26:15 -0700 Date: Fri, 6 Oct 2000 13:26:15 -0700 From: Brooks Davis To: freebsd-scsi@freebsd.org Subject: chio vs Qualstar TLS-6220 Message-ID: <20001006132615.A22697@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, A while back we bought a Qualstar 20 tape DLT changer to handle tape backups for our lab. Our model does not have a barcode reader. After adding the ch device, FreeBSD (4.1.1-STABLE) sees the changer. It identifys the various slots, drives, etc and appears to report correct status picker, portal, and drive, but it reports as the status of all the slots. I got similar results from STCTL under solaris (http://www.cs.pdx.edu/~eric/stctl/). Attempts to move a tape from a slot to a drive fail. I've got CAM_DEBUG in the kernel and I'll have physical access to the system next week so I'd like some suggestions on debugging this system if you have any. Here's some information I have now. From dmesg: ch0 at ahc0 bus 0 target 3 lun 0 ch0: Removable Changer SCSI-2 device ch0: 3.300MB/s transfers ch0: 20 slots, 1 drive, 1 picker, 1 portal Output from "chio status": # chio status picker 0: slot 0: slot 1: slot 2: slot 3: slot 4: slot 5: slot 6: slot 7: slot 8: slot 9: slot 10: slot 11: slot 12: slot 13: slot 14: slot 15: slot 16: slot 17: slot 18: slot 19: portal 0: drive 0: Output from an attempt to load a tape: aero# chio move slot 0 drive 0 chio: /dev/ch0: CHIOMOVE: Invalid argument Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): MOVE MEDIUM. CDB: a5 0 2 bc 0 0 1 f4 0 0 0 0 Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): MOVE MEDIUM. CDB: a5 0 2 bc 0 0 1 f4 0 0 0 0 Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): ILLEGAL REQUEST asc:80,3 Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): ILLEGAL REQUEST asc:80,3 Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): Vendor Specific ASC Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): Vendor Specific ASC Thanks, Brooks -- Any statement of the form "X is the one, true Y" is FALSE. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Oct 6 13:29: 7 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from goliath.siemens.de (goliath.siemens.de [194.138.37.131]) by hub.freebsd.org (Postfix) with ESMTP id AE51937B502 for ; Fri, 6 Oct 2000 13:29:04 -0700 (PDT) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer goliath.siemens.de) Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by goliath.siemens.de (8.11.0/8.11.0) with ESMTP id e96KT0C17252; Fri, 6 Oct 2000 22:29:01 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail3.siemens.de (8.11.0/8.11.0) with ESMTP id e96KT0N15892090; Fri, 6 Oct 2000 22:29:00 +0200 (MEST) Received: (from localhost) by curry.mchp.siemens.de (8.11.0/8.11.0) id e96KT0o36544; Date: Fri, 6 Oct 2000 22:29:00 +0200 From: Andre Albsmeier To: Matthew Jacob Cc: Andre Albsmeier , freebsd-scsi@FreeBSD.ORG Subject: Re: Tagged Queueing is back again Message-ID: <20001006222900.A1662@curry.mchp.siemens.de> References: <20001006222125.A1352@curry.mchp.siemens.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mjacob@feral.com on Fri, Oct 06, 2000 at 01:21:38PM -0700 X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 06-Oct-2000 at 13:21:38 -0700, Matthew Jacob wrote: > > > > Yep, but in my previous messages concerning this topic I stated clearly > > that the problem appeared on Adaptec cards. > > > > You're not picking up on my hint... :-) No, please explain (perhaps privately if it is to embarrassing for me :-)) -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Oct 6 13:32: 4 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 8132F37B503 for ; Fri, 6 Oct 2000 13:32:01 -0700 (PDT) Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id NAA09881; Fri, 6 Oct 2000 13:31:59 -0700 Date: Fri, 6 Oct 2000 13:28:34 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Brooks Davis Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: chio vs Qualstar TLS-6220 In-Reply-To: <20001006132615.A22697@Odin.AC.HMC.Edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org All the slots are marked with an EXCEPTION and aren't marked ACCESSable. Have you done a chio ielem? I vaguely recall that the Qualstar TLS-4220 I used quite some time ago had some oddities - frankly I don't remember the details (it's been 7 years). On Fri, 6 Oct 2000, Brooks Davis wrote: > Hi, > > A while back we bought a Qualstar 20 tape DLT changer to handle tape > backups for our lab. Our model does not have a barcode reader. After > adding the ch device, FreeBSD (4.1.1-STABLE) sees the changer. It > identifys the various slots, drives, etc and appears to report correct > status picker, portal, and drive, but it reports as the status > of all the slots. I got similar results from STCTL under solaris > (http://www.cs.pdx.edu/~eric/stctl/). Attempts to move a tape from a > slot to a drive fail. I've got CAM_DEBUG in the kernel and I'll have > physical access to the system next week so I'd like some suggestions on > debugging this system if you have any. > > Here's some information I have now. From dmesg: > > ch0 at ahc0 bus 0 target 3 lun 0 > ch0: Removable Changer SCSI-2 device > ch0: 3.300MB/s transfers > ch0: 20 slots, 1 drive, 1 picker, 1 portal > > Output from "chio status": > > # chio status > picker 0: > slot 0: > slot 1: > slot 2: > slot 3: > slot 4: > slot 5: > slot 6: > slot 7: > slot 8: > slot 9: > slot 10: > slot 11: > slot 12: > slot 13: > slot 14: > slot 15: > slot 16: > slot 17: > slot 18: > slot 19: > portal 0: > drive 0: > > Output from an attempt to load a tape: > > aero# chio move slot 0 drive 0 > chio: /dev/ch0: CHIOMOVE: Invalid argument > Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): MOVE MEDIUM. CDB: a5 0 2 bc 0 0 1 f4 0 0 0 0 > Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): MOVE MEDIUM. CDB: a5 0 2 bc 0 0 1 f4 0 0 0 0 > Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): ILLEGAL REQUEST asc:80,3 > Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): ILLEGAL REQUEST asc:80,3 > Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): Vendor Specific ASC > Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): Vendor Specific ASC > > Thanks, > Brooks > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Oct 6 13:34: 5 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 4F71537B66D for ; Fri, 6 Oct 2000 13:34:03 -0700 (PDT) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id OAA51543; Fri, 6 Oct 2000 14:33:59 -0600 (MDT) (envelope-from ken) Date: Fri, 6 Oct 2000 14:33:59 -0600 From: "Kenneth D. Merry" To: Brooks Davis Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: chio vs Qualstar TLS-6220 Message-ID: <20001006143359.A51511@panzer.kdm.org> References: <20001006132615.A22697@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20001006132615.A22697@Odin.AC.HMC.Edu>; from brooks@one-eyed-alien.net on Fri, Oct 06, 2000 at 01:26:15PM -0700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Oct 06, 2000 at 13:26:15 -0700, Brooks Davis wrote: > Hi, > > A while back we bought a Qualstar 20 tape DLT changer to handle tape > backups for our lab. Our model does not have a barcode reader. After > adding the ch device, FreeBSD (4.1.1-STABLE) sees the changer. It > identifys the various slots, drives, etc and appears to report correct > status picker, portal, and drive, but it reports as the status > of all the slots. I got similar results from STCTL under solaris > (http://www.cs.pdx.edu/~eric/stctl/). Attempts to move a tape from a > slot to a drive fail. I've got CAM_DEBUG in the kernel and I'll have > physical access to the system next week so I'd like some suggestions on > debugging this system if you have any. I've got a Qualstar 4210 with an AIT drive that works fine: at scbus1 target 5 lun 0 (pass4,sa0) at scbus1 target 6 lun 0 (pass5,ch0) [ slots in the EXCEPT state ] > Output from an attempt to load a tape: > > aero# chio move slot 0 drive 0 > chio: /dev/ch0: CHIOMOVE: Invalid argument > Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): MOVE MEDIUM. CDB: a5 0 2 bc 0 0 1 f4 0 0 0 0 > Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): MOVE MEDIUM. CDB: a5 0 2 bc 0 0 1 f4 0 0 0 0 > Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): ILLEGAL REQUEST asc:80,3 > Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): ILLEGAL REQUEST asc:80,3 > Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): Vendor Specific ASC > Oct 6 13:25:25 aero /kernel: (ch0:ahc0:0:3:0): Vendor Specific ASC As Matt suggested, try 'chio ielem' and see if that helps. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Oct 6 13:55:39 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 981D537B503 for ; Fri, 6 Oct 2000 13:55:37 -0700 (PDT) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id e96KtLr25131; Fri, 6 Oct 2000 13:55:21 -0700 Date: Fri, 6 Oct 2000 13:55:21 -0700 From: Brooks Davis To: Matthew Jacob Cc: Brooks Davis , freebsd-scsi@FreeBSD.ORG Subject: Re: chio vs Qualstar TLS-6220 Message-ID: <20001006135521.A24991@Odin.AC.HMC.Edu> References: <20001006132615.A22697@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from mjacob@feral.com on Fri, Oct 06, 2000 at 01:28:34PM -0700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Oct 06, 2000 at 01:28:34PM -0700, Matthew Jacob wrote: > > All the slots are marked with an EXCEPTION and aren't > marked ACCESSable. > > Have you done a chio ielem? That doesn't do it. I'll take a look at the system in person Monday. Since I've seen two reports that these should work, I'll probably call the vendor then and see if they can tell me anything. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Oct 6 16:19:17 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id 1884137B502 for ; Fri, 6 Oct 2000 16:19:15 -0700 (PDT) Received: from localhost (winter@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id TAA19252; Fri, 6 Oct 2000 19:18:52 -0400 (EDT) Date: Fri, 6 Oct 2000 19:18:51 -0400 (EDT) From: "Matthew N. Dodd" To: "Kenneth D. Merry" Cc: John Reynolds , scsi@FreeBSD.ORG Subject: Re: what part of the driver locks the CD tray? In-Reply-To: <20001005225426.A45446@panzer.kdm.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 5 Oct 2000, Kenneth D. Merry wrote: > Yes. To prevent removal: > > camcontrol cmd cd0 -v -c "1e 0 0 0 1 0" > > To allow removal: > > camcontrol cmd cd0 -v -c "1e 0 0 0 0 0" 'camcontrol lock/unlock' might be nice to have! -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Oct 6 21:14:42 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 17FBC37B502 for ; Fri, 6 Oct 2000 21:14:41 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e974EeT09482 for scsi@freebsd.org; Fri, 6 Oct 2000 21:14:40 -0700 (PDT) Date: Fri, 6 Oct 2000 21:14:40 -0700 From: Alfred Perlstein To: scsi@freebsd.org Subject: best driver for ncr 53c875 fast20 wide scsi on 3.x? Message-ID: <20001006211440.N272@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've got a 3.5 system just about to upgrade, with the ncr driver in use: ncr0: rev 0x37 int a irq 21 on pci0.13.0 Does anyone know/remeber the best driver to use on 3.5? ncr or sym? thanks, -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Oct 6 23:56:36 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id A96B837B502 for ; Fri, 6 Oct 2000 23:56:33 -0700 (PDT) Received: (qmail 9658 invoked by uid 1001); 7 Oct 2000 06:56:26 +0000 (GMT) To: bright@wintelcom.net Cc: scsi@freebsd.org Subject: Re: best driver for ncr 53c875 fast20 wide scsi on 3.x? From: sthaug@nethelp.no In-Reply-To: Your message of "Fri, 6 Oct 2000 21:14:40 -0700" References: <20001006211440.N272@fw.wintelcom.net> X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Sat, 07 Oct 2000 08:56:26 +0200 Message-ID: <9656.970901786@verdi.nethelp.no> Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I've got a 3.5 system just about to upgrade, with the ncr driver in > use: > > ncr0: rev 0x37 int a irq 21 on pci0.13.0 > > Does anyone know/remeber the best driver to use on 3.5? ncr or sym? I strongly recommend sym. It solved a lot of problems for us, and we finally got a *stable* machine. Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sat Oct 7 9:25:39 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from thelab.hub.org (CDR8-44.accesscable.net [24.138.8.44]) by hub.freebsd.org (Postfix) with ESMTP id 9392437B503; Sat, 7 Oct 2000 09:25:34 -0700 (PDT) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.11.0/8.11.0) with ESMTP id e97GONR03210; Sat, 7 Oct 2000 13:24:23 -0300 (ADT) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Sat, 7 Oct 2000 13:24:23 -0300 (ADT) From: The Hermit Hacker To: freebsd-current@freebsd.org Cc: freebsd-scsi@freebsd.org Subject: ahc panic on <24hr kernel ... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org source code CVSup as of early this morning, system is a dual celeron, with the following scsi controller: ahc0: port 0xc800-0xc8ff mem 0xef000000-0xef000fff irq 17 at device 13.0 on pci0 after little time after rebooting, and sped up by doing a make world, I get: --------- Fatal trap 12: page fault while in kernel mode cpuid = 1; lapic.id = 01000000 fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0131464 stack pointer = 0x10:0xcb7a3e90 frame pointer = 0x10:0xcb7a3ea0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 6 current process = 16 ( irq 17: ahc0 ) kernel: type 12 trap, code = 0 CPU1 stopping CPUs: 0x00000001... stopped Stopped at ahc_match_scb+0x18: movl 0(%esi),%eax and a trace from DDB shows: ahc_match_scb() @ +0x18 ahc_search_qinfifo @ +0xf7 ahc_freeze_devq @ +0x5d ahc_handle_seqint @ +0x135 ahc_freebsd_intr @ +0x97 ithd_loop @ +0x6f fork_trampoline @ +0x44 ------------ Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sat Oct 7 12:13:11 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from dayspring.firedrake.org (dayspring.firedrake.org [195.82.105.251]) by hub.freebsd.org (Postfix) with ESMTP id 8B2CE37B502 for ; Sat, 7 Oct 2000 12:13:09 -0700 (PDT) Received: from float by dayspring.firedrake.org with local (Exim 3.12 #1 (Debian)) id 13hzPA-0003zY-00; Sat, 07 Oct 2000 20:13:08 +0100 Date: Sat, 7 Oct 2000 20:13:08 +0100 To: scsi@freebsd.org Subject: pr i386/21824 Message-ID: <20001007201308.A15297@firedrake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i From: void Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org After updating to the latest FreeBSD-STABLE, I've been unable to boot my system due to the bt driver not attaching. If you would look at pr i386/21824 and let me know if there's information I should add, I would be greatly appreciative. -- Ben 220 go.ahead.make.my.day ESMTP Postfix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sat Oct 7 15:20:34 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from cx587235-a.chnd1.az.home.com (cx587235-a.chnd1.az.home.com [24.11.88.170]) by hub.freebsd.org (Postfix) with ESMTP id 85B9237B502 for ; Sat, 7 Oct 2000 15:20:32 -0700 (PDT) Received: from whale.home-net (whale [192.168.1.2]) by cx587235-a.chnd1.az.home.com (8.9.3/8.9.3) with ESMTP id PAA61868; Sat, 7 Oct 2000 15:20:32 -0700 (MST) (envelope-from jjreynold@home.com) Received: (from jjreynold@localhost) by whale.home-net (8.11.0/8.11.0) id e97MKVq13290; Sat, 7 Oct 2000 15:20:31 -0700 (MST) (envelope-from jjreynold@home.com) From: John Reynolds MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14815.41391.607241.353903@whale.home-net> Date: Sat, 7 Oct 2000 15:20:31 -0700 (MST) To: "Kenneth D. Merry" Cc: scsi@FreeBSD.ORG Subject: Re: what part of the driver locks the CD tray? In-Reply-To: <20001005225426.A45446@panzer.kdm.org> References: <14813.21325.718668.456937@whale.home-net> <20001005225426.A45446@panzer.kdm.org> X-Mailer: VM 6.75 under Emacs 20.7.1 Cc: Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ On Thursday, October 5, Kenneth D. Merry wrote: ] > > Yes. To prevent removal: > > camcontrol cmd cd0 -v -c "1e 0 0 0 1 0" > > To allow removal: > > camcontrol cmd cd0 -v -c "1e 0 0 0 0 0" These commands worked for my plain CD-ROM drive on cd0 but did not work for my SCSI CD-RW on cd1 cd1 at ahc0 bus 0 target 4 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: 8.333MB/s transfers (8.333MHz, offset 31) cd1: cd present [239755 x 2048 byte records] When I run the "lock" command (s/cd0/cd1), I get: camcontrol: error sending command (pass2:ahc0:0:4:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 (pass2:ahc0:0:4:0): NOT READY asc:3a,1 (pass2:ahc0:0:4:0): Medium not present - tray closed Is the command different for CDRW drives? There is no media in either drive but the command for locking/unlocking on cd0 works regardless of media. Thanks Kenneth, -Jr ps: if I put media into the CD-RW drive and execute the clock command I get this: camcontrol: error sending command (pass2:ahc0:0:4:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 (pass2:ahc0:0:4:0): UNIT ATTENTION asc:28,0 pass2:ahc0:0:4:0): Not ready to ready change, medium may have changed ? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= John Reynolds Chandler Capabilities Engineering, CDS, Intel Corporation jreynold@sedona.ch.intel.com My opinions are mine, not Intel's. Running jjreynold@home.com FreeBSD 4.1-STABLE. FreeBSD: The Power to Serve. http://members.home.com/jjreynold/ Come join us!!! @ http://www.FreeBSD.org/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sat Oct 7 15:32:40 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 1963937B503 for ; Sat, 7 Oct 2000 15:32:32 -0700 (PDT) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id QAA63716; Sat, 7 Oct 2000 16:31:14 -0600 (MDT) (envelope-from ken) Date: Sat, 7 Oct 2000 16:31:14 -0600 From: "Kenneth D. Merry" To: John Reynolds Cc: scsi@FreeBSD.ORG Subject: Re: what part of the driver locks the CD tray? Message-ID: <20001007163114.A63656@panzer.kdm.org> References: <14813.21325.718668.456937@whale.home-net> <20001005225426.A45446@panzer.kdm.org> <14815.41391.607241.353903@whale.home-net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <14815.41391.607241.353903@whale.home-net>; from jjreynold@home.com on Sat, Oct 07, 2000 at 03:20:31PM -0700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Oct 07, 2000 at 15:20:31 -0700, John Reynolds wrote: > > [ On Thursday, October 5, Kenneth D. Merry wrote: ] > > > > Yes. To prevent removal: > > > > camcontrol cmd cd0 -v -c "1e 0 0 0 1 0" > > > > To allow removal: > > > > camcontrol cmd cd0 -v -c "1e 0 0 0 0 0" > > These commands worked for my plain CD-ROM drive on cd0 but did not work for my > SCSI CD-RW on cd1 > > cd1 at ahc0 bus 0 target 4 lun 0 > cd1: Removable CD-ROM SCSI-2 device > cd1: 8.333MB/s transfers (8.333MHz, offset 31) > cd1: cd present [239755 x 2048 byte records] > > When I run the "lock" command (s/cd0/cd1), I get: > > camcontrol: error sending command > (pass2:ahc0:0:4:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 > (pass2:ahc0:0:4:0): NOT READY asc:3a,1 > (pass2:ahc0:0:4:0): Medium not present - tray closed > > Is the command different for CDRW drives? There is no media in either drive but > the command for locking/unlocking on cd0 works regardless of media. That means the drive won't let you lock it unless there is media. So you'll have to leave media in that drive in order to lock it. > ps: if I put media into the CD-RW drive and execute the clock command I get > this: > > camcontrol: error sending command > (pass2:ahc0:0:4:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 > (pass2:ahc0:0:4:0): UNIT ATTENTION asc:28,0 > pass2:ahc0:0:4:0): Not ready to ready change, medium may have changed That's normal. The drive is just informing you that the media has changed. In the kernel, we normally retry commands returned with unit attention errors, although with camcontrol the default action is not to do any error recovery. If you execute the command a second time, it should complete without errors. Unit Attention conditions generally happen when the device has been reset or the media has changed. Once the condition is reported, it is cleared, and subsequent commands can complete without errors. Another way to handle this with camcontrol, besides executing the command a second time, is to enable error recovery and retries. e.g.: camcontrol cmd cd0 -E -C 3 -v -c "1e 0 0 0 1 0" The -E enables error recovery, and -C 3 tells the kernel to retry the command up to three times. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sat Oct 7 16: 8:32 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from cx587235-a.chnd1.az.home.com (cx587235-a.chnd1.az.home.com [24.11.88.170]) by hub.freebsd.org (Postfix) with ESMTP id E4BE537B66C for ; Sat, 7 Oct 2000 16:08:29 -0700 (PDT) Received: from whale.home-net (whale [192.168.1.2]) by cx587235-a.chnd1.az.home.com (8.9.3/8.9.3) with ESMTP id QAA64826; Sat, 7 Oct 2000 16:08:29 -0700 (MST) (envelope-from jjreynold@home.com) Received: (from jjreynold@localhost) by whale.home-net (8.11.0/8.11.0) id e97N8Ta16223; Sat, 7 Oct 2000 16:08:29 -0700 (MST) (envelope-from jjreynold@home.com) From: John Reynolds MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14815.44269.338245.977801@whale.home-net> Date: Sat, 7 Oct 2000 16:08:29 -0700 (MST) To: "Kenneth D. Merry" Cc: scsi@FreeBSD.ORG Subject: Re: what part of the driver locks the CD tray? In-Reply-To: <20001007163114.A63656@panzer.kdm.org> References: <14813.21325.718668.456937@whale.home-net> <20001005225426.A45446@panzer.kdm.org> <14815.41391.607241.353903@whale.home-net> <20001007163114.A63656@panzer.kdm.org> X-Mailer: VM 6.75 under Emacs 20.7.1 Cc: Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ On Saturday, October 7, Kenneth D. Merry wrote: ] > > That means the drive won't let you lock it unless there is media. RATS! > If you execute the command a second time, it should complete without > errors. yes, it did. > Another way to handle this with camcontrol, besides executing the command a > second time, is to enable error recovery and retries. e.g.: > > camcontrol cmd cd0 -E -C 3 -v -c "1e 0 0 0 1 0" that did the trick for both drives. gotta leave media in the cdrw, but I guess that's ok. Thanks!!!! -Jr -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= John Reynolds Chandler Capabilities Engineering, CDS, Intel Corporation jreynold@sedona.ch.intel.com My opinions are mine, not Intel's. Running jjreynold@home.com FreeBSD 4.1-STABLE. FreeBSD: The Power to Serve. http://members.home.com/jjreynold/ Come join us!!! @ http://www.FreeBSD.org/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message