From owner-aic7xxx@FreeBSD.ORG Wed Feb 28 23:33:23 2007 Return-Path: X-Original-To: aic7xxx@freebsd.org Delivered-To: aic7xxx@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D782216A404 for ; Wed, 28 Feb 2007 23:33:23 +0000 (UTC) (envelope-from ibr@radix50.net) Received: from almaty.kz-easy.com (kz-easy.com [85.214.25.173]) by mx1.freebsd.org (Postfix) with ESMTP id 7080713C478 for ; Wed, 28 Feb 2007 23:33:22 +0000 (UTC) (envelope-from ibr@radix50.net) Received: from alatau.radix50.net (dslb-088-064-015-083.pools.arcor-ip.net [88.64.15.83]) (authenticated bits=0) by almaty.kz-easy.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l1SNXFOd011595 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 1 Mar 2007 00:33:17 +0100 Received: from alatau.radix50.net (localhost [127.0.0.1]) by alatau.radix50.net (8.13.8/8.13.8/Debian-2) with ESMTP id l1SNXFOE008538 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 1 Mar 2007 00:33:15 +0100 Received: (from ibr@localhost) by alatau.radix50.net (8.13.8/8.13.8/Submit) id l1SNXEoU008537 for aic7xxx@freebsd.org; Thu, 1 Mar 2007 00:33:14 +0100 Date: Thu, 1 Mar 2007 00:33:14 +0100 From: Baurzhan Ismagulov To: aic7xxx@freebsd.org Message-ID: <20070228233314.GA7348@radix50.net> Mail-Followup-To: aic7xxx@freebsd.org References: <20070228204034.GA2379@radix50.net> <45E602B3.2020306@paralan.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45E602B3.2020306@paralan.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-Spam-Status: No, score=1.8 required=5.0 tests=RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.3 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on almaty.kz-easy.com Subject: Re: Adaptec 2940UW with Fujitsu MAN3184M X-BeenThere: aic7xxx@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Adaptec Device Drivers in FreeBSD and Linux List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2007 23:33:24 -0000 Hello Marc, Thanks for the prompt answer! Let's see what we can find out. On Wed, Feb 28, 2007 at 02:31:15PM -0800, Marc D. Brooks wrote: > The Adaptec 2940UW is Single Ended. With Single Ended, there are a > number of things to consider when trying to go Ultra. It is possible > that even though the 2940UW initially negotiates for Ultra, the domain > validation forces it to the slower rate due to issues seen with the > communications. Any way to see those at the Linux administrator level? > The other thing to check is if the 2940UW BIOS has been forced to the > slower rate. The card is branded Siemens-Nixdorf, I don't see the usual Ctrl-A prompt. I've seen older SNI controllers, all settings were accessible from the main BIOS. So, I guess I can't check this. That said, when the driver is loaded, it states the USER setting of 40 MB/s. Justin said that this is determined by EEPROM and /proc. I haven't set anything in /proc, so I guess we can rule out the BIOS setting limitation. The "when" part above is strange. Now I don't have the drive connected, aic7xxx is loaded, but I see neither kernel messages in log, nor /proc/aic7xxx. I'm running Debian sid's 2.4.18-4-k7. rmmod, modprobe don't help. At the last boot the module was also loaded, no messages, but rmmod, modprobe did help. The red LED named "DS1" is constantly lit. Should I throw the card away? Or could it be anything else (power supply???)? > Also with Single Ended, the SCSI Cable Length can be critical. > Depending on a number of factors, going more than 2 meters may add to > the problem. 1.2 m, four 68-pin connectors for drives, black box at the end saying "Foxconn" and "Ultra 320" (terminator?), the drive connected to the last entry before the terminator ("far" from the controller). > The SCA-1 Adapter may also be adding to the problem unless it is known > to be able to work at the Ultra burst rate in Single Ended. Hmm, specifically SE? The adapter claims to be "Ultra4 320/m SCSI compliant". I'm not sure what "/m" means. MHz? It doesn't have any active components. One resistor goes from SCA-2 to the jumper named "LED". There are also SYN, DLY, MTR, ID3-0 jumpers, none set. > Also verify how you have the terminations. If these are the only two > devices, the 2940UW must have its terminations turned on (automatic > may be ok) and there should be a termination at the drive. The disk is the only device on the bus. If the black box is a terminator, then I guess I don't need termination on the drive. The drive is branded Sun and doesn't have any jumpers. I don't know whether one of the jumpers on the adapter is for termination; I assume none. At the other end, the controller has three connectors, two internal and one external. I guess it should be terminated. There are six jumper-like pins, four named J3, and two named J4. http://download.adaptec.com/pdfs/user_guides/p2940uw_ug.pdf doesn't mention anything about them, but says the termination can be set in BIOS to Auto, Enabled, or Disabled. Is there a way to check the setting? > I believe the Fujitsu MAN3184M is Ultra160 Low Voltage Differential > (LVD), and capable of automatically going down to Single Ended > communications from LVD communications, like almost all LVD devices, but > its not being used to its full potential by doing so. Yes. > Changing to the 29160 controller which is Low Voltage Dfferential > (LVD) will help immensely in terms of being able to operate at a > faster burst rate and being able to reliably support longer SCSI cable > lengths. Do you think this will work properly with the adapter? I had stability problems with a similar adapter, AHA-2940UW, and the same drive (although that one was not claiming Ultra 320 compliancy). With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/