From owner-freebsd-scsi@FreeBSD.ORG Mon May 3 07:18: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 8E0AE16A4CE for ; Mon, 3 May 2004 07:18:46 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38D1F43D1F for ; Mon, 3 May 2004 07:18:46 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (junior-wifi.samsco.home [192.168.0.11]) by pooker.samsco.org (8.12.10/8.12.10) with ESMTP id i43EMiu6012347 for ; Mon, 3 May 2004 08:22:44 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <409654B3.5040309@freebsd.org> Date: Mon, 03 May 2004 08:18:27 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040304 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-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 Subject: [PATCH] ASR driver update 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: Mon, 03 May 2004 14:18:46 -0000 All, In case you've been watching the CVS commit mail, I've started a massive cleanup effort on the ASR driver. Nearly all of the work so far has been cosmetic and non-functional (which trimmed nearly 1000 lines off of asr.c!). Now I have a patch that converts the driver to using the bus_space_*() API. While this should, in theory, not change any functionality, it is a much more fundamental change to the driver, so I'd appreciate more testing of it before I commit. The patch can be found at http://people.freebsd.org/~scottl/asr_bus_space.diff I'm espeically interested in testing with the 20xx ZCR adapters since they appear to be especially troublesome to the API. Thanks, Scott From owner-freebsd-scsi@FreeBSD.ORG Mon May 3 07:59:24 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 950FF16A4CE for ; Mon, 3 May 2004 07:59:24 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2082D43D49 for ; Mon, 3 May 2004 07:59:24 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (junior-wifi.samsco.home [192.168.0.11]) by pooker.samsco.org (8.12.10/8.12.10) with ESMTP id i43F3Mu6012619 for ; Mon, 3 May 2004 09:03:23 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <40965E39.1070203@freebsd.org> Date: Mon, 03 May 2004 08:59:05 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040304 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org References: <409654B3.5040309@freebsd.org> In-Reply-To: <409654B3.5040309@freebsd.org> 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 Subject: Re: [PATCH] ASR driver update 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: Mon, 03 May 2004 14:59:24 -0000 Scott Long wrote: > All, > > In case you've been watching the CVS commit mail, I've started a > massive cleanup effort on the ASR driver. Nearly all of the work > so far has been cosmetic and non-functional (which trimmed nearly > 1000 lines off of asr.c!). Now I have a patch that converts the > driver to using the bus_space_*() API. While this should, in > theory, not change any functionality, it is a much more fundamental > change to the driver, so I'd appreciate more testing of it before > I commit. The patch can be found at > > http://people.freebsd.org/~scottl/asr_bus_space.diff > > I'm espeically interested in testing with the 20xx ZCR adapters since > they appear to be especially troublesome to the API. > > Thanks, > > Scott One thing that I forgot to mention is that the patch is only for the latest 5.2-CURRENT sources. You'll need revision 1.57 of asr.c in order for the patch to apply cleanly. Scott From owner-freebsd-scsi@FreeBSD.ORG Mon May 3 15:46: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 89EF316A4CE; Mon, 3 May 2004 15:46:44 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id C03BB43D60; Mon, 3 May 2004 15:46:43 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Mon, 3 May 2004 18:46:43 -0400 Message-ID: From: Don Bowman To: 'Scott Long' , freebsd-scsi@freebsd.org Date: Mon, 3 May 2004 18:46:42 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: RE: [PATCH] ASR driver update 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: Mon, 03 May 2004 22:46:44 -0000 From: Scott Long [mailto:scottl@freebsd.org] > > Scott Long wrote: > > All, > > > > In case you've been watching the CVS commit mail, I've started a > > massive cleanup effort on the ASR driver. Nearly all of the work > > so far has been cosmetic and non-functional (which trimmed nearly > > 1000 lines off of asr.c!). Now I have a patch that converts the > > driver to using the bus_space_*() API. While this should, in > > theory, not change any functionality, it is a much more fundamental > > change to the driver, so I'd appreciate more testing of it before > > I commit. The patch can be found at > > > > http://people.freebsd.org/~scottl/asr_bus_space.diff > > > > I'm espeically interested in testing with the 20xx ZCR > adapters since > > they appear to be especially troublesome to the API. > > > > Thanks, > > > > Scott > > > One thing that I forgot to mention is that the patch is only for the > latest 5.2-CURRENT sources. You'll need revision 1.57 of asr.c in > order for the patch to apply cleanly. > Here are the resuls, a panic during bootup. System is a dual xeon. Unfortunately, this was before dumpdev was setup, so i don't have a stack trace. asr0: [GIANT-LOCKED] Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xe0001 fault code = supervisor write, page not present instruction pointer = 0x8:0xc04738d2 stack pointer = 0x10:0xc0c21918 frame pointer = 0x10:0xc0c21930 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) trap number = 12 panic: page fault at line 815 in file /usr/src/sys/i386/i386/trap.c cpuid = 0; Uptime: 1s Shutting down ACPI Automatic reboot in 15 seconds - press a key on the console to abort (kgdb) info line *0xc04738d2 Line 1957 of "/usr/src/sys/dev/asr/asr.c" starts at address 0xc04738cf and ends at 0xc04738d5 . (void)ASR_fillMessage((void *)&Message_Ptr, sizeof(I2O_EXEC_SYS_TAB_SET_MESSAGE) - sizeof(I2O_SG_ELEMENT) + ((3+SystemTable->NumberEntries) * sizeof(I2O_SGE_SIMPLE_ELEMENT))); >>>I2O_MESSAGE_FRAME_setVersionOffset(&(Message_Ptr->StdMessageFrame), (I2O_VERSION_11 + (((sizeof(I2O_EXEC_SYS_TAB_SET_MESSAGE) - sizeof(I2O_SG_ELEMENT)) / sizeof(U32)) << 4))); From owner-freebsd-scsi@FreeBSD.ORG Mon May 3 15:50:48 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 35C6516A4D2 for ; Mon, 3 May 2004 15:50:48 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 149AC43D5C for ; Mon, 3 May 2004 15:50:46 -0700 (PDT) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id 0A7E55C7DC; Mon, 3 May 2004 15:50:46 -0700 (PDT) Date: Mon, 3 May 2004 15:50:46 -0700 From: Paul Saab To: Pete French Message-ID: <20040503225046.GA49017@elvis.mu.org> References: <408EDBD0.8000805@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i 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: Mon, 03 May 2004 22:50:48 -0000 Pete French (petefrench@keithprowse.com) wrote: > > 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. Performance is pretty good and if there's a problem I would be happy to look into it. Management for ciss should be coming in the next few months. From owner-freebsd-scsi@FreeBSD.ORG Tue May 4 07:24:04 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 0DC5216A4CE for ; Tue, 4 May 2004 07:24:04 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68E0643D31 for ; Tue, 4 May 2004 07:24:03 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (junior-wifi.samsco.home [192.168.0.11]) by pooker.samsco.org (8.12.10/8.12.10) with ESMTP id i44ES7u6018704; Tue, 4 May 2004 08:28:07 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <4097A76D.2060808@freebsd.org> Date: Tue, 04 May 2004 08:23:41 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040304 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Don Bowman References: In-Reply-To: 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: [PATCH] ASR driver update 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, 04 May 2004 14:24:04 -0000 Thanks for the report. This is fixed in rev 1.58 of asr.c. I'm not sure why I didn't see this before. Btw, do you by chance have a 2005/2015 SO-DIMM form-factor card? I'm having trouble with mine and can't figure out if it's because the card is from a very early pre-production sample. Thanks, Scott Don Bowman wrote: > From: Scott Long [mailto:scottl@freebsd.org] > >>Scott Long wrote: >> >>>All, >>> >>>In case you've been watching the CVS commit mail, I've started a >>>massive cleanup effort on the ASR driver. Nearly all of the work >>>so far has been cosmetic and non-functional (which trimmed nearly >>>1000 lines off of asr.c!). Now I have a patch that converts the >>>driver to using the bus_space_*() API. While this should, in >>>theory, not change any functionality, it is a much more fundamental >>>change to the driver, so I'd appreciate more testing of it before >>>I commit. The patch can be found at >>> >>>http://people.freebsd.org/~scottl/asr_bus_space.diff >>> >>>I'm espeically interested in testing with the 20xx ZCR >> >>adapters since >> >>>they appear to be especially troublesome to the API. >>> >>>Thanks, >>> >>>Scott >> >> >>One thing that I forgot to mention is that the patch is only for the >>latest 5.2-CURRENT sources. You'll need revision 1.57 of asr.c in >>order for the patch to apply cleanly. >> > > Here are the resuls, a panic during bootup. System is a dual xeon. > Unfortunately, this was before dumpdev was setup, so i don't > have a stack trace. > > asr0: [GIANT-LOCKED] > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0xe0001 > fault code = supervisor write, page not present > instruction pointer = 0x8:0xc04738d2 > stack pointer = 0x10:0xc0c21918 > frame pointer = 0x10:0xc0c21930 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 0 (swapper) > trap number = 12 > panic: page fault > at line 815 in file /usr/src/sys/i386/i386/trap.c > cpuid = 0; > Uptime: 1s > Shutting down ACPI > Automatic reboot in 15 seconds - press a key on the console to abort > > (kgdb) info line *0xc04738d2 > Line 1957 of "/usr/src/sys/dev/asr/asr.c" > starts at address 0xc04738cf > and ends at 0xc04738d5 . > > > (void)ASR_fillMessage((void *)&Message_Ptr, > sizeof(I2O_EXEC_SYS_TAB_SET_MESSAGE) - sizeof(I2O_SG_ELEMENT) > + ((3+SystemTable->NumberEntries) * > sizeof(I2O_SGE_SIMPLE_ELEMENT))); > >>>I2O_MESSAGE_FRAME_setVersionOffset(&(Message_Ptr->StdMessageFrame), > (I2O_VERSION_11 + > (((sizeof(I2O_EXEC_SYS_TAB_SET_MESSAGE) - sizeof(I2O_SG_ELEMENT)) > / sizeof(U32)) << 4))); > > > > > From owner-freebsd-scsi@FreeBSD.ORG Tue May 4 08: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 50C8716A4CE; Tue, 4 May 2004 08:16:18 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id A38D543D39; Tue, 4 May 2004 08:16:15 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Tue, 4 May 2004 11:16:14 -0400 Message-ID: From: Don Bowman To: 'Scott Long' , Don Bowman Date: Tue, 4 May 2004 11:16:12 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" cc: freebsd-scsi@freebsd.org Subject: RE: [PATCH] ASR driver update 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, 04 May 2004 15:16:18 -0000 From: Scott Long [mailto:scottl@freebsd.org] > Sent: May 4, 2004 10:24 AM > To: Don Bowman > Cc: freebsd-scsi@freebsd.org > Subject: Re: [PATCH] ASR driver update > > > Thanks for the report. This is fixed in rev 1.58 of asr.c. I'm not > sure why I didn't see this before. Btw, do you by chance have a > 2005/2015 SO-DIMM form-factor card? I'm having trouble with mine and > can't figure out if it's because the card is from a very early > pre-production sample. > The test I did was on the 2010s, PCI form-factor. I do have 4 systems with the so-dimm 2015 card, but they're a little harder for me to get @. --don From owner-freebsd-scsi@FreeBSD.ORG Tue May 4 15:08: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 2208016A4CE for ; Tue, 4 May 2004 15:08:18 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02CCF43D3F for ; Tue, 4 May 2004 15:08:17 -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 i44MCJu6020655; Tue, 4 May 2004 16:12:19 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <40981414.8050202@freebsd.org> Date: Tue, 04 May 2004 16:07:16 -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: Don Bowman References: In-Reply-To: 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: [PATCH] ASR driver update 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, 04 May 2004 22:08:18 -0000 Don Bowman wrote: > From: Scott Long [mailto:scottl@freebsd.org] > >>Sent: May 4, 2004 10:24 AM >>To: Don Bowman >>Cc: freebsd-scsi@freebsd.org >>Subject: Re: [PATCH] ASR driver update >> >> >>Thanks for the report. This is fixed in rev 1.58 of asr.c. I'm not >>sure why I didn't see this before. Btw, do you by chance have a >>2005/2015 SO-DIMM form-factor card? I'm having trouble with mine and >>can't figure out if it's because the card is from a very early >>pre-production sample. >> > > > The test I did was on the 2010s, PCI form-factor. > I do have 4 systems with the so-dimm 2015 card, but they're > a little harder for me to get @. > > --don Ok. I'm curious if the 2010 and 2015 look similar. My understanding is that they should look identical to the driver, but the 2005 card that I have is defying my expectations (and is crashing because of it, even with the unmodified driver). If you could a) test the 2010 with rev 1.58 + my bus_space patch, and b) send me the pciconf info for both the 2010 and 2015, I'd greatly appreciate it. Thanks, Scott From owner-freebsd-scsi@FreeBSD.ORG Tue May 4 16:06:21 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 B9EA916A4CE; Tue, 4 May 2004 16:06:21 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FA6E43D1F; Tue, 4 May 2004 16:06:21 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Tue, 4 May 2004 19:06:20 -0400 Message-ID: From: Don Bowman To: 'Scott Long' , Don Bowman Date: Tue, 4 May 2004 19:06:19 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" cc: freebsd-scsi@freebsd.org Subject: RE: [PATCH] ASR driver update 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, 04 May 2004 23:06:21 -0000 From: Scott Long [mailto:scottl@freebsd.org] > Don Bowman wrote: > > > From: Scott Long [mailto:scottl@freebsd.org] > > > >>Sent: May 4, 2004 10:24 AM > >>To: Don Bowman > >>Cc: freebsd-scsi@freebsd.org > >>Subject: Re: [PATCH] ASR driver update > >> > >> > >>Thanks for the report. This is fixed in rev 1.58 of asr.c. I'm not > >>sure why I didn't see this before. Btw, do you by chance have a > >>2005/2015 SO-DIMM form-factor card? I'm having trouble > with mine and > >>can't figure out if it's because the card is from a very early > >>pre-production sample. > >> > > > > > > The test I did was on the 2010s, PCI form-factor. > > I do have 4 systems with the so-dimm 2015 card, but they're > > a little harder for me to get @. > > > > --don > > Ok. I'm curious if the 2010 and 2015 look similar. My understanding > is that they should look identical to the driver, but the > 2005 card that > I have is defying my expectations (and is crashing because of it, even > with the unmodified driver). If you could a) test the 2010 with rev > 1.58 + my bus_space patch, and b) send me the pciconf info > for both the > 2010 and 2015, I'd greatly appreciate it. Well, the 2nd is easier than the first. asr0@pci3:3:0: class=0x010400 card=0xc0321044 chip=0xa5111044 rev=0x01 hdr=0x00 vendor = 'Adaptec (Formerly: Distributed Processing Technology (DPT))' device = 'Raptor SmartRAID Controller' class = mass storage subclass = RAID is the output of pciconf -lv for the 2015 card [SO-DIMM] asr0@pci6:1:0: class=0x010400 card=0xc0351044 chip=0xa5111044 rev=0x01 hdr=0x00 vendor = 'Adaptec (Formerly: Distributed Processing Technology (DPT))' device = 'Raptor SmartRAID Controller' class = mass storage subclass = RAID is the output for the 2010 card [PCI form factor] on the 2015, i won't be able to try the code for a while, the system i have access to runs 4.9, the other ones have been scoffed up and now run windows :) on the 2010, i'll give the 1.58 rev a try with your patches. --don From owner-freebsd-scsi@FreeBSD.ORG Tue May 4 16:57: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 A3DB316A4CE for ; Tue, 4 May 2004 16:57:46 -0700 (PDT) Received: from mail.wolves.k12.mo.us (duey.wolves.k12.mo.us [207.160.214.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24B9F43D54 for ; Tue, 4 May 2004 16:57:46 -0700 (PDT) (envelope-from cdillon@wolves.k12.mo.us) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id 7D3EE1FEF1; Tue, 4 May 2004 18:57:45 -0500 (CDT) Received: from mail.wolves.k12.mo.us ([127.0.0.1]) by localhost (mail.wolves.k12.mo.us [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 89626-02-4; Tue, 4 May 2004 18:57:43 -0500 (CDT) Received: by mail.wolves.k12.mo.us (Postfix, from userid 1001) id DA5541FEE0; Tue, 4 May 2004 18:57:43 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id D8D3C1A9ED; Tue, 4 May 2004 18:57:43 -0500 (CDT) Date: Tue, 4 May 2004 18:57:43 -0500 (CDT) From: Chris Dillon To: Paul Saab In-Reply-To: <20040503225046.GA49017@elvis.mu.org> Message-ID: <20040504184522.Y88454@duey.wolves.k12.mo.us> References: <408EDBD0.8000805@freebsd.org> <20040503225046.GA49017@elvis.mu.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at wolves.k12.mo.us 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, 04 May 2004 23:57:46 -0000 On Mon, 3 May 2004, Paul Saab wrote: > Performance is pretty good and if there's a problem I would be happy > to look into it. Management for ciss should be coming in the next > few months. Good to hear the management apps are on their way. I'm in the process of ordering another HP server soon and would like to run FreeBSD on it instead of Win2003 Server, using either the integrated SmartArray 5i Plus or possibly a SmartArray 6402/128 instead. I haven't yet figured out how much disk horsepower serving up 2300 150MB home directories via Samba to 300-500 concurrent users is going to require. :-) Now if we only had a management utility for mly... -- Chris Dillon - cdillon(at)wolves.k12.mo.us FreeBSD: The fastest, most open, and most stable OS on the planet - Available for IA32, IA64, AMD64, PC98, Alpha, and UltraSPARC architectures - PowerPC, ARM, MIPS, and S/390 under development - http://www.freebsd.org Q: Because it reverses the logical flow of conversation. A: Why is putting a reply at the top of the message frowned upon? From owner-freebsd-scsi@FreeBSD.ORG Tue May 4 17:17:53 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 99B8016A4CE for ; Tue, 4 May 2004 17:17:53 -0700 (PDT) Received: from mail1.panaso.com (mail1.panaso.com [66.154.97.37]) by mx1.FreeBSD.org (Postfix) with SMTP id 4065E43D1F for ; Tue, 4 May 2004 17:17:53 -0700 (PDT) (envelope-from mblack@panaso.com) Received: (qmail 76864 invoked from network); 5 May 2004 00:17:53 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost.panaso.com with SMTP; 5 May 2004 00:17:53 -0000 Date: Tue, 4 May 2004 17:17:53 -0700 (PST) From: Mechael Black To: freebsd-scsi@freebsd.org Message-ID: <0405041704360.75876@neobe.cnanfb.pbz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Dell 1750, mpt0/multiple disks + boot failure 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, 05 May 2004 00:17:53 -0000 Is there any fix or work around to using multiple SCSI disks in a 1750? I ran across the thread below dated Dec/2003 - but there does not appear to have been much followup. http://lists.freebsd.org/pipermail/freebsd-scsi/2003-December/000871.html Would appreciate any input. Thanks, -mblack FreeBSD 4.9-RELEASE mpt0: port 0xcc00-0xccff mem 0xfcd20000-0xfcd2ffff,0xfcd30000-0xfcd3 ffff irq 7 at device 5.0 on pci4 mpt1: port 0xc800-0xc8ff mem 0xfcd00000-0xfcd0ffff,0xfcd10000-0xfcd1 ffff irq 5 at device 5.1 on pci4 pass1 at mpt0 bus 0 target 6 lun 0 pass1: Fixed Processor SCSI-2 device pass1: 3.300MB/s transfers da0 at mpt0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled da0: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C) From owner-freebsd-scsi@FreeBSD.ORG Tue May 4 18:56:58 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 99B3716A4CE for ; Tue, 4 May 2004 18:56:58 -0700 (PDT) Received: from mail.distrust.net (mail.distrust.net [69.93.230.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3931143D2D for ; Tue, 4 May 2004 18:56:58 -0700 (PDT) (envelope-from dsze@alumni.uwaterloo.ca) Received: from eeyore.distrust.net (CPE000021e92a64-CM014320019900.cpe.net.cable.rogers.com [24.112.29.214]) (authenticated bits=0) by mail.distrust.net (8.12.9p2/8.12.9) with ESMTP id i451utin023863 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT); Tue, 4 May 2004 20:56:56 -0500 (CDT) (envelope-from dsze@alumni.uwaterloo.ca) Message-Id: <6.0.3.0.2.20040504215823.027db120@mail.distrust.net> X-Sender: dsze@engmail.uwaterloo.ca X-Mailer: QUALCOMM Windows Eudora Version 6.0.3.0 Date: Tue, 04 May 2004 21:59:01 -0400 To: Mechael Black From: David Sze In-Reply-To: <0405041704360.75876@neobe.cnanfb.pbz> References: <0405041704360.75876@neobe.cnanfb.pbz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-scsi@freebsd.org Subject: Re: Dell 1750, mpt0/multiple disks + boot failure 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, 05 May 2004 01:56:58 -0000 At 05:17 PM 04/05/2004 -0700, Mechael Black wrote this to All: >Is there any fix or work around to using multiple SCSI disks in a 1750? I >ran across the thread below dated Dec/2003 - but there does not appear to >have been much followup. > >http://lists.freebsd.org/pipermail/freebsd-scsi/2003-December/000871.html > >Would appreciate any input. If there was one, I don't think it was ever made public. I ran into the same problem at work with a business partner, and the "resolution" was to install RedHat. FWIW, the problem does seem to be limited to mpt with IBM disks. We have some customers successfully using mpt with Fujitsu, Seagate, and Maxtor disks. From owner-freebsd-scsi@FreeBSD.ORG Tue May 4 19:35: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 81A6516A4D5 for ; Tue, 4 May 2004 19:35:14 -0700 (PDT) Received: from mail1.panaso.com (mail1.panaso.com [66.154.97.37]) by mx1.FreeBSD.org (Postfix) with SMTP id 3871043D54 for ; Tue, 4 May 2004 19:35:14 -0700 (PDT) (envelope-from mblack@panaso.com) Received: (qmail 88172 invoked from network); 5 May 2004 02:35:13 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost.panaso.com with SMTP; 5 May 2004 02:35:13 -0000 Date: Tue, 4 May 2004 19:35:13 -0700 (PST) From: Mechael Black To: freebsd-scsi@freebsd.org In-Reply-To: <6.0.3.0.2.20040504215823.027db120@mail.distrust.net> Message-ID: <0405041919520.87015@neobe.cnanfb.pbz> References: <0405041704360.75876@neobe.cnanfb.pbz> <6.0.3.0.2.20040504215823.027db120@mail.distrust.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: Dell 1750, mpt0/multiple disks + boot failure 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, 05 May 2004 02:35:14 -0000 On Tue, 4 May 2004, David Sze wrote: > FWIW, the problem does seem to be limited to mpt with IBM disks. We > have some customers successfully using mpt with Fujitsu, Seagate, and > Maxtor disks. I just pulled an 18G Seagate from another box - tossed it in the 1750, and it booted fine alone side an IBM drive, no problem. Added another IBM drive (1 Seagate, 2 IBM), and it failed again. So, running 2 IBM drives will fail to boot. Add a different drive, and you can use 1 IBM drive. Super. Thanks for the pointer David. -mblack From owner-freebsd-scsi@FreeBSD.ORG Tue May 4 19:42:20 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 03CD116A4CE; Tue, 4 May 2004 19:42:20 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE24643D45; Tue, 4 May 2004 19:42:18 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Tue, 4 May 2004 22:42:18 -0400 Message-ID: From: Don Bowman To: 'Scott Long' , "'freebsd-scsi@freebsd.org'" Date: Tue, 4 May 2004 22:42:16 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: RE: [PATCH] ASR driver update 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, 05 May 2004 02:42:20 -0000 From: Scott Long [mailto:scottl@freebsd.org] > Don Bowman wrote: > > > From: Scott Long [mailto:scottl@freebsd.org] > > > >>Don Bowman wrote: > >> > >> > >>>From: Scott Long [mailto:scottl@freebsd.org] > >>> > >>> > >>>>Sent: May 4, 2004 10:24 AM > >>>>To: Don Bowman > >>>>Cc: freebsd-scsi@freebsd.org > >>>>Subject: Re: [PATCH] ASR driver update > >>>> > >>>> > >>>>Thanks for the report. This is fixed in rev 1.58 of > asr.c. I'm not > >>>>sure why I didn't see this before. Btw, do you by chance have a > >>>>2005/2015 SO-DIMM form-factor card? I'm having trouble > >> > >>with mine and > >> > >>>>can't figure out if it's because the card is from a very early > >>>>pre-production sample. > >>>> > >>> > >>> > >>>The test I did was on the 2010s, PCI form-factor. > >>>I do have 4 systems with the so-dimm 2015 card, but they're > >>>a little harder for me to get @. > >>> > >>>--don > >> > >>Ok. I'm curious if the 2010 and 2015 look similar. My > understanding > >>is that they should look identical to the driver, but the > >>2005 card that > >>I have is defying my expectations (and is crashing because > of it, even > >>with the unmodified driver). If you could a) test the 2010 with rev > >>1.58 + my bus_space patch, and b) send me the pciconf info > >>for both the > >>2010 and 2015, I'd greatly appreciate it. > > > > > > Well, the 2nd is easier than the first. > > > > asr0@pci3:3:0: class=0x010400 card=0xc0321044 > chip=0xa5111044 rev=0x01 > > hdr=0x00 > > vendor = 'Adaptec (Formerly: Distributed Processing > Technology (DPT))' > > device = 'Raptor SmartRAID Controller' > > class = mass storage > > subclass = RAID > > > > is the output of pciconf -lv for the 2015 card [SO-DIMM] > > > > asr0@pci6:1:0: class=0x010400 card=0xc0351044 > chip=0xa5111044 rev=0x01 > > hdr=0x00 > > vendor = 'Adaptec (Formerly: Distributed Processing > Technology (DPT))' > > device = 'Raptor SmartRAID Controller' > > class = mass storage > > subclass = RAID > > > > is the output for the 2010 card [PCI form factor] > > > > on the 2015, i won't be able to try the code for a while, > > the system i have access to runs 4.9, the other ones have > > been scoffed up and now run windows :) > > > > on the 2010, i'll give the 1.58 rev a try with your patches. > > > > --don > > Ok, your 2015 behaves like I would expect. Testing the 2010 > will cover > the 2015 case too. Thanks! OK, the system with the 2010 boots now. It has 1TB of disk space, 4GB of ram, and is running a bunch of postgresql databases. One thing... I had 'link rasr0 rdpti0' in /etc/devfs.conf so that the asr raidutils would work. With your changes, this no longer works. I no longer have an 'rasr0', but instead a 'asr0'. If i link this to 'rdpti0', then raidutil works again. I've done a bunch of dd to and from disk with success, and the postgres' seem to be ok. The performance is nothing to write home about, about 22MB/s on write (to filesystem from /dev/zero), and only about 10MB/s on read (from /dev/da0 to /dev/null). I don't know how to tell if i'm getting errors or anything with this driver. I'm not sure what i had before this change, i'll try and re-run the test. I have # Controller Cache FW NVRAM BIOS SMOR Serial --------------------------------------------------------------------------- d0 ADAP2010S 32MB 3B05 CHNL 1.1 1.62 1.12/79I BD0E40303FA smartmontools reports: # smartctl -a /dev/da0 smartctl version 5.26 Copyright (C) 2002-3 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Device: ADAPTEC RAID-5 Version: 3B05 Device type: disk Transport protocol: Parallel SCSI (SPI-4) Local Time is: Tue May 4 22:34:47 2004 EDT Device supports SMART and is Enabled Temperature Warning Enabled SMART Health Status: OK Current Drive Temperature: 30 C Drive Trip Temperature: 68 C Vendor (Seagate) cache information Blocks sent to initiator = 2301546143 Blocks received from initiator = 2378126595 Blocks read from cache and sent to initiator = 1019731912 Number of read and write commands whose size <= segment size = 92502246 Number of read and write commands whose size > segment size = 56627 Vendor (Seagate) factory information number of hours powered up = 817.93 number of minutes until next internal SMART test = 78 Error counter log: Errors Corrected Total Total Correction Gigabytes Total delay: [rereads/ errors algorithm processed uncorrected minor | major rewrites] corrected invocations [10^9 bytes] errors read: 185234 0 0 185234 185234 4130.420 0 write: 0 0 0 0 0 710.700 0 Non-medium error count: 1252 [GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on'] SMART Self-test log Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ] Description number (hours) # 1 Background short Completed - 2 - [- - -] # 2 Background short Completed - 2 - [- - -] Long (extended) Self Test duration: 3072 seconds [51.2 minutes] I tried 'raidutil -e soft -d0' as the raidutil man page suggests, but it says 'Must specify an address for this command: -e soft ' From owner-freebsd-scsi@FreeBSD.ORG Tue May 4 20:25:47 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 98DB816A4CE for ; Tue, 4 May 2004 20:25:47 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2146743D1F for ; Tue, 4 May 2004 20:25:47 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (junior-wifi.samsco.home [192.168.0.11]) by pooker.samsco.org (8.12.10/8.12.10) with ESMTP id i453Tsu6021949; Tue, 4 May 2004 21:29:55 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <40985EA5.1030500@freebsd.org> Date: Tue, 04 May 2004 21:25:25 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040304 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Don Bowman References: In-Reply-To: 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: [PATCH] ASR driver update 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, 05 May 2004 03:25:47 -0000 Don Bowman wrote: > > OK, the system with the 2010 boots now. It has 1TB of disk > space, 4GB of ram, and is running a bunch of postgresql databases. > Excellent! > One thing... > I had 'link rasr0 rdpti0' in /etc/devfs.conf > so that the asr raidutils would work. With your changes, > this no longer works. I no longer have an 'rasr0', but > instead a 'asr0'. If i link this to 'rdpti0', then > raidutil works again. I changed this with rev 1.55, among other things. The source to the raidctl util is available, so once I'm done fixing the management interface (there is a lot more work to go on this, btw), I'll fix raidutil and make it into a new port. > > I've done a bunch of dd to and from disk with success, > and the postgres' seem to be ok. > > > The performance is nothing to write home about, about > 22MB/s on write (to filesystem from /dev/zero), and > only about 10MB/s on read (from /dev/da0 to /dev/null). > I don't know how to tell if i'm getting errors or anything > with this driver. I'm not sure what i had before this change, > i'll try and re-run the test. I wouldn't expect the performance to change much. The generated assembly for the changed functions is nearly the same as before. The big benefit is that the driver should have a better chance of working on non x86 systems, possibly even amd64. Thanks again for testing this. Scott From owner-freebsd-scsi@FreeBSD.ORG Tue May 4 22:50:07 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 03F4D16A4CE for ; Tue, 4 May 2004 22:50:07 -0700 (PDT) Received: from cmsrelay03.mx.net (cmsrelay03.mx.net [165.212.11.112]) by mx1.FreeBSD.org (Postfix) with SMTP id 9DCC043D4C for ; Tue, 4 May 2004 22:50:06 -0700 (PDT) (envelope-from noackjr@alumni.rice.edu) Received: from uadvg137.cms.usa.net (165.212.11.137) by cmsoutbound.mx.net with SMTP; 5 May 2004 05:50:05 -0000 Received: from optimator.noacks.org [66.140.16.119] by uadvg137.cms.usa.net (ASMTP/noackjr@usa.net) via mtad (C8.MAIN.3.13N) with ESMTP id 229ieeFYc0341M37; Wed, 05 May 2004 05:50:02 GMT X-USANET-Auth: 66.140.16.119 AUTH noackjr@usa.net optimator.noacks.org Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 1880C612D; Wed, 5 May 2004 00:50:02 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 99728-05; Wed, 5 May 2004 00:50:01 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id E6DA56110; Wed, 5 May 2004 00:50:00 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.12.11/8.12.11) with ESMTP id i455o06t004643; Wed, 5 May 2004 00:50:00 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <40988088.90303@alumni.rice.edu> Date: Wed, 05 May 2004 00:50:00 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 0.6 (X11/20040504) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Scott Long References: <409654B3.5040309@freebsd.org> In-Reply-To: <409654B3.5040309@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: freebsd-scsi@freebsd.org Subject: Re: [PATCH] ASR driver update X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2004 05:50:07 -0000 Scott Long wrote: > All, > > In case you've been watching the CVS commit mail, I've started a > massive cleanup effort on the ASR driver. Nearly all of the work > so far has been cosmetic and non-functional (which trimmed nearly > 1000 lines off of asr.c!). Now I have a patch that converts the > driver to using the bus_space_*() API. While this should, in > theory, not change any functionality, it is a much more fundamental > change to the driver, so I'd appreciate more testing of it before > I commit. The patch can be found at > > http://people.freebsd.org/~scottl/asr_bus_space.diff > > I'm espeically interested in testing with the 20xx ZCR adapters since > they appear to be especially troublesome to the API. > > Thanks, > > Scott Works fine for me on a 2100S with rev. 1.58 of asr.c: asr0: mem 0xe4000000-0xe5ffffff irq 11 at device 5.1 on pci2 asr0: Reserved 0x2000000 bytes for rid 0x10 type 3 at 0xe4000000 asr0: [GIANT-LOCKED] asr0: ADAPTEC 2100S FW Rev. 370F, 1 channel, 256 CCBs, Protocol I2O Jon From owner-freebsd-scsi@FreeBSD.ORG Wed May 5 06:51:07 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 646F816A4CE for ; Wed, 5 May 2004 06:51:07 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5C6243D2F for ; Wed, 5 May 2004 06:51:06 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (junior-wifi.samsco.home [192.168.0.11]) by pooker.samsco.org (8.12.10/8.12.10) with ESMTP id i45DtHu6024743; Wed, 5 May 2004 07:55:17 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <4098F134.3090003@freebsd.org> Date: Wed, 05 May 2004 07:50:44 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040304 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org References: <200405050529.i455TJ6k009839@repoman.freebsd.org> In-Reply-To: <200405050529.i455TJ6k009839@repoman.freebsd.org> 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 Subject: Re: cvs commit: src/sys/dev/asr asr.c 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, 05 May 2004 13:51:07 -0000 Scott Long wrote: > scottl 2004/05/04 22:29:19 PDT > > FreeBSD src repository > > Modified files: > sys/dev/asr asr.c > Log: > Roto-till the ioctl code. Remove all the groping around in the x86 BIOS > segment, remove the groping around in the Option ROM segments, remove the > bogus tests for bcopy vs. copyout. There really is no reason for a > management app to know these things other than to create l33t info tables > for the user. > > Revision Changes Path > 1.60 +10 -109 src/sys/dev/asr/asr.c If this causes the raidctl management app to stop working, please let me know and I'll bump it up in my priority list. Scott From owner-freebsd-scsi@FreeBSD.ORG Wed May 5 08:05:24 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 8F04B16A4CE for ; Wed, 5 May 2004 08:05:24 -0700 (PDT) Received: from ganymede.hub.org (u46n208.hfx.eastlink.ca [24.222.46.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 336A043D58 for ; Wed, 5 May 2004 08:05:22 -0700 (PDT) (envelope-from scrappy@hub.org) Received: by ganymede.hub.org (Postfix, from userid 1000) id 3D08A38D01; Wed, 5 May 2004 12:05:21 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 3C1A636491 for ; Wed, 5 May 2004 12:05:21 -0300 (ADT) Date: Wed, 5 May 2004 12:05:21 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-scsi@freebsd.org Message-ID: <20040505120328.F2736@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: RAID controller recommendation for Tyan Thunder K7x Pro ... ? 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, 05 May 2004 15:05:24 -0000 Saw Scott's summary of what is out there for FreeBSD, but wondering if anyone has specific recommendations for the above board? Unless I'm missing something on their web site, ZCR isn't an option ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 From owner-freebsd-scsi@FreeBSD.ORG Wed May 5 08:07:24 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 BD43B16A4CE for ; Wed, 5 May 2004 08:07:24 -0700 (PDT) Received: from ganymede.hub.org (u46n208.hfx.eastlink.ca [24.222.46.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E2BF43D1F for ; Wed, 5 May 2004 08:07:22 -0700 (PDT) (envelope-from scrappy@hub.org) Received: by ganymede.hub.org (Postfix, from userid 1000) id DD49F39052; Wed, 5 May 2004 12:07:21 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id DC2CC39015 for ; Wed, 5 May 2004 12:07:21 -0300 (ADT) Date: Wed, 5 May 2004 12:07:21 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-scsi@freebsd.org Message-ID: <20040505120521.L2736@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Hardware RAID vs Vinum? 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, 05 May 2004 15:07:24 -0000 Why one over the other? The main advantage I see to Vinum is that it makes doing stuff like firmware upgrades on a hard drive alot easier, since you see all the drives ... but, does paying a couple of hundred extra for a RAID controller give me any major advantages over that? ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 From owner-freebsd-scsi@FreeBSD.ORG Wed May 5 08:18:17 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 48BAC16A4CE for ; Wed, 5 May 2004 08:18:17 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80D4A43D1D for ; Wed, 5 May 2004 08:18:16 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Wed, 5 May 2004 11:18:15 -0400 Message-ID: From: Don Bowman To: "'Marc G. Fournier'" , freebsd-scsi@freebsd.org Date: Wed, 5 May 2004 11:18:14 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: RE: Hardware RAID vs Vinum? 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, 05 May 2004 15:18:17 -0000 From: Marc G. Fournier [mailto:scrappy@hub.org] > Why one over the other? > > The main advantage I see to Vinum is that it makes doing stuff like > firmware upgrades on a hard drive alot easier, since you see all the > drives ... but, does paying a couple of hundred extra for a RAID > controller give me any major advantages over that? Devices like aac have a cam passthrough (aacp) which allows firmware upgrades and smartmontools etc to work. the advantage to the hardware raid is that you can make the root partition be on the raid, so the machine will still boot if a drive fails, where with vinum, you cannot do that. You also have less worries about vinum changing between FreeBSD versions :) Newer raid controllers have hardware xor support which makes their performance pretty good even with slower processors. --don From owner-freebsd-scsi@FreeBSD.ORG Wed May 5 09:34: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 8CE2416A4CE for ; Wed, 5 May 2004 09:34:14 -0700 (PDT) Received: from amsfep20-int.chello.nl (amsfep12-int.chello.nl [213.46.243.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2131743D45 for ; Wed, 5 May 2004 09:34:13 -0700 (PDT) (envelope-from j.molinger@chello.nl) Received: from chello.nl ([213.93.208.17]) by amsfep20-int.chello.nl (InterMail vM.6.00.05.02 201-2115-109-103-20031105) with ESMTP id <20040505163411.FDFN1925.amsfep20-int.chello.nl@chello.nl>; Wed, 5 May 2004 18:34:11 +0200 Message-ID: <4099178A.2040705@chello.nl> Date: Wed, 05 May 2004 18:34:18 +0200 From: Jeroen Molinger User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org, scrappy@hub.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: RE.RAID controller recommendation for Tyan Thunder K7x Pro ... ? 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, 05 May 2004 16:34:14 -0000 I can surely advice you to take a look at the ServerRAID family from IBM. I am using the 6M with 256mb, and I am very impressed with the performance. Saw Scott's summary of what is out there for FreeBSD, but wondering if anyone has specific recommendations for the above board? Unless I'm missing something on their web site, ZCR isn't an option ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 _______________________________________________ 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 May 5 11:00:39 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 A059E16A4D2; Wed, 5 May 2004 11:00:39 -0700 (PDT) Received: from shadow.wixb.com (shadow.wixb.com [65.43.82.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B6D843D54; Wed, 5 May 2004 11:00:38 -0700 (PDT) (envelope-from jbronson@wixb.com) Received: from dakota.wixb.com (shadow.wixb.com [10.43.82.173]) i45I0b2T001213; Wed, 5 May 2004 13:00:37 -0500 (CDT) Message-Id: <6.1.0.6.2.20040505125654.02466d70@localhost> Date: Wed, 05 May 2004 12:59:57 -0500 To: freebsd-questions@freebsd.org From: "J.D. Bronson" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Scanned-By: MIMEDefang 2.42 cc: freebsd-scsi@freebsd.org Subject: LSI20320R support in 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, 05 May 2004 18:00:39 -0000 Can anyone confirm that this card will work with FreeBSD 5.2.1 x86 ? It has the SCSI I/O Processor LSI53C1020 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 Wed May 5 16:47:09 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 9BA3016A4CF for ; Wed, 5 May 2004 16:47:09 -0700 (PDT) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id D746643D53 for ; Wed, 5 May 2004 16:47:08 -0700 (PDT) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (blackwater.lemis.com [192.109.197.80]) by ozlabs.org (Postfix) with ESMTP id E51482BD3E for ; Thu, 6 May 2004 09:47:05 +1000 (EST) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 008F751200; Thu, 6 May 2004 09:17:03 +0930 (CST) Date: Thu, 6 May 2004 09:17:03 +0930 From: Greg 'groggy' Lehey To: Don Bowman Message-ID: <20040505234703.GG61687@wantadilla.lemis.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Cp3Cp8fzgozWLBWL" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd-scsi@freebsd.org Subject: Re: Hardware RAID vs Vinum? 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, 05 May 2004 23:47:09 -0000 --Cp3Cp8fzgozWLBWL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wednesday, 5 May 2004 at 11:18:14 -0400, Don Bowman wrote: > From: Marc G. Fournier=20 >> Why one over the other? >> >> The main advantage I see to Vinum is that it makes doing stuff like >> firmware upgrades on a hard drive alot easier, since you see all the >> drives ... but, does paying a couple of hundred extra for a RAID >> controller give me any major advantages over that? > > Devices like aac have a cam passthrough (aacp) which allows > firmware upgrades and smartmontools etc to work. > > the advantage to the hardware raid is that you can make the > root partition be on the raid, so the machine will still boot > if a drive fails, where with vinum, you cannot do that. No, that's not correct. If a drive fails, you can still boot from the remaining drive. Greg -- Note: I discard all HTML mail unseen. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. --Cp3Cp8fzgozWLBWL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQFAmXz3IubykFB6QiMRAlSLAJ0aDibUSoLG4Dh+aYMNx60KfHtokgCcCJKI V1q8Oj1h3dzHiIEMpVrAKno= =Mw7f -----END PGP SIGNATURE----- --Cp3Cp8fzgozWLBWL-- From owner-freebsd-scsi@FreeBSD.ORG Wed May 5 16:52: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 184F616A4D0 for ; Wed, 5 May 2004 16:52:31 -0700 (PDT) Received: from cmsrelay03.mx.net (cmsrelay03.mx.net [165.212.11.112]) by mx1.FreeBSD.org (Postfix) with SMTP id BC17243D45 for ; Wed, 5 May 2004 16:52:30 -0700 (PDT) (envelope-from noackjr@alumni.rice.edu) Received: from uadvg129.cms.usa.net (165.212.11.129) by cmsoutbound.mx.net with SMTP; 5 May 2004 23:52:29 -0000 Received: from optimator.noacks.org [66.140.16.119] by uadvg129.cms.usa.net (ASMTP/noackjr@usa.net) via mtad (C8.MAIN.3.13N) with ESMTP id 286ieeX1A0080M29; Wed, 05 May 2004 23:52:26 GMT X-USANET-Auth: 66.140.16.119 AUTH noackjr@usa.net optimator.noacks.org Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id A943A610C; Wed, 5 May 2004 18:52:25 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06706-03; Wed, 5 May 2004 18:52:24 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 9794760E7; Wed, 5 May 2004 18:52:24 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.12.11/8.12.11) with ESMTP id i45NqOJS004833; Wed, 5 May 2004 18:52:24 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <40997E38.8080708@alumni.rice.edu> Date: Wed, 05 May 2004 18:52:24 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 0.6 (X11/20040504) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Scott Long References: <200405050529.i455TJ6k009839@repoman.freebsd.org> <4098F134.3090003@freebsd.org> In-Reply-To: <4098F134.3090003@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: freebsd-scsi@freebsd.org Subject: Re: cvs commit: src/sys/dev/asr asr.c X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2004 23:52:31 -0000 Scott Long wrote: > Scott Long wrote: > >> scottl 2004/05/04 22:29:19 PDT >> >> FreeBSD src repository >> >> Modified files: >> sys/dev/asr asr.c Log: >> Roto-till the ioctl code. Remove all the groping around in the x86 >> BIOS >> segment, remove the groping around in the Option ROM segments, >> remove the >> bogus tests for bcopy vs. copyout. There really is no reason for a >> management app to know these things other than to create l33t info >> tables >> for the user. >> Revision Changes Path >> 1.60 +10 -109 src/sys/dev/asr/asr.c > > > If this causes the raidctl management app to stop working, please let me > know and I'll bump it up in my priority list. > > Scott Before this commit I could 'ln -s /dev/asr0 /dev/rdpti0' and 'raidutil -L all' would work. Now, it fails: Engine connect failed: COMPATILITY number osdIOrequest : File /dev/rdptr17 Could Not Be Opened Also, the soft link disappears after the above command. This did not happen before. I put 'link asr0 rdpti0' in /etc/devfs.conf before trying raidutil at all, but that doesn't appear to do anything (most likely it is me not grokking devfs though). Jon Noack From owner-freebsd-scsi@FreeBSD.ORG Wed May 5 17:55: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 5E6E216A4CE; Wed, 5 May 2004 17:55:57 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDC8043D1D; Wed, 5 May 2004 17:55:56 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Wed, 5 May 2004 20:55:56 -0400 Message-ID: From: Don Bowman To: "'noackjr@alumni.rice.edu'" , Scott Long Date: Wed, 5 May 2004 20:55:51 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" cc: freebsd-scsi@freebsd.org Subject: RE: cvs commit: src/sys/dev/asr asr.c 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, 06 May 2004 00:55:57 -0000 From: Jon Noack [mailto:noackjr@alumni.rice.edu] > Scott Long wrote: > > Scott Long wrote: > > > >> scottl 2004/05/04 22:29:19 PDT > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/dev/asr asr.c Log: > >> Roto-till the ioctl code. Remove all the groping around > in the x86 > >> BIOS > >> segment, remove the groping around in the Option ROM segments, > >> remove the > >> bogus tests for bcopy vs. copyout. There really is no > reason for a > >> management app to know these things other than to create > l33t info > >> tables > >> for the user. > >> Revision Changes Path > >> 1.60 +10 -109 src/sys/dev/asr/asr.c > > > > > > If this causes the raidctl management app to stop working, > please let me > > know and I'll bump it up in my priority list. > > > > Scott > > Before this commit I could 'ln -s /dev/asr0 /dev/rdpti0' and > 'raidutil > -L all' would work. Now, it fails: > Engine connect failed: COMPATILITY number > osdIOrequest : File /dev/rdptr17 Could Not Be Opened > > Also, the soft link disappears after the above command. This did not > happen before. I put 'link asr0 rdpti0' in /etc/devfs.conf before > trying raidutil at all, but that doesn't appear to do anything (most > likely it is me not grokking devfs though). > I was able to ln -s asr0 rdpti0 and then raidutil worked. # ls -al /dev/rdpti0 lrwxr-xr-x 1 root wheel 4 May 5 09:51 /dev/rdpti0 -> asr0 # raidutil -L all RAIDUTIL Version: 3.04 Date: 9/27/2000 FreeBSD CLI Configuration Utility Adaptec ENGINE Version: 3.04 Date: 9/27/2000 Adaptec FreeBSD SCSI Engine # b0 b1 b2 Controller Cache FW NVRAM Serial Status --------------------------------------------------------------------------- d0 -- -- ADAP2010S 32MB 3B05 CHNL 1.1 BD0E40303FAOptimal ... --don From owner-freebsd-scsi@FreeBSD.ORG Wed May 5 19:01:51 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 B87AE16A4CF for ; Wed, 5 May 2004 19:01:51 -0700 (PDT) Received: from cmsrelay01.mx.net (cmsrelay01.mx.net [165.212.11.110]) by mx1.FreeBSD.org (Postfix) with SMTP id 273AE43D1F for ; Wed, 5 May 2004 19:01:51 -0700 (PDT) (envelope-from noackjr@alumni.rice.edu) Received: from uadvg128.cms.usa.net (165.212.11.128) by cmsoutbound.mx.net with SMTP; 6 May 2004 02:01:50 -0000 Received: from optimator.noacks.org [66.140.16.119] by uadvg128.cms.usa.net (ASMTP/noackjr@usa.net) via mtad (C8.MAIN.3.13N) with ESMTP id 843ieFcBv0273M28; Thu, 06 May 2004 02:01:47 GMT X-USANET-Auth: 66.140.16.119 AUTH noackjr@usa.net optimator.noacks.org Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 19E03610C; Wed, 5 May 2004 21:01:47 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07366-01; Wed, 5 May 2004 21:01:45 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id CC3BF60E7; Wed, 5 May 2004 21:01:45 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.12.11/8.12.11) with ESMTP id i4621jA3005184; Wed, 5 May 2004 21:01:45 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <40999C89.1020004@alumni.rice.edu> Date: Wed, 05 May 2004 21:01:45 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 0.6 (X11/20040504) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Don Bowman References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: freebsd-scsi@freebsd.org Subject: Re: cvs commit: src/sys/dev/asr asr.c X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2004 02:01:51 -0000 Don Bowman wrote: > From: Jon Noack [mailto:noackjr@alumni.rice.edu] >> Before this commit I could 'ln -s /dev/asr0 /dev/rdpti0' and >> 'raidutil -L all' would work. Now, it fails: >> Engine connect failed: COMPATILITY number >> osdIOrequest : File /dev/rdptr17 Could Not Be Opened >> >> Also, the soft link disappears after the above command. This did >> not happen before. I put 'link asr0 rdpti0' in /etc/devfs.conf >> before trying raidutil at all, but that doesn't appear to do >> anything (most likely it is me not grokking devfs though). > > I was able to ln -s asr0 rdpti0 and then raidutil worked. > > # ls -al /dev/rdpti0 > lrwxr-xr-x 1 root wheel 4 May 5 09:51 /dev/rdpti0 -> asr0 > # raidutil -L all > RAIDUTIL Version: 3.04 Date: 9/27/2000 FreeBSD CLI Configuration Utility > Adaptec ENGINE Version: 3.04 Date: 9/27/2000 Adaptec FreeBSD SCSI Engine > > # b0 b1 b2 Controller Cache FW NVRAM Serial Status > --------------------------------------------------------------------------- > d0 -- -- ADAP2010S 32MB 3B05 CHNL 1.1 BD0E40303FAOptimal > > ... Guess this is just me then: $ ln -s asr0 rdpti0 $ ls -al /dev/rdpti0 lrwxr-xr-x 1 root wheel 4 May 5 20:53 /dev/rdpti0 -> asr0 $ raidutil -L all Engine connect failed: COMPATILITY number osdIOrequest : File /dev/rdptr17 Could Not Be Opened$ $ ls -al /dev/rdpti0 ls: /dev/rdpti0: No such file or directory Some info: $ uname -v FreeBSD 5.2-CURRENT #11: Wed May 5 04:21:10 CDT 2004 ... $ dmesg | grep asr asr0: mem 0xe4000000-0xe5ffffff irq 21 at device 5.1 on pci2 asr0: Reserved 0x2000000 bytes for rid 0x10 type 3 at 0xe4000000 asr0: [GIANT-LOCKED] asr0: ADAPTEC 2100S FW Rev. 370F, 1 channel, 256 CCBs, Protocol I2O da0 at asr0 bus 0 target 0 lun 0 Jon Noack From owner-freebsd-scsi@FreeBSD.ORG Wed May 5 19:07:05 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 EB30C16A4CE for ; Wed, 5 May 2004 19:07:05 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7494043D46 for ; Wed, 5 May 2004 19:07:05 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (junior-wifi.samsco.home [192.168.0.11]) by pooker.samsco.org (8.12.10/8.12.10) with ESMTP id i462BIu6030108; Wed, 5 May 2004 20:11:18 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <40999DB1.5010600@freebsd.org> Date: Wed, 05 May 2004 20:06:41 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040304 X-Accept-Language: en-us, en MIME-Version: 1.0 To: noackjr@alumni.rice.edu References: <40999C89.1020004@alumni.rice.edu> In-Reply-To: <40999C89.1020004@alumni.rice.edu> 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: cvs commit: src/sys/dev/asr asr.c 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, 06 May 2004 02:07:06 -0000 Jon Noack wrote: > Don Bowman wrote: > >> From: Jon Noack [mailto:noackjr@alumni.rice.edu] >> >>> Before this commit I could 'ln -s /dev/asr0 /dev/rdpti0' and >>> 'raidutil -L all' would work. Now, it fails: >>> Engine connect failed: COMPATILITY number >>> osdIOrequest : File /dev/rdptr17 Could Not Be Opened >>> >>> Also, the soft link disappears after the above command. This did >>> not happen before. I put 'link asr0 rdpti0' in /etc/devfs.conf >>> before trying raidutil at all, but that doesn't appear to do >>> anything (most likely it is me not grokking devfs though). >> >> >> I was able to ln -s asr0 rdpti0 and then raidutil worked. >> >> # ls -al /dev/rdpti0 lrwxr-xr-x 1 root wheel 4 May 5 09:51 >> /dev/rdpti0 -> asr0 >> # raidutil -L all >> RAIDUTIL Version: 3.04 Date: 9/27/2000 FreeBSD CLI Configuration >> Utility >> Adaptec ENGINE Version: 3.04 Date: 9/27/2000 Adaptec FreeBSD SCSI >> Engine >> >> # b0 b1 b2 Controller Cache FW NVRAM Serial Status >> --------------------------------------------------------------------------- >> >> d0 -- -- ADAP2010S 32MB 3B05 CHNL 1.1 BD0E40303FAOptimal >> >> ... > > > Guess this is just me then: > $ ln -s asr0 rdpti0 > $ ls -al /dev/rdpti0 > lrwxr-xr-x 1 root wheel 4 May 5 20:53 /dev/rdpti0 -> asr0 > $ raidutil -L all > > Engine connect failed: COMPATILITY number > osdIOrequest : File /dev/rdptr17 Could Not Be Opened$ > $ ls -al /dev/rdpti0 > ls: /dev/rdpti0: No such file or directory /dev/rdptr17 is a red herring. The real error is the 'Engine connect failed' message. I'll look at it some more. Until then, you can revert to rev 1.59 of asr.c Scott From owner-freebsd-scsi@FreeBSD.ORG Thu May 6 10:02:48 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 48D9C16A4CE for ; Thu, 6 May 2004 10:02:48 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7A2E43D1F for ; Thu, 6 May 2004 10:02:47 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Thu, 6 May 2004 13:02:46 -0400 Message-ID: From: Don Bowman To: "'scsi@freebsd.org'" Date: Thu, 6 May 2004 13:02:36 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: AAC 2200s and firmware 7244 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, 06 May 2004 17:02:48 -0000 Does anyone know if the aac driver on RELENG_4 (and/or CURRENT) supports the firmware which was released yesterday on Adaptec's web site? This is referenced as version 7244. The web page indicates that 'driver version 4.1.0.7244' is required. I'm not sure what that is (the windows version?) or how it maps to freebsd. (http://www.adaptec.com/worldwide/support/driverdetail.jsp?sess=no&language= English+US&cat=/Product/ASR-2200S&filekey=asr2200s_fw_v7244.exe) --don From owner-freebsd-scsi@FreeBSD.ORG Fri May 7 15:22: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 96AC816A4CE for ; Fri, 7 May 2004 15:22:12 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DFE143D41 for ; Fri, 7 May 2004 15:22:12 -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 i47MQau6040957; Fri, 7 May 2004 16:26:37 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <409C0BDB.3050503@freebsd.org> Date: Fri, 07 May 2004 16:21:15 -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: Don Bowman References: In-Reply-To: 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: "'scsi@freebsd.org'" Subject: Re: AAC 2200s and firmware 7244 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, 07 May 2004 22:22:12 -0000 Don Bowman wrote: > Does anyone know if the aac driver on > RELENG_4 (and/or CURRENT) supports the firmware > which was released yesterday on Adaptec's > web site? This is referenced as version 7244. > > The web page indicates that 'driver version 4.1.0.7244' > is required. I'm not sure what that is (the windows > version?) or how it maps to freebsd. > > (http://www.adaptec.com/worldwide/support/driverdetail.jsp?sess=no&language= > English+US&cat=/Product/ASR-2200S&filekey=asr2200s_fw_v7244.exe) > > --don So far I've no luck from Adaptec in trying to figure out what this means. Given that there is only a new Windows driver but not a new Linux driver, it might not be a big deal. In fact, it might just be something related to Windows Certification. I'll keep pressing to find out. In the mean time, feel free to be the Guinea Pig =-) Scott From owner-freebsd-scsi@FreeBSD.ORG Fri May 7 15:52:27 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 774BD16A4CE; Fri, 7 May 2004 15:52:27 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CFAB43D31; Fri, 7 May 2004 15:52:26 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Fri, 7 May 2004 18:52:25 -0400 Message-ID: From: Don Bowman To: 'Scott Long' , Don Bowman Date: Fri, 7 May 2004 18:52:24 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" cc: "'scsi@freebsd.org'" Subject: RE: AAC 2200s and firmware 7244 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, 07 May 2004 22:52:27 -0000 From: Scott Long [mailto:scottl@freebsd.org] > Sent: May 7, 2004 18:21 PM > To: Don Bowman > Cc: 'scsi@freebsd.org' > Subject: Re: AAC 2200s and firmware 7244 > > > Don Bowman wrote: > > > Does anyone know if the aac driver on > > RELENG_4 (and/or CURRENT) supports the firmware > > which was released yesterday on Adaptec's > > web site? This is referenced as version 7244. > > > > The web page indicates that 'driver version 4.1.0.7244' > > is required. I'm not sure what that is (the windows > > version?) or how it maps to freebsd. > > > > > (http://www.adaptec.com/worldwide/support/driverdetail.jsp?ses s=no&language= > English+US&cat=/Product/ASR-2200S&filekey=asr2200s_fw_v7244.exe) > > --don > >So far I've no luck from Adaptec in trying to figure out what this >means. Given that there is only a new Windows driver but not a new >Linux driver, it might not be a big deal. In fact, it might just >be something related to Windows Certification. I'll keep pressing to >find out. In the mean time, feel free to be the Guinea Pig =-) Well, the guinea pig approached worked ok. It appears that upgrading the adapter doesn't break anything under FreeBSD aac driver on RELENG_4, so presumably not on CURRENT either. --don From owner-freebsd-scsi@FreeBSD.ORG Fri May 7 16:10: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 6D7F616A4D0; Fri, 7 May 2004 16:10:25 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EF1443D45; Fri, 7 May 2004 16:10:19 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.9/8.12.5) with ESMTP id i47NACCd070662; Fri, 7 May 2004 17:10:13 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id i47NACrb070661; Fri, 7 May 2004 17:10:12 -0600 (MDT) (envelope-from ken) Date: Fri, 7 May 2004 17:10:12 -0600 From: "Kenneth D. Merry" To: Don Bowman Message-ID: <20040507231012.GA70586@panzer.kdm.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: "'scsi@freebsd.org'" Subject: Re: AAC 2200s and firmware 7244 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, 07 May 2004 23:10:25 -0000 On Fri, May 07, 2004 at 18:52:24 -0400, Don Bowman wrote: > From: Scott Long [mailto:scottl@freebsd.org] > > Sent: May 7, 2004 18:21 PM > > To: Don Bowman > > Cc: 'scsi@freebsd.org' > > Subject: Re: AAC 2200s and firmware 7244 > > > > > > Don Bowman wrote: > > > > > Does anyone know if the aac driver on > > > RELENG_4 (and/or CURRENT) supports the firmware > > > which was released yesterday on Adaptec's > > > web site? This is referenced as version 7244. > > > > > > The web page indicates that 'driver version 4.1.0.7244' > > > is required. I'm not sure what that is (the windows > > > version?) or how it maps to freebsd. > > > > > > > > (http://www.adaptec.com/worldwide/support/driverdetail.jsp?ses > s=no&language= > > English+US&cat=/Product/ASR-2200S&filekey=asr2200s_fw_v7244.exe) > > > > --don > > > >So far I've no luck from Adaptec in trying to figure out what this > >means. Given that there is only a new Windows driver but not a new > >Linux driver, it might not be a big deal. In fact, it might just > >be something related to Windows Certification. I'll keep pressing to > >find out. In the mean time, feel free to be the Guinea Pig =-) > > > Well, the guinea pig approached worked ok. It appears that upgrading > the adapter doesn't break anything under FreeBSD aac driver > on RELENG_4, so presumably not on CURRENT either. On a slightly-related topic, any idea what sort of performance have you been able to get out of the 2200S? (The number of disks and what kind of array(s) you have would be helpful to know.) I'm mainly wondering about sequential performance, since random performance is harder to gage. e.g., with my Adaptec 5400S/HP NetRAID 4M, I can get about 92MB sequential read performance with a 6 disk RAID-5, and up to 50MB/sec sequential write performance on the same array. With a RAID-1 array composed of the same disks, I can get 66MB/sec read performance, and up to about 30MB/sec write performance. (I'm using Seagate ST373307LC disks -- 73GB, 10K RPM.) This is with -current from late February. Ken -- Kenneth Merry ken@kdm.org From owner-freebsd-scsi@FreeBSD.ORG Fri May 7 18:03: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 A446F16A4CE; Fri, 7 May 2004 18:03:03 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id B475D43D1D; Fri, 7 May 2004 18:03:02 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Fri, 7 May 2004 21:03:02 -0400 Message-ID: From: Don Bowman To: "'Kenneth D. Merry'" , Don Bowman Date: Fri, 7 May 2004 21:03:00 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" cc: "'scsi@freebsd.org'" Subject: RE: AAC 2200s and firmware 7244 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: Sat, 08 May 2004 01:03:03 -0000 From: Kenneth D. Merry [mailto:ken@kdm.org] > On Fri, May 07, 2004 at 18:52:24 -0400, Don Bowman wrote: > > From: Scott Long [mailto:scottl@freebsd.org] > > > Sent: May 7, 2004 18:21 PM > > > To: Don Bowman > > > Cc: 'scsi@freebsd.org' > > > Subject: Re: AAC 2200s and firmware 7244 > > > > > > > > > Don Bowman wrote: > > > > > > > Does anyone know if the aac driver on > > > > RELENG_4 (and/or CURRENT) supports the firmware > > > > which was released yesterday on Adaptec's > > > > web site? This is referenced as version 7244. > > > > > > > > The web page indicates that 'driver version 4.1.0.7244' > > > > is required. I'm not sure what that is (the windows > > > > version?) or how it maps to freebsd. > > > > > > > > > > > (http://www.adaptec.com/worldwide/support/driverdetail.jsp?ses > > s=no&language= > > > English+US&cat=/Product/ASR-2200S&filekey=asr2200s_fw_v7244.exe) > > > > > > --don > > > > > >So far I've no luck from Adaptec in trying to figure out what this > > >means. Given that there is only a new Windows driver but not a new > > >Linux driver, it might not be a big deal. In fact, it might just > > >be something related to Windows Certification. I'll keep > pressing to > > >find out. In the mean time, feel free to be the Guinea Pig =-) > > > > > > Well, the guinea pig approached worked ok. It appears that upgrading > > the adapter doesn't break anything under FreeBSD aac driver > > on RELENG_4, so presumably not on CURRENT either. > > On a slightly-related topic, any idea what sort of > performance have you > been able to get out of the 2200S? (The number of disks and > what kind of > array(s) you have would be helpful to know.) > > I'm mainly wondering about sequential performance, since > random performance > is harder to gage. > > e.g., with my Adaptec 5400S/HP NetRAID 4M, I can get about > 92MB sequential > read performance with a 6 disk RAID-5, and up to 50MB/sec > sequential write > performance on the same array. > > With a RAID-1 array composed of the same disks, I can get > 66MB/sec read > performance, and up to about 30MB/sec write performance. > > (I'm using Seagate ST373307LC disks -- 73GB, 10K RPM.) My experience has been that the ASR (5400s, 2010s, etc) outperform the AAC (2200s). I don't currently have a similar ASR system setup, i'll try and get one to post an objective measure. On a 4-disk raid5 (similar disk, IBM IC35L146UCDY10-0 147GB, 10K), I'm achieving 46MB/s write, and 83MB/s on read, 'sequential' dd performance with AAC on RELENG_4. --don From owner-freebsd-scsi@FreeBSD.ORG Sat May 8 01:12:13 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 6921F16A4CE for ; Sat, 8 May 2004 01:12:13 -0700 (PDT) Received: from lithium.plan-ix.de (lithium.plan-ix.de [212.37.39.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F9FD43D31 for ; Sat, 8 May 2004 01:12:11 -0700 (PDT) (envelope-from braukmann@tse-online.de) Received: from localhost (lithium.plan-ix.de [212.37.39.35]) by lithium.plan-ix.de (Postfix) with ESMTP id F2E452EC353; Sat, 8 May 2004 08:12:09 +0000 (GMT) Received: from localhost.plan-ix.de ([212.37.39.35]) by localhost (lithium.plan-ix.de [212.37.39.35]) (amavisd-new, port 10025) with ESMTP id 20894-08; Sat, 8 May 2004 08:12:09 +0000 (GMT) Received: from [192.168.225.100] (p5082460D.dip0.t-ipconnect.de [80.130.70.13]) by lithium.plan-ix.de (Postfix) with ESMTP id D1F732EC333; Sat, 8 May 2004 08:12:08 +0000 (GMT) Date: Sat, 08 May 2004 10:12:08 +0200 From: Andreas Braukmann To: Don Bowman , "'Kenneth D. Merry'" Message-ID: <27020000.1084003928@cage.int.unixxinu.de> In-Reply-To: References: X-Mailer: Mulberry/3.1.0 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new at plan-ix.de cc: "'scsi@freebsd.org'" Subject: RE: AAC 2200s and firmware 7244 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: Sat, 08 May 2004 08:12:13 -0000 On 05/07/04 21:03:00 -0400 Don Bowman wrote: > From: Kenneth D. Merry [mailto:ken@kdm.org] >> On a slightly-related topic, any idea what sort of >> performance have you been able to get out of the 2200S? >> (The number of disks and what kind of >> array(s) you have would be helpful to know.) FreeBSD 4.9, Adaptec 2200S with BBU (write back cache) 4 * 36 GByte 10k (Fujitsu) RAID-5 neon# dd if=/dev/zero of=output bs=64k count=200000 200000+0 records in 200000+0 records out 13107200000 bytes transferred in 298.124592 secs (43965511 bytes/sec) neon# dd of=/dev/null if=output bs=64k count=100000 100000+0 records in 100000+0 records out 6553600000 bytes transferred in 82.796667 secs (79152945 bytes/sec) >> I'm mainly wondering about sequential performance, since >> random performance is harder to gage. Harder to gage, but most of the time much more interesting; the performance of massive parallel processes doing sequential reads or writes are leading to a nearly random access pattern for the disk system anyways. (see below) >> e.g., with my Adaptec 5400S/HP NetRAID 4M, I can get about >> 92MB sequential read performance with a 6 disk RAID-5, and up >> to 50MB/sec sequential write performance on the same array. My HP NetRAID 4M (128 MB Cache, BBU) delivers quite similar performance. Currently it has only 4 disks and runs under heavy database load. I can't do sensible tests at the moment. On single process sequential accesses it delivers similar, but slightly lower performance than the 2200S. But: this is on a single tasking sequential access pattern. The 5400 shines when it comes to heavy duty tasks. In doing multiple bonnie++ (or postmark) runs in parallel over one or multiple arrays (or multiple filesystems on the same array) the 5400 maxes out much later than the 2200S. The 5400 delivers nearly twice as much i/o-ops per second than the 2200S. >> With a RAID-1 array composed of the same disks, I can get >> 66MB/sec read >> performance, and up to about 30MB/sec write performance. The RAID-0 / RAID-1 performance of the higher end RAID controllers sucks big time. One has to suppose, that they are heavily optimized to do a good job on RAID-5, leading to sub-optimal performance for the other RAID levels. I experimented (5400S) with 6 and 8 disk RAID 5+0 setups; the performance was worse than a 4 to 6 disk RAID 5 setup. > My experience has been that the ASR (5400s, 2010s, etc) > outperform the AAC (2200s). The 5400S is an aac(4) controller. The 2200S runs circles around the lower end asr(4) controllers. I don't have any experience with the higher end asr(4) controllers (Adaptec 3200 or 3400), though. For sequential access patterns the 3Ware Controllers are running circles around the scsi crowd. This is an 3Ware 7506 writing to a 4 disk (Maxtor 250 GB, 7200 UPM) RAID-5 volume: dagobert# dd if=/dev/zero of=output bs=64k count=200000 200000+0 records in 200000+0 records out 13107200000 bytes transferred in 264.988240 secs (49463327 bytes/sec) And now it's reading: dagobert# dd if=output of=/dev/null bs=64k count=100000 100000+0 records in 100000+0 records out 6553600000 bytes transferred in 58.935684 secs (111199185 bytes/sec) I'm eager to test the Escalade 9000 series with cache, BBU and a few WD Raptor drives. -Andreas From owner-freebsd-scsi@FreeBSD.ORG Sat May 8 07:28: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 7FDC616A4CE; Sat, 8 May 2004 07:28:12 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id B277943D2D; Sat, 8 May 2004 07:28:11 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Sat, 8 May 2004 10:28:10 -0400 Message-ID: From: Don Bowman To: Scott Long Date: Sat, 8 May 2004 10:28:10 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" cc: freebsd-scsi@freebsd.org Subject: RE: cvs commit: src/sys/dev/asr asr.c 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: Sat, 08 May 2004 14:28:12 -0000 From: Jon Noack [mailto:noackjr@alumni.rice.edu] > Scott Long wrote: > > Scott Long wrote: > > > >> scottl 2004/05/04 22:29:19 PDT > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/dev/asr asr.c Log: > >> Roto-till the ioctl code. Remove all the groping around > in the x86 > >> BIOS > >> segment, remove the groping around in the Option ROM segments, > >> remove the > >> bogus tests for bcopy vs. copyout. There really is no > reason for a > >> management app to know these things other than to create > l33t info > >> tables > >> for the user. > >> Revision Changes Path > >> 1.60 +10 -109 src/sys/dev/asr/asr.c > > > > > > If this causes the raidctl management app to stop working, > please let me > > know and I'll bump it up in my priority list. > > One small bug, camcontrol inq fails on this now. # camcontrol inq pass0 pass0: Fixed Direct Access SCSI-2 device pass0: Serial Number + camcontrol: error getting transfer settings # It would be super if there were an 'asrp' like there is aacp :) From owner-freebsd-scsi@FreeBSD.ORG Sat May 8 09:49: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 9E4DE16A4CE for ; Sat, 8 May 2004 09:49:03 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DD2C43D45 for ; Sat, 8 May 2004 09:49:03 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (junior-wifi.samsco.home [192.168.0.11]) by pooker.samsco.org (8.12.10/8.12.10) with ESMTP id i48GrWu6045074; Sat, 8 May 2004 10:53:32 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <409D0F63.4070404@freebsd.org> Date: Sat, 08 May 2004 10:48:35 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040304 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Don Bowman References: In-Reply-To: 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: cvs commit: src/sys/dev/asr asr.c 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: Sat, 08 May 2004 16:49:03 -0000 Don Bowman wrote: > From: Jon Noack [mailto:noackjr@alumni.rice.edu] > >>Scott Long wrote: >> >>>Scott Long wrote: >>> >>> >>>>scottl 2004/05/04 22:29:19 PDT >>>> >>>> FreeBSD src repository >>>> >>>> Modified files: >>>> sys/dev/asr asr.c Log: >>>> Roto-till the ioctl code. Remove all the groping around >> >>in the x86 >> >>>>BIOS >>>> segment, remove the groping around in the Option ROM segments, >>>>remove the >>>> bogus tests for bcopy vs. copyout. There really is no >> >>reason for a >> >>>> management app to know these things other than to create >> >>l33t info >> >>>>tables >>>> for the user. >>>> Revision Changes Path >>>> 1.60 +10 -109 src/sys/dev/asr/asr.c >>> >>> >>>If this causes the raidctl management app to stop working, >> >>please let me >> >>>know and I'll bump it up in my priority list. >>> > > > > One small bug, camcontrol inq fails on this now. > > # camcontrol inq pass0 > pass0: Fixed Direct Access SCSI-2 device > pass0: Serial Number + > camcontrol: error getting transfer settings > # Thanks, I'll look at it. > > It would be super if there were an 'asrp' like there > is aacp :) > The ASR firmware doesn't support this. Scott From owner-freebsd-scsi@FreeBSD.ORG Sat May 8 12:56:53 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 B27BA16A4CE for ; Sat, 8 May 2004 12:56:53 -0700 (PDT) Received: from seven.Alameda.net (seven.alameda.net [64.81.53.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79A1943D4C for ; Sat, 8 May 2004 12:56:53 -0700 (PDT) (envelope-from ulf@Alameda.net) Received: by seven.Alameda.net (Postfix, from userid 1000) id E028C3A201; Sat, 8 May 2004 12:56:52 -0700 (PDT) Date: Sat, 8 May 2004 12:56:52 -0700 From: Ulf Zimmermann To: freebsd-scsi@freebsd.org Message-ID: <20040508195652.GA58545@seven.alameda.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Organization: Alameda Networks, Inc. X-Operating-System: FreeBSD 4.8-RELEASE-p5 Subject: HP 5plus raid controller performance under 5.2.1-REL X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ulf@Alameda.net List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2004 19:56:53 -0000 As there has been plenty of talk lately about performance of different raid controllers, I thought I would post some numbers for the HP DL380g3 with built-in 5plus controller. The system is a single P4-3.06GHz/512KB Cache/533MHz FSB, 6GB memory (running PAE kernel), 6x36GB 15K RPM drives in a raid 5 setup. The controller has 64MB cache, which is set to 50%/50% for read/write. Using the method used in another post, here are the results: evil root /home/ulf # dd if=/dev/zero of=output bs=64k count=200000 200000+0 records in 200000+0 records out 13107200000 bytes transferred in 344.324989 secs (38066363 bytes/sec) evil root /home/ulf # dd of=/dev/null if=output bs=64k count=200000 200000+0 records in 200000+0 records out 13107200000 bytes transferred in 176.682004 secs (74185258 bytes/sec) -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 You can find my resume at: http://seven.Alameda.net/~ulf/resume.html