From owner-freebsd-scsi Sun Jul 11 11:11:21 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from mail.eclipse.net (mail.eclipse.net [207.207.192.13]) by hub.freebsd.org (Postfix) with ESMTP id 0CED914BD6; Sun, 11 Jul 1999 11:11:18 -0700 (PDT) (envelope-from johnc@geekopolis.com) Received: from ibe-cam (ibe-cam.ibetechgrp.com [207.207.207.75]) by mail.eclipse.net (8.9.1a/8.9.1) with SMTP id OAA15020; Sun, 11 Jul 1999 14:11:18 -0400 (EDT) From: "John T. Croteau" To: , Subject: I2O Date: Sun, 11 Jul 1999 14:06:55 -0400 Message-ID: <000401becbc8$28dbbe20$4bcfcfcf@ibe-cam.ibetechgrp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Is anyone working on, or at least looking at, I2O (http://www.i2osig.com) support for FreeBSD? - JT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Jul 11 14:37:39 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with SMTP id 3A1FB14CA7; Sun, 11 Jul 1999 14:37:34 -0700 (PDT) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <40323>; Mon, 12 Jul 1999 07:18:36 +1000 Date: Mon, 12 Jul 1999 07:36:33 +1000 From: Peter Jeremy Subject: Re: I2O In-reply-to: <000401becbc8$28dbbe20$4bcfcfcf@ibe-cam.ibetechgrp.com> To: freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG, johnc@geekopolis.com Message-Id: <99Jul12.071836est.40323@border.alcanet.com.au> Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "John T. Croteau" wrote: >Is anyone working on, or at least looking at, I2O (http://www.i2osig.com) >support for FreeBSD? Last I heard, the I2O standard was not open - it was available only under NDA and/or in exchange for a bucketload of money. Unless this has changed recently, just cross any I2O motherboards off your shopping list. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Jul 11 14:46:34 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 5FC9F14F87; Sun, 11 Jul 1999 14:46:32 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.8.7/8.8.7) with ESMTP id OAA31935; Sun, 11 Jul 1999 14:45:27 -0700 Date: Sun, 11 Jul 1999 14:45:26 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Peter Jeremy Cc: freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG, johnc@geekopolis.com Subject: Re: I2O In-Reply-To: <99Jul12.071836est.40323@border.alcanet.com.au> 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 > >Is anyone working on, or at least looking at, I2O (http://www.i2osig.com) > >support for FreeBSD? > > Last I heard, the I2O standard was not open - it was available only > under NDA and/or in exchange for a bucketload of money. > > Unless this has changed recently, just cross any I2O motherboards off > your shopping list. > NO need to be so draconian. I have several I2O motherboards running FreeBSD. It's just not entirely clear how to use the features. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Jul 11 15:39: 1 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id AD4A314DD1; Sun, 11 Jul 1999 15:38:57 -0700 (PDT) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <40359>; Mon, 12 Jul 1999 08:20:54 +1000 Date: Mon, 12 Jul 1999 08:38:48 +1000 From: Peter Jeremy Subject: Re: I2O In-reply-to: To: mjacob@feral.com Cc: freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Message-Id: <99Jul12.082054est.40359@border.alcanet.com.au> Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Matthew Jacob wrote: >> Unless this has changed recently, just cross any I2O motherboards off >> your shopping list. > >NO need to be so draconian. I have several I2O motherboards running >FreeBSD. It's just not entirely clear how to use the features. My statement was derived from "don't support vendors who push proprietary solutions", rather than any technical issues. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Jul 11 15:48:38 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 8A74E14DD1; Sun, 11 Jul 1999 15:48:35 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.8.7/8.8.7) with ESMTP id PAA32099; Sun, 11 Jul 1999 15:48:30 -0700 Date: Sun, 11 Jul 1999 15:48:29 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Peter Jeremy Cc: freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: I2O In-Reply-To: <99Jul12.082054est.40359@border.alcanet.com.au> 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 > >> Unless this has changed recently, just cross any I2O motherboards off > >> your shopping list. > > > >NO need to be so draconian. I have several I2O motherboards running > >FreeBSD. It's just not entirely clear how to use the features. > > My statement was derived from "don't support vendors who push > proprietary solutions", rather than any technical issues. Then take the discussion to freebsd-advocacy. Not that I don't agree in some ways, but this isn't the forum for it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Jul 11 16:24:36 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by hub.freebsd.org (Postfix) with ESMTP id 9803F14C32 for ; Sun, 11 Jul 1999 16:24:29 -0700 (PDT) (envelope-from gibbs@narnia.plutotech.com) Received: (from gibbs@localhost) by narnia.plutotech.com (8.9.3/8.7.3) id RAA07295; Sun, 11 Jul 1999 17:13:36 -0600 (MDT) Date: Sun, 11 Jul 1999 17:13:36 -0600 (MDT) From: "Justin T. Gibbs" Message-Id: <199907112313.RAA07295@narnia.plutotech.com> To: mjacob@feral.com Cc: scsi@FreeBSD.org Subject: Re: CAM scan order perplexities X-Newsgroups: pluto.freebsd.scsi In-Reply-To: User-Agent: tin/pre-1.4-980818 ("Laura") (UNIX) (FreeBSD/4.0-CURRENT (i386)) Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article you wrote: > > > Sometimes things seem to hang for me irretrievably when I'm booting- > somewhere usually in the scanning goop that CAM does when you're > booting... Mostly this happens for me with Qlogic FC, but it happens > rarely for me also with the Qlogic SCSI- and it happens a lot for Andrew > Gallatin @ Duke with SCSI on alpha...(I've made things marginally better > for him at the moment by having his isp not scan other than lun 0 and > ignore nvram settings..).... This is likely the problem with not having a thread or process context for doing the parallel probes. > But this is not what this mail is about... I've been playing around with > watching what goes on to try and sort this out, and here's something very > strange.... I've set up a case where I can turn on/off throwing commands > at a device, so I try multiple SCANS... here's a trace of this: This is a known bug. I just haven't gotten around to fixing it yet. The problem is that when devices are scanned, they are announced immediately instead of in a deferred action that ensures correct ordering. During boot, this isn't a problem because there aren't any peripheral drivers 'listening' for AC_FOUND_DEVICE events until after the initial probe is complete. In this case, the XPT will broadcast the AC_FOUND_DEVICE for all devices in the system at the time a driver enables that event. Since that code announces in order, everything works as expected. The good thing is that this is easy to fix. Add an extra flag to cam_ed.flags, CAM_DEV_ANOUNCE_PENDING. In all the places where the xpt currently performs an explicit xpt_async(AC_FOUND_DEVICE, ...), replace that with a function call that checks to see if announcements are blocked and if so, sets the flag. Otherwise, announce as normal. In the xpt_scan_bus code, call a function that locks out anouncements, scan the bus, then call a function that releases announcements, traverses the EDT, and fires an xpt_async(AC_FOUND_DEVICE, ...) for anyone tagged. Much of this code can be stolen from the event enable logic for AC_FOUND_DEVICE. You may want hierarchical blocking so you can set a block for all buses or just a single one, but I don't think that is critical right now. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Jul 11 16:37: 4 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from caspian.plutotech.com (caspian.plutotech.com [206.168.67.80]) by hub.freebsd.org (Postfix) with ESMTP id AE2C31508D for ; Sun, 11 Jul 1999 16:36:55 -0700 (PDT) (envelope-from gibbs@caspian.plutotech.com) Received: from caspian.plutotech.com (localhost [127.0.0.1]) by caspian.plutotech.com (8.9.3/8.9.1) with ESMTP id RAA00632; Sun, 11 Jul 1999 17:36:59 -0600 (MDT) (envelope-from gibbs@caspian.plutotech.com) Message-Id: <199907112336.RAA00632@caspian.plutotech.com> X-Mailer: exmh version 2.0.2 2/24/98 To: John-Mark Gurney Cc: freebsd-scsi@freebsd.org, "Justin T. Gibbs" Subject: Re: adv panics on boot with chinon cd-rom In-reply-to: Your message of "Fri, 16 Apr 1999 00:58:02 PDT." <19990416005802.03297@hydrogen.nike.efn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 11 Jul 1999 17:36:59 -0600 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Content-Type: text/plain; charset=us-ascii > >well, I reciently reorganized my scsi devices as I got to new ultra >drives... so I had to move devices around... previously the buslogic >pci driver wouldn't have any problems with the chinon cd-rom drives, >but the advansys pci drive doesn't handle them too well... ... >if you hit it to hard... yes, I do know about the patch that allows >you to set the tags, but I'm pretty sure it's not compatible with 3.0-R, >and until I get the cdrom drives up, I'm not going to be upgrading. But the cdroms don't work with 3.0R's advansys driver, so I don't see the reason not to upgrade. 3.2R will not panic in the adv driver as seen below, but without having a Chinon drive here where I can sniff it with a bus analyzer, it will be somewhat harder for me to determine why the advansys cards don't like them. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Jul 12 1: 8:41 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id E27A714F6B; Mon, 12 Jul 1999 01:08:31 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id JAA31650; Mon, 12 Jul 1999 09:09:11 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Mon, 12 Jul 1999 09:09:11 +0100 (BST) From: Doug Rabson To: Peter Jeremy Cc: freebsd-hardware@freebsd.org, freebsd-scsi@freebsd.org, johnc@geekopolis.com Subject: Re: I2O In-Reply-To: <99Jul12.071836est.40323@border.alcanet.com.au> 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, 12 Jul 1999, Peter Jeremy wrote: > "John T. Croteau" wrote: > >Is anyone working on, or at least looking at, I2O (http://www.i2osig.com) > >support for FreeBSD? > > Last I heard, the I2O standard was not open - it was available only > under NDA and/or in exchange for a bucketload of money. > > Unless this has changed recently, just cross any I2O motherboards off > your shopping list. I thought the Linux folks were working on drivers. I seem to remember Alan Cox (the other one) working on I2O drivers fairly recently. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Jul 12 1:35:15 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from shell.futuresouth.com (shell.futuresouth.com [198.78.58.28]) by hub.freebsd.org (Postfix) with ESMTP id 56A0B14C35; Mon, 12 Jul 1999 01:35:11 -0700 (PDT) (envelope-from tim@futuresouth.com) Received: (from tim@localhost) by shell.futuresouth.com (8.9.3/8.9.3) id DAA10970; Mon, 12 Jul 1999 03:35:00 -0500 (CDT) Date: Mon, 12 Jul 1999 03:35:00 -0500 From: Tim Tsai To: Doug Rabson Cc: Peter Jeremy , freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG, johnc@geekopolis.com Subject: Re: I2O Message-ID: <19990712033459.A10956@futuresouth.com> References: <99Jul12.071836est.40323@border.alcanet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Doug Rabson on Mon, Jul 12, 1999 at 09:09:11AM +0100 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I asked about this recently. I believe Simon Shapiro is working on I2O support for FreeBSD, in order to support DPT I2O drivers. Tim On Mon, Jul 12, 1999 at 09:09:11AM +0100, Doug Rabson wrote: > On Mon, 12 Jul 1999, Peter Jeremy wrote: > > > "John T. Croteau" wrote: > > >Is anyone working on, or at least looking at, I2O (http://www.i2osig.com) > > >support for FreeBSD? > > > > Last I heard, the I2O standard was not open - it was available only > > under NDA and/or in exchange for a bucketload of money. > > > > Unless this has changed recently, just cross any I2O motherboards off > > your shopping list. > > I thought the Linux folks were working on drivers. I seem to remember Alan > Cox (the other one) working on I2O drivers fairly recently. > > -- > Doug Rabson Mail: dfr@nlsystems.com > Nonlinear Systems Ltd. Phone: +44 181 442 9037 > > > > > 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 Mon Jul 12 1:54:33 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 624E714C25; Mon, 12 Jul 1999 01:54:19 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 4DDD281; Mon, 12 Jul 1999 16:52:59 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Tim Tsai Cc: Doug Rabson , Peter Jeremy , freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG, johnc@geekopolis.com Subject: Re: I2O In-reply-to: Your message of "Mon, 12 Jul 1999 03:35:00 EST." <19990712033459.A10956@futuresouth.com> Date: Mon, 12 Jul 1999 16:52:59 +0800 From: Peter Wemm Message-Id: <19990712085259.4DDD281@overcee.netplex.com.au> Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tim Tsai wrote: > I asked about this recently. I believe Simon Shapiro is working on I2O > support for FreeBSD, in order to support DPT I2O drivers. > > Tim I was told that he was not only working on it, but had all but finished and had I2O disk support pretty much complete. The whole I2O concept doesn't fit within CAM as I understand it - all the scsi processing is offloaded. > On Mon, Jul 12, 1999 at 09:09:11AM +0100, Doug Rabson wrote: > > On Mon, 12 Jul 1999, Peter Jeremy wrote: > > > > > "John T. Croteau" wrote: > > > >Is anyone working on, or at least looking at, I2O (http://www.i2osig.com ) > > > >support for FreeBSD? > > > > > > Last I heard, the I2O standard was not open - it was available only > > > under NDA and/or in exchange for a bucketload of money. > > > > > > Unless this has changed recently, just cross any I2O motherboards off > > > your shopping list. > > > > I thought the Linux folks were working on drivers. I seem to remember Alan > > Cox (the other one) working on I2O drivers fairly recently. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Jul 12 17:44:28 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id B4EF714FD2; Mon, 12 Jul 1999 17:44:24 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id RAA02765; Mon, 12 Jul 1999 17:39:01 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199907130039.RAA02765@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Peter Jeremy Cc: mjacob@feral.com, freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: I2O In-reply-to: Your message of "Mon, 12 Jul 1999 08:38:48 +1000." <99Jul12.082054est.40359@border.alcanet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 12 Jul 1999 17:39:01 -0700 From: Mike Smith Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Matthew Jacob wrote: > >> Unless this has changed recently, just cross any I2O motherboards off > >> your shopping list. > > > >NO need to be so draconian. I have several I2O motherboards running > >FreeBSD. It's just not entirely clear how to use the features. > > My statement was derived from "don't support vendors who push > proprietary solutions", rather than any technical issues. The I2O spec has been open for several months now. -- \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msmith@freebsd.org \\ -- Joseph Merrick \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Jul 12 18:20: 7 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 519E114CB1; Mon, 12 Jul 1999 18:19:57 -0700 (PDT) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <40585>; Tue, 13 Jul 1999 11:00:37 +1000 Date: Tue, 13 Jul 1999 11:18:33 +1000 From: Peter Jeremy Subject: Re: I2O In-reply-to: <199907130039.RAA02765@dingo.cdrom.com> To: freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Message-Id: <99Jul13.110037est.40585@border.alcanet.com.au> Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike Smith wrote: >The I2O spec has been open for several months now. Excellent. In that case, I withdraw my previous comments. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Jul 12 19:43: 7 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from aurora.sol.net (aurora.sol.net [206.55.65.76]) by hub.freebsd.org (Postfix) with ESMTP id 97AFC14E37 for ; Mon, 12 Jul 1999 19:43:04 -0700 (PDT) (envelope-from jgreco@aurora.sol.net) Received: (from jgreco@localhost) by aurora.sol.net (8.9.2/8.9.2/SNNS-1.02) id VAA26744; Mon, 12 Jul 1999 21:42:11 -0500 (CDT) From: Joe Greco Message-Id: <199907130242.VAA26744@aurora.sol.net> Subject: Re: FreeBSD panics with Mylex DAC960SX In-Reply-To: <199907011954.NAA44126@panzer.kdm.org> from "Kenneth D. Merry" at "Jul 1, 1999 1:54:18 pm" To: ken@plutotech.com (Kenneth D. Merry) Date: Mon, 12 Jul 1999 21:42:11 -0500 (CDT) Cc: scsi@freebsd.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] 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 > Try applying the attached patch to scsi_all.c. It isn't the final patch > for this problem, the solution is probably a little more complicated than > this. But hopefully this will let us know whether the problem is what we > think it is. A 3.2R system boots fine with this patch. Well, not "fine", the drive isn't there but that is OK of course. I can dredge up the exact messages it burped out if you'd like; something along the lines of "query device size failed NOT READY"... which replaces the line on the 3.1R system that was all mangled to hell. Let me know if there are further things you would like me to test. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/342-4847 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Jul 12 20: 2:31 1999 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 93CDA14F75 for ; Mon, 12 Jul 1999 20:02:15 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id UAA29927; Mon, 12 Jul 1999 20:58:56 -0600 (MDT) (envelope-from ken) Message-Id: <199907130258.UAA29927@panzer.kdm.org> Subject: Re: FreeBSD panics with Mylex DAC960SX In-Reply-To: <199907130242.VAA26744@aurora.sol.net> from Joe Greco at "Jul 12, 1999 09:42:11 pm" To: jgreco@ns.sol.net (Joe Greco) Date: Mon, 12 Jul 1999 20:58:56 -0600 (MDT) Cc: scsi@freebsd.org From: "Kenneth D. Merry" X-Mailer: ELM [version 2.4ME+ PL54 (25)] 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 Joe Greco wrote... > > Try applying the attached patch to scsi_all.c. It isn't the final patch > > for this problem, the solution is probably a little more complicated than > > this. But hopefully this will let us know whether the problem is what we > > think it is. > > A 3.2R system boots fine with this patch. Well, not "fine", the drive > isn't there but that is OK of course. I can dredge up the exact messages > it burped out if you'd like; something along the lines of "query device size > failed NOT READY"... which replaces the line on the 3.1R system that was > all mangled to hell. Are you able to mount the drive once it becomes ready? > Let me know if there are further things you would like me to test. Okay. I haven't yet gotten around to implementing a better solution to the problem, but the patches I gave you should work well enough for now. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Jul 12 20:31:49 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from aurora.sol.net (aurora.sol.net [206.55.65.76]) by hub.freebsd.org (Postfix) with ESMTP id 700A114E08 for ; Mon, 12 Jul 1999 20:31:46 -0700 (PDT) (envelope-from jgreco@aurora.sol.net) Received: (from jgreco@localhost) by aurora.sol.net (8.9.2/8.9.2/SNNS-1.02) id WAA30153; Mon, 12 Jul 1999 22:30:27 -0500 (CDT) From: Joe Greco Message-Id: <199907130330.WAA30153@aurora.sol.net> Subject: Re: FreeBSD panics with Mylex DAC960SX In-Reply-To: <199907130258.UAA29927@panzer.kdm.org> from "Kenneth D. Merry" at "Jul 12, 1999 8:58:56 pm" To: ken@plutotech.com (Kenneth D. Merry) Date: Mon, 12 Jul 1999 22:30:27 -0500 (CDT) Cc: scsi@freebsd.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] 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 > Joe Greco wrote... > > > Try applying the attached patch to scsi_all.c. It isn't the final patch > > > for this problem, the solution is probably a little more complicated than > > > this. But hopefully this will let us know whether the problem is what we > > > think it is. > > > > A 3.2R system boots fine with this patch. Well, not "fine", the drive > > isn't there but that is OK of course. I can dredge up the exact messages > > it burped out if you'd like; something along the lines of "query device size > > failed NOT READY"... which replaces the line on the 3.1R system that was > > all mangled to hell. > > Are you able to mount the drive once it becomes ready? You know, I'm not sure I tried that. Arrrgh. I think so. But I'm not positive. > > Let me know if there are further things you would like me to test. > > Okay. I haven't yet gotten around to implementing a better solution to the > problem, but the patches I gave you should work well enough for now. Cool. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/342-4847 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Jul 12 21: 2:46 1999 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 1B01A14D5A for ; Mon, 12 Jul 1999 21:02:27 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id VAA30125; Mon, 12 Jul 1999 21:59:53 -0600 (MDT) (envelope-from ken) Message-Id: <199907130359.VAA30125@panzer.kdm.org> Subject: Re: FreeBSD panics with Mylex DAC960SX In-Reply-To: <199907130330.WAA30153@aurora.sol.net> from Joe Greco at "Jul 12, 1999 10:30:27 pm" To: jgreco@ns.sol.net (Joe Greco) Date: Mon, 12 Jul 1999 21:59:53 -0600 (MDT) Cc: scsi@freebsd.org From: "Kenneth D. Merry" X-Mailer: ELM [version 2.4ME+ PL54 (25)] 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 Joe Greco wrote... > > Joe Greco wrote... > > > > Try applying the attached patch to scsi_all.c. It isn't the final patch > > > > for this problem, the solution is probably a little more complicated than > > > > this. But hopefully this will let us know whether the problem is what we > > > > think it is. > > > > > > A 3.2R system boots fine with this patch. Well, not "fine", the drive > > > isn't there but that is OK of course. I can dredge up the exact messages > > > it burped out if you'd like; something along the lines of "query device size > > > failed NOT READY"... which replaces the line on the 3.1R system that was > > > all mangled to hell. > > > > Are you able to mount the drive once it becomes ready? > > You know, I'm not sure I tried that. Arrrgh. I think so. But I'm > not positive. Well, you should be able to. :) That's kinda the point of the patch. Let me know if you aren't able to. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Jul 13 20:20:44 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from kot.ne.mediaone.net (kot.ne.mediaone.net [24.218.15.190]) by hub.freebsd.org (Postfix) with ESMTP id 7332915249; Tue, 13 Jul 1999 20:20:39 -0700 (PDT) (envelope-from mi@kot.ne.mediaone.net) Received: (from mi@localhost) by kot.ne.mediaone.net (8.9.3/8.9.1) id XAA25283; Tue, 13 Jul 1999 23:18:35 -0400 (EDT) From: Mikhail Teterin Message-Id: <199907140318.XAA25283@kot.ne.mediaone.net> Subject: SEAGATE ST34371W on an NCR -- slow :( To: questions@freebsd.org, scsi@freebsd.org Date: Tue, 13 Jul 1999 23:18:35 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL49 (25)] 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'm getting a dissapointingly low performance from the only disk on the ncr0: ncr0: rev 0x37 int a irq 21 on pci0.13.0 ncr1: rev 0x37 int b irq 22 on pci0.13.1 [...] da0 at ncr0 bus 0 target 3 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 52MB (8496884 512 byte sectors: 255H 63S/T 528C) This is a dual PII-300MHz system with 64Mb of RAM running FreeBSD 3.2-STABLE from Wed Jul 7. The iozone's numbers are: File size set to 80000 KB Time Resolution = 0.000015 seconds. Processor cache size set to 1024 Kbytes. Processor cache line size set to 32 bytes. File stride size set to 17 * record size. random random KB reclen write rewrite read reread read write 80000 4 3885 1460 4842 4474 415 208 bkwd record stride read rewrite read fwrite frewrite fread freread 988 135635 543 5235 1533 4674 4803 Big things, like Netscape and KDE take very long to start up, probably even longer then they used to take on my older P90 system with the same amount of RAM. What should I be tuning? Thanks! -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Jul 14 0:18: 2 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from darwin.ntu.edu.au (darwin.ntu.edu.au [138.80.128.3]) by hub.freebsd.org (Postfix) with ESMTP id 8BA5314EBA; Wed, 14 Jul 1999 00:17:41 -0700 (PDT) (envelope-from grog@lemis.com) Received: from mojave.lemis.com ([138.80.54.116]) by darwin.ntu.edu.au (8.8.8/8.8.8) with ESMTP id QAA21599; Wed, 14 Jul 1999 16:47:36 +0930 (CST) Received: (grog@localhost) by mojave.lemis.com (8.9.3/8.6.12) id QAA02276; Wed, 14 Jul 1999 16:39:04 +0930 (CST) Message-ID: <19990714163904.17891@mojave.lemis.com> Date: Wed, 14 Jul 1999 16:39:04 +0930 From: Greg Lehey To: Mikhail Teterin , questions@FreeBSD.ORG, scsi@FreeBSD.ORG Subject: Re: SEAGATE ST34371W on an NCR -- slow :( References: <199907140318.XAA25283@kot.ne.mediaone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <199907140318.XAA25283@kot.ne.mediaone.net>; from Mikhail Teterin on Tue, Jul 13, 1999 at 11:18:35PM -0400 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tuesday, 13 July 1999 at 23:18:35 -0400, Mikhail Teterin wrote: > I'm getting a dissapointingly low performance from the only disk on the > ncr0: > > ncr0: rev 0x37 int a irq 21 on pci0.13.0 > ncr1: rev 0x37 int b irq 22 on pci0.13.1 > [...] > da0 at ncr0 bus 0 target 3 lun 0 > da0: Fixed Direct Access SCSI-2 device > da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled > da0: 52MB (8496884 512 byte sectors: 255H 63S/T 528C) > > This is a dual PII-300MHz system with 64Mb of RAM running FreeBSD > 3.2-STABLE from Wed Jul 7. > > The iozone's numbers are: > > File size set to 80000 KB > Time Resolution = 0.000015 seconds. > Processor cache size set to 1024 Kbytes. > Processor cache line size set to 32 bytes. > File stride size set to 17 * record size. > > random random > KB reclen write rewrite read reread read write > 80000 4 3885 1460 4842 4474 415 208 > > bkwd record stride > read rewrite read fwrite frewrite fread freread > 988 135635 543 5235 1533 4674 4803 > > Big things, like Netscape and KDE take very long to start up, probably > even longer then they used to take on my older P90 system with the same > amount of RAM. > > What should I be tuning? Thanks! I'd be interested to see what results rawio shows. It bypasses the buffer cache and measures raw disk performance. Take a look at ftp://ftp.lemis.com/pub/rawio.tar.gz. 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 Jul 14 14:47:43 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from saffron.CS.Berkeley.EDU (saffron.CS.Berkeley.EDU [128.32.33.77]) by hub.freebsd.org (Postfix) with ESMTP id 1EF0114E1C for ; Wed, 14 Jul 1999 14:47:28 -0700 (PDT) (envelope-from nisha@saffron.CS.Berkeley.EDU) Received: (from nisha@localhost) by saffron.CS.Berkeley.EDU (8.9.1a/8.9.1) id OAA16274; Wed, 14 Jul 1999 14:46:36 -0700 (PDT) From: Nisha Talagala Message-Id: <199907142146.OAA16274@saffron.CS.Berkeley.EDU> Subject: Question To: scsi@freebsd.org Date: Wed, 14 Jul 1999 14:46:35 PDT Cc: nisha@CS.Berkeley.EDU X-Mailer: Elm [revision: 212.2] Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have a Quantum Atlas disk drive that appears to be doing some form of delayed write optimization. Is there any OS command or mode page change that can turn it off? thanks, -nisha To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Jul 14 14:55:44 1999 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 6A93814FCB for ; Wed, 14 Jul 1999 14:55:33 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id PAA41027; Wed, 14 Jul 1999 15:54:49 -0600 (MDT) (envelope-from ken) Message-Id: <199907142154.PAA41027@panzer.kdm.org> Subject: Re: Question In-Reply-To: <199907142146.OAA16274@saffron.CS.Berkeley.EDU> from Nisha Talagala at "Jul 14, 1999 02:46:35 pm" To: nisha@CS.Berkeley.EDU (Nisha Talagala) Date: Wed, 14 Jul 1999 15:54:49 -0600 (MDT) Cc: scsi@FreeBSD.ORG From: "Kenneth D. Merry" X-Mailer: ELM [version 2.4ME+ PL54 (25)] 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 Nisha Talagala wrote... > > I have a Quantum Atlas disk drive that appears to > be doing some form of delayed write optimization. > Is there any OS command or mode page change that can > turn it off? You mean write caching? To disable write caching, change the WCE (write cache enable) bit on mode page 8 from 1 to 0. To edit mode page 8 for da1, you'd do: camcontrol modepage -n da -u 1 -m 8 -e -P 3 Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Jul 14 14:58:24 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from dfw-ix5.ix.netcom.com (dfw-ix5.ix.netcom.com [206.214.98.5]) by hub.freebsd.org (Postfix) with ESMTP id 2F30714FCB for ; Wed, 14 Jul 1999 14:58:00 -0700 (PDT) (envelope-from asami@cs.berkeley.edu) Received: (from smap@localhost) by dfw-ix5.ix.netcom.com (8.8.4/8.8.4) id QAA15554; Wed, 14 Jul 1999 16:57:37 -0500 (CDT) Received: from sji-ca4-70.ix.netcom.com(205.186.212.198) by dfw-ix5.ix.netcom.com via smap (V1.3) id rma015510; Wed Jul 14 16:57:17 1999 Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.3/8.6.9) id OAA15107; Wed, 14 Jul 1999 14:57:11 -0700 (PDT) Date: Wed, 14 Jul 1999 14:57:11 -0700 (PDT) Message-Id: <199907142157.OAA15107@silvia.hip.berkeley.edu> X-Authentication-Warning: silvia.hip.berkeley.edu: asami set sender to asami@cs.berkeley.edu using -f To: nisha@cs.berkeley.edu Cc: scsi@freebsd.org, nisha@cs.berkeley.edu In-reply-to: <199907142146.OAA16274@saffron.CS.Berkeley.EDU> (message from Nisha Talagala on Wed, 14 Jul 1999 14:46:35 PDT) Subject: Re: Question From: asami@freebsd.org (Satoshi - Ports Wraith - Asami) References: <199907142146.OAA16274@saffron.CS.Berkeley.EDU> Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * I have a Quantum Atlas disk drive that appears to * be doing some form of delayed write optimization. * Is there any OS command or mode page change that can * turn it off? You mean to turn off write caching? I *think* it's the "WCE" (write cache enable) bit on modepage 8. You can edit it by the command camcontrol modepage -e -m 8 /dev/pass0 (omit the "-e" to just show the values). Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Jul 14 15:27:43 1999 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 127C9154A0; Wed, 14 Jul 1999 15:27:35 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id QAA41224; Wed, 14 Jul 1999 16:26:55 -0600 (MDT) (envelope-from ken) Message-Id: <199907142226.QAA41224@panzer.kdm.org> Subject: Re: Question In-Reply-To: <199907142157.OAA15107@silvia.hip.berkeley.edu> from Satoshi - Ports Wraith - Asami at "Jul 14, 1999 02:57:11 pm" To: asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami) Date: Wed, 14 Jul 1999 16:26:55 -0600 (MDT) Cc: nisha@cs.berkeley.edu, scsi@FreeBSD.ORG From: "Kenneth D. Merry" X-Mailer: ELM [version 2.4ME+ PL54 (25)] 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 Satoshi - Ports Wraith - Asami wrote... > * I have a Quantum Atlas disk drive that appears to > * be doing some form of delayed write optimization. > * Is there any OS command or mode page change that can > * turn it off? > > You mean to turn off write caching? I *think* it's the "WCE" (write > cache enable) bit on modepage 8. > > You can edit it by the command > > camcontrol modepage -e -m 8 /dev/pass0 > > (omit the "-e" to just show the values). That's probably not quite what you want to do. You can't specify a device pathname with camcontrol. Instead, if you wanted to edit mode page 8 for pass0: camcontrol modepage -n pass -u 0 -m 8 -P 3 -e Otherwise, camcontrol will probably reject /dev/pass0 as garbage and default to editing mode page 8 on da0. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Jul 15 1: 1:15 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from yusufg.portal2.com (yusufg.portal2.com [203.85.226.249]) by hub.freebsd.org (Postfix) with SMTP id 61ED015523 for ; Thu, 15 Jul 1999 01:01:05 -0700 (PDT) (envelope-from yusufg@outblaze.com) Received: (qmail 20534 invoked by uid 500); 15 Jul 1999 08:18:24 -0000 Date: 15 Jul 1999 08:18:24 -0000 Message-ID: <19990715081824.20533.qmail@yusufg.portal2.com> From: Yusuf Goolamabbas To: freebsd-scsi@freebsd.org, freebsd-questions@freebsd.org Subject: Trying to understand this fsck error message Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, After a power failure whilst bringing up a machine I got the following errors from fsck The following disk sectors could not be read 16 ,17,18,..., 31 /dev/rda1s1a not labelled as a BSD file system Is there any workaround for this or do I treat the disk as a lost cause -- Yusuf Goolamabbas yusufg@outblaze.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message