From owner-freebsd-scsi@FreeBSD.ORG Sun Apr 17 18:46:24 2005 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 F2F0E16A4CE; Sun, 17 Apr 2005 18:46:23 +0000 (GMT) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63CFA43D41; Sun, 17 Apr 2005 18:46:23 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: from blue.virtual-estates.net ([10.0.1.140]) by aldan.algebra.com (8.13.1/8.13.1) with ESMTP id j3HIkMgS039439 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 17 Apr 2005 14:46:22 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from blue.virtual-estates.net (blue [127.0.0.1]) j3HIdEIv029945; Sun, 17 Apr 2005 14:39:14 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by blue.virtual-estates.net (8.13.3/8.13.3/Submit) id j3HIdE4G029944; Sun, 17 Apr 2005 14:39:14 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) X-Authentication-Warning: blue.virtual-estates.net: mi set sender to mi+kde@aldan.algebra.com using -f From: Mikhail Teterin To: freebsd-scsi@FreeBSD.org, msmith@mu.org, trhodes@FreeBSD.org Date: Sun, 17 Apr 2005 14:39:13 -0400 User-Agent: KMail/1.8 X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Subject: speed of a ciss-based pseudo-disk 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: Sun, 17 Apr 2005 18:46:24 -0000 Hello! I have two U320 SCSI drives in a RAID-0 combination attached to HP's Smart Array 642. This is the dmesg: ciss0: port 0xb800-0xb8ff mem 0xfea80000-0xfeabffff,0xfeafe000-0xfeafffff irq 29 at device 1.0 on pci4 da0 at ciss0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 135.168MB/s transfers da0: 69419MB (142171680 512 byte sectors: 255H 32S/T 17423C) Why is the reported speed only 135.168MB/s? All equipment is U320, so I'd expect the nominal speed of 320MB/s... Should I try a different cable? Mine says U320, although the terminator is marked U160 -- but 135 is not even 160... Any ideas? Also, what, if anything, are people using to monitor/control ciss-based arrays? HP offers software, but only for Linux and Windows... Thanks! -mi From owner-freebsd-scsi@FreeBSD.ORG Sun Apr 17 18:49:44 2005 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 D901B16A4CE for ; Sun, 17 Apr 2005 18:49:44 +0000 (GMT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81A6243D48 for ; Sun, 17 Apr 2005 18:49:44 +0000 (GMT) (envelope-from ps@mu.org) Received: from [192.168.1.199] (64-142-76-135.dsl.static.sonic.net [64.142.76.135]) by elvis.mu.org (Postfix) with ESMTP id 4747F5C900; Sun, 17 Apr 2005 11:49:44 -0700 (PDT) Message-ID: <4262AFC4.8010107@mu.org> Date: Sun, 17 Apr 2005 11:49:40 -0700 From: Paul Saab User-Agent: Mozilla Thunderbird (Windows/20050415) MIME-Version: 1.0 To: Mikhail Teterin References: <200504171439.14530@aldan> In-Reply-To: <200504171439.14530@aldan> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-scsi@FreeBSD.org Subject: Re: speed of a ciss-based pseudo-disk 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: Sun, 17 Apr 2005 18:49:45 -0000 Mikhail Teterin wrote: > Hello! > > I have two U320 SCSI drives in a RAID-0 combination attached to HP's > Smart Array 642. This is the dmesg: > > ciss0: port 0xb800-0xb8ff mem > 0xfea80000-0xfeabffff,0xfeafe000-0xfeafffff irq 29 at device 1.0 on pci4 > da0 at ciss0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-0 device > da0: 135.168MB/s transfers > da0: 69419MB (142171680 512 byte sectors: 255H 32S/T 17423C) > > Why is the reported speed only 135.168MB/s? All equipment is U320, so > I'd expect the nominal speed of 320MB/s... Because it is a bogus number. There's no way to query for this. You're running at full speed. > Also, what, if anything, are people using to monitor/control ciss-based > arrays? HP offers software, but only for Linux and Windows... HP has not released their acu, so you're limited to what the driver reports in syslog. From owner-freebsd-scsi@FreeBSD.ORG Sun Apr 17 18:56:07 2005 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 CEB8216A4CE for ; Sun, 17 Apr 2005 18:56:07 +0000 (GMT) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0750D43D41 for ; Sun, 17 Apr 2005 18:56:07 +0000 (GMT) (envelope-from mi@corbulon.video-collage.com) Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by aldan.algebra.com (8.13.1/8.13.1) with ESMTP id j3HIu2Fr039495 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 17 Apr 2005 14:56:06 -0400 (EDT) (envelope-from mi@corbulon.video-collage.com) Received: from corbulon.video-collage.com (smmsp@localhost.video-collage.com [127.0.0.1])j3HItudC096567 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 17 Apr 2005 14:55:56 -0400 (EDT) (envelope-from mi@corbulon.video-collage.com) Received: (from root@localhost)j3HItthJ096566; Sun, 17 Apr 2005 14:55:55 -0400 (EDT) (envelope-from mi) From: Mikhail Teterin Message-Id: <200504171855.j3HItthJ096566@corbulon.video-collage.com> To: ps@mu.org (Paul Saab) Date: Sun, 17 Apr 2005 14:55:55 -0400 (EDT) In-Reply-To: <4262AFC4.8010107@mu.org> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamd / ClamAV version devel-20040615, clamav-milter version 0.73a on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 cc: freebsd-scsi@FreeBSD.org Subject: Re: speed of a ciss-based pseudo-disk 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: Sun, 17 Apr 2005 18:56:08 -0000 > > ciss0: port 0xb800-0xb8ff mem > > 0xfea80000-0xfeabffff,0xfeafe000-0xfeafffff irq 29 at device 1.0 on pci4 > > da0 at ciss0 bus 0 target 0 lun 0 > > da0: Fixed Direct Access SCSI-0 device > > da0: 135.168MB/s transfers > > da0: 69419MB (142171680 512 byte sectors: 255H 32S/T 17423C) > > > > Why is the reported speed only 135.168MB/s? All equipment is U320, so > > I'd expect the nominal speed of 320MB/s... > Because it is a bogus number. There's no way to query for this. You're > running at full speed. Thanks, but if there is way to query for this, how do you know, I'm running at full speed? I'd like to test this throroughly before giving positive feedback to the seller or replacing the cable :-) > > Also, what, if anything, are people using to monitor/control > > ciss-based arrays? HP offers software, but only for Linux and > > Windows... > > HP has not released their acu, so you're limited to what the driver > reports in syslog. I just found: http://sourceforge.net/projects/array-info/ (unchanged in 3 years) and additional patches for it at: http://members.aon.at/hstraub/linux/array-info/ I'll try that and, maybe, the HP's Linux binaries too. Thanks! -mi From owner-freebsd-scsi@FreeBSD.ORG Sun Apr 17 19:13:58 2005 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 5B49716A4CE; Sun, 17 Apr 2005 19:13:58 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CA7443D41; Sun, 17 Apr 2005 19:13:55 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.1/8.13.1) with ESMTP id j3HJG5Ww070421; Sun, 17 Apr 2005 13:16:05 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4262B4A0.8080902@samsco.org> Date: Sun, 17 Apr 2005 13:10:24 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050218 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mikhail Teterin References: <200504171439.14530@aldan> In-Reply-To: <200504171439.14530@aldan> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: freebsd-scsi@freebsd.org cc: trhodes@freebsd.org cc: msmith@mu.org Subject: Re: speed of a ciss-based pseudo-disk 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: Sun, 17 Apr 2005 19:13:58 -0000 Mikhail Teterin wrote: > Hello! > > I have two U320 SCSI drives in a RAID-0 combination attached to HP's > Smart Array 642. This is the dmesg: > > ciss0: port 0xb800-0xb8ff mem > 0xfea80000-0xfeabffff,0xfeafe000-0xfeafffff irq 29 at device 1.0 on pci4 > da0 at ciss0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-0 device > da0: 135.168MB/s transfers > da0: 69419MB (142171680 512 byte sectors: 255H 32S/T 17423C) > > Why is the reported speed only 135.168MB/s? All equipment is U320, so > I'd expect the nominal speed of 320MB/s... > > Should I try a different cable? Mine says U320, although the terminator > is marked U160 -- but 135 is not even 160... > > Any ideas? > Just because a disk can communicate at Ultra320 doesn't mean that it can sustain data at that rate. Same goes for ATA133 and SATA150. A typical modern disk can sustain about 50-70MB/s, and that's it. The fact that you're getting 135MB/s on a 2 disk sets completely validates this. What Ultra320 gives you is the ability to sustain that 50-70MB/s on multiple disks at once. Scott From owner-freebsd-scsi@FreeBSD.ORG Sun Apr 17 22:09:52 2005 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 E0DA316A4CE; Sun, 17 Apr 2005 22:09:52 +0000 (GMT) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4922C43D2F; Sun, 17 Apr 2005 22:09:52 +0000 (GMT) (envelope-from mi@corbulon.video-collage.com) Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by aldan.algebra.com (8.13.1/8.13.1) with ESMTP id j3HM9k0B040147 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 17 Apr 2005 18:09:50 -0400 (EDT) (envelope-from mi@corbulon.video-collage.com) Received: from corbulon.video-collage.com (smmsp@localhost.video-collage.com [127.0.0.1])j3HM9eCu097641 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 17 Apr 2005 18:09:41 -0400 (EDT) (envelope-from mi@corbulon.video-collage.com) Received: (from root@localhost)j3HM9Wbu097640; Sun, 17 Apr 2005 18:09:32 -0400 (EDT) (envelope-from mi) From: Mikhail Teterin Message-Id: <200504172209.j3HM9Wbu097640@corbulon.video-collage.com> To: scottl@samsco.org (Scott Long) Date: Sun, 17 Apr 2005 18:09:32 -0400 (EDT) In-Reply-To: <4262B4A0.8080902@samsco.org> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamd / ClamAV version devel-20040615, clamav-milter version 0.73a on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 cc: freebsd-scsi@freebsd.org cc: trhodes@freebsd.org cc: Mikhail Teterin cc: msmith@mu.org Subject: Re: speed of a ciss-based pseudo-disk 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: Sun, 17 Apr 2005 22:09:53 -0000 > > Why is the reported speed only 135.168MB/s? All equipment is U320, > > so I'd expect the nominal speed of 320MB/s... > Just because a disk can communicate at Ultra320 doesn't mean that it > can sustain data at that rate. Yes, and the kernel would have no way of knowing the sustainable speed anyway. Which is all why I was inquiring about the _NOMINAL_ speed reported... -mi From owner-freebsd-scsi@FreeBSD.ORG Sun Apr 17 22:14:01 2005 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 4403C16A4CE; Sun, 17 Apr 2005 22:14:01 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81D1543D2D; Sun, 17 Apr 2005 22:13:58 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.1/8.13.1) with ESMTP id j3HMGFBC071103; Sun, 17 Apr 2005 16:16:15 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4262DED7.80907@samsco.org> Date: Sun, 17 Apr 2005 16:10:31 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050218 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mikhail Teterin References: <200504172209.j3HM9Wbu097640@corbulon.video-collage.com> In-Reply-To: <200504172209.j3HM9Wbu097640@corbulon.video-collage.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: freebsd-scsi@freebsd.org cc: trhodes@freebsd.org cc: Mikhail Teterin cc: msmith@mu.org Subject: Re: speed of a ciss-based pseudo-disk 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: Sun, 17 Apr 2005 22:14:01 -0000 Mikhail Teterin wrote: >>>Why is the reported speed only 135.168MB/s? All equipment is U320, >>>so I'd expect the nominal speed of 320MB/s... > > > >>Just because a disk can communicate at Ultra320 doesn't mean that it >>can sustain data at that rate. > > > Yes, and the kernel would have no way of knowing the sustainable speed > anyway. > > Which is all why I was inquiring about the _NOMINAL_ speed reported... > > -mi Are you asking that someone go implement a 'nominal' speed tester in the kernel that will accurately determine the speed of each attached storage device? Would you demand your money back if the number reported was wrong? Why does it matter? Your SCSI busses are running at Ultra320, and that is that. Just because gcc + mozilla isn't reliable in your configurations... oops, wrong argument. Scott From owner-freebsd-scsi@FreeBSD.ORG Sun Apr 17 23:05:11 2005 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 C1B7E16A4D0; Sun, 17 Apr 2005 23:05:11 +0000 (GMT) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16FD943D54; Sun, 17 Apr 2005 23:05:11 +0000 (GMT) (envelope-from mi@corbulon.video-collage.com) Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by aldan.algebra.com (8.13.1/8.13.1) with ESMTP id j3HN598Z040363 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 17 Apr 2005 19:05:10 -0400 (EDT) (envelope-from mi@corbulon.video-collage.com) Received: from corbulon.video-collage.com (smmsp@localhost.video-collage.com [127.0.0.1])j3HN53jT098020 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 17 Apr 2005 19:05:03 -0400 (EDT) (envelope-from mi@corbulon.video-collage.com) Received: (from root@localhost)j3HN53SD098019; Sun, 17 Apr 2005 19:05:03 -0400 (EDT) (envelope-from mi) From: Mikhail Teterin Message-Id: <200504172305.j3HN53SD098019@corbulon.video-collage.com> To: scottl@samsco.org (Scott Long) Date: Sun, 17 Apr 2005 19:05:03 -0400 (EDT) In-Reply-To: <4262DED7.80907@samsco.org> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamd / ClamAV version devel-20040615, clamav-milter version 0.73a on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 cc: freebsd-scsi@freebsd.org cc: msmith@mu.org cc: trhodes@freebsd.org cc: Mikhail Teterin cc: Mikhail Teterin Subject: Re: speed of a ciss-based pseudo-disk 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: Sun, 17 Apr 2005 23:05:11 -0000 > Are you asking that someone go implement a 'nominal' speed tester in > the kernel that will accurately determine the speed of each attached > storage device? Scott, I'm asking about a nominal number. If my controller can not talk to the attached drives at U320 and negotiates down to lower speeds, I'd like to know about it. No "speed testers" need to be written for nominal numbers. That, sort of, is the whole point of something being _nominal_. It does not need to be measured, it is (usually) simply written somewhere or easily deduced from something else. If, as Paul Saab responded, even the nominal number is unobtainable for HP/Compaq arrays -- fine. The driver's output confused me, so I asked about its meaning. > Would you demand your money back if the number reported was wrong? Why > does it matter? I don't see, how this question is relevant, but yes, if the cable sold to me as a U320 is only capable of U160, I certainly will ask for my money back. > Your SCSI busses are running at Ultra320, and that is that. How do you know? Do you, actually, see _value_ in your two responses in this thread so far? I'm sure you were trying to help... -mi From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 18 05:23:19 2005 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 E738416A4CE; Mon, 18 Apr 2005 05:23:19 +0000 (GMT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F90743D2F; Mon, 18 Apr 2005 05:23:19 +0000 (GMT) (envelope-from msmith@mu.org) Received: from [192.168.1.51] (c-24-7-68-232.hsd1.ca.comcast.net [24.7.68.232]) by elvis.mu.org (Postfix) with ESMTP id 557345C8DB; Sun, 17 Apr 2005 22:23:18 -0700 (PDT) In-Reply-To: <200504172305.j3HN53SD098019@corbulon.video-collage.com> References: <200504172305.j3HN53SD098019@corbulon.video-collage.com> Mime-Version: 1.0 (Apple Message framework v728) Message-Id: <1CA47A90-7B13-4EFC-9E3A-4A6441353DBD@mu.org> From: Mike Smith Date: Sun, 17 Apr 2005 22:23:14 -0700 To: Mikhail Teterin X-Mailer: Apple Mail (2.728) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-scsi@freebsd.org cc: Mikhail Teterin cc: trhodes@freebsd.org Subject: Re: speed of a ciss-based pseudo-disk 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, 18 Apr 2005 05:23:20 -0000 On Apr 17, 2005, at 4:05 PM, Mikhail Teterin wrote: >> Are you asking that someone go implement a 'nominal' speed tester in >> the kernel that will accurately determine the speed of each attached >> storage device? > > Scott, I'm asking about a nominal number. If my controller can not > talk > to the attached drives at U320 and negotiates down to lower speeds, > I'd > like to know about it. There's no way to obtain a "nominal" number. The 133MHz number comes from the maximum theoretical sustained bandwidth of a 32-bit 33MHz PCI bus. Since there's no good way in the driver to detect the bus width, or any way to determine the negotiated speed for a given drive, I'm afraid you're SOL. > If, as Paul Saab responded, even the nominal number is unobtainable > for > HP/Compaq arrays -- fine. The driver's output confused me, so I asked > about its meaning. CAM insists on having a number. I gave it a number: 2587: cpi->base_transfer_speed = 132 * 1024; /* XXX what to set this to? */ = Mike From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 18 11:02:10 2005 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 6A06516A4CE for ; Mon, 18 Apr 2005 11:02:10 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DC0543D5C for ; Mon, 18 Apr 2005 11:02:10 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3IB2AYZ093382 for ; Mon, 18 Apr 2005 11:02:10 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3IB28vm093376 for freebsd-scsi@freebsd.org; Mon, 18 Apr 2005 11:02:08 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 18 Apr 2005 11:02:08 GMT Message-Id: <200504181102.j3IB28vm093376@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Subject: Current problem reports assigned to you 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, 18 Apr 2005 11:02:10 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/05/03] kern/27059 scsi (symbios) SCSI subsystem hangs under heav o [2001/06/29] kern/28508 scsi problems with backup to Tandberg SLR40 st o [2002/06/17] kern/39388 scsi ncr/sym drivers fail with 53c810 and more o [2002/07/22] kern/40895 scsi wierd kernel / device driver bug s [2003/09/30] kern/57398 scsi Current fails to install on mly(4) based o [2003/12/26] kern/60598 scsi wire down of scsi devices conflicts with a [2004/01/10] kern/61165 scsi [panic] kernel page fault after calling c o [2004/09/15] kern/71778 scsi 5.3 BETA3 doesnt see Adaptec 2015S FW Rev o [2004/12/02] kern/74607 scsi FreeBSD 5.3 install CD crashes on SCSI de o [2004/12/02] kern/74627 scsi Adaptec 2940U2W Can't boot 5.3 10 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/12/06] kern/23314 scsi aic driver fails to detect Adaptec 1520B o [2001/08/15] kern/29727 scsi [amr] [patch] amr_enquiry3 structure in a o [2002/02/23] kern/35234 scsi World access to /dev/pass? (for scanner) o [2002/06/02] kern/38828 scsi [feature request] DPT PM2012B/90 doesn't o [2002/10/29] kern/44587 scsi dev/dpt/dpt.h is missing defines required o [2003/10/01] kern/57469 scsi [patch] Quirk for Conner CP3500 6 problems total. From owner-freebsd-scsi@FreeBSD.ORG Tue Apr 19 18:17:06 2005 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 C232316A4CE for ; Tue, 19 Apr 2005 18:17:06 +0000 (GMT) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E10E43D2F for ; Tue, 19 Apr 2005 18:17:06 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id 0416512942A for ; Tue, 19 Apr 2005 15:17:04 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 66191-02 for ; Tue, 19 Apr 2005 18:17:03 +0000 (GMT) Received: from ganymede.hub.org (blk-222-82-167.eastlink.ca [24.222.82.167]) by hub.org (Postfix) with ESMTP id 908C1129413 for ; Tue, 19 Apr 2005 15:17:03 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id D322A33E85; Tue, 19 Apr 2005 15:17:03 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id D208B33E3A for ; Tue, 19 Apr 2005 15:17:03 -0300 (ADT) Date: Tue, 19 Apr 2005 15:17:03 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-scsi@freebsd.org Message-ID: <20050419151600.X5287@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org Subject: CLI interface to asr0 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, 19 Apr 2005 18:17:06 -0000 Does anyone know where I can find such similar to storcon for the iir devices, or does the aaccli one work for it? asr0: ADAPTEC 2010S FW Rev. 3B05, 2 channel, 256 CCBs, Protocol I2O Thanks ... ---- 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 Tue Apr 19 18:21:35 2005 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 85ED216A4CE for ; Tue, 19 Apr 2005 18:21:35 +0000 (GMT) Received: from mailserver.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id D858B43D41 for ; Tue, 19 Apr 2005 18:21:34 +0000 (GMT) (envelope-from don@SANDVINE.com) X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Apr 2005 14:21:34 -0400 Message-ID: <2BCEB9A37A4D354AA276774EE13FB8C23A6D44@mailserver.sandvine.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: CLI interface to asr0 RAID controller ... Thread-Index: AcVFDA6hVpByCTmtQnC8+s8KQy/4DgAAICtA From: "Don Bowman" To: "Marc G. Fournier" , Subject: RE: CLI interface to asr0 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, 19 Apr 2005 18:21:35 -0000 From: owner-freebsd-scsi@freebsd.org=20 > [mailto:owner-freebsd-scsi@freebsd.org] On Behalf Of Marc G. Fournier > Sent: April 19, 2005 14:17 PM > To: freebsd-scsi@freebsd.org > Subject: CLI interface to asr0 RAID controller ... >=20 >=20 > Does anyone know where I can find such similar to storcon for=20 > the iir devices, or does the aaccli one work for it? >=20 > asr0: ADAPTEC 2010S FW Rev. 3B05, 2 channel, 256 CCBs, Protocol I2O >=20 > Thanks ... if you install asr-raidutils package, then 'raidutil' command exists From owner-freebsd-scsi@FreeBSD.ORG Tue Apr 19 18:26:41 2005 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 59FDD16A4CE for ; Tue, 19 Apr 2005 18:26:41 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0C3743D2F for ; Tue, 19 Apr 2005 18:26:40 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.21] (rat.samsco.home [192.168.254.21]) (authenticated bits=0) by pooker.samsco.org (8.13.1/8.13.1) with ESMTP id j3JISkZt083077; Tue, 19 Apr 2005 12:28:46 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <42654D07.2070301@samsco.org> Date: Tue, 19 Apr 2005 12:25:11 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.5) Gecko/20050321 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Marc G. Fournier" References: <20050419151600.X5287@ganymede.hub.org> In-Reply-To: <20050419151600.X5287@ganymede.hub.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: freebsd-scsi@freebsd.org Subject: Re: CLI interface to asr0 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, 19 Apr 2005 18:26:41 -0000 Marc G. Fournier wrote: > > Does anyone know where I can find such similar to storcon for the iir > devices, or does the aaccli one work for it? > > asr0: ADAPTEC 2010S FW Rev. 3B05, 2 channel, 256 CCBs, Protocol I2O > > Thanks ... > Please read the scsi list archives, there have been numerous discussions about this and the factors that need to be considered. Search for 'asr-utils' Scott From owner-freebsd-scsi@FreeBSD.ORG Tue Apr 19 18:27:06 2005 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 C014016A4CE for ; Tue, 19 Apr 2005 18:27:06 +0000 (GMT) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8262F43D2F for ; Tue, 19 Apr 2005 18:27:06 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id 4EBD3129429; Tue, 19 Apr 2005 15:27:04 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 73549-08; Tue, 19 Apr 2005 18:27:04 +0000 (GMT) Received: from ganymede.hub.org (blk-222-82-167.eastlink.ca [24.222.82.167]) by hub.org (Postfix) with ESMTP id D4094129428; Tue, 19 Apr 2005 15:27:03 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 92B67340E6; Tue, 19 Apr 2005 15:27:04 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 90EAF33F8A; Tue, 19 Apr 2005 15:27:04 -0300 (ADT) Date: Tue, 19 Apr 2005 15:27:04 -0300 (ADT) From: "Marc G. Fournier" To: Don Bowman In-Reply-To: <2BCEB9A37A4D354AA276774EE13FB8C23A6D44@mailserver.sandvine.com> Message-ID: <20050419152657.M76866@ganymede.hub.org> References: <2BCEB9A37A4D354AA276774EE13FB8C23A6D44@mailserver.sandvine.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org cc: freebsd-scsi@freebsd.org Subject: RE: CLI interface to asr0 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, 19 Apr 2005 18:27:06 -0000 Sweet, thank you ... On Tue, 19 Apr 2005, Don Bowman wrote: > From: owner-freebsd-scsi@freebsd.org >> [mailto:owner-freebsd-scsi@freebsd.org] On Behalf Of Marc G. Fournier >> Sent: April 19, 2005 14:17 PM >> To: freebsd-scsi@freebsd.org >> Subject: CLI interface to asr0 RAID controller ... >> >> >> Does anyone know where I can find such similar to storcon for >> the iir devices, or does the aaccli one work for it? >> >> asr0: ADAPTEC 2010S FW Rev. 3B05, 2 channel, 256 CCBs, Protocol I2O >> >> Thanks ... > > if you install asr-raidutils package, then 'raidutil' command exists > > ---- 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 Tue Apr 19 18:36:28 2005 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 4327F16A4CE for ; Tue, 19 Apr 2005 18:36:28 +0000 (GMT) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 009A843D46 for ; Tue, 19 Apr 2005 18:36:28 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id A07E4129413; Tue, 19 Apr 2005 15:36:25 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 92627-10; Tue, 19 Apr 2005 18:36:25 +0000 (GMT) Received: from ganymede.hub.org (blk-222-82-167.eastlink.ca [24.222.82.167]) by hub.org (Postfix) with ESMTP id 24E8B129303; Tue, 19 Apr 2005 15:36:25 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 25D5D341F8; Tue, 19 Apr 2005 15:36:26 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 24C9533E3A; Tue, 19 Apr 2005 15:36:26 -0300 (ADT) Date: Tue, 19 Apr 2005 15:36:26 -0300 (ADT) From: "Marc G. Fournier" To: Scott Long In-Reply-To: <42654D07.2070301@samsco.org> Message-ID: <20050419153333.T76866@ganymede.hub.org> References: <20050419151600.X5287@ganymede.hub.org> <42654D07.2070301@samsco.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org cc: freebsd-scsi@freebsd.org Subject: Re: CLI interface to asr0 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, 19 Apr 2005 18:36:28 -0000 Thanks, searched google, but didn't think of the list archives :( I'm running on 4.x, so the threads aren't totally relevant, but, I read your note about the asr vs aac drives, and will keep that in mind for future purchases ... Thanks ... On Tue, 19 Apr 2005, Scott Long wrote: > Marc G. Fournier wrote: >> >> Does anyone know where I can find such similar to storcon for the iir >> devices, or does the aaccli one work for it? >> >> asr0: ADAPTEC 2010S FW Rev. 3B05, 2 channel, 256 CCBs, Protocol I2O >> >> Thanks ... >> > > Please read the scsi list archives, there have been numerous discussions > about this and the factors that need to be considered. Search for > 'asr-utils' > > Scott > > ---- 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 Apr 20 20:44:19 2005 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 3669016A4CE for ; Wed, 20 Apr 2005 20:44:19 +0000 (GMT) Received: from smtp.pspl.co.in (smtp.persistent.co.in [202.54.11.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A37843D4C for ; Wed, 20 Apr 2005 20:44:18 +0000 (GMT) (envelope-from rajesh_ghanekar@persistent.co.in) Received: from [10.33.50.40] (ps2333.persistent.co.in [10.33.50.40] (may be forged)) (authenticated bits=0) by smtp.pspl.co.in (8.12.9/8.12.9) with ESMTP id j3KKiRt1010952 for ; Thu, 21 Apr 2005 02:14:29 +0530 Message-ID: <4266BEBD.3080009@persistent.co.in> Date: Thu, 21 Apr 2005 02:12:37 +0530 From: "Rajesh S. Ghanekar" User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAQAAAAQ= X-White-List-Member: TRUE Subject: QLogic Fiber Channel with isp.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, 20 Apr 2005 20:44:19 -0000 Hi, We had a problem when a disk shelf failed. The error message is as follows: Mar 23 15:33:09 freebsd /kernel: isp0: bad underrun for 0.0 (count > 65536, resid 2147422207, status not marked) I would like to know the reasons of what causes Data Underruns in FC Adapters? Any pointers? Thanks, Rajesh From owner-freebsd-scsi@FreeBSD.ORG Wed Apr 20 20:50:31 2005 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 5C0CC16A4CE for ; Wed, 20 Apr 2005 20:50:31 +0000 (GMT) Received: from smtp.pspl.co.in (smtp.persistent.co.in [202.54.11.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D57B43D31 for ; Wed, 20 Apr 2005 20:50:30 +0000 (GMT) (envelope-from rajesh_ghanekar@persistent.co.in) Received: from [10.33.50.40] (ps2333.persistent.co.in [10.33.50.40] (may be forged)) (authenticated bits=0) by smtp.pspl.co.in (8.12.9/8.12.9) with ESMTP id j3KKoXt1012599; Thu, 21 Apr 2005 02:20:34 +0530 Message-ID: <4266C02B.4090504@persistent.co.in> Date: Thu, 21 Apr 2005 02:18:43 +0530 From: "Rajesh S. Ghanekar" User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Rajesh S. Ghanekar" References: <4266BEBD.3080009@persistent.co.in> In-Reply-To: <4266BEBD.3080009@persistent.co.in> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAQAAAAQ= X-White-List-Member: TRUE cc: freebsd-scsi@freebsd.org Subject: Re: QLogic Fiber Channel with isp.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, 20 Apr 2005 20:50:31 -0000 Rajesh S. Ghanekar wrote: > Hi, > > We had a problem when a disk shelf failed. The error message is as > follows: > > Mar 23 15:33:09 freebsd /kernel: isp0: bad underrun for 0.0 (count > > 65536, > resid 2147422207, status not marked) > > I would like to know the reasons of what causes Data Underruns in FC > Adapters? > Any pointers? Sorry for providing insufficient data. OS Version: FreeBSD-4.10 FC HBA: QLogic ISP 2300 Thanks, Rajesh From owner-freebsd-scsi@FreeBSD.ORG Wed Apr 20 21:22:46 2005 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 4310616A4CE for ; Wed, 20 Apr 2005 21:22:46 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id D26E543D5A for ; Wed, 20 Apr 2005 21:22:45 +0000 (GMT) (envelope-from lydianconcepts@gmail.com) Received: by rproxy.gmail.com with SMTP id c51so261466rne for ; Wed, 20 Apr 2005 14:22:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=d7Ena/rc9s6P4qzuSVUEWgbZIQHafXPqH7naPHVVv+4YulFPiYAOqtq+nfpIRyPtBMhpeu7O/eyYHvt+i0whb8vzxD4v4IfG+F4aEoeUamuUW9lnWff6XfGy2dVJo5aFKDvqpVN29kYN2Rfqzg4EgnuA/V4p1cHEQWOdwPLI3Q0= Received: by 10.38.15.7 with SMTP id 7mr1362059rno; Wed, 20 Apr 2005 14:22:44 -0700 (PDT) Received: by 10.38.104.23 with HTTP; Wed, 20 Apr 2005 14:22:44 -0700 (PDT) Message-ID: <7579f7fb050420142258afcf4d@mail.gmail.com> Date: Wed, 20 Apr 2005 14:22:44 -0700 From: Matthew Jacob To: "Rajesh S. Ghanekar" In-Reply-To: <4266C02B.4090504@persistent.co.in> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4266BEBD.3080009@persistent.co.in> <4266C02B.4090504@persistent.co.in> cc: freebsd-scsi@freebsd.org Subject: Re: QLogic Fiber Channel with isp.c X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Matthew Jacob List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 21:22:46 -0000 Nearly always has to do with a lost frame, but sometimes buggy firmware in targets. The internal data engine has a count that doesn't then match up and indicates a residual (often negative) that is not then marked in the FCP RSPNS IU as being an underrun. Many FC drivers ignore this issue, as there have been a number of devices whose f/w doesn't correctly set the underrun flag. I chose to believe it. On 4/20/05, Rajesh S. Ghanekar wrote: > Rajesh S. Ghanekar wrote: >=20 > > Hi, > > > > We had a problem when a disk shelf failed. The error message is as > > follows: > > > > Mar 23 15:33:09 freebsd /kernel: isp0: bad underrun for 0.0 (count > > > 65536, > > resid 2147422207, status not marked) > > > > I would like to know the reasons of what causes Data Underruns in FC > > Adapters? > > Any pointers? >=20 > Sorry for providing insufficient data. >=20 > OS Version: FreeBSD-4.10 > FC HBA: QLogic ISP 2300 >=20 >=20 > Thanks, > Rajesh > _______________________________________________ > 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 Fri Apr 22 10:57:21 2005 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 27A5D16A4CE for ; Fri, 22 Apr 2005 10:57:21 +0000 (GMT) Received: from mail.ropnet.ru (mail.ropnet.ru [212.42.37.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3829543D39 for ; Fri, 22 Apr 2005 10:57:20 +0000 (GMT) (envelope-from kost@ropnet.ru) Received: from kost ([212.42.38.34]) by mail.ropnet.ru (8.12.11/8.12.11) with ESMTP id j3MAvIDg023770 for ; Fri, 22 Apr 2005 14:57:18 +0400 (MSD) Date: Fri, 22 Apr 2005 15:00:02 +0400 From: kost X-Mailer: The Bat! (v2.00.6) Business X-Priority: 3 (Normal) Message-ID: <17797138234.20050422150002@ropnet.ru> To: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Another Adaptec 2120s perfomance problem X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kost List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 10:57:21 -0000 Hi! ---PROBLEM--- I have got 2 servers running FBSD 5.x and RAID0. The first server has RAID 0 with 2 IDE drives and the second one has RAID0 with 8(!!!) SCSI drives. All test I have run on these platforms gave me almost same results. My testing was extremely simple and I expected to see at least 2 times faster perfomance on SCSI RAID... but it didn't happened. ---HARDWARE--- server1: P4 3Ghz, Intel 875, 1Gb RAM, Promise + RAID 0(2xIDE Seagate 80Gb). OS: FreeBSD 5.1 server2: P4 3,2Ghz, Intel 865, 1Gb RAM, Adaptec 2120S(7349 firmware) + RAID 0(8x SCSI Fujitsu 70Gb). OS FreeBSD(4.11, 5.2, 5.3, 5.4) and even Windows XP SP2 Corporate. ---TUNING--- 1. Adaptec 2120s BIOS First time I have left almost all settings in default state but then I tried to turn off READ CACHE while creating ARRAY and turn on/off WRITE cache. 2. FreeBSD I'll show main FBSD settings for 5.3 RELEASE, because other versions had same performance results. sqlmail# uname -a FreeBSD sqlmail.ropnet.ru 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Apr 22 17:00:01 UTC 2005 root@sqlmail.ropnet.ru:/usr/src/sys/i386/compile/SQL i386 sqlmail# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/aacd0s1a 988398 51620 857708 6% / devfs 1 1 0 100% /dev /dev/aacd0s1d 2971278 735948 1997628 27% /usr /dev/aacd0s1f 550186622 260982 505910712 0% /usr1 /dev/aacd0s1e 988398 510 908818 0% /var sqlmail# kldstat Id Refs Address Size Name 1 3 0xc0400000 368e5c kernel 2 14 0xc0769000 537f0 acpi.ko Kernel was build in many variants: GENERIC, without aacp, without aacp and pass device and etc. When aacp was enabled I got following strange results: sqlmail# dmesg pass0: Fixed unknown SCSI-3 device pass0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit) pass1 at aacp0 bus 0 target 2 lun 0 pass1: Fixed unknown SCSI-3 device pass1: 160.000MB/s transfers (80.000MHz, offset 127, 16bit) etc... Why 160MB/s if Adaptec bios and aacli show 320MB/s? Is it normal? And I saw nothing about "tagged queueing" enabled for at least one SCSI device... and then my suspicion confirmed: sqlmail# negotiate 0:1 -v (pass0:aacp0:0:1:0): sync parameter: 8 (pass0:aacp0:0:1:0): frequency: 160.000MHz (pass0:aacp0:0:1:0): offset: 127 (pass0:aacp0:0:1:0): bus width: 16 bits (pass0:aacp0:0:1:0): disconnection is disabled (pass0:aacp0:0:1:0): tagged queueing is disabled (!!!!!) aacp0: SIM/HBA version: 1 aacp0: supports 16 bit wide SCSI aacp0: user has disabled initial BUS RESET or controller is in target/mixed mode (!!!!!) aacp0: HBA engine count: 0 aacp0: maximum target: 15 aacp0: maximum LUN: 8 aacp0: highest path ID in subsystem: 0 aacp0: initiator ID: 7 aacp0: SIM vendor: FreeBSD aacp0: HBA vendor: Adaptec aacp0: bus ID: 0 aacp0: base transfer speed: 3.300MB/sec I didn't disabled BUS RESET as like didn't set controller in target/mixed mode. I even don't now where to config these params, at least I couldn't find anything in Adaptec BIOS on this theme. Of course all my attempts to turn on "tagged queueing" was failed. ---TESTING AND RESULTS--- I understand that my tests are very far from ideal, but in my opinion I have to see better performance with SCSI RAID even in such test, especially we are talking not only about SCSI and IDE comparison but 2 vs 8(!) spindles performance. Ok. what have I done: sqlmail# cd /usr sqlmail# fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz sqlmail# tar -zxf ports.tar.gz sqlmail# time cp -pR ports.tar.gz /usr1/ 0.577u 8.209s 2:12.44 6.6% 14+713k 41579+144io 75324pf+0w While copying I run sqlmail# iostat 1 100 on another console and got 3-5MB/sec speed for aacd0 device sqlmail# systat -vmstat 1 showed me 90-100% disk busy while cp was in progress So... results were almost the same in all kernel variants, all FBSD versions and number of disks in SCSI RAID 0. And almost equal results I got on server1 with IDE RAID 0. Also I tried to build RAID5+0... It was awful, because it takes twice more time to copy ports collection from one partition to another. I tried to use another cable on 8 devices - same result ...tried to build ARRAY 0 with two SEAGATE CHEETAH - same result Thank you for any answer. From owner-freebsd-scsi@FreeBSD.ORG Fri Apr 22 11:04:16 2005 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 46F0716A4CE for ; Fri, 22 Apr 2005 11:04:16 +0000 (GMT) Received: from mail.ropnet.ru (mail.ropnet.ru [212.42.37.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93B9F43D3F for ; Fri, 22 Apr 2005 11:04:15 +0000 (GMT) (envelope-from kost@ropnet.ru) Received: from kost ([212.42.38.34]) by mail.ropnet.ru (8.12.11/8.12.11) with ESMTP id j3MB4EHN029972 for ; Fri, 22 Apr 2005 15:04:14 +0400 (MSD) Date: Fri, 22 Apr 2005 15:00:02 +0400 From: kost X-Mailer: The Bat! (v2.00.6) Business X-Priority: 3 (Normal) Message-ID: <17797138234.20050422150002@ropnet.ru> To: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Another Adaptec 2120s perfomance problem X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kost List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 11:04:16 -0000 Hi! ---PROBLEM--- I have got 2 servers running FBSD 5.x and RAID0. The first server has RAID 0 with 2 IDE drives and the second one has RAID0 with 8(!!!) SCSI drives. All test I have run on these platforms gave me almost same results. My testing was extremely simple and I expected to see at least 2 times faster perfomance on SCSI RAID... but it didn't happened. ---HARDWARE--- server1: P4 3Ghz, Intel 875, 1Gb RAM, Promise + RAID 0(2xIDE Seagate 80Gb). OS: FreeBSD 5.1 server2: P4 3,2Ghz, Intel 865, 1Gb RAM, Adaptec 2120S(7349 firmware) + RAID 0(8x SCSI Fujitsu 70Gb). OS FreeBSD(4.11, 5.2, 5.3, 5.4) and even Windows XP SP2 Corporate. ---TUNING--- 1. Adaptec 2120s BIOS First time I have left almost all settings in default state but then I tried to turn off READ CACHE while creating ARRAY and turn on/off WRITE cache. 2. FreeBSD I'll show main FBSD settings for 5.3 RELEASE, because other versions had same performance results. sqlmail# uname -a FreeBSD sqlmail.ropnet.ru 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Apr 22 17:00:01 UTC 2005 root@sqlmail.ropnet.ru:/usr/src/sys/i386/compile/SQL i386 sqlmail# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/aacd0s1a 988398 51620 857708 6% / devfs 1 1 0 100% /dev /dev/aacd0s1d 2971278 735948 1997628 27% /usr /dev/aacd0s1f 550186622 260982 505910712 0% /usr1 /dev/aacd0s1e 988398 510 908818 0% /var sqlmail# kldstat Id Refs Address Size Name 1 3 0xc0400000 368e5c kernel 2 14 0xc0769000 537f0 acpi.ko Kernel was build in many variants: GENERIC, without aacp, without aacp and pass device and etc. When aacp was enabled I got following strange results: sqlmail# dmesg pass0: Fixed unknown SCSI-3 device pass0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit) pass1 at aacp0 bus 0 target 2 lun 0 pass1: Fixed unknown SCSI-3 device pass1: 160.000MB/s transfers (80.000MHz, offset 127, 16bit) etc... Why 160MB/s if Adaptec bios and aacli show 320MB/s? Is it normal? And I saw nothing about "tagged queueing" enabled for at least one SCSI device... and then my suspicion confirmed: sqlmail# negotiate 0:1 -v (pass0:aacp0:0:1:0): sync parameter: 8 (pass0:aacp0:0:1:0): frequency: 160.000MHz (pass0:aacp0:0:1:0): offset: 127 (pass0:aacp0:0:1:0): bus width: 16 bits (pass0:aacp0:0:1:0): disconnection is disabled (pass0:aacp0:0:1:0): tagged queueing is disabled (!!!!!) aacp0: SIM/HBA version: 1 aacp0: supports 16 bit wide SCSI aacp0: user has disabled initial BUS RESET or controller is in target/mixed mode (!!!!!) aacp0: HBA engine count: 0 aacp0: maximum target: 15 aacp0: maximum LUN: 8 aacp0: highest path ID in subsystem: 0 aacp0: initiator ID: 7 aacp0: SIM vendor: FreeBSD aacp0: HBA vendor: Adaptec aacp0: bus ID: 0 aacp0: base transfer speed: 3.300MB/sec I didn't disabled BUS RESET as like didn't set controller in target/mixed mode. I even don't now where to config these params, at least I couldn't find anything in Adaptec BIOS on this theme. Of course all my attempts to turn on "tagged queueing" was failed. ---TESTING AND RESULTS--- I understand that my tests are very far from ideal, but in my opinion I have to see better performance with SCSI RAID even in such test, especially we are talking not only about SCSI and IDE comparison but 2 vs 8(!) spindles performance. Ok. what have I done: sqlmail# cd /usr sqlmail# fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz sqlmail# tar -zxf ports.tar.gz sqlmail# time cp -pR ports.tar.gz /usr1/ 0.577u 8.209s 2:12.44 6.6% 14+713k 41579+144io 75324pf+0w While copying I run sqlmail# iostat 1 100 on another console and got 3-5MB/sec speed for aacd0 device sqlmail# systat -vmstat 1 showed me 90-100% disk busy while cp was in progress So... results were almost the same in all kernel variants, all FBSD versions and number of disks in SCSI RAID 0. And almost equal results I got on server1 with IDE RAID 0. Also I tried to build RAID5+0... It was awful, because it takes twice more time to copy ports collection from one partition to another. I tried to use another cable on 8 devices - same result ...tried to build ARRAY 0 with two SEAGATE CHEETAH - same result Thank you for any answer. From owner-freebsd-scsi@FreeBSD.ORG Fri Apr 22 14:14:57 2005 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 7D33A16A4CE for ; Fri, 22 Apr 2005 14:14:57 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60D4443D48 for ; Fri, 22 Apr 2005 14:14:52 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.1/8.13.1) with ESMTP id j3MEGOnV001065; Fri, 22 Apr 2005 08:16:28 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4269060E.8000709@samsco.org> Date: Fri, 22 Apr 2005 08:11:26 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050218 X-Accept-Language: en-us, en MIME-Version: 1.0 To: kost References: <17797138234.20050422150002@ropnet.ru> In-Reply-To: <17797138234.20050422150002@ropnet.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: freebsd-scsi@freebsd.org Subject: Re: Another Adaptec 2120s perfomance problem 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, 22 Apr 2005 14:14:57 -0000 kost wrote: > Hi! > > ---PROBLEM--- > I have got 2 servers running FBSD 5.x and RAID0. > The first server has RAID 0 with 2 IDE drives and the second one has > RAID0 with 8(!!!) SCSI drives. > All test I have run on these platforms gave me almost same results. My > testing was extremely simple and I expected to see at least 2 times > faster perfomance on SCSI RAID... but it didn't happened. > > ---HARDWARE--- > server1: P4 3Ghz, Intel 875, 1Gb RAM, Promise + RAID 0(2xIDE Seagate 80Gb). OS: FreeBSD 5.1 > > server2: P4 3,2Ghz, Intel 865, 1Gb RAM, Adaptec 2120S(7349 firmware) + RAID 0(8x SCSI > Fujitsu 70Gb). OS FreeBSD(4.11, 5.2, 5.3, 5.4) and even Windows XP SP2 > Corporate. > > ---TUNING--- > 1. Adaptec 2120s BIOS > First time I have left almost all settings in default state but then > I tried to turn off READ CACHE while creating ARRAY and turn on/off > WRITE cache. > 2. FreeBSD > I'll show main FBSD settings for 5.3 RELEASE, because other versions had > same performance results. > > sqlmail# uname -a > FreeBSD sqlmail.ropnet.ru 5.3-RELEASE FreeBSD 5.3-RELEASE #0: > Fri Apr 22 17:00:01 UTC 2005 root@sqlmail.ropnet.ru:/usr/src/sys/i386/compile/SQL i386 > > sqlmail# df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/aacd0s1a 988398 51620 857708 6% / > devfs 1 1 0 100% /dev > /dev/aacd0s1d 2971278 735948 1997628 27% /usr > /dev/aacd0s1f 550186622 260982 505910712 0% /usr1 > /dev/aacd0s1e 988398 510 908818 0% /var > > sqlmail# kldstat > Id Refs Address Size Name > 1 3 0xc0400000 368e5c kernel > 2 14 0xc0769000 537f0 acpi.ko > > Kernel was build in many variants: GENERIC, without aacp, without aacp > and pass device and etc. > > When aacp was enabled I got following strange results: > sqlmail# dmesg > pass0: Fixed unknown SCSI-3 device > pass0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit) > pass1 at aacp0 bus 0 target 2 lun 0 > pass1: Fixed unknown SCSI-3 device > pass1: 160.000MB/s transfers (80.000MHz, offset 127, 16bit) > etc... The aacp driver is just a simple SCSI passthrough transport that allows one to access non-disk devices on the controller (like a CDROM or tape drive) and flash drive firmware. It is not needed for normal operation, and in fact I discourage people from using it unless they have a specific need. > > Why 160MB/s if Adaptec bios and aacli show 320MB/s? Is it normal? And > I saw nothing about "tagged queueing" enabled for at least one SCSI > device... and then my suspicion confirmed: This is a known bug in the driver. If you want to find out the actual speed of the disks, you'll need to use the aaccli tool. > > sqlmail# negotiate 0:1 -v > (pass0:aacp0:0:1:0): sync parameter: 8 > (pass0:aacp0:0:1:0): frequency: 160.000MHz > (pass0:aacp0:0:1:0): offset: 127 > (pass0:aacp0:0:1:0): bus width: 16 bits > (pass0:aacp0:0:1:0): disconnection is disabled > (pass0:aacp0:0:1:0): tagged queueing is disabled (!!!!!) > aacp0: SIM/HBA version: 1 > aacp0: supports 16 bit wide SCSI > aacp0: user has disabled initial BUS RESET or controller is in target/mixed mode (!!!!!) > aacp0: HBA engine count: 0 > aacp0: maximum target: 15 > aacp0: maximum LUN: 8 > aacp0: highest path ID in subsystem: 0 > aacp0: initiator ID: 7 > aacp0: SIM vendor: FreeBSD > aacp0: HBA vendor: Adaptec > aacp0: bus ID: 0 > aacp0: base transfer speed: 3.300MB/sec > > I didn't disabled BUS RESET as like didn't set controller in target/mixed > mode. I even don't now where to config these params, at least I > couldn't find anything in Adaptec BIOS on this theme. > > Of course all my attempts to turn on "tagged queueing" was failed. > The passthrough interface doesn't support tagged queueing. The RAID processor, however, is likely doing tagged queueing. As for bus resets, they are disabled in the aacp driver because they cause the RAID processor to get upset. The aacp device is just a simple hack for a specific purpose. It has a number of significant limitations, and is by no means a monitoring or management tool for the AAC cards. Please just remove it from your configuration and forget that it exists. The aaccli software is the proper tool to use for management. > > ---TESTING AND RESULTS--- > I understand that my tests are very far from ideal, but in my opinion > I have to see better performance with SCSI RAID even in such test, > especially we are talking not only about SCSI and IDE comparison but 2 > vs 8(!) spindles performance. > Ok. what have I done: > sqlmail# cd /usr > sqlmail# fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz > sqlmail# tar -zxf ports.tar.gz > sqlmail# time cp -pR ports.tar.gz /usr1/ > 0.577u 8.209s 2:12.44 6.6% 14+713k 41579+144io 75324pf+0w > > While copying I run > sqlmail# iostat 1 100 > on another console and got 3-5MB/sec speed for aacd0 device > > sqlmail# systat -vmstat 1 > showed me 90-100% disk busy while cp was in progress > > So... results were almost the same in all kernel variants, all FBSD > versions and number of disks in SCSI RAID 0. And almost equal results > I got on server1 with IDE RAID 0. > > Also I tried to build RAID5+0... It was awful, because it takes twice > more time to copy ports collection from one partition to another. > > I tried to use another cable on 8 devices - same result > ...tried to build ARRAY 0 with two SEAGATE CHEETAH - same result > > Thank you for any answer. > The 2120 is what Adaptec calls a 'value card'. It is designed to be very low-cost for those who want hardware raid. Unfortunately, this translates into it having pretty poor performance too. On high-end card, the driver and the OS performs quite well. Scott From owner-freebsd-scsi@FreeBSD.ORG Fri Apr 22 18:55:19 2005 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 8611E16A4CE for ; Fri, 22 Apr 2005 18:55:19 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8A2E43D1F for ; Fri, 22 Apr 2005 18:55:18 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)j3MItHDK098723 for ; Fri, 22 Apr 2005 14:55:18 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id j3MItHjJ037578 for ; Fri, 22 Apr 2005 14:55:17 -0400 (EDT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)j3MItHbB037577 for freebsd-scsi@freebsd.org; Fri, 22 Apr 2005 14:55:17 -0400 (EDT) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200504221855.j3MItHbB037577@himinbjorg.tucs-beachin-obx-house.com> To: freebsd-scsi@freebsd.org Date: Fri, 22 Apr 2005 14:55:17 -0400 (EDT) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: da0 became da1 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, 22 Apr 2005 18:55:19 -0000 Hi, I currently have a server with an ADAPTEC SCSI controller, and an LSI Symbios one. Previously when I set the machine up, da0 was the Adaptec and all was good. Now that I plugged in something to the LSI controller, that now has become da0 and my boot disk is now da1. How would I tell the system to always make ADAPTEC the da0? Thanks, Tuc From owner-freebsd-scsi@FreeBSD.ORG Fri Apr 22 19:18:35 2005 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 3615B16A4CE for ; Fri, 22 Apr 2005 19:18:35 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84D3B43D41 for ; Fri, 22 Apr 2005 19:18:25 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.1/8.13.1) with ESMTP id j3MJJt5b002551; Fri, 22 Apr 2005 13:19:55 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <42694D33.2090207@samsco.org> Date: Fri, 22 Apr 2005 13:14:59 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050218 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tuc at Beach House References: <200504221855.j3MItHbB037577@himinbjorg.tucs-beachin-obx-house.com> In-Reply-To: <200504221855.j3MItHbB037577@himinbjorg.tucs-beachin-obx-house.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: freebsd-scsi@freebsd.org Subject: Re: da0 became da1 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, 22 Apr 2005 19:18:35 -0000 Tuc at Beach House wrote: > Hi, > > I currently have a server with an ADAPTEC SCSI controller, and > an LSI Symbios one. Previously when I set the machine up, da0 was the > Adaptec and all was good. Now that I plugged in something to the LSI > controller, that now has become da0 and my boot disk is now da1. > > How would I tell the system to always make ADAPTEC the da0? > > Thanks, Tuc You need to use the FreeBSD kernel feature called 'scsi device wiring'. It's described in /sys/conf/NOTES. As an example (assuming you're talking about FreeBSD 5.x/6.0 here): device ahc device sym hint.scbus.0.at="ahc0" hint.da.0.at="scbus0" hint.da.0.target="0" hint.da.0.unit="0" This ensures that the logical bus 'scbus0' is associated with the first ahc controller found, and that da0 is associated with target,lun 0,0 on scbus0. The wiring syntax works both compiled into the kernel via the normal kernel config file, or by inserting it into /boot/device.hints. Scott From owner-freebsd-scsi@FreeBSD.ORG Fri Apr 22 21:06:16 2005 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 3381D16A4CE for ; Fri, 22 Apr 2005 21:06:16 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id A801743D55 for ; Fri, 22 Apr 2005 21:06:15 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)j3ML63DK003743; Fri, 22 Apr 2005 17:06:15 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id j3ML621O001071; Fri, 22 Apr 2005 17:06:02 -0400 (EDT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)j3ML60x9001066; Fri, 22 Apr 2005 17:06:00 -0400 (EDT) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200504222106.j3ML60x9001066@himinbjorg.tucs-beachin-obx-house.com> To: scottl@samsco.org (Scott Long) Date: Fri, 22 Apr 2005 17:06:00 -0400 (EDT) In-Reply-To: <42694D33.2090207@samsco.org> from "Scott Long" at Apr 22, 2005 01:14:59 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-scsi@freebsd.org Subject: Re: da0 became da1 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, 22 Apr 2005 21:06:16 -0000 > > The wiring syntax works both compiled into the kernel via the > normal kernel config file, or by inserting it into /boot/device.hints. > Guess I should have mentioned it was an asr0, not ahc0. But it did the trick. Thanks, Tuc From owner-freebsd-scsi@FreeBSD.ORG Sat Apr 23 08:56:58 2005 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 8CAF616A4CE for ; Sat, 23 Apr 2005 08:56:58 +0000 (GMT) Received: from brugere.aub.dk (mail.aub.dk [195.24.1.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F48943D45 for ; Sat, 23 Apr 2005 08:56:58 +0000 (GMT) (envelope-from jacob@aub.dk) Received: by brugere.aub.dk (Postfix, from userid 1693) id 496B4C458; Sat, 23 Apr 2005 10:56:57 +0200 (CEST) Received: from aub.dk (4-39.aub.dk [10.0.4.39]) by brugere.aub.dk (Postfix) with SMTP id 0BE42C2C6 for ; Sat, 23 Apr 2005 10:56:57 +0200 (CEST) Received: by aub.dk (sSMTP sendmail emulation); Sat, 23 Apr 2005 10:56:50 +0200 Date: Sat, 23 Apr 2005 10:56:50 +0200 From: Jacob Atzen To: freebsd-scsi@freebsd.org Message-ID: <20050423085650.GA11177@morpheus.aub.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.8i Subject: LSI 1020 mpt problem 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, 23 Apr 2005 08:56:58 -0000 Hi, This message was recently posted to freebsd-questions but as I haven't gotten an answer there I will now try here. I apologize if this is bad netiquette. I've just gotten my hands on a server with a LSI 1020 controller. Unfortunately when I try to boot the server off my 5.3 CD I get an error message stating that "mpt0: bullet missed in timeout". This error message will just repeat itself until the machine is turned off. I'm unable to find the 1020 in the hardware notes for 5.x but the big brother 1030 is there. Also 1020 is supported in FreeBSD in the 4.x series. Can I assume that the 1020 is supported in 5.x or has support been dropped for some reason? And if it is supported, what may then be the reason for the error message? I guess I should note that I'm not very experienced with scsi configuration, so if there's something obvious I'm missing please do tell me. -- Thanks, - Jacob Atzen