From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 19 11:06:51 2012 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9BC1216 for ; Mon, 19 Nov 2012 11:06:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id AF8A68FC1C for ; Mon, 19 Nov 2012 11:06:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qAJB6p3c013439 for ; Mon, 19 Nov 2012 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qAJB6pf1013437 for freebsd-scsi@FreeBSD.org; Mon, 19 Nov 2012 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Nov 2012 11:06:51 GMT Message-Id: <201211191106.qAJB6pf1013437@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Subject: Current problem reports assigned to freebsd-scsi@FreeBSD.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 11:06:51 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/172575 scsi [mfi] ioctl CAMGETPASSTHRU fails with mfi driver o kern/171650 scsi [da] da(4) driver does not recognize end of cciss (Sma o kern/169976 scsi [cam] [patch] make scsi_da use sysctl values where app o kern/169835 scsi [patch] remove some unused variables from scsi_da prob o kern/169801 scsi [cam] [patc] make changes to delete_method in scsi_da o kern/169403 scsi [cam] [patch] CAM layer, I/O starvation, no fairness o kern/165982 scsi [mpt] mpt instability, drive resets, and losses on Fre o kern/165740 scsi [cam] SCSI code must drain callbacks before free o kern/163713 scsi [aic7xxx] [patch] Add Adaptec29329LPE to aic79xx_pci.c o kern/162256 scsi [mpt] QUEUE FULL EVENT and 'mpt_cam_event: 0x0' o kern/161809 scsi [cam] [patch] set kern.cam.boot_delay via build option o kern/159412 scsi [ciss] 7.3 RELEASE: ciss0 ADAPTER HEARTBEAT FAILED err o kern/157770 scsi [iscsi] [panic] iscsi_initiator panic o kern/154432 scsi [xpt] run_interrupt_driven_hooks: still waiting after o kern/153514 scsi [cam] [panic] CAM related panic o kern/153361 scsi [ciss] Smart Array 5300 boot/detect drive problem o kern/152250 scsi [ciss] [patch] Kernel panic when hw.ciss.expose_hidden o kern/151564 scsi [ciss] ciss(4) should increase CISS_MAX_LOGICAL to 10 o docs/151336 scsi Missing documentation of scsi_ and ata_ functions in c s kern/149927 scsi [cam] hard drive not stopped before removing power dur o kern/148083 scsi [aac] Strange device reporting o kern/147704 scsi [mpt] sys/dev/mpt: new chip revision, partially unsupp o kern/146287 scsi [ciss] ciss(4) cannot see more than one SmartArray con o kern/145768 scsi [mpt] can't perform I/O on SAS based SAN disk in freeb o kern/144648 scsi [aac] Strange values of speed and bus width in dmesg o kern/144301 scsi [ciss] [hang] HP proliant server locks when using ciss o kern/142351 scsi [mpt] LSILogic driver performance problems o kern/134488 scsi [mpt] MPT SCSI driver probes max. 8 LUNs per device o kern/132250 scsi [ciss] ciss driver does not support more then 15 drive o kern/132206 scsi [mpt] system panics on boot when mirroring and 2nd dri o kern/130621 scsi [mpt] tranfer rate is inscrutable slow when use lsi213 o kern/129602 scsi [ahd] ahd(4) gets confused and wedges SCSI bus o kern/128452 scsi [sa] [panic] Accessing SCSI tape drive randomly crashe o kern/128245 scsi [scsi] "inquiry data fails comparison at DV1 step" [re o kern/127927 scsi [isp] isp(4) target driver crashes kernel when set up o kern/127717 scsi [ata] [patch] [request] - support write cache toggling o kern/123674 scsi [ahc] ahc driver dumping o kern/123520 scsi [ahd] unable to boot from net while using ahd o sparc/121676 scsi [iscsi] iscontrol do not connect iscsi-target on sparc o kern/120487 scsi [sg] scsi_sg incompatible with scanners o kern/120247 scsi [mpt] FreeBSD 6.3 and LSI Logic 1030 = only 3.300MB/s o kern/114597 scsi [sym] System hangs at SCSI bus reset with dual HBAs o kern/110847 scsi [ahd] Tyan U320 onboard problem with more than 3 disks o kern/99954 scsi [ahc] reading from DVD failes on 6.x [regression] o kern/92798 scsi [ahc] SCSI problem with timeouts o kern/90282 scsi [sym] SCSI bus resets cause loss of ch device o kern/76178 scsi [ahd] Problem with ahd and large SCSI Raid system o kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5.3 s kern/61165 scsi [panic] kernel page fault after calling cam_send_ccb o kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C810 under load o kern/60598 scsi wire down of scsi devices conflicts with config s kern/57398 scsi [mly] Current fails to install on mly(4) based RAID di o kern/52638 scsi [panic] SCSI U320 on SMP server won't run faster than o kern/44587 scsi dev/dpt/dpt.h is missing defines required for DPT_HAND o kern/39388 scsi ncr/sym drivers fail with 53c810 and more than 256MB m o kern/35234 scsi World access to /dev/pass? (for scanner) requires acce 56 problems total. From owner-freebsd-scsi@FreeBSD.ORG Tue Nov 20 22:23:01 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 87753692 for ; Tue, 20 Nov 2012 22:23:01 +0000 (UTC) (envelope-from peter@pean.org) Received: from system.jails.se (system.jails.se [IPv6:2001:16d8:cc1e:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 410E98FC08 for ; Tue, 20 Nov 2012 22:23:00 +0000 (UTC) Received: from localhost (system.jails.se [91.205.63.85]) by system.jails.se (Postfix) with SMTP id 0226B1B6F39 for ; Tue, 20 Nov 2012 23:22:56 +0100 (CET) Received: from klein.pean.org (c-a104e155.166-7-64736c14.cust.bredbandsbolaget.se [85.225.4.161]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by system.jails.se (Postfix) with ESMTPSA id DE1811B6F35 for ; Tue, 20 Nov 2012 23:22:55 +0100 (CET) From: =?iso-8859-1?Q?Peter_Ankerst=E5l?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Slow writes with iSCSI. Message-Id: <36ADB83B-B6E4-435A-A910-E20F9A060307@pean.org> Date: Tue, 20 Nov 2012 23:22:56 +0100 To: freebsd-scsi@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) X-Mailer: Apple Mail (2.1499) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 22:23:01 -0000 Hi, I recently posted this to the stable list without any luck:=20 = http://lists.freebsd.org/pipermail/freebsd-stable/2012-November/070607.htm= l At this point I have found out that its only writes that are slow. If = tagging is set to 1 I write about 30MB/s per target and read like 130MB/s per target. If I change tagged openings to 4 (camcontrol tags daX -n 4) I get like = 260MB/s reads per target (which in my case saturates the network at about = 500MB/s) but something like 2-3MB/s writes. I have tried to measure speeds on raw = devices, ZFS and UFS and it gives about the same result. Am I missing something?=20= (my configs are in the original post) Thanks!= From owner-freebsd-scsi@FreeBSD.ORG Fri Nov 23 18:54:36 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50919582 for ; Fri, 23 Nov 2012 18:54:36 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (s1.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id C4EC08FC15 for ; Fri, 23 Nov 2012 18:54:35 +0000 (UTC) Received: from titan.inop.wdn.omnilan.net (titan.inop.wdn.omnilan.net [172.21.3.1]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id qANIuNl5000787 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 Nov 2012 19:56:23 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <50AFC668.1040203@omnilan.de> Date: Fri, 23 Nov 2012 19:54:32 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Subject: cam SCSI negotiation issues (mpt in that case), only 3.300MB/s transfers X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7534BC35971E11E10FEA878F" X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 18:54:36 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7534BC35971E11E10FEA878F Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hello, (I was advised to post this also to freebsd-scsi@, but I'm not subscribed) I have a LSI20320IE, wich is a LSI1030 (U320-SCSI, supported by MPT) behind an PCI-X-PCIe bridge. I'm using that for two tape drives: LTO-3 and DAT72. My (solved, see below) first problem was, that passthrough of that HBA with ESXi5.0 didn't work. As soon as mpt was kldloaded, there was a heavy interrupt storm detected (>100k irq/s) and throttling occured. No matter what IRQ it was assigend and no matter if it was shared or not. The dmesg output hasn't shown any info about MSI usage, so I told ESXi to use legacy interrupts in host mode instead of msi. Didn't help anything. After I verified that this passthrough configuration works well on other OS, I tried out some things and found out that hint.mpt.0.msi_enable=3D"1" solves the interrupt storm problem, although dmesg output still is exactly the same: mpt0: port 0x4000-0x40ff mem 0xd6440000-0xd645ffff,0xd6420000-0xd643ffff irq 18 at device 0.0 on pci3 mpt0: MPI Version=3D1.2.15.0 Btw, I'm still curious what the sysctl "hw.mpt.0.role" means? With my LSI1030 it's "3", an onther 1068, it's "1" Now after I got passthrough working, I first tried to saturate my LTO-3. With the help of mbuffer (zfs send -R DATASET/filesystem@totape | mbuffer -s 1m -t -m 500M -P 80 -f -o /dev/nsa1) I saw 60-120MB/s transfer rates, avaeraging at 100MB/s at moderate interrupt load (~1k). So for so fine. But there are problems with the DAT72 drive. The SCSI negotiation seems to fail: sa0 at mpt0 bus 0 scbus3 target 0 lun 0 sa0: Removable Sequential Access SCSI-3 device sa0: 3.300MB/s transfers Now I read here http://lists.freebsd.org/pipermail/freebsd-current/2006-May/063603.html that this may be just cosmetic, but in my case I can't get more than ~3MB/s to/from the tape. Once again I changed the controller to another guest OS and got 5,5MB/s avarage write transfer rate with ntbakup (wich is sensible for the gained compression ratio). lsiutil.exe shows negotiation parameters with 80MB/s (40MT/s 16bit), which correponds to the drive's interface. Back in FreeBSD, I had no luck using "camcontrol negotiate sa0 -R 40" to alter the negotiation parameters. It always shows 3,300MB/s and seems to reflect reality. I'd higly appreciate any help, since I have no idea how this could be fixed. Slot-constraints limit my choice of SCSI-HBAs to PCIe ones... Thnaks, -Harry --------------enig7534BC35971E11E10FEA878F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAlCvxmkACgkQLDqVQ9VXb8jPeQCgphOuOOqzzk+EJgW0nyldoxPJ MRsAn23iSaU8zdoX/74IjDEuy6JyD9lj =Ovfx -----END PGP SIGNATURE----- --------------enig7534BC35971E11E10FEA878F--