From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 26 22:49:57 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2530916A4CE for ; Mon, 26 Apr 2004 22:49:57 -0700 (PDT) Received: from russell.hamline.edu (russell.hamline.edu [138.192.24.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1FE343D1F for ; Mon, 26 Apr 2004 22:49:56 -0700 (PDT) (envelope-from rjohanne@piper.hamline.edu) Received: from piper.hamline.edu (piper.hamline.edu [138.192.2.101]) by russell.hamline.edu (8.12.11/8.12.11) with ESMTP id i3R5ntph002711 for ; Tue, 27 Apr 2004 00:49:55 -0500 (CDT) Received: from blackbear (blackbear [138.192.2.105]) by piper.hamline.edu (8.12.6/8.12.6) with ESMTP id i3R5nIed000235 for ; Tue, 27 Apr 2004 00:49:19 -0500 (CDT) Date: Tue, 27 Apr 2004 00:47:00 -0500 (CDT) From: Robert Johannes X-X-Sender: rjohanne@blackbear.hamline.edu To: freebsd-scsi Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 Subject: IBM 36gig drive X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 05:49:57 -0000 I've six ibm DRHS36D 36gig drives attached to a sym0 controller (tekram dc-390) and each time I try to do anything with the drive, I get a message to the effect of: "da1: invalid sector size 520" "da2: invalid sector size 520" "da3: invalid sector size 520" This goes on for all six drives. Can any body give me any clues as to what's wrong, and how to correct it? I'm running 4.9 stable. thanks robert From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 26 23:16:18 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75EF616A4CE for ; Mon, 26 Apr 2004 23:16:18 -0700 (PDT) Received: from smtp-out4.xs4all.nl (smtp-out4.xs4all.nl [194.109.24.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E763F43D39 for ; Mon, 26 Apr 2004 23:16:17 -0700 (PDT) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp-out4.xs4all.nl (8.12.10/8.12.10) with ESMTP id i3R6GGBT082356; Tue, 27 Apr 2004 08:16:17 +0200 (CEST) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.11/8.12.9) with ESMTP id i3R6G3v3013443; Tue, 27 Apr 2004 08:16:03 +0200 (CEST) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.11/8.12.11/Submit) id i3R6G3H5013442; Tue, 27 Apr 2004 08:16:03 +0200 (CEST) (envelope-from wkb) Date: Tue, 27 Apr 2004 08:16:03 +0200 From: Wilko Bulte To: Robert Johannes Message-ID: <20040427061603.GA13398@freebie.xs4all.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-OS: FreeBSD 4.10-BETA X-PGP: finger wilko@freebsd.org cc: freebsd-scsi Subject: Re: IBM 36gig drive X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 06:16:18 -0000 On Tue, Apr 27, 2004 at 12:47:00AM -0500, Robert Johannes wrote: > I've six ibm DRHS36D 36gig drives attached to a sym0 controller (tekram > dc-390) and each time I try to do anything with the drive, I get a message > to the effect of: > "da1: invalid sector size 520" > "da2: invalid sector size 520" > "da3: invalid sector size 520" > > This goes on for all six drives. Can any body give me any clues as to > what's wrong, and how to correct it? I'm running 4.9 stable. Looks like a drive taken from a RAIDarray of some sorts. It has 8 bytes extra per block compared to the standard 512 bytes/block. It will need a low level format to make it 512. In most cases that is done via a mode select command, followed by a format unit command. Check with IBM how this is done for their drives, as this kind of stuff is vendor unique. -- Wilko Bulte wilko@FreeBSD.org From owner-freebsd-scsi@FreeBSD.ORG Tue Apr 27 02:32:46 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BA3F16A4CE for ; Tue, 27 Apr 2004 02:32:46 -0700 (PDT) Received: from mail.dt.e-technik.uni-dortmund.de (mail.dt.e-technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DB7F43D1F for ; Tue, 27 Apr 2004 02:32:46 -0700 (PDT) (envelope-from ma@dt.e-technik.uni-dortmund.de) Received: from m2a2.dyndns.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1])6D9172946F for ; Tue, 27 Apr 2004 11:32:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 35A2BB9DB7; Tue, 27 Apr 2004 11:32:44 +0200 (CEST) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10696-03; Tue, 27 Apr 2004 11:32:43 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id 9B526B9DB5; Tue, 27 Apr 2004 11:32:42 +0200 (CEST) To: Robert Johannes In-Reply-To: (Robert Johannes's message of "Tue, 27 Apr 2004 00:47:00 -0500 (CDT)") References: From: Matthias Andree Date: Tue, 27 Apr 2004 11:32:42 +0200 Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at m2a2.dyndns.org cc: freebsd-scsi Subject: Re: IBM 36gig drive X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 09:32:46 -0000 Robert Johannes writes: > I've six ibm DRHS36D 36gig drives attached to a sym0 controller (tekram > dc-390) and each time I try to do anything with the drive, I get a message > to the effect of: The Tekram DC-390 and DC-390T are amd(4) driven. If your Tekram uses sym(4), it must be a DC-390U, DC-390F, DC-390U2B, DC-390U2W, DC-390U3W or DC-390U3D. (The U4 use mpt AFAIK. Never tried those.) > "da1: invalid sector size 520" > This goes on for all six drives. Can any body give me any clues as to > what's wrong, and how to correct it? I'm running 4.9 stable. Check out the sformat port or the Tekram's BIOS for a low level format (voiding all data on the drives). I don't know if the Tekram BIOS will correct the layout, sformat should be able to. You might also succeed in hacking mode pages with camcontrol, but I don't know the pages and settings to fiddle off-hand, so some higher-level tool would be my recommendation at the moment. -- Matthias Andree Encrypt your mail: my GnuPG key ID is 0x052E7D95 From owner-freebsd-scsi@FreeBSD.ORG Tue Apr 27 13:28:44 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68CA516A4CE for ; Tue, 27 Apr 2004 13:28:44 -0700 (PDT) Received: from smtp4.mail.ctc.net (smtp4.mail.ctc.net [166.82.29.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1FEB43D46 for ; Tue, 27 Apr 2004 13:28:43 -0700 (PDT) (envelope-from wvaughan@steelerubber.com) Received: from steelerubber.com (wvaughan.steelerubber.com [166.82.96.28]) i3RKSdt1026738 for ; Tue, 27 Apr 2004 16:28:41 -0400 (EDT) Message-ID: <408EC2F1.5070300@steelerubber.com> Date: Tue, 27 Apr 2004 16:30:41 -0400 From: Walter Vaughan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Sig: 00b4ecb5c5a9c3723f417e5e3ea98bd8 Subject: Recommended RAID controller X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 20:28:44 -0000 I am looking to build two new servers, and plan on using freeBSD. I've read the last 5 months of this list and while I haven't seen anything to scare me, I'm looking for advice on something that'll work pretty much out of the block with 5.2.1 that has pretty good tools support. I was all fired up about a Zero-channel Adaptec, but after reading it's only 4.* tools supported I not so sure. I liked what I've read about Intel's SATA raid that uses the iir driver, but again I am worried about administrative tools. Thanks -- Walter From owner-freebsd-scsi@FreeBSD.ORG Tue Apr 27 15:17:43 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 526E516A4CE for ; Tue, 27 Apr 2004 15:17:43 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF06543D46 for ; Tue, 27 Apr 2004 15:17:42 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (g4.samsco.home [192.168.0.12]) by pooker.samsco.org (8.12.10/8.12.10) with ESMTP id i3RML5u6077422; Tue, 27 Apr 2004 16:21:06 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <408EDBD0.8000805@freebsd.org> Date: Tue, 27 Apr 2004 16:16:48 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7a) Gecko/20040214 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Walter Vaughan References: <408EC2F1.5070300@steelerubber.com> In-Reply-To: <408EC2F1.5070300@steelerubber.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: freebsd-scsi@freebsd.org Subject: Re: Recommended RAID controller X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 22:17:43 -0000 Walter Vaughan wrote: > I am looking to build two new servers, and > plan on using freeBSD. I've read the last > 5 months of this list and while I haven't seen > anything to scare me, I'm looking for advice on > something that'll work pretty much out of the block > with 5.2.1 that has pretty good tools support. > I was all fired up about a Zero-channel Adaptec, > but after reading it's only 4.* tools supported > I not so sure. > I liked what I've read about Intel's SATA > raid that uses the iir driver, but again > I am worried about administrative tools. > > Thanks > -- Let me go through the list: Adaptec: - There are two families of controller here. The 2010/2015 ZCR cards are all that is left of the old family. It is supported under 4.x and 5.x, though there are issues with the management tools that require a few tricks to overcome in 5.x. I'm also not terribly happy with the driver, but I recently started cleaning it up. Adaptec provides no support nor updates for the driver. If you have a strong desire to use Adaptec ZCR, this is the only choice right now, but a lot of people use it and are happy with it. - The newer family of cards is a bit better in my opinion. Adaptec hasn't released a newer version of the management app for FreeBSD in several years, but the one that shipped with the 5400S will work for all cards in the family. Alternatively, the Linux CLI tool that Adaptec does ship will work under FreeBSD in linux emulation mode. The driver is well maintained. Intel: - The ICP/Vortex/Intel controllers are actually owned and produced by Adaptec now. The driver is fairly good and is actively maintained by the vendor. A management app is available for FreeBSD, but it will not work with FreeBSD 5.2.x due to an inadvertent IOCTL incompatibility. I have changes from the vendor pending right now that should hopefully fix this for 5.3. In the mean time, the patch that I committed to 5.2-CURRENT last month should work ok. AMI/LSI MegaRAID: - This hardware used to be well supported, but the vendor no longer provides regular updates. I don't know whether a management app exists or not, though I doubt that it does. 3Ware: - Both the 6xxx/7xxx/8xxx and the 9xxx generation cards are actively supported on FreeBSD by the vendor and are used by a large, well-known web portal company. Not sure what the status of management apps are. Compaq CISS: - Driver is well supported by the FreeBSD community and is popular amoung users. IBM ServeRAID: - IBM provided an initial driver, and work has gone on over the past year to clean it up and make it more robust. It only exists for 5.x, but backporting it to 4.x would only take a few days. No management app exists, nor can the Linux apps run on FreeBSD. This hardware is owned and produced by Adaptec also. If I were to go the ZCR route right now, it would likely be with the Intel card. I've just started playing with them, and it has been a generally positive experience. The fact that they actively support FreeBSD is a big plus. For SATA, it would be a toss-up between 3ware and Adaptec. For U320 SCSI that you can buy in the channel (as opposed to only buying from the vendor), Adaptec probably wins. Scott From owner-freebsd-scsi@FreeBSD.ORG Tue Apr 27 15:36:08 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34B0216A4CE; Tue, 27 Apr 2004 15:36:08 -0700 (PDT) Received: from hadar.amcc.com (hadar.amcc.com [192.195.69.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1118543D5A; Tue, 27 Apr 2004 15:36:07 -0700 (PDT) (envelope-from vkashyap@amcc.com) Received: from mailhost.amcc.com ([192.195.69.30]) by hadar.amcc.com (Netscape Messaging Server 4.15) with SMTP id HWUPG501.O6O; Tue, 27 Apr 2004 15:36:05 -0700 Received: (from vkashyap-pc [10.66.6.61]) by mailhost.amcc.com (SAVSMTP 3.1.0.29) with SMTP id M2004042715380906028 ; Tue, 27 Apr 2004 15:38:09 -0700 From: "Vinod Kashyap" To: Scott Long , Walter Vaughan Date: Tue, 27 Apr 2004 15:36:11 -0700 X-Sent-Folder-Path: Sent Items X-Mailer: Oracle Connector for Outlook 9.0.4 51114 (9.0.6627) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: cc: freebsd-scsi@freebsd.org Subject: RE: Recommended RAID controller X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 22:36:08 -0000 > 3Ware: > - Both the 6xxx/7xxx/8xxx and the 9xxx generation cards are > actively supported on FreeBSD by the vendor and are used by a > large, well-known web portal company. Not sure what the > status of management apps are. Both the driver and management tools are supported on FreeBSD 4.x (4.8 and above) and 5.2. The tools for 9000 series controllers are not yet available on FreeBSD though... From owner-freebsd-scsi@FreeBSD.ORG Tue Apr 27 17:54:34 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56CC716A4CE; Tue, 27 Apr 2004 17:54:34 -0700 (PDT) Received: from machdep.com (machdep.com [64.191.136.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFBEA43D31; Tue, 27 Apr 2004 17:54:33 -0700 (PDT) (envelope-from drhodus@machdep.com) Received: from machdep.com (adsl-068-209-168-006.sip.bgk.bellsouth.net [68.209.168.6]) by machdep.com (8.12.10/8.12.9) with ESMTP id i3S65eHK045444; Wed, 28 Apr 2004 02:05:52 -0400 (EDT) (envelope-from drhodus@machdep.com) Message-ID: <408EC876.5060708@machdep.com> Date: Tue, 27 Apr 2004 20:54:14 +0000 From: David Rhodus User-Agent: Mozilla/5.0 (X11; U; DragonFly i386; en-US; rv:1.6) Gecko/20040208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vinod Kashyap References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-scsi@freebsd.org cc: Walter Vaughan Subject: Re: Recommended RAID controller X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 00:54:34 -0000 Vinod Kashyap wrote: >>3Ware: >> - Both the 6xxx/7xxx/8xxx and the 9xxx generation cards are >> actively supported on FreeBSD by the vendor and are used by a >> large, well-known web portal company. Not sure what the >> status of management apps are. > > Both the driver and management tools are supported on > FreeBSD 4.x (4.8 and above) and 5.2. The tools for 9000 series > controllers are not yet available on FreeBSD though... > Is there a timeframe yet for when these will be available ? -DR From owner-freebsd-scsi@FreeBSD.ORG Wed Apr 28 03:19:32 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BCD716A4CE; Wed, 28 Apr 2004 03:19:32 -0700 (PDT) Received: from mail.errors.firstcallgroup.co.uk (mail.errors.firstcallgroup.co.uk [213.167.69.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BB9743D39; Wed, 28 Apr 2004 03:19:32 -0700 (PDT) (envelope-from petefrench@keithprowse.com) Received: from smaug.rattatosk ([172.16.1.8]) by mail.errors.firstcallgroup.co.uk with esmtp (Exim 4.22) id 1BImA5-0003VN-V4; Wed, 28 Apr 2004 11:19:31 +0100 Received: from [172.16.1.6] (helo=dilbert.firstcallgroup.co.uk) by smaug.rattatosk with esmtp (Exim 4.22) id 1BImA5-000EdM-NN; Wed, 28 Apr 2004 11:19:29 +0100 Received: from petefrench by dilbert.firstcallgroup.co.uk with local (Exim 4.30; FreeBSD) id 1BImA5-000OPt-MW; Wed, 28 Apr 2004 11:19:29 +0100 To: scottl@freebsd.org, wvaughan@steelerubber.com In-Reply-To: <408EDBD0.8000805@freebsd.org> Message-Id: From: Pete French Date: Wed, 28 Apr 2004 11:19:29 +0100 cc: freebsd-scsi@freebsd.org Subject: Re: Recommended RAID controller X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 10:19:32 -0000 > Compaq CISS: > - Driver is well supported by the FreeBSD community and is popular > amoung users. Out of interest, there was a note with some of the early FreeBSD-5 that there were performance issues with this driver which were being addressed. Have these now been solved ? I am interested in upgrading my 4200 to a 5300 or siimilar when I move to 5 in a few months. -pcf. From owner-freebsd-scsi@FreeBSD.ORG Wed Apr 28 05:47:22 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F046316A4CF for ; Wed, 28 Apr 2004 05:47:22 -0700 (PDT) Received: from shadow.wixb.com (shadow.wixb.com [65.43.82.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A0FA43D5A for ; Wed, 28 Apr 2004 05:47:22 -0700 (PDT) (envelope-from jbronson@wixb.com) Received: from dakota.wixb.com (shadow.wixb.com [10.43.82.173]) i3SClLZd015652 for ; Wed, 28 Apr 2004 07:47:22 -0500 (CDT) Message-Id: <6.1.0.6.2.20040428074703.024548b8@localhost> Date: Wed, 28 Apr 2004 07:47:35 -0500 To: freebsd-scsi@freebsd.org From: "J.D. Bronson" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Antivirus: Scanned by F-Prot Antivirus 4.4.1 X-Scanned-By: MIMEDefang 2.42 Subject: AHC_ALLOW_MEMIO 5.2.1 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 12:47:23 -0000 What happened to this kernel option on 5.2.1? AHC_ALLOW_MEMIO It does not seem to be in any file at all anymore? -JDB From owner-freebsd-scsi@FreeBSD.ORG Wed Apr 28 10:13:12 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C35F216A4CE for ; Wed, 28 Apr 2004 10:13:12 -0700 (PDT) Received: from hadar.amcc.com (hadar.amcc.com [192.195.69.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 334C643D1D for ; Wed, 28 Apr 2004 10:13:12 -0700 (PDT) (envelope-from vkashyap@amcc.com) Received: from mailhost.amcc.com ([192.195.69.30]) by hadar.amcc.com (Netscape Messaging Server 4.15) with SMTP id HWW55Z00.VP7; Wed, 28 Apr 2004 10:13:11 -0700 Received: (from vkashyap-pc [10.66.6.61]) by mailhost.amcc.com (SAVSMTP 3.1.0.29) with SMTP id M2004042810151511008 ; Wed, 28 Apr 2004 10:15:15 -0700 From: "Vinod Kashyap" To: David Rhodus Date: Wed, 28 Apr 2004 10:13:17 -0700 X-Sent-Folder-Path: Sent Items X-Mailer: Oracle Connector for Outlook 9.0.4 51114 (9.0.6627) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: cc: freebsd-scsi@freebsd.org Subject: RE: Recommended RAID controller X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 17:13:12 -0000 > -----Original Message----- > From: owner-freebsd-scsi@freebsd.org > [mailto:owner-freebsd-scsi@freebsd.org]On Behalf Of David Rhodus > Sent: Tuesday, April 27, 2004 1:54 PM > To: Vinod Kashyap > Cc: freebsd-scsi@freebsd.org > Subject: Re: Recommended RAID controller > = > = > Vinod Kashyap wrote: > >>3Ware: > >> - Both the 6xxx/7xxx/8xxx and the 9xxx generation cards are > >> actively supported on FreeBSD by the vendor and are used by a > >> large, well-known web portal company. Not sure what the > >> status of management apps are. > > = > > Both the driver and management tools are supported on > > FreeBSD 4.x (4.8 and above) and 5.2. The tools for 9000 series > > controllers are not yet available on FreeBSD though... > > = > = > Is there a timeframe yet for when these will be available ? > = The tentative timeframe is middle of May, '04. > -DR > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to = > "freebsd-scsi-unsubscribe@freebsd.org" > From owner-freebsd-scsi@FreeBSD.ORG Wed Apr 28 20:57:03 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCBDA16A4CE for ; Wed, 28 Apr 2004 20:57:03 -0700 (PDT) Received: from hewey.af.speednet.com.au (udsl-3-062.QLD.dft.com.au [202.168.108.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2423E43D5C for ; Wed, 28 Apr 2004 20:57:01 -0700 (PDT) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [172.22.2.1])i3T3uw8G069090; Thu, 29 Apr 2004 13:56:58 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Thu, 29 Apr 2004 13:56:58 +1000 (EST) From: Andy Farkas X-X-Sender: andyf@hewey.af.speednet.com.au To: "J.D. Bronson" In-Reply-To: <6.1.0.6.2.20040428074703.024548b8@localhost> Message-ID: <20040429135222.L64510@hewey.af.speednet.com.au> References: <6.1.0.6.2.20040428074703.024548b8@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-scsi@freebsd.org Subject: Re: AHC_ALLOW_MEMIO 5.2.1 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 03:57:03 -0000 On Wed, 28 Apr 2004, J.D. Bronson wrote: > What happened to this kernel option on 5.2.1? > > AHC_ALLOW_MEMIO > > > It does not seem to be in any file at all anymore? > > -JDB Its in /sys/conf/NOTES :) The generated file opt_aic7xxx.h will contain it. I sometimes enable this option in my kernels. Whether it does anything or not (performance-wise or other), I don't know. -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ From owner-freebsd-scsi@FreeBSD.ORG Wed Apr 28 22:13:14 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F34E616A4CE for ; Wed, 28 Apr 2004 22:13:13 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95D5343D53 for ; Wed, 28 Apr 2004 22:13:13 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (g4.samsco.home [192.168.0.12]) by pooker.samsco.org (8.12.10/8.12.10) with ESMTP id i3T5Giu6086389; Wed, 28 Apr 2004 23:16:45 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <40908EB2.4090803@freebsd.org> Date: Wed, 28 Apr 2004 23:12:18 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7a) Gecko/20040214 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andy Farkas References: <6.1.0.6.2.20040428074703.024548b8@localhost> <20040429135222.L64510@hewey.af.speednet.com.au> In-Reply-To: <20040429135222.L64510@hewey.af.speednet.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: freebsd-scsi@freebsd.org Subject: Re: AHC_ALLOW_MEMIO 5.2.1 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 05:13:14 -0000 Andy Farkas wrote: > On Wed, 28 Apr 2004, J.D. Bronson wrote: > > >>What happened to this kernel option on 5.2.1? >> >>AHC_ALLOW_MEMIO >> >> >>It does not seem to be in any file at all anymore? >> >> -JDB > > > Its in /sys/conf/NOTES :) > > The generated file opt_aic7xxx.h will contain it. > > I sometimes enable this option in my kernels. Whether it does anything or > not (performance-wise or other), I don't know. > On x86, MEMIO is generally faster and causes the CPU to spin less than IOPORT cycles do. It can result in a minor but measurable speed difference, though the effects of HyperThreading, when in use, could offset the benefits. In any case, the reason that this option exists is to work around motherboards that incorrectly do write-combining on MEMIO registers, something that most ahc/ahd chips do not support nor handle well. We added a somewhat sophisticated runtime test for this to the driver last year, so there really isn't a reason to not enable the option. If you do and the test detects problems, it will automatically throttle back to IOPORT. We should probably just remove the option all-together, and just use the sysctl/tunable as a backup in case problems develope. Scott From owner-freebsd-scsi@FreeBSD.ORG Wed Apr 28 22:47:42 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA0AF16A4CE for ; Wed, 28 Apr 2004 22:47:42 -0700 (PDT) Received: from mail.webjockey.net (mail.webjockey.net [208.141.46.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 156EC43D3F for ; Wed, 28 Apr 2004 22:47:42 -0700 (PDT) (envelope-from gary@outloud.org) Received: from orion-i1q62b3yi.outloud.org (69-160-75-252.frdrmd.adelphia.net [69.160.75.252]) by mail.webjockey.net (8.12.10/8.12.8) with ESMTP id i3T5mYZd059578 for ; Thu, 29 Apr 2004 01:48:35 -0400 (EDT) (envelope-from gary@outloud.org) Message-Id: <6.1.0.6.2.20040429014621.03d3ae28@208.141.46.3> X-Sender: ancient@208.141.46.3 X-Mailer: QUALCOMM Windows Eudora Version 6.1.0.6 Date: Thu, 29 Apr 2004 01:48:12 -0400 To: freebsd-scsi@freebsd.org From: Gary Stanley In-Reply-To: <408EDBD0.8000805@freebsd.org> References: <408EC2F1.5070300@steelerubber.com> <408EDBD0.8000805@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: Recommended RAID controller X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 05:47:42 -0000 At 06:16 PM 4/27/2004, Scott Long wrote: >AMI/LSI MegaRAID: > - This hardware used to be well supported, but the vendor no > longer provides regular updates. I don't know whether a > management app exists or not, though I doubt that it does. There are management apps (they seem to partially work, but I want to test the advanced functions on a non-production array) http://people.freebsd.org/~emoore/ From owner-freebsd-scsi@FreeBSD.ORG Thu Apr 29 04:33:31 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 167DD16A4CE for ; Thu, 29 Apr 2004 04:33:31 -0700 (PDT) Received: from shadow.wixb.com (shadow.wixb.com [65.43.82.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADB0B43D54 for ; Thu, 29 Apr 2004 04:33:30 -0700 (PDT) (envelope-from jbronson@wixb.com) Received: from dakota.wixb.com (shadow.wixb.com [10.43.82.173]) i3TBXT3u021564 for ; Thu, 29 Apr 2004 06:33:29 -0500 (CDT) Message-Id: <6.1.0.6.2.20040429063234.024493d8@localhost> Date: Thu, 29 Apr 2004 06:33:45 -0500 To: freebsd-scsi@freebsd.org From: "J.D. Bronson" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Antivirus: Scanned by F-Prot Antivirus 4.4.1 X-Scanned-By: MIMEDefang 2.42 Subject: Re: AHC_ALLOW_MEMIO 5.2.1 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 11:33:31 -0000 >Date: Wed, 28 Apr 2004 23:12:18 -0600 >From: Scott Long >User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; >rv:1.7a) Gecko/20040214 >To: Andy Farkas >CC: "J.D. Bronson" , freebsd-scsi@freebsd.org >Subject: Re: AHC_ALLOW_MEMIO 5.2.1 > >Andy Farkas wrote: > >>On Wed, 28 Apr 2004, J.D. Bronson wrote: >> >>>What happened to this kernel option on 5.2.1? >>> >>>AHC_ALLOW_MEMIO >>> >>> >>>It does not seem to be in any file at all anymore? >>> >>> -JDB >> >>Its in /sys/conf/NOTES :) >>The generated file opt_aic7xxx.h will contain it. >>I sometimes enable this option in my kernels. Whether it does anything or >>not (performance-wise or other), I don't know. > >On x86, MEMIO is generally faster and causes the CPU to spin less than >IOPORT cycles do. It can result in a minor but measurable speed >difference, though the effects of HyperThreading, when in use, could >offset the benefits. In any case, the reason that this option exists >is to work around motherboards that incorrectly do write-combining on >MEMIO registers, something that most ahc/ahd chips do not support nor >handle well. We added a somewhat sophisticated runtime test for this >to the driver last year, so there really isn't a reason to not enable >the option. If you do and the test detects problems, it will >automatically throttle back to IOPORT. We should probably just remove >the option all-together, and just use the sysctl/tunable as a backup in >case problems develope. > >Scott Could it be possible to add a comment line to the driver so that if one enabled MEMIO, that dmesg could reflect that it was using MEMIO or not? Right now, if I enable it - I cannot tell (to my knowledge) that it is working or not. Thanks! -- J.D. Bronson Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: jd@aurora.org // Pager: 414.314.8282 From owner-freebsd-scsi@FreeBSD.ORG Thu Apr 29 06:13:15 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B5EF16A4CF; Thu, 29 Apr 2004 06:13:15 -0700 (PDT) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.e-technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3AA143D6B; Thu, 29 Apr 2004 06:13:14 -0700 (PDT) (envelope-from ma@dt.e-technik.uni-dortmund.de) Received: from m2a2.dyndns.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1])BED4F297CB; Thu, 29 Apr 2004 15:13:13 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 3BA89A734E; Thu, 29 Apr 2004 15:13:11 +0200 (CEST) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07930-04; Thu, 29 Apr 2004 15:13:10 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id 97339A6E6A; Thu, 29 Apr 2004 15:13:10 +0200 (CEST) To: Scott Long In-Reply-To: <408EDBD0.8000805@freebsd.org> (Scott Long's message of "Tue, 27 Apr 2004 16:16:48 -0600") References: <408EC2F1.5070300@steelerubber.com> <408EDBD0.8000805@freebsd.org> From: Matthias Andree Date: Thu, 29 Apr 2004 15:13:10 +0200 Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at m2a2.dyndns.org cc: freebsd-scsi@freebsd.org cc: Walter Vaughan Subject: Re: Recommended RAID controller X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 13:13:15 -0000 Scott Long writes: > AMI/LSI MegaRAID: > - This hardware used to be well supported, but the vendor no > longer provides regular updates. I don't know whether a > management app exists or not, though I doubt that it does. There is a _Linux_ diagnosis app, but I have no clues whether that works with FreeBSD in Linux emulation. I'd used an LSI MegaRAID SCSI 320-1 for a short time ("just to see if it works") with 5.1 last fall, no problems w/ RAID level 5 on three Fujitsu MAP3367NC, peak read in excess of 130 MB/s, write-through cache (no battery backup unit installed yet), write rate was untested. I didn't bother to test install the Linux diagnosis app in FreeBSD. It works fine in SuSE Linux 9.0 though after one's gotten used to the common confusion that a commercial software causes, usually WRT the user interface. The configuration/management stuff is a "Web BIOS" thingy that is accessed during BIOS boot. Suffices for applications that allow down times as the re-building of a replaced drive does not require intervention -- as can be expected from controllers in the 500+ =A4 range. --=20 Matthias Andree Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 From owner-freebsd-scsi@FreeBSD.ORG Thu Apr 29 06:21:38 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 475E816A4D2 for ; Thu, 29 Apr 2004 06:21:38 -0700 (PDT) Received: from siralan.org (12-202-252-157.client.insightBB.com [12.202.252.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3DCC43D5E for ; Thu, 29 Apr 2004 06:21:37 -0700 (PDT) (envelope-from mikes@siralan.org) Received: from siralan.org (localhost [127.0.0.1]) by siralan.org (8.12.11/8.12.11) with ESMTP id i3TDLa8A009985; Thu, 29 Apr 2004 08:21:36 -0500 (EST) (envelope-from mikes@siralan.org) Received: (from mikes@localhost) by siralan.org (8.12.11/8.12.11/Submit) id i3TDLaWO009984; Thu, 29 Apr 2004 08:21:36 -0500 (EST) (envelope-from mikes) From: "Michael L. Squires" Message-Id: <200404291321.i3TDLaWO009984@siralan.org> To: rjohanne@piper.hamline.edu (Robert Johannes) Date: Thu, 29 Apr 2004 08:21:36 -0500 (EST) In-Reply-To: from "Robert Johannes" at Apr 27, 2004 12:47:00 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: FreeBSD SCSI Subject: Re: IBM 36gig drive X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 13:21:38 -0000 > "da1: invalid sector size 520" The SCSIBOOT boot disk (as in Bart's Boot Disk), www.nu2.nu has an option to reformat drives with a 520 byte sector to 512; I don't know if it has the drivers for your controller. The SCSI utility also allows formatting all the drives at once, which I did with my array of 4 Seagate 46GB drives. MLS From owner-freebsd-scsi@FreeBSD.ORG Thu Apr 29 06:38:32 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9BA116A4CE for ; Thu, 29 Apr 2004 06:38:32 -0700 (PDT) Received: from russell.hamline.edu (russell.hamline.edu [138.192.24.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82FBE43D1F for ; Thu, 29 Apr 2004 06:38:32 -0700 (PDT) (envelope-from rjohanne@piper.hamline.edu) Received: from piper.hamline.edu (piper.hamline.edu [138.192.2.101]) by russell.hamline.edu (8.12.11/8.12.11) with ESMTP id i3TDcTvY017387; Thu, 29 Apr 2004 08:38:30 -0500 (CDT) Received: from mendeleev (mendeleev [138.192.2.109]) by piper.hamline.edu (8.12.6/8.12.6) with ESMTP id i3TDbq9M009639; Thu, 29 Apr 2004 08:37:53 -0500 (CDT) Date: Thu, 29 Apr 2004 08:35:43 -0500 (CDT) From: Robert Johannes X-X-Sender: rjohanne@mendeleev.hamline.edu To: "Michael L. Squires" In-Reply-To: <200404291321.i3TDLaWO009984@siralan.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 cc: FreeBSD SCSI Subject: Re: IBM 36gig drive (SUMMARY) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 13:38:32 -0000 Thanks all for your help regarding this issue. The simple thing to do, like many of you suggested, was to reformat the drives using the scsi controller's bios. After reformating, all the drives are now 512 byte sectors. The draw back doing it this way is that you can only do one at a time. It is done in any case. thanks robert On Thu, 29 Apr 2004, Michael L. Squires wrote: > > "da1: invalid sector size 520" > > The SCSIBOOT boot disk (as in Bart's Boot Disk), www.nu2.nu has an option > to reformat drives with a 520 byte sector to 512; I don't know if it has > the drivers for your controller. The SCSI utility also allows formatting > all the drives at once, which I did with my array of 4 Seagate 46GB drives. > > MLS > From owner-freebsd-scsi@FreeBSD.ORG Thu Apr 29 23:25:25 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18BE916A4CF for ; Thu, 29 Apr 2004 23:25:25 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id A05FC43D4C for ; Thu, 29 Apr 2004 23:25:23 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (g4.samsco.home [192.168.0.12]) by pooker.samsco.org (8.12.10/8.12.10) with ESMTP id i3U6Sxu6092842; Fri, 30 Apr 2004 00:28:59 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <4091F11A.8010605@freebsd.org> Date: Fri, 30 Apr 2004 00:24:26 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7a) Gecko/20040214 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "J.D. Bronson" References: <6.1.0.6.2.20040429063234.024493d8@localhost> In-Reply-To: <6.1.0.6.2.20040429063234.024493d8@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: freebsd-scsi@freebsd.org Subject: Re: AHC_ALLOW_MEMIO 5.2.1 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2004 06:25:25 -0000 J.D. Bronson wrote: > >Date: Wed, 28 Apr 2004 23:12:18 -0600 > >From: Scott Long > >User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; > >rv:1.7a) Gecko/20040214 > >To: Andy Farkas > >CC: "J.D. Bronson" , freebsd-scsi@freebsd.org > >Subject: Re: AHC_ALLOW_MEMIO 5.2.1 > > > >Andy Farkas wrote: > > > >>On Wed, 28 Apr 2004, J.D. Bronson wrote: > >> > >>>What happened to this kernel option on 5.2.1? > >>> > >>>AHC_ALLOW_MEMIO > >>> > >>> > >>>It does not seem to be in any file at all anymore? > >>> > >>> -JDB > >> > >>Its in /sys/conf/NOTES :) > >>The generated file opt_aic7xxx.h will contain it. > >>I sometimes enable this option in my kernels. Whether it does > anything or > >>not (performance-wise or other), I don't know. > > > >On x86, MEMIO is generally faster and causes the CPU to spin less than > >IOPORT cycles do. It can result in a minor but measurable speed > >difference, though the effects of HyperThreading, when in use, could > >offset the benefits. In any case, the reason that this option exists > >is to work around motherboards that incorrectly do write-combining on > >MEMIO registers, something that most ahc/ahd chips do not support nor > >handle well. We added a somewhat sophisticated runtime test for this > >to the driver last year, so there really isn't a reason to not enable > >the option. If you do and the test detects problems, it will > >automatically throttle back to IOPORT. We should probably just remove > >the option all-together, and just use the sysctl/tunable as a backup in > >case problems develope. > > > >Scott > > Could it be possible to add a comment line to the driver so that if one > enabled MEMIO, that dmesg could reflect that it was using MEMIO or not? > > Right now, if I enable it - I cannot tell (to my knowledge) that it is > working or not. > > Thanks! > > Enable bootverbose. Scott