From owner-freebsd-scsi@FreeBSD.ORG Sun May 16 11:23:00 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0787916A4CE for ; Sun, 16 May 2004 11:23:00 -0700 (PDT) Received: from mk-smarthost-1.mail.uk.tiscali.com (mk-smarthost-1.mail.uk.tiscali.com [212.74.114.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ED4A43D3F for ; Sun, 16 May 2004 11:22:59 -0700 (PDT) (envelope-from thegreenwoodfamily@tiscali.co.uk) Received: from [80.44.236.139] (port=1057 helo=oemcomputer) by mk-smarthost-1.mail.uk.tiscali.com with smtp (Exim 4.30) id 1BPQHp-0000m4-Jm for freebsd-scsi@freebsd.org; Sun, 16 May 2004 19:22:57 +0100 Message-ID: <000b01c43b72$f2e4adc0$8bec2c50@oemcomputer> From: "ARNOLD GREENWOOD" To: Date: Sun, 16 May 2004 19:23:30 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Mini Data Drive X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 May 2004 18:23:00 -0000 Hello I can't get my Mini Data Drive to work on Windows 98. The drive for this is \FREEDIK\WIN98\ on the soft ware provided but = nothing happens. Can you please advise. Regards Arnold Greenwood From owner-freebsd-scsi@FreeBSD.ORG Sun May 16 11:45:43 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25BEC16A4CE for ; Sun, 16 May 2004 11:45:43 -0700 (PDT) Received: from ran.psg.com (ip166.usw253.dsl-acs2.sea.iinet.com [209.20.253.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id E730F43D48 for ; Sun, 16 May 2004 11:45:42 -0700 (PDT) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=ran.psg.com.psg.com) by ran.psg.com with esmtp (Exim 4.32; FreeBSD) id 1BPQdj-000Ixq-2k; Sun, 16 May 2004 11:45:35 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16551.46798.573683.417409@ran.psg.com> Date: Sun, 16 May 2004 11:45:34 -0700 To: "ARNOLD GREENWOOD" References: <000b01c43b72$f2e4adc0$8bec2c50@oemcomputer> cc: freebsd-scsi@freebsd.org Subject: Re: Mini Data Drive X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 May 2004 18:45:43 -0000 > I can't get my Mini Data Drive to work on Windows 98. install freebsd! From owner-freebsd-scsi@FreeBSD.ORG Mon May 17 00:08:56 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B93C16A4CE for ; Mon, 17 May 2004 00:08:56 -0700 (PDT) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2547B43D5C for ; Mon, 17 May 2004 00:08:54 -0700 (PDT) (envelope-from eugen@kuzbass.ru) Received: from kuzbass.ru (kost [213.184.65.82])i4H78oj8044862; Mon, 17 May 2004 15:08:50 +0800 (KRAST) (envelope-from eugen@kuzbass.ru) Message-ID: <40A864ED.EFD0367D@kuzbass.ru> Date: Mon, 17 May 2004 15:08:29 +0800 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.8 [en] (Win98; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Subject: AIC7902 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, 17 May 2004 07:08:56 -0000 Hi! There are lot of reports about several kinds of trouble using SCSI controller AIC7902: http://www.freebsd.org/cgi/query-pr.cgi?pr=52668 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=56944 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=59166 The problem seems to be resolved in 5.x. What about 4.x? Eugene Grosbein P.S. Please CC: me, I'm not in the list yet. From owner-freebsd-scsi@FreeBSD.ORG Mon May 17 20:02:09 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E784316A4CE for ; Mon, 17 May 2004 20:02:09 -0700 (PDT) Received: from rd.accusys.com.tw (202-145-73-153.adsl.ttn.net [202.145.73.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64B8543D54 for ; Mon, 17 May 2004 20:01:15 -0700 (PDT) (envelope-from xenia@rd.accusys.com.tw) Received: from xenia ([10.10.1.212]) by rd.accusys.com.tw (8.11.2/8.11.2) with ESMTP id i4I3B6x26707 for ; Tue, 18 May 2004 11:11:36 +0800 From: "Hsiang-Yi Huang" To: Date: Tue, 18 May 2004 10:59:20 +0800 Message-ID: <000001c43c84$30536d60$d4010a0a@xenia> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: SCSI debug messages in FreeBSD 4.6 and 5.1 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: xenia@rd.accusys.com.tw List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2004 03:02:10 -0000 Here is what I got when I try to get data through SCSI card...what's wrong??? May 17 09:44:44 kernel: >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<< May 17 09:44:44 kernel: ahd0: Dumping Card State at program address 0x2c Mode 0x22 May 17 09:44:44 kernel: Card was paused May 17 09:44:44 kernel: HS_MAILBOX[0x0] INTCTL[0x80]:(SWTMINTMASK) SEQINTSTAT[0x0] May 17 09:44:44 kernel: SAVED_MODE[0x11] DFFSTAT[0x11]:(CURRFIFO_1|FIFO0FREE) May 17 09:44:44 kernel: SCSISIGI[0x0]:(P_DATAOUT) SCSIPHASE[0x0] SCSIBUS[0x0] May 17 09:44:44 kernel: LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) SCSISEQ0[0x0] May 17 09:44:44 kernel: SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) SEQCTL0[0x10]:(FASTMODE) May 17 09:44:44 kernel: SEQINTCTL[0x10]:(SCS_SEQ_INT1M1) SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] May 17 09:44:44 kernel: SSTAT0[0x0] SSTAT1[0x8]:(BUSFREE) SSTAT2[0x0] SSTAT3[0x0] May 17 09:44:44 kernel: PERRDIAG[0xc0]:(HIPERR|HIZERO) SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) May 17 09:44:44 kernel: LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x1]:(LQIGSAVAIL) May 17 09:44:44 kernel: LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0x1]:(LQOSTOP0) May 17 09:44:44 kernel: May 17 09:44:44 kernel: SCB Count = 16 CMDS_PENDING = 3 LASTSCB 0x2 CURRSCB 0x2 NEXTSCB 0x0 May 17 09:44:44 kernel: qinstart = 92 qinfifonext = 92 May 17 09:44:44 kernel: QINFIFO: May 17 09:44:44 kernel: WAITING_TID_QUEUES: May 17 09:44:44 kernel: Pending list: May 17 09:44:44 kernel: 2 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x7] May 17 09:44:44 kernel: Total 1 May 17 09:44:44 kernel: Kernel Free SCB list: 1 15 3 4 5 6 7 8 9 10 11 12 13 14 0 May 17 09:44:44 kernel: Sequencer Complete DMA-inprog list: May 17 09:44:44 kernel: Sequencer Complete list: May 17 09:44:44 kernel: Sequencer DMA-Up and Complete list: May 17 09:44:44 kernel: May 17 09:44:44 kernel: ahd0: FIFO0 Free, LONGJMP == 0x80ff, SCB 0x0 May 17 09:44:44 kernel: SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA |ENSAVEPTRS) May 17 09:44:44 kernel: SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) May 17 09:44:44 kernel: SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] May 17 09:44:44 kernel: SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 May 17 09:44:44 kernel: HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x0] May 17 09:44:44 kernel: ahd0: FIFO1 Active, LONGJMP == 0x8277, SCB 0x2 May 17 09:44:44 kernel: SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA |ENSAVEPTRS) May 17 09:44:44 kernel: SEQINTSRC[0x10]:(CFG4DATA) DFCNTRL[0x0] DFSTATUS[0x88]:(HDONE|PRELOAD_AVAIL) May 17 09:44:44 kernel: SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] May 17 09:44:44 kernel: SOFFCNT[0x0] MDFFSTAT[0x6]:(DATAINFIFO|DLZERO) SHADDR = 0x0200, SHCNT = 0xfffe00 May 17 09:44:44 kernel: HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) May 17 09:44:44 kernel: LQIN: 0x8 0x0 0x0 0x2 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 May 17 09:44:44 kernel: ahd0: LQISTATE = 0x0, LQOSTATE = 0x0, OPTIONMODE = 0x42 May 17 09:44:44 kernel: ahd0: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x1 May 17 09:44:44 kernel: May 17 09:44:44 kernel: SIMODE0[0xc]:(ENOVERRUN|ENIOERR) May 17 09:44:44 kernel: CCSCBCTL[0x4]:(CCSCBDIR) May 17 09:44:44 kernel: ahd0: REG0 == 0x2, SINDEX = 0x122, DINDEX = 0x102 May 17 09:44:44 kernel: ahd0: SCBPTR == 0xff02, SCB_NEXT == 0xff00, SCB_NEXT2 == 0x0 May 17 09:44:44 kernel: CDB 2 1 0 0 0 0 May 17 09:44:44 kernel: STACK: 0x15 0x125 0x125 0x125 0x25e 0x25e 0x25e 0x29 May 17 09:44:44 kernel: <<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> May 17 09:44:59 kernel: (pass0:ahd0:0:0:0): SCB 0x2 - timed out What I try to do is writing a program which can pull some data and information from a device through a SCSI card. And the program works fine for Solaris and Red Hat Linux but when I tried my program in FreeBSD 4.6 and 5.1, I got this message. What should I do??? From owner-freebsd-scsi@FreeBSD.ORG Tue May 18 08:45:24 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6811516A4CE for ; Tue, 18 May 2004 08:45:24 -0700 (PDT) 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 04CEB43D41 for ; Tue, 18 May 2004 08:45:23 -0700 (PDT) (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)i4IFjM2x061218 for ; Tue, 18 May 2004 11:45:22 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id i4IFjM5u041402 for ; Tue, 18 May 2004 11:45:22 -0400 (EDT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)i4IFjMxK041401 for freebsd-scsi@freebsd.org; Tue, 18 May 2004 11:45:22 -0400 (EDT) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200405181545.i4IFjMxK041401@himinbjorg.tucs-beachin-obx-house.com> To: freebsd-scsi@freebsd.org Date: Tue, 18 May 2004 11:45:22 -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: Three times a charm 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, 18 May 2004 15:45:24 -0000 Hi, Anyone? I've been trying to get this configured for a demo news server.... I'm totally stuck. Any thoughts, or am I SOL? If this is FAQ, then atleast yell at me for that. Having a SCSI Geometry issue on a 5.2.1-RELEASE-p4 system. It has a Symbios SDMS PCI SCSI, 53C1010-66 adapter that shows up as : sym0: <1010-66> port 0xa000-0xa0ff mem 0xf6000000-0xf6001fff,0xf6800000-0xf68003 ff irq 25 at device 5.0 on pci1 sym0: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: handling phase mismatch from SCRIPTS. And to it I'm connecting an EasyRaid II RAID box. There is LITTLE I can configure on it, basically termination, SCSI ID, and Raid 0/1/0+1/3/5 and thats pretty much it. When the system boots, the splash screen claims the geometry is 1024/255/63 at 40M sync, and 16 wide. In the controller I've used "Alternate CHS Mapping" and "SCSI Plug and Play Mapping" without any differences. When FreeBSD boots, it sees : (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. da0 at sym1 bus 0 target 3 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 1060184MB (2171256832 512 byte sectors: 255H 63S/T 135154C) When I try to /stand/sysinstall it, fdisk pitches a serious fit about it. What can I do to get this configured properly? It seems that if I bring it down to RAID-1+0, it configures up fine (Not sure what the geometry shows as, sorry). Thanks, Tuc From owner-freebsd-scsi@FreeBSD.ORG Tue May 18 16:07:07 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99E6F16A4CE; Tue, 18 May 2004 16:07:07 -0700 (PDT) Received: from bremen.shuttle.de (bremen.shuttle.de [194.95.249.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AD8E43E32; Tue, 18 May 2004 10:58:40 -0700 (PDT) (envelope-from schweikh@schweikhardt.net) Received: by bremen.shuttle.de (Postfix, from userid 10) id 17B2D3BC9F; Tue, 18 May 2004 19:58:18 +0200 (CEST) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) i4IIwl93003943; Tue, 18 May 2004 20:58:47 +0200 (CEST) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost)i4IIwlpE003942; Tue, 18 May 2004 20:58:47 +0200 (CEST) (envelope-from schweikh) Date: Tue, 18 May 2004 20:58:47 +0200 From: Jens Schweikhardt To: "Justin T. Gibbs" Message-ID: <20040518185847.GA3514@schweikhardt.net> References: <40A26356.409@freebsd.org> <20040512183231.GB3137@schweikhardt.net> <20040512190429.GA1315@schweikhardt.net> <40A27607.9040801@freebsd.org> <20040512191949.GA1016@schweikhardt.net> <2991245408.1084458741@aslan.scsiguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2991245408.1084458741@aslan.scsiguy.com> User-Agent: Mutt/1.5.6i cc: freebsd-scsi@freebsd.org Subject: Re: 2120S Stripe - abysmal performance 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, 18 May 2004 23:07:07 -0000 On Thu, May 13, 2004 at 08:32:21AM -0600, Justin T. Gibbs wrote: # > On Wed, May 12, 2004 at 01:07:51PM -0600, Scott Long wrote: # > ... # ># Something on the SCSI bus is very unhappy. What drives are they? What # ># firmware rev? # > # > 2 Fujitsu MAP3367NP with fw 0105. They've been working for a year # > on my 29160 without a hitch. # # At U320 speeds, I believe you need 0107 or better to have these # drives work. You should contact Fujitsu to ensure you have the # latest firmware. Okay, I contacted Fujitsu and now I have 0108 on both MAPs (quick answer from their German web support mail form, thanks Fujitsu!). Indeed my SCSI bus appears happy now. No more resets or other errors. I configured all IDs for U320 again. However, configuring a RAID 0 with both MAPs on the 2120S as the only drives still gives a sustained read rate of 65MB/s (constant over the whole stripe), while a single drive on the 29160 peaks at just over 70MB/s and drops to 40 at the inner cyls. I played around with the read cache, which has NO effect (unlike Scott explained elsethread). I also tried the TUNING tips from aac(4), e.g. hw.aac.iosize_max=96*1024 in /boot/loader.conf, also no noticeable change in performance. Should the 2120S be able to deliver more? With a vinum stripe I get 100MB/s. This is on a system with only 33MHz/32bit PCI (Asus A7N8X), and both of 29160 and 2120S. Somehow I get a feeling I'm hitting some limit that's just half the theoretical PCI bandwith of 133MB/s. Should I remove the 29160 (with just a slow CDROM) and try again? Is an update in order for the controller? AAC0> controller details Executing: controller details Controller Information ---------------------- Remote Computer: S Device Name: S Controller Type: No Info Access Mode: READ-WRITE Controller Serial Number: Last Six Digits = BA12C0 Number of Buses: 1 Devices per Bus: 15 Controller CPU: i960 R series Controller CPU Speed: 100 Mhz Controller Memory: 64 Mbytes Battery State: Not Present Component Revisions ------------------- CLI: 1.0-0 (Build #5263) API: 1.0-0 (Build #5263) Miniport Driver: 4.0-0 (Build #6011) Controller Software: 4.0-0 (Build #6011) Controller BIOS: 4.0-0 (Build #6011) Controller Firmware: (Build #6011) Controller Hardware: 2.64 Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) From owner-freebsd-scsi@FreeBSD.ORG Tue May 18 16:12:18 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EAB116A542; Tue, 18 May 2004 16:12:16 -0700 (PDT) Received: from bremen.shuttle.de (bremen.shuttle.de [194.95.249.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7C1F43DA4; Tue, 18 May 2004 11:43:02 -0700 (PDT) (envelope-from schweikh@schweikhardt.net) Received: by bremen.shuttle.de (Postfix, from userid 10) id 17B2D3BC9F; Tue, 18 May 2004 19:58:18 +0200 (CEST) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) i4IIwl93003943; Tue, 18 May 2004 20:58:47 +0200 (CEST) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost)i4IIwlpE003942; Tue, 18 May 2004 20:58:47 +0200 (CEST) (envelope-from schweikh) Date: Tue, 18 May 2004 20:58:47 +0200 From: Jens Schweikhardt To: "Justin T. Gibbs" Message-ID: <20040518185847.GA3514@schweikhardt.net> References: <40A26356.409@freebsd.org> <20040512183231.GB3137@schweikhardt.net> <20040512190429.GA1315@schweikhardt.net> <40A27607.9040801@freebsd.org> <20040512191949.GA1016@schweikhardt.net> <2991245408.1084458741@aslan.scsiguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2991245408.1084458741@aslan.scsiguy.com> User-Agent: Mutt/1.5.6i cc: freebsd-scsi@freebsd.org Subject: Re: 2120S Stripe - abysmal performance 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, 18 May 2004 23:12:20 -0000 On Thu, May 13, 2004 at 08:32:21AM -0600, Justin T. Gibbs wrote: # > On Wed, May 12, 2004 at 01:07:51PM -0600, Scott Long wrote: # > ... # ># Something on the SCSI bus is very unhappy. What drives are they? What # ># firmware rev? # > # > 2 Fujitsu MAP3367NP with fw 0105. They've been working for a year # > on my 29160 without a hitch. # # At U320 speeds, I believe you need 0107 or better to have these # drives work. You should contact Fujitsu to ensure you have the # latest firmware. Okay, I contacted Fujitsu and now I have 0108 on both MAPs (quick answer from their German web support mail form, thanks Fujitsu!). Indeed my SCSI bus appears happy now. No more resets or other errors. I configured all IDs for U320 again. However, configuring a RAID 0 with both MAPs on the 2120S as the only drives still gives a sustained read rate of 65MB/s (constant over the whole stripe), while a single drive on the 29160 peaks at just over 70MB/s and drops to 40 at the inner cyls. I played around with the read cache, which has NO effect (unlike Scott explained elsethread). I also tried the TUNING tips from aac(4), e.g. hw.aac.iosize_max=96*1024 in /boot/loader.conf, also no noticeable change in performance. Should the 2120S be able to deliver more? With a vinum stripe I get 100MB/s. This is on a system with only 33MHz/32bit PCI (Asus A7N8X), and both of 29160 and 2120S. Somehow I get a feeling I'm hitting some limit that's just half the theoretical PCI bandwith of 133MB/s. Should I remove the 29160 (with just a slow CDROM) and try again? Is an update in order for the controller? AAC0> controller details Executing: controller details Controller Information ---------------------- Remote Computer: S Device Name: S Controller Type: No Info Access Mode: READ-WRITE Controller Serial Number: Last Six Digits = BA12C0 Number of Buses: 1 Devices per Bus: 15 Controller CPU: i960 R series Controller CPU Speed: 100 Mhz Controller Memory: 64 Mbytes Battery State: Not Present Component Revisions ------------------- CLI: 1.0-0 (Build #5263) API: 1.0-0 (Build #5263) Miniport Driver: 4.0-0 (Build #6011) Controller Software: 4.0-0 (Build #6011) Controller BIOS: 4.0-0 (Build #6011) Controller Firmware: (Build #6011) Controller Hardware: 2.64 Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) From owner-freebsd-scsi@FreeBSD.ORG Thu May 20 04:53:15 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A64416A4CE; Thu, 20 May 2004 04:53:15 -0700 (PDT) Received: from shadow.wixb.com (shadow.wixb.com [65.43.82.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30BF643D3F; Thu, 20 May 2004 04:53:15 -0700 (PDT) (envelope-from jbronson@wixb.com) Received: from dakota.wixb.com (shadow.wixb.com [10.43.82.173]) i4KBrD8I000637; Thu, 20 May 2004 06:53:14 -0500 (CDT) Message-Id: <6.1.1.1.2.20040520064816.00a61d78@localhost> Date: Thu, 20 May 2004 06:52:54 -0500 To: freebsd-scsi@freebsd.org From: "J.D. Bronson" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Scanned-By: MIMEDefang 2.43 cc: freebsd-questions@freebsd.org Subject: LSI 20320 MPT driver 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, 20 May 2004 11:53:15 -0000 I have 100% success with using my LSI 20320R card under freebsd 5.2.1 but have not setup any RAID on the card (yet)...so this email is for pre-information prior to setting up a RAID-1 (mirror): On a second machine that is running solaris, this is what I see: May 19 19:40:10 shadow unix: /pci@1,0/pci1000,1060@3 (mpt0): May 19 19:40:10 shadow Rev. 7 LSI, Inc. 1030 found. May 19 19:40:10 shadow unix: /pci@1,0/pci1000,1060@3 (mpt0): May 19 19:40:10 shadow mpt0 supports power management. May 19 19:40:23 shadow unix: /pci@1,0/pci1000,1060@3 (mpt0): May 19 19:40:23 shadow mpt0 Firmware version v1.3.24.0 May 19 19:40:23 shadow unix: /pci@1,0/pci1000,1060@3 (mpt0): May 19 19:40:23 shadow mpt0: IOC Operational. May 19 19:40:35 shadow unix: /pci@1,0/pci1000,1060@3 (mpt0): May 19 19:40:35 shadow Volume 0 is optimal May 19 19:40:37 shadow unix: PCI-device: pci1000,1060@3, mpt0 May 19 19:40:37 shadow unix: mpt0 is /pci@1,0/pci1000,1060@3 I can tell that the RAID is fine (optimal) and if it is not, I would see this: May 19 16:46:51 shadow unix: /pci@1,0/pci1000,1060@3 (mpt0): May 19 16:46:51 shadow Rev. 7 LSI, Inc. 1030 found. May 19 16:46:51 shadow unix: /pci@1,0/pci1000,1060@3 (mpt0): May 19 16:46:51 shadow mpt0 supports power management. May 19 16:47:04 shadow unix: /pci@1,0/pci1000,1060@3 (mpt0): May 19 16:47:04 shadow mpt0 Firmware version v1.3.24.0 May 19 16:47:04 shadow unix: /pci@1,0/pci1000,1060@3 (mpt0): May 19 16:47:04 shadow mpt0: IOC Operational. May 19 16:47:16 shadow unix: /pci@1,0/pci1000,1060@3 (mpt0): May 19 16:47:16 shadow Volume 0 is resyncing May 19 16:47:16 shadow unix: /pci@1,0/pci1000,1060@3 (mpt0): May 19 16:47:16 shadow Volume 0 is degraded May 19 16:47:18 shadow unix: PCI-device: pci1000,1060@3, mpt0 May 19 16:47:18 shadow unix: mpt0 is /pci@1,0/pci1000,1060@3 May 19 16:47:19 shadow unix: /pci@1,0/pci1000,1060@3 (mpt0): May 19 16:47:19 shadow Volume 0 is |enabled||resyncing||degraded| Would I expect to have similar on FreeBSD? -- J.D. Bronson Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: jd@aurora.org // Pager: 414.314.8282 From owner-freebsd-scsi@FreeBSD.ORG Thu May 20 11:33:15 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D315F16A4CE; Thu, 20 May 2004 11:33:15 -0700 (PDT) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21C9D43D4C; Thu, 20 May 2004 11:33:15 -0700 (PDT) (envelope-from jkim@niksun.com) Received: from [10.70.0.244] (daemon.mj.niksun.com [10.70.0.244]) i4KIVqRl024205; Thu, 20 May 2004 14:31:52 -0400 (EDT) (envelope-from jkim@niksun.com) X-RAV-AntiVirus: This e-mail has been scanned for viruses. From: Jung-uk Kim Organization: Niksun, Inc. To: freebsd-scsi@freebsd.org Date: Thu, 20 May 2004 14:31:49 -0400 User-Agent: KMail/1.6.1 References: <40A26F7E.3060203@freebsd.org> <40A39AC3.40600@freebsd.org> In-Reply-To: <40A39AC3.40600@freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405201431.49628.jkim@niksun.com> Subject: Re: Intel SRCU42X raid support 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, 20 May 2004 18:33:15 -0000 On Thursday 13 May 2004 11:56 am, Scott Long wrote: > Scott Long wrote: > > Don Bowman wrote: > >> Does anyone know if the intel SRCU42X works with FreeBSD? Does > >> the iir driver support it? > >> > >> http://www.intel.com/design/servers/SRCU42X/ > >> > >> It seems like a pretty good product from the > >> specs. > >> > >> The iir driver man page indicates it supports > >> > >> Intel RAID Controller SRCMR > >> Intel Server RAID Controller U3-l (SRCU31a) > >> Intel Server RAID Controller U3-1L (SRCU31La) > >> Intel Server RAID Controller U3-2 (SRCU32) > >> All past and future releases of Intel and ICP RAID > >> Controllers. > >> > >> That last is a bold statement :) > > > > I'll ask the iir folks. If not, it might be interesting to write > > a driver for it. > > > > Scott > > I just got word back that this card is not supported by the IIR > driver. I'll try to contact Intel about getting specs. I got the card today and I installed it. It is supported not by iir(4) but by amr(4)! In fact, this card seems to be LSI-Logic's OEM MegaRAID SCSI 320-2X: http://www.lsilogic.com/products/ultra320_scsi_megaraid_storage_adapters/320x128.html AFAICT, the only difference is firmware. Cheers, JK > Scott From owner-freebsd-scsi@FreeBSD.ORG Fri May 21 01:26:39 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05F2916A4CE for ; Fri, 21 May 2004 01:26:39 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC3E743D1D for ; Fri, 21 May 2004 01:26:38 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (junior-wifi.samsco.home [192.168.0.11]) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i4L8WNtf041829; Fri, 21 May 2004 02:32:24 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <40ADBD38.3070804@freebsd.org> Date: Fri, 21 May 2004 02:26:32 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040304 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jung-uk Kim References: <40A26F7E.3060203@freebsd.org> <40A39AC3.40600@freebsd.org> <200405201431.49628.jkim@niksun.com> In-Reply-To: <200405201431.49628.jkim@niksun.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: freebsd-scsi@freebsd.org Subject: Re: Intel SRCU42X raid support 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, 21 May 2004 08:26:39 -0000 Jung-uk Kim wrote: > On Thursday 13 May 2004 11:56 am, Scott Long wrote: > >>Scott Long wrote: >> >>>Don Bowman wrote: >>> >>>>Does anyone know if the intel SRCU42X works with FreeBSD? Does >>>>the iir driver support it? >>>> >>>>http://www.intel.com/design/servers/SRCU42X/ >>>> >>>>It seems like a pretty good product from the >>>>specs. >>>> >>>>The iir driver man page indicates it supports >>>> >>>> Intel RAID Controller SRCMR >>>> Intel Server RAID Controller U3-l (SRCU31a) >>>> Intel Server RAID Controller U3-1L (SRCU31La) >>>> Intel Server RAID Controller U3-2 (SRCU32) >>>> All past and future releases of Intel and ICP RAID >>>>Controllers. >>>> >>>>That last is a bold statement :) >>> >>>I'll ask the iir folks. If not, it might be interesting to write >>>a driver for it. >>> >>>Scott >> >>I just got word back that this card is not supported by the IIR >>driver. I'll try to contact Intel about getting specs. > > > I got the card today and I installed it. It is supported not by > iir(4) but by amr(4)! In fact, this card seems to be LSI-Logic's OEM > MegaRAID SCSI 320-2X: > > http://www.lsilogic.com/products/ultra320_scsi_megaraid_storage_adapters/320x128.html > > AFAICT, the only difference is firmware. > > Cheers, > > JK > > >>Scott Thanks for this investigative work! Scott From owner-freebsd-scsi@FreeBSD.ORG Fri May 21 22:06:59 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CD4D16A4CE for ; Fri, 21 May 2004 22:06:59 -0700 (PDT) Received: from natsmtp00.rzone.de (natsmtp00.rzone.de [81.169.145.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE6C443D39 for ; Fri, 21 May 2004 22:06:58 -0700 (PDT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from alpha (port-212-202-38-230.reverse.qsc.de [212.202.38.230]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id i4M56lE5010170 for ; Sat, 22 May 2004 07:06:47 +0200 (MEST) Message-Id: <200405220506.i4M56lE5010170@post.webmailer.de> From: "Bjoern Koenig" To: Date: Sat, 22 May 2004 07:07:00 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcQ/FgLhlf2KcrJqT6GzWtdITVsCqgAo+LWQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: Subject: stability problem with iir(4) 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, 22 May 2004 05:06:59 -0000 Hello, there is an Asus PU-DLS mainboard and a Vortex ICP GDT8524RZ+ SCSI-RAID controller card. After creating a RAID 5 with three Hitachi Ultrastar 146Z10 hard disk drives, I installed FreeBSD 4.9-RELEASE and it seems to be fine, but after some minutes of doing something hard disk resp. RAID access fails. No error message, everything simply stops working; system hangs. Kernel is still active, because sending a ping to the 'dead' machine will cause a response. If I use FreeBSD 5.2.1-RELEASE I got at least a message from iir(4) that the hard disk doesn't respond, but it's the same problem. Using another RAID type, e.g. 0, same happens. But using each disk as single, I can benchmark the system for hours and hours without problem. There is also absolutely no problem if I install Windows Server 2003 on RAID, so I suppose it's not a hardware failure. Does anybody have an idea what's going wrong? Thanks for help Bjoern Koenig From owner-freebsd-scsi@FreeBSD.ORG Fri May 21 22:00:39 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD2A916A5C4 for ; Fri, 21 May 2004 22:00:39 -0700 (PDT) Received: from marvin.muc.de (marvin.muc.de [193.149.48.2]) by mx1.FreeBSD.org (Postfix) with SMTP id B21F643D2D for ; Fri, 21 May 2004 22:00:38 -0700 (PDT) (envelope-from mod-submit@uni-berlin.de) Received: (qmail 68828 invoked by alias); 22 May 2004 05:00:37 -0000 Delivered-To: mods-muc-lists-freebsd-scsi@moderators.muc.de Received: (qmail 68821 invoked from network); 22 May 2004 05:00:36 -0000 Received: from mail.fu-berlin.de (130.133.1.2) by marvin.muc.de with SMTP; 22 May 2004 05:00:36 -0000 Received: by Mail.FU-Berlin.DE (Exim 4.34) from curry.zedat.fu-berlin.de ([160.45.10.36]) for muc-lists-freebsd-scsi@moderators.muc.de with esmtp id <1BROce-000P5A-H8>; Sat, 22 May 2004 07:00:36 +0200 Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.uni-berlin.de with bsmtp id ; Sat, 22 May 2004 07:00:36 +0200 (MEST) To: muc-lists-freebsd-scsi@moderators.muc.de Path: not-for-mail From: bjoern koenig Newsgroups: muc.lists.freebsd.scsi,muc.lists.freebsd.hardware,muc.lists.freebsd.stable Followup-To: muc.lists.freebsd.scsi Date: Sat, 22 May 2004 07:00:48 +0200 Lines: 19 Message-ID: <2h853kF99vq3U1@uni-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Orig-X-Trace: news.uni-berlin.de CJLqN3rBVqNT7NYS9GshkAZxyXISfxsOkmrLF8Wgg93fpHwc1yR6uGveGG User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en X-Mailman-Approved-At: Sat, 22 May 2004 05:40:44 -0700 Subject: stability problem with iir(4) 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, 22 May 2004 05:00:39 -0000 Hello, there is an Asus PU-DLS mainboard and a Vortex ICP GDT8524RZ+ SCSI-RAID controller card. After creating a RAID 5 with three Hitachi Ultrastar 146Z10 hard disk drives, I installed FreeBSD 4.9-RELEASE and it seems to be fine, but after some minutes of doing something hard disk resp. RAID access fails. No error message, everything simply stops working; system hangs. Kernel is still active, because sending a ping to the 'dead' machine will cause a response. If I use FreeBSD 5.2.1-RELEASE I got at least a message from iir(4) that the hard disk doesn't respond, but it's the same problem. Using another RAID type, e.g. 0, same happens. But using each disk as single, I can benchmark the system for hours and hours without problem. There is also absolutely no problem if I install Windows Server 2003 on RAID, so I suppose it's not a hardware failure. Does anybody have an idea what's going wrong? Thanks for help Bjoern Koenig From owner-freebsd-scsi@FreeBSD.ORG Sat May 22 07:29:12 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3577C16A4CE; Sat, 22 May 2004 07:29:12 -0700 (PDT) Received: from cheyenne.wixb.com (cheyenne.wixb.com [65.43.82.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B8C143D1F; Sat, 22 May 2004 07:29:11 -0700 (PDT) (envelope-from jbronson@wixb.com) Received: from thinkpad.wixb.com (thinkpad.wixb.com [10.43.82.5]) i4MESjwq004872; Sat, 22 May 2004 09:28:45 -0500 (CDT) Message-Id: <6.1.1.1.2.20040522092527.00be43e8@cheyenne.wixb.com> Date: Sat, 22 May 2004 09:28:44 -0500 To: freebsd-questions@freebsd.org From: "J.D. Bronson" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Scanned-By: MIMEDefang 2.43 cc: freebsd-scsi@freebsd.org cc: freebsd-performance@freebsd.org cc: mjacob@FreeBSD.org Subject: LSI 20320R Raid Card 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, 22 May 2004 14:29:12 -0000 I have asked this and no one replied, but I have more information... The card seems very well supported (mpt) but yet when I setup a RAID MIRROR and it is resyncing - the card DOES tell Freebsd 5.2.1, but the message is unrecognized: ============================================ Waiting 10 seconds for SCSI devices to settle mpt0: Unknown event 0xb mpt0: Unknown event 0xb GEOM: create disk da0 dp=0xc7b72050 ============================================= Is there plans to fix this so that the card and the driver can tell the OS whats going on? Thanks. -- J.D. Bronson Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: jd@aurora.org // Pager: 414.314.8282