From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 3 11:03:34 2003 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 2BF3516A4CE for ; Mon, 3 Nov 2003 11:03:34 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B43F74400E for ; Mon, 3 Nov 2003 11:03:07 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hA3J37FY005903 for ; Mon, 3 Nov 2003 11:03:07 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hA3J370V005897 for scsi@freebsd.org; Mon, 3 Nov 2003 11:03:07 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 3 Nov 2003 11:03:07 -0800 (PST) Message-Id: <200311031903.hA3J370V005897@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: 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, 03 Nov 2003 19:03:34 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [1999/12/21] kern/15608 scsi acd0 / cd0 give inconsistent errors on em 1 problem total. From owner-freebsd-scsi@FreeBSD.ORG Tue Nov 4 02:53:23 2003 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 A927816A4CE for ; Tue, 4 Nov 2003 02:53:23 -0800 (PST) Received: from mail.dt.e-technik.uni-dortmund.de (mail.dt.e-technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8173043F3F for ; Tue, 4 Nov 2003 02:53:22 -0800 (PST) (envelope-from ma+fscsi@dt.e-technik.uni-dortmund.de) Received: from m2a2.dyndns.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1])2994011DBD for ; Tue, 4 Nov 2003 11:53:21 +0100 (CET) Received: by merlin.emma.line.org (Postfix, from userid 500) id A5B3F97DE2; Tue, 4 Nov 2003 11:53:19 +0100 (CET) Date: Tue, 4 Nov 2003 11:53:19 +0100 From: Matthias Andree To: freebsd-scsi@freebsd.org Message-ID: <20031104105319.GB9585@merlin.emma.line.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: Ultra 160 - what HA works well with 4.9 and 5-CURRENT? 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 Nov 2003 10:53:23 -0000 Hi, What SCSI Ultra 160 host adaptors work best with 4.9 and 5-CURRENT? I consider buying a qlogic 12160 or LSI 53C1010 based HA. The board is supposed to be used in software RAID1. (AMD XP1700+ w/ VIA KT333) Are there concerns that I should be aware of, for instance isp(4) mentions error recovery after timeouts? Which works better? Anything else I should consider? Does it make a difference which brand the card will be? I have good experience with the 53C875 based Tekram cards so far, but U160 is a different League than UWSCSI. Thanks in advance, -- Matthias Andree Encrypt your mail: my GnuPG key ID is 0x052E7D95 From owner-freebsd-scsi@FreeBSD.ORG Tue Nov 4 11:20:27 2003 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 7224D16A4CE for ; Tue, 4 Nov 2003 11:20:27 -0800 (PST) Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8773B43FAF for ; Tue, 4 Nov 2003 11:20:26 -0800 (PST) (envelope-from louie@whizzo.transsys.com) Received: from whizzo.transsys.com (#6@localhost [127.0.0.1]) by whizzo.transsys.com (8.12.9p2/8.12.9) with ESMTP id hA4JKLIg086943; Tue, 4 Nov 2003 14:20:21 -0500 (EST) (envelope-from louie@whizzo.transsys.com) Message-Id: <200311041920.hA4JKLIg086943@whizzo.transsys.com> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Matthias Andree X-Image-URL: http://www.transsys.com/louie/images/louie-mail.jpg From: "Louis A. Mamakos" References: <20031104105319.GB9585@merlin.emma.line.org> In-reply-to: Your message of "Tue, 04 Nov 2003 11:53:19 +0100." <20031104105319.GB9585@merlin.emma.line.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 04 Nov 2003 14:20:21 -0500 Sender: louie@TransSys.COM cc: freebsd-scsi@freebsd.org Subject: Re: Ultra 160 - what HA works well with 4.9 and 5-CURRENT? 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 Nov 2003 19:20:27 -0000 I have an Adaptec 29160B in a Dell 1U server appliance I picked up used that seems to work very reliably. And it's pretty quick, compared to the Ultra2 stuff I'm used to using. I have no experience with the other controllers you mentioned louie >From dmesg, under 4.9 stable ahc0: port 0xe800-0xe8ff mem 0xfebfb000-0xfebfbfff irq 10 at device 15.0 on pci0 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C) da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da1: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C) From owner-freebsd-scsi@FreeBSD.ORG Tue Nov 4 11:22:44 2003 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 4C73016A4CF for ; Tue, 4 Nov 2003 11:22:44 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 2EC9243FB1 for ; Tue, 4 Nov 2003 11:22:42 -0800 (PST) (envelope-from st-schmidt1@gmx.de) Received: (qmail 7500 invoked by uid 0); 4 Nov 2003 19:22:36 -0000 Received: from 80.128.179.162 by www5.gmx.net with HTTP; Tue, 4 Nov 2003 20:22:36 +0100 (MET) Date: Tue, 4 Nov 2003 20:22:36 +0100 (MET) From: "Stefan Schmidt" To: scsi@freebsd.org MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated: #1382754 Message-ID: <3452.1067973756@www5.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Subject: Problems with Quantum Dlt7000 and adaptec 2940UW-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: Tue, 04 Nov 2003 19:22:44 -0000 Hi everybody, please find attached a little mail conversation I've had with Alfred Perlstein about problems with a Quantum Dlt 7000 and an Adaptec 2940UW-Pro What I forgot to tell Alfred is, that when the drive was connected while I was rebooting the machine, FreeBSD comes to driver ahc0 and than stopped and an error message appeared saying somebody is reseting ahc0. FreeBSD was stopped and only this errormessage appeared on the screen, one line behind the other until I switched off power. On the same scsi bus are attached: System harddisk and a cdrom drive. If you have any questions please feel free to contact me. Regards Stefan From: Alfred Perlstein To: Stefan Schmidt CC: tomsoft@freebsd.org Subject: Re: Problems with a Quantum dlt7000 on FreeBSD Date: Tue, 4 Nov 2003 08:30:47 -0800 thank you, I'm glad that you were able to solve your problem. * Stefan Schmidt [031104 01:42] wrote: > Hi Alfred, > > thanks for your quick reply. > I solved the problem. > It was a problem with the Scsi Bios. > I changed the Adaptec 2940UW-Pro with an other 2940UW-Pro but this one has > an other Bios version. > After that, I set "enable disconnection" to disabled and what should I say, > it works :-) > > I will follow your recommendation and send this complete Mailthread to > scsi@freebsd.org > > Thanks for your help > > Stefan > > > * Stefan Schmidt [031103 05:02] wrote: > > > Hi Alfred, > > > > > > it might be that this is not one of your current projects, but I found a > > > mail thread where you described some problems with bus resets on the > > scsi bus > > > while using or trying to use a Quantum Dlt 7000 drive with FreeBSD > > > > I think I finally solved the problem when I figured out that the > > cable i was using was LVD instead of "normal". My suggestion would > > be to boot the box running NT using a FreeBSD disk and see if it > > works in that configuration. If it does, then it's a matter of > > checking bios settings for correct termination software settings > > and double checking that you have the same cable on the NT box as > > you do on the FreeBSD box. Basically, make sure you have the > > EXACT same setup on the FreeBSD box as you do under the NT box. > > > > Also mailing scsi@freebsd.org couldn't hurt. > > > > best of luck, > > -- > > - Alfred Perlstein > > - Research Engineering Development Inc. > > - email: bright@mu.org cell: 408-480-4684 > > -- - Alfred Perlstein - Research Engineering Development Inc. - email: bright@mu.org cell: 408-480-4684 Hi Alfred, it might be that this is not one of your current projects, but I found a mail thread where you described some problems with bus resets on the scsi bus while using or trying to use a Quantum Dlt 7000 drive with FreeBSD I am using FreeBSD 4.8 and 5.1 and I bought a used drive as described above. Every time I try to do something with the drive, the same error appears: Unexpected bus free in command phase Syslogd reports a dump of the ahc0 (Adaptec 2940-UW Pro) and the drive has been removed from the bus. To exclude other things I did the following: - Changed cable - changed port - changed scsi device - put device on a second adaptec 2940-UW Pro as only device on that bus. - changed to an other machine (FreeBSD 4.7 installed) - used different tapes - changed several options in the scsi controllers bios (enable/disable disconnect, command queing... and so on) Nothing, always the same: Put tape in, wait until camcontrol tur states device is ready mt rewind or mt status device starts spooling the tape forward and backward for 1 or 2 minutes and after that I get my dump and the described error message. To check if the drive is broken, I took it to my company and connected the drive to a simple Windows NT4 workstation. was found, installed driver, reboot, open backup, write a backup of the harddisk, verify, works perfect! No problem, no errors, nothing. Installed Quantum Check software for Dlts, did a complete test, any part of the test has been passed without any error. As I could read in this old mailthread, you had the same problems with the same drive on FreeBSD 3.5. Is it possible, that the driver for ahc0 or sa0 hasn't been changed since that? If this is possible, I would understand why the drive doesn't seem to work on FreeBSD 3.5, 4.8 and 5.1 Did you find a solution or can you give me a hint? Thanks in advance Stefan Ps.: Mail is cced to Tomsoft because Tom is a really good friend of mine and I want him to stay informed. -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ From owner-freebsd-scsi@FreeBSD.ORG Thu Nov 6 02:34:43 2003 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 35DC816A4CE for ; Thu, 6 Nov 2003 02:34:43 -0800 (PST) Received: from omega.uar.net (Omega.UAR.Net [194.44.214.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7AE143FE5 for ; Thu, 6 Nov 2003 02:34:39 -0800 (PST) (envelope-from technoservice@mail.lviv.ua) Received: from localhost (localhost [127.0.0.1]) by omega.uar.net (8.12.10/8.12.9) with ESMTP id hA6AYX7Z087480 for ; Thu, 6 Nov 2003 12:34:33 +0200 (EET) Received: from omega.uar.net ([127.0.0.1]) by localhost (omega.uar.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 86950-01 for ; Thu, 6 Nov 2003 12:34:20 +0200 (EET) Received: from server ([194.44.243.240]) by omega.uar.net (8.12.10/8.12.9) with SMTP id hA6AXKdU086429 for ; Thu, 6 Nov 2003 12:33:22 +0200 (EET) Message-ID: <000b01c3a451$7f1bf230$0100000a@server> From: "Technoservice" To: Date: Thu, 6 Nov 2003 12:32:31 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: problem with target mode 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 Nov 2003 10:34:43 -0000 Hi, I have two AHA-2940UW cards on two different machines respectively. I = named them TARGET_COMP and INITIATOR_COMP. They are connected by an = internal 50-pin SCSI cable. On TARGET_COMP machine is FreeBSD 5.1. When I triggered the target mode operation on the TARGET_COMP machine, = then is messages: "Configuring TARGET Mode (noperiph:ahc0:0:5:0): Lun now enable for TARGET_COMP mode" When I rescans the bus from the INITIATOR_COMP machine (when machine is = starting), it found nothing. On the one way, the INITIATOR_COMP did = select the target mode controller, but it got no response and returned = with time out message. On the other way, the TARGET_COMP controller = didn't capture any select request. On the other way, the INITIATOR_COMP = did select the TARGET_COMP mode controller, but it got no response and = returned message: "Improper termination or faulty cable detected. Please = rectify". In this time on TARGET_COMP machine is message: "Someone reset = channel A". This is not a cabling or termination problem. (I connected = HDD to both AHA-2940UW cards and it work properly.) Help me, please. =20 Thanks, Vladyka Igor From owner-freebsd-scsi@FreeBSD.ORG Thu Nov 6 05:20:28 2003 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 F025516A4CE for ; Thu, 6 Nov 2003 05:20:28 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F03943FCB for ; Thu, 6 Nov 2003 05:20:21 -0800 (PST) (envelope-from freebsd-scsi@m.gmane.org) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AHk3f-0005kD-00 for ; Thu, 06 Nov 2003 14:20:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-scsi@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AHjsj-0005cE-00 for ; Thu, 06 Nov 2003 14:09:01 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AHjsj-0004C0-00 for ; Thu, 06 Nov 2003 14:09:01 +0100 From: Jesse Guardiani Date: Thu, 06 Nov 2003 08:08:59 -0500 Organization: WingNET Lines: 130 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org User-Agent: KNode/0.7.2 X-Mail-Copies-To: never Sender: news Subject: performance problem with amr driver and Perc 2/SC X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 13:20:29 -0000 Howdy list, I have a 500Mhz Dell PowerEdge 4300 with: [7:22]jesse@chortos:[~]# uname -a FreeBSD chortos.wingnet.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Fri Apr 11 12:59:08 EDT 2003 jesse@chortos.wingnet.net:/usr/src/sys/compile/CHORTOS i386 [7:42]jesse@chortos:[~]# grep amr /var/run/dmesg.boot amr0: mem 0xf4c00000-0xf4ffffff irq 10 at device 13.1 on pci2 amr0: Firmware 3.00, BIOS 1.36, 16MB RAM amrd0: on amr0 amrd0: 51834MB (106156032 sectors) RAID 5 (optimal) And I think I'm having performance problems. I am running a RAID 5 array with 5 18 Gb SCSI disks. The disks have varying speeds and capabilities: ------------------------------------------------------- Slot SCSI ID Model # or Serial Brand/Model Specs ---- ------- ----------------- ----------- ----- 0 (orig) 0 DNES-318350 E182115 S IBM Ultra 3 SCSI Wide (80 MB/Sec) P/N: 25L2142 18.2 GB 7,200 RPM 1 (orig) 1 DNES-318350 E182115 S IBM Ultra 3 SCSI Wide (80 MB/Sec) P/N: 25L2142 18.2 GB 7,200 RPM 2 2 ST318203LC Seagate/Cheetah Ultra 2 SCSI Wide (80 MB/Sec) 18.21 GB (5.4ms seek time) 10,000 RPM 3 3 Dell P/N: Quantum/Atlas 10K Ultra 3 SCSI (160 MB/Sec) JP-082YPV-12541-03R-00MB 18.2 GB TN18J462 10,000 RPM 4 4 --BLANK-- 5 (hotsp) 5 PN34L7404 IBM Ultra 3 SCSI (160 MB/Sec) ECF24486 18 GB 7,200 RPM 8 8 --BLANK-- 9 9 --BLANK-- ------------------------------------------------------- The problem is that this box is averaging the following, according to tests with dd: write read 2.05 MByte/Sec 12.59 MByte/Sec Here are the exact tests I run: write test: sh -c 'time -h dd if=/dev/zero bs=1024k of=tstfile count=1024' read test: sh -c 'time -h dd if=tstfile bs=1024k of=/dev/null' Each test is run seperately. I monitor CPU usage via top in a seperate terminal and monitor `iostat -w 1` in yet another terminal. Here is the result of the write test: 1024+0 records in 1024+0 records out 1073741824 bytes transferred in 498.681822 secs (2153160 bytes/sec) 8m19.03s real 0.01s user 17.41s sys CPU varied during this test, but I'd guess that I averaged 50% idle or more. This is typically what the dd process looked like in top: 45270 root -18 0 2268K 1128K wdrain 0:03 3.16% 3.03% dd Here is some of the iostat output I get during the write test: ------------------------------------------------------- tty amrd0 cd0 sa0 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 227 60.05 41 2.38 0.00 0 0.00 0.00 0 0.00 56 0 42 2 0 3 6142 53.31 49 2.53 0.00 0 0.00 0.00 0 0.00 26 0 16 2 57 0 377 71.95 38 2.64 0.00 0 0.00 0.00 0 0.00 1 0 7 2 91 0 369 88.18 34 2.90 0.00 0 0.00 0.00 0 0.00 1 0 5 0 95 0 341 57.42 38 2.11 0.00 0 0.00 0.00 0 0.00 1 0 5 1 93 0 2285 58.48 42 2.37 0.00 0 0.00 0.00 0 0.00 1 0 10 1 88 0 2420 79.33 36 2.76 0.00 0 0.00 0.00 0 0.00 0 0 5 0 95 0 2393 88.24 34 2.89 0.00 0 0.00 0.00 0 0.00 2 0 7 0 92 0 337 58.29 42 2.37 0.00 0 0.00 0.00 0 0.00 4 0 10 0 86 0 354 70.91 35 2.40 0.00 0 0.00 0.00 0 0.00 3 0 6 2 89 0 419 50.91 44 2.17 0.00 0 0.00 0.00 0 0.00 3 0 6 0 91 0 76 39.90 60 2.35 0.00 0 0.00 0.00 0 0.00 12 0 10 0 78 0 1181 60.49 44 2.61 0.00 0 0.00 0.00 0 0.00 19 0 42 2 36 0 76 96.00 31 2.88 0.00 0 0.00 0.00 0 0.00 40 0 49 0 12 0 2629 68.82 39 2.60 0.00 0 0.00 0.00 0 0.00 35 0 13 2 51 0 416 77.73 30 2.25 0.00 0 0.00 0.00 0 0.00 1 0 9 0 91 0 2509 88.77 26 2.23 0.00 0 0.00 0.00 0 0.00 1 0 5 1 94 0 299 35.26 53 1.84 0.00 0 0.00 0.00 0 0.00 0 0 5 1 94 0 2417 27.12 72 1.91 0.00 0 0.00 0.00 0 0.00 4 0 3 0 93 0 2463 22.20 81 1.76 0.00 0 0.00 0.00 0 0.00 11 0 14 0 75 ------------------------------------------------------- Any ideas on why I can't throughput more than 3 MB/s? Does it have anything to do with the fact that my disks have different RPM speeds? My 5400 RPM ATA laptop hard drive (~13 MB/Sec Read and Write) gets better throughput than this RAID 5 array. Something is very wrong. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net From owner-freebsd-scsi@FreeBSD.ORG Thu Nov 6 07:49:11 2003 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 38D4116A4CE for ; Thu, 6 Nov 2003 07:49:11 -0800 (PST) Received: from msgbas2x.cos.agilent.com (msgbas2x.cos.agilent.com [192.25.240.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F90143F75 for ; Thu, 6 Nov 2003 07:49:10 -0800 (PST) (envelope-from chuck_tuffli@agilent.com) Received: from relcos2.cos.agilent.com (relcos2.cos.agilent.com [130.29.152.237]) by msgbas2x.cos.agilent.com (Postfix) with ESMTP id 6FA386459; Thu, 6 Nov 2003 08:49:09 -0700 (MST) Received: from rtl.rose.agilent.com (rtl.rose.agilent.com [130.30.179.189]) by relcos2.cos.agilent.com (Postfix) with ESMTP id 22B0E4F0; Thu, 6 Nov 2003 08:49:09 -0700 (MST) Received: from cre85086tuf.rose.agilent.com (cre85086tuf.rose.agilent.com [130.30.174.150])ESMTP id HAA10590; Thu, 6 Nov 2003 07:49:07 -0800 (PST) Received: by cre85086tuf.rose.agilent.com (Postfix, from userid 1001) id DBBEA19E1F7; Thu, 6 Nov 2003 07:51:49 -0800 (PST) Date: Thu, 6 Nov 2003 07:51:49 -0800 From: Chuck Tuffli To: Technoservice Message-ID: <20031106155149.GA90020@cre85086tuf.rose.agilent.com> References: <000b01c3a451$7f1bf230$0100000a@server> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000b01c3a451$7f1bf230$0100000a@server> User-Agent: Mutt/1.4i cc: freebsd-scsi@freebsd.org Subject: Re: problem with target mode 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 Nov 2003 15:49:11 -0000 Have you tried adding the CAMDEBUG family of options to your kernel? It's kind of a big hammer to use, but it would give you the visibility into what the CAM and XPT are/aren't doing. ---chuck On Thu, Nov 06, 2003 at 05:32:31AM -0500, Technoservice wrote: > Hi, > > I have two AHA-2940UW cards on two different machines respectively. I > named them TARGET_COMP and INITIATOR_COMP. They are connected by an > internal 50-pin SCSI cable. On TARGET_COMP machine is FreeBSD 5.1. > > When I triggered the target mode operation on the TARGET_COMP machine, > then is messages: > > "Configuring TARGET Mode > > (noperiph:ahc0:0:5:0): Lun now enable for TARGET_COMP mode" > > When I rescans the bus from the INITIATOR_COMP machine (when machine is > starting), it found nothing. On the one way, the INITIATOR_COMP did > select the target mode controller, but it got no response and returned > with time out message. On the other way, the TARGET_COMP controller > didn't capture any select request. On the other way, the INITIATOR_COMP > did select the TARGET_COMP mode controller, but it got no response and > returned message: "Improper termination or faulty cable detected. Please > rectify". In this time on TARGET_COMP machine is message: "Someone reset > channel A". This is not a cabling or termination problem. (I connected > HDD to both AHA-2940UW cards and it work properly.) > > Help me, please. > > > > Thanks, > > Vladyka Igor > > _______________________________________________ > 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" -- Chuck Tuffli Agilent Technologies, Storage Area Networking From owner-freebsd-scsi@FreeBSD.ORG Thu Nov 6 08:44:14 2003 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 ABEC216A4CF for ; Thu, 6 Nov 2003 08:44:14 -0800 (PST) Received: from chortos.wingnet.net (chortos.wingnet.net [206.30.57.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 62C6743FF2 for ; Thu, 6 Nov 2003 08:44:12 -0800 (PST) (envelope-from jesse@wingnet.net) Received: (qmail 21638 invoked by uid 3848); 6 Nov 2003 16:44:11 -0000 Received: from jesse@wingnet.net by chortos.wingnet.net by uid 1003 with qmail-scanner-1.20rc3 (clamuko: 0.60. Clear:RC:1:. Processed in 0.030308 secs); 06 Nov 2003 16:44:11 -0000 X-Qmail-Scanner-Mail-From: jesse@wingnet.net via chortos.wingnet.net X-Qmail-Scanner: 1.20rc3 (Clear:RC:1:. Processed in 0.030308 secs) Received: from makrothumia.wingnet.net (HELO 192.168.1.47) (206.30.215.5) by chortos.wingnet.net with SMTP; 6 Nov 2003 16:44:10 -0000 From: Jesse Guardiani Organization: WingNET To: "Moore, Eric Dean" Date: Thu, 6 Nov 2003 11:44:10 -0500 User-Agent: KMail/1.5.4 References: <0E3FA95632D6D047BA649F95DAB60E57035A9B8A@exa-atlanta.se.lsil.com> In-Reply-To: <0E3FA95632D6D047BA649F95DAB60E57035A9B8A@exa-atlanta.se.lsil.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311061144.10119.jesse@wingnet.net> cc: freebsd-scsi@freebsd.org Subject: Re: performance problem with amr driver and Perc 2/SC 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 Nov 2003 16:44:14 -0000 On Thursday 06 November 2003 10:58, you wrote: > Those are the optimal performance settings for > those respective raid levels. Please go into > control M and makesure those are your settings. OK. I did this, and it more than doubled my sustainable write speed! I went from this: write read 2.05 MByte/Sec 12.59 MByte/Sec To this: write read 6.31 MByte/Sec 13.49 MByte/Sec Also, my peak Write went from about 3MB/Sec to 11MB/Sec, and my peak Read went from about 13 MB/Sec to 18MB/Sec. However, this still seems slow to me for an Ultra 2 SCSI RAID-5 array. Is there anything else I can do to speed things up? More RAM on the Perc 2/SC? A different SCSI RAID controller altogether? The PowerEdge 4300 only has a 32-bit PCI bus, but I should still be able to achieve 20 MB/Sec Write and 20-40 MB/Sec Read with the right hardware, right? > If your still having issue, please contact > Atul or Rajesh as they are now maintaining this driver. > > Eric > > > On Thursday 06 November 2003 10:02, you wrote: > > > My suggestion is to go into Control M Configuration Utility: > > > > OK. I understand that. > > > > > RAID5: Write Back Cache, Normal Read Ahead, and Direct I/O > > > RAID1: Write Through Cache, Normal Read Ahead, and Direct I/O > > > > I'm not sure what you're trying to say here. As I stated in > > my original > > post, I'm running RAID5. What do you want me to do with the Write Back > > Cache, Normal Read Ahead, and Direct I/O? > > > > Thanks! > > [...] -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net From owner-freebsd-scsi@FreeBSD.ORG Thu Nov 6 09:10:59 2003 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 18FBB16A4CE for ; Thu, 6 Nov 2003 09:10:59 -0800 (PST) Received: from mail0.lsil.com (mail0.lsil.com [147.145.40.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2103C43FF9 for ; Thu, 6 Nov 2003 09:10:56 -0800 (PST) (envelope-from rajeshpr@lsil.com) Received: from mhbs.lsil.com (mhbs.lsil.com [147.145.31.100]) by mail0.lsil.com (8.12.8/8.12.8) with ESMTP id hA6H4GlS021785 for ; Thu, 6 Nov 2003 09:08:32 -0800 (PST) Received: from atl1.se.lsil.com by mhbs.lsil.com with ESMTP; Thu, 6 Nov 2003 09:10:37 -0800 Received: by exa-atlanta.se.lsil.com with Internet Mail Service (5.5.2657.72) id ; Thu, 6 Nov 2003 12:10:35 -0500 Message-Id: <0E3FA95632D6D047BA649F95DAB60E570345DE91@exa-atlanta.se.lsil.com> From: "Prabhakaran, Rajesh" To: "'Jesse Guardiani'" , "Moore, Eric Dean" Date: Thu, 6 Nov 2003 12:10:35 -0500 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: performance problem with amr driver and Perc 2/SC 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 Nov 2003 17:10:59 -0000 Even the data from our I/O performance analysis records shows similar figure. PERC 2/SC(466) IO processor has no hardware XOR engine,so their will be performance lag for RAID 5.Hence adding RAM might not help, migrating to latest U320 controller, will significantly help. -----Original Message----- From: Jesse Guardiani [mailto:jesse@wingnet.net] Sent: Thursday, November 06, 2003 11:44 AM To: Moore, Eric Dean Cc: freebsd-scsi@freebsd.org Subject: Re: performance problem with amr driver and Perc 2/SC On Thursday 06 November 2003 10:58, you wrote: > Those are the optimal performance settings for > those respective raid levels. Please go into > control M and makesure those are your settings. OK. I did this, and it more than doubled my sustainable write speed! I went from this: write read 2.05 MByte/Sec 12.59 MByte/Sec To this: write read 6.31 MByte/Sec 13.49 MByte/Sec Also, my peak Write went from about 3MB/Sec to 11MB/Sec, and my peak Read went from about 13 MB/Sec to 18MB/Sec. However, this still seems slow to me for an Ultra 2 SCSI RAID-5 array. Is there anything else I can do to speed things up? More RAM on the Perc 2/SC? A different SCSI RAID controller altogether? The PowerEdge 4300 only has a 32-bit PCI bus, but I should still be able to achieve 20 MB/Sec Write and 20-40 MB/Sec Read with the right hardware, right? > If your still having issue, please contact > Atul or Rajesh as they are now maintaining this driver. > > Eric > > > On Thursday 06 November 2003 10:02, you wrote: > > > My suggestion is to go into Control M Configuration Utility: > > > > OK. I understand that. > > > > > RAID5: Write Back Cache, Normal Read Ahead, and Direct I/O > > > RAID1: Write Through Cache, Normal Read Ahead, and Direct I/O > > > > I'm not sure what you're trying to say here. As I stated in > > my original > > post, I'm running RAID5. What do you want me to do with the Write Back > > Cache, Normal Read Ahead, and Direct I/O? > > > > Thanks! > > [...] -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net _______________________________________________ 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 Thu Nov 6 11:35:23 2003 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 C640E16A4CE for ; Thu, 6 Nov 2003 11:35:23 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24CE743FF5 for ; Thu, 6 Nov 2003 11:35:22 -0800 (PST) (envelope-from freebsd-scsi@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AHpua-0006Qb-00 for ; Thu, 06 Nov 2003 20:35:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-scsi@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AHpuY-0006QT-00 for ; Thu, 06 Nov 2003 20:35:18 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AHpuY-00042b-00 for ; Thu, 06 Nov 2003 20:35:18 +0100 From: Jesse Guardiani Date: Thu, 06 Nov 2003 14:35:10 -0500 Organization: WingNET Lines: 31 Message-ID: References: <0E3FA95632D6D047BA649F95DAB60E570345DE91@exa-atlanta.se.lsil.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org User-Agent: KNode/0.7.2 X-Mail-Copies-To: never Sender: news Subject: RE: performance problem with amr driver and Perc 2/SC X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 19:35:23 -0000 Prabhakaran, Rajesh wrote: > > Even the data from our I/O performance analysis records shows similar > figure. > PERC 2/SC(466) IO processor has no hardware XOR engine,so their will be > performance lag for RAID 5.Hence adding RAM might not help, migrating to > latest U320 controller, will significantly help. Well, if I DO migrate to a new controller, I'll need to backup my array and reconstruct/reformat it with the new controller, right? So if I'm going to take the time to buy a new controller and reconstruct my array, I might as well get a product that supports FreeBSD with array monitoring and control command line utilities. Does lsilogic offer FreeBSD monitoring and control utilities for the U320 (or similar) controller? And if so, what other controller have you offered in the past that will make full use of my drives? I don't really need a u320 controller. I just need a reliable, high performance SCSI 80 or 160 controller that does RAID 5. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net From owner-freebsd-scsi@FreeBSD.ORG Thu Nov 6 13:22:00 2003 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 B4B8416A4CE for ; Thu, 6 Nov 2003 13:22:00 -0800 (PST) Received: from mail0.lsil.com (mail0.lsil.com [147.145.40.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4C6D43FE3 for ; Thu, 6 Nov 2003 13:21:59 -0800 (PST) (envelope-from rajeshpr@lsil.com) Received: from mhbs.lsil.com (mhbs.lsil.com [147.145.31.100]) by mail0.lsil.com (8.12.8/8.12.8) with ESMTP id hA6LJJ6v001591 for ; Thu, 6 Nov 2003 13:19:36 -0800 (PST) Received: from atl1.se.lsil.com by mhbs.lsil.com with ESMTP for freebsd-scsi@freebsd.org; Thu, 6 Nov 2003 13:21:23 -0800 Received: by exa-atlanta.se.lsil.com with Internet Mail Service (5.5.2657.72) id ; Thu, 6 Nov 2003 16:21:22 -0500 Message-Id: <0E3FA95632D6D047BA649F95DAB60E570345DE92@exa-atlanta.se.lsil.com> From: "Prabhakaran, Rajesh" To: freebsd-scsi@freebsd.org Date: Thu, 6 Nov 2003 16:21:21 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: RE: performance problem with amr driver and Perc 2/SC 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 Nov 2003 21:22:00 -0000 If you swap with the newer MegaRAID controller, fw will recognize the legacy array, user just to need to save the disk array configuration. For additional information, please refer to http://www.lsilogic.com/products/stor_prod/raid/index.html. And driver may be found at FreeBSD CVS respiratory. -----Original Message----- From: Jesse Guardiani [mailto:jesse@wingnet.net] Sent: Thursday, November 06, 2003 2:35 PM To: freebsd-scsi@freebsd.org Subject: RE: performance problem with amr driver and Perc 2/SC Prabhakaran, Rajesh wrote: > > Even the data from our I/O performance analysis records shows similar > figure. > PERC 2/SC(466) IO processor has no hardware XOR engine,so their will be > performance lag for RAID 5.Hence adding RAM might not help, migrating to > latest U320 controller, will significantly help. Well, if I DO migrate to a new controller, I'll need to backup my array and reconstruct/reformat it with the new controller, right? So if I'm going to take the time to buy a new controller and reconstruct my array, I might as well get a product that supports FreeBSD with array monitoring and control command line utilities. Does lsilogic offer FreeBSD monitoring and control utilities for the U320 (or similar) controller? And if so, what other controller have you offered in the past that will make full use of my drives? I don't really need a u320 controller. I just need a reliable, high performance SCSI 80 or 160 controller that does RAID 5. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net _______________________________________________ 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 Thu Nov 6 14:51:06 2003 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 5B48416A4CE for ; Thu, 6 Nov 2003 14:51:06 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DBBB43FBD for ; Thu, 6 Nov 2003 14:51:03 -0800 (PST) (envelope-from freebsd-scsi@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AHsxy-0000xq-00 for ; Thu, 06 Nov 2003 23:51:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-scsi@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AHsxw-0000xY-00 for ; Thu, 06 Nov 2003 23:51:00 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AHsxw-000087-00 for ; Thu, 06 Nov 2003 23:51:00 +0100 From: Jesse Guardiani Date: Thu, 06 Nov 2003 17:50:59 -0500 Organization: WingNET Lines: 20 Message-ID: References: <0E3FA95632D6D047BA649F95DAB60E570345DE92@exa-atlanta.se.lsil.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org User-Agent: KNode/0.7.2 X-Mail-Copies-To: never Sender: news Subject: RE: performance problem with amr driver and Perc 2/SC X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 22:51:06 -0000 Prabhakaran, Rajesh wrote: > > > If you swap with the newer MegaRAID controller, fw will recognize the > legacy array, user just to need to save the disk array configuration. For > additional information, please refer to > http://www.lsilogic.com/products/stor_prod/raid/index.html. And driver may > be found at FreeBSD CVS respiratory. Does it use the standard amr driver? Are there any management tools available? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net From owner-freebsd-scsi@FreeBSD.ORG Thu Nov 6 15:22:43 2003 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 6AB8D16A4CE for ; Thu, 6 Nov 2003 15:22:43 -0800 (PST) Received: from mail0.lsil.com (mail0.lsil.com [147.145.40.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3B7143FE1 for ; Thu, 6 Nov 2003 15:22:42 -0800 (PST) (envelope-from emoore@lsil.com) Received: from mhbs.lsil.com (mhbs.lsil.com [147.145.31.100]) by mail0.lsil.com (8.12.8/8.12.8) with ESMTP id hA6NJH7f018790 for ; Thu, 6 Nov 2003 15:20:19 -0800 (PST) Received: from atl1.se.lsil.com by mhbs.lsil.com with ESMTP; Thu, 6 Nov 2003 15:22:21 -0800 Received: by exa-atlanta.se.lsil.com with Internet Mail Service (5.5.2657.72) id ; Thu, 6 Nov 2003 18:22:18 -0500 Message-Id: <0E3FA95632D6D047BA649F95DAB60E57035A9C55@exa-atlanta.se.lsil.com> From: "Moore, Eric Dean" To: jesse@wingnet.net, freebsd-scsi@freebsd.org Date: Thu, 6 Nov 2003 18:22:17 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: RE: performance problem with amr driver and Perc 2/SC 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 Nov 2003 23:22:43 -0000 Some MegaRAID tools are here, but probally not supported. http://people.freebsd.org/~emoore/MegaRAID_SCSI/ On Thursday, November 06, 2003 3:51 PM, Jesse Guardiani wrote: > > Prabhakaran, Rajesh wrote: > > > > > > > If you swap with the newer MegaRAID controller, fw will > recognize the > > legacy array, user just to need to save the disk array > configuration. For > > additional information, please refer to > > http://www.lsilogic.com/products/stor_prod/raid/index.html. > And driver may > > be found at FreeBSD CVS respiratory. > > Does it use the standard amr driver? Are there any management tools > available? > > -- > Jesse Guardiani, Systems Administrator > WingNET Internet Services, > P.O. Box 2605 // Cleveland, TN 37320-2605 > 423-559-LINK (v) 423-559-5145 (f) > http://www.wingnet.net > > > _______________________________________________ > 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 Nov 7 05:46:47 2003 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 8BB8716A4CE for ; Fri, 7 Nov 2003 05:46:47 -0800 (PST) Received: from omega.uar.net (Omega.UAR.Net [194.44.214.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AA4643FE9 for ; Fri, 7 Nov 2003 05:46:45 -0800 (PST) (envelope-from technoservice@mail.lviv.ua) Received: from localhost (localhost [127.0.0.1]) by omega.uar.net (8.12.10/8.12.9) with ESMTP id hA7DkUen089944; Fri, 7 Nov 2003 15:46:30 +0200 (EET) Received: from omega.uar.net ([127.0.0.1]) by localhost (omega.uar.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 79145-03-4; Fri, 7 Nov 2003 15:46:18 +0200 (EET) Received: from server ([194.44.243.240]) by omega.uar.net (8.12.10/8.12.9) with SMTP id hA7DjGAf088028; Fri, 7 Nov 2003 15:45:18 +0200 (EET) Message-ID: <000b01c3a535$7e9c2d40$0100000a@server> From: "Technoservice" To: "Chuck Tuffli" References: <000b01c3a451$7f1bf230$0100000a@server> <20031106155149.GA90020@cre85086tuf.rose.agilent.com> Date: Fri, 7 Nov 2003 15:44:46 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 cc: freebsd-scsi@freebsd.org Subject: Re: problem with target mode 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 Nov 2003 13:46:47 -0000 Hi, I added CAMDEBUG family of options to my kernel. Here is the /var/log/messages output: ... Nov 7 11:38:04 tsproxy kernel: ahc0: port 0xe000-0xe0ff mem 0xdd001000-0xdd001fff irq 5 at device 19.0 on pci0 Nov 7 11:38:04 tsproxy kernel: aic7880: Ultra Wide Channel A, SCSI Id=5, 16/253 SCBs ... Nov 7 11:39:08 tsproxy kernel: Configuring Target Mode Nov 7 11:39:08 tsproxy kernel: (noperiph:ahc0:0:3:0): xpt_compile_path Nov 7 11:39:08 tsproxy kernel: (noperiph:ahc0:0:3:0): Lun now enabled for target mode Nov 7 11:39:08 tsproxy kernel: (noperiph:ahc0:0:3:0): xpt_done Nov 7 11:39:08 tsproxy kernel: (noperiph:ahc0:0:3:0): xpt_free_path Nov 7 11:39:08 tsproxy kernel: (noperiph:ahc0:0:3:0): xpt_release_path Nov 7 11:39:08 tsproxy kernel: (targ0:ahc0:0:3:0): xpt_setup_ccb Nov 7 11:39:08 tsproxy kernel: (targ0:ahc0:0:3:0): xpt_action Nov 7 11:39:08 tsproxy kernel: (xpt0:ahc0:0:3:0): debugging flags now 20 Nov 7 11:39:08 tsproxy kernel: (targ0:ahc0:0:3:0): write - uio_resid 4 Nov 7 11:39:08 tsproxy kernel: (targ0:ahc0:0:3:0): Sending inline ccb 0x4 (0xbfbff9e0) Nov 7 11:39:08 tsproxy kernel: (targ0:ahc0:0:3:0): getccb 0xc1414a00 Nov 7 11:39:08 tsproxy kernel: (targ0:ahc0:0:3:0): sendccb 0xc1414a00 Nov 7 11:39:08 tsproxy kernel: (targ0:ahc0:0:3:0): targreturnccb 0xc1414a00 Nov 7 11:39:08 tsproxy kernel: cam_debug: targfreeccb descr 0xc09fa420 and Nov 7 11:39:08 tsproxy kernel: cam_debug: freeing ccb 0xc1414a00 Nov 7 11:39:08 tsproxy kernel: (targ0:ahc0:0:3:0): write - uio_resid 4 | Nov 7 11:39:08 tsproxy kernel: (targ0:ahc0:0:3:0): getccb 0xc1503100 | it repeat 32 times Nov 7 11:39:08 tsproxy kernel: (targ0:ahc0:0:3:0): Sent ATIO/INOT (0x804f000) | ... //I started program scsi_target Nov 7 11:39:17 tsproxy kernel: ahc0: Someone reset channel A Nov 7 11:39:17 tsproxy kernel: (targ0:ahc0:0:3:0): targdone 0xc1504e00 Nov 7 11:39:17 tsproxy kernel: (targ0:ahc0:0:3:0): targread Nov 7 11:39:17 tsproxy kernel: (targ0:ahc0:0:3:0): targread ccb 0xc1504e00 (0x8055f00) Nov 7 11:39:17 tsproxy kernel: (targ0:ahc0:0:3:0): targreturnccb 0xc1504e00 Nov 7 11:39:17 tsproxy kernel: cam_debug: targfreeccb descr 0xc127b960 and Nov 7 11:39:17 tsproxy kernel: cam_debug: freeing ccb 0xc1504e00 | Nov 7 11:39:17 tsproxy kernel: (targ0:ahc0:0:3:0): write - uio_resid 4 | Nov 7 11:39:17 tsproxy kernel: (targ0:ahc0:0:3:0): Sending inline ccb 0x10 (0xbfbff810) | Nov 7 11:39:17 tsproxy kernel: (targ0:ahc0:0:3:0): getccb 0xc1533200 | Nov 7 11:39:17 tsproxy kernel: (targ0:ahc0:0:3:0): Changing abort for 0x804f000 to 0xc1503100 | it repeat 32 times Nov 7 11:39:17 tsproxy kernel: (targ0:ahc0:0:3:0): sendccb 0xc1533200 | Nov 7 11:39:17 tsproxy kernel: (targ0:ahc0:0:3:0): targreturnccb 0xc1533200 | Nov 7 11:39:19 tsproxy kernel: cam_debug: targfreeccb descr 0xc127b300 and | ... Nov 7 11:39:19 tsproxy kernel: cam_debug: freeing ccb 0xc13f7e00 | Nov 7 11:39:19 tsproxy kernel: (targ0:ahc0:0:3:0): targread | Nov 7 11:39:19 tsproxy kernel: (targ0:ahc0:0:3:0): targread ccb 0xc1503100 (0x804f000) |it repeat 32 times Nov 7 11:39:19 tsproxy kernel: (targ0:ahc0:0:3:0): targreturnccb 0xc1503100 | Nov 7 11:39:19 tsproxy kernel: cam_debug: targfreeccb descr 0xc09fa440 and | ... Nov 7 11:39:19 tsproxy kernel: cam_debug: freeing ccb 0xc157e000 Nov 7 11:39:19 tsproxy kernel: (targ0:ahc0:0:3:0): write - uio_resid 4 Nov 7 11:39:19 tsproxy kernel: (targ0:ahc0:0:3:0): getccb 0xc1504900 Nov 7 11:39:19 tsproxy kernel: (targ0:ahc0:0:3:0): Sent ATIO/INOT (0x804ff00) Nov 7 11:39:19 tsproxy kernel: (targ0:ahc0:0:3:0): targread Nov 7 11:39:19 tsproxy kernel: (targ0:ahc0:0:3:0): targread ccb 0xc157de00 (0x8055000) | Nov 7 11:39:19 tsproxy kernel: (targ0:ahc0:0:3:0): targreturnccb 0xc157de00 |it repeat 15 times Nov 7 11:39:19 tsproxy kernel: cam_debug: targfreeccb descr 0xc127bb60 and | Nov 7 11:39:19 tsproxy kernel: cam_debug: freeing ccb 0xc157de00 | ... Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): write - uio_resid 4 | Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): getccb 0xc157dc00 |it repeat 16 times Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): Sent ATIO/INOT (0x8055d00) | ... Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): write - uio_resid 4 Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): Sending queued ccb 0x933 (0x8056200) Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): targstart 0xc12b1800 Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): sendccb 0xc12b1800 Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): write - uio_resid 4 Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): Sending queued ccb 0x933 (0x8056300) ... Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): write - uio_resid 4 | Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): getccb 0xc1503000 |it repeat 11 times Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): Sent ATIO/INOT (0x804f800) | ... Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): write - uio_resid 4 Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): getccb 0xc157d000 Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): Sent ATIO/INOT (0x8055e00) Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): targdone 0xc12b1800 Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): targread Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): targread ccb 0xc12b1800 (0x8056200) Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): targreturnccb 0xc12b1800 Nov 7 11:39:20 tsproxy kernel: cam_debug: targfreeccb descr 0xc127b860 and Nov 7 11:39:20 tsproxy kernel: cam_debug: returning queued ccb 0xc12b1800 Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): targstart 0xc12b1800 Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): sendccb 0xc12b1800 Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): write - uio_resid 4 Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): getccb 0xc157d100 Nov 7 11:39:20 tsproxy kernel: (targ0:ahc0:0:3:0): Sent ATIO/INOT (0x804f400) Nov 7 11:39:25 tsproxy kernel: (targ0:ahc0:0:3:0): targdone 0xc157d100 Nov 7 11:39:25 tsproxy kernel: (targ0:ahc0:0:3:0): targread Nov 7 11:39:25 tsproxy kernel: (targ0:ahc0:0:3:0): targread ccb 0xc157d100 (0x804f400) Nov 7 11:39:25 tsproxy kernel: (targ0:ahc0:0:3:0): targreturnccb 0xc157d100 Nov 7 11:39:25 tsproxy kernel: cam_debug: targfreeccb descr 0xc09fa420 and Nov 7 11:39:25 tsproxy kernel: cam_debug: freeing ccb 0xc157d100 Nov 7 11:39:25 tsproxy kernel: (targ0:ahc0:0:3:0): write - uio_resid 4 Nov 7 11:39:25 tsproxy kernel: (targ0:ahc0:0:3:0): Sending queued ccb 0x933 (0x8056200) Nov 7 11:40:55 tsproxy kernel: (targ0:ahc0:0:3:0): Target mode disabled Nov 7 11:40:55 tsproxy kernel: Configuring Initiator Mode Thanks, Vladyka Igor. ----- Original Message ----- From: "Chuck Tuffli" To: "Technoservice" Cc: Sent: Thursday, November 06, 2003 5:51 PM Subject: Re: problem with target mode > Have you tried adding the CAMDEBUG family of options to your kernel? > It's kind of a big hammer to use, but it would give you the visibility > into what the CAM and XPT are/aren't doing. > > ---chuck > > On Thu, Nov 06, 2003 at 05:32:31AM -0500, Technoservice wrote: > > Hi, > > > > I have two AHA-2940UW cards on two different machines respectively. I > > named them TARGET_COMP and INITIATOR_COMP. They are connected by an > > internal 50-pin SCSI cable. On TARGET_COMP machine is FreeBSD 5.1. > > > > When I triggered the target mode operation on the TARGET_COMP machine, > > then is messages: > > > > "Configuring TARGET Mode > > > > (noperiph:ahc0:0:5:0): Lun now enable for TARGET_COMP mode" > > > > When I rescans the bus from the INITIATOR_COMP machine (when machine is > > starting), it found nothing. On the one way, the INITIATOR_COMP did > > select the target mode controller, but it got no response and returned > > with time out message. On the other way, the TARGET_COMP controller > > didn't capture any select request. On the other way, the INITIATOR_COMP > > did select the TARGET_COMP mode controller, but it got no response and > > returned message: "Improper termination or faulty cable detected. Please > > rectify". In this time on TARGET_COMP machine is message: "Someone reset > > channel A". This is not a cabling or termination problem. (I connected > > HDD to both AHA-2940UW cards and it work properly.) > > > > Help me, please. > > > > > > > > Thanks, > > > > Vladyka Igor > > > > _______________________________________________ > > 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" > > -- > Chuck Tuffli > Agilent Technologies, Storage Area Networking