From owner-freebsd-scsi@FreeBSD.ORG Mon Aug 1 11:07:16 2011 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C7C1106566C for ; Mon, 1 Aug 2011 11:07:16 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 31F218FC1B for ; Mon, 1 Aug 2011 11:07:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p71B7GX4014685 for ; Mon, 1 Aug 2011 11:07:16 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p71B7FsW014683 for freebsd-scsi@FreeBSD.org; Mon, 1 Aug 2011 11:07:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 1 Aug 2011 11:07:15 GMT Message-Id: <201108011107.p71B7FsW014683@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 Cc: Subject: Current problem reports assigned to freebsd-scsi@FreeBSD.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2011 11:07:16 -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/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/141934 scsi [cam] [patch] add support for SEAGATE DAT Scopion 130 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/124667 scsi [amd] [panic] FreeBSD-7 kernel page faults at amd-scsi 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 bin/57088 scsi [cam] [patch] for a possible fd leak in libcam.c 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 47 problems total. From owner-freebsd-scsi@FreeBSD.ORG Mon Aug 1 13:59:38 2011 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43F991065674; Mon, 1 Aug 2011 13:59:38 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1B96F8FC19; Mon, 1 Aug 2011 13:59:38 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id AC40346B09; Mon, 1 Aug 2011 09:59:37 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 4C5CC8A02C; Mon, 1 Aug 2011 09:59:37 -0400 (EDT) From: John Baldwin To: Andrew Boyer Date: Fri, 29 Jul 2011 16:22:36 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110617; KDE/4.5.5; amd64; ; ) References: <8B3E8C5D-C8BF-4AB7-AA1E-54086C6DC818@averesystems.com> In-Reply-To: <8B3E8C5D-C8BF-4AB7-AA1E-54086C6DC818@averesystems.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201107291622.36379.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Mon, 01 Aug 2011 09:59:37 -0400 (EDT) Cc: freebsd-scsi@freebsd.org, bz@freebsd.org Subject: Re: Buglet in r222899 (mfiutil show drives) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2011 13:59:38 -0000 On Friday, July 29, 2011 3:24:03 pm Andrew Boyer wrote: > The error variable is returned uninitialized if no error occurs. I noticed because 'mfiutil -de show drives' started returning 1 for no apparent reason when I synced up to stable/8. > > I looked through the rest of mfiutil and didn't see any more cases like this one. > > -Andrew Yeah, I have this sitting in my queue. re@ just opened up HEAD so I'll commit it. -- John Baldwin From owner-freebsd-scsi@FreeBSD.ORG Wed Aug 3 16:19:00 2011 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B5B1106564A for ; Wed, 3 Aug 2011 16:19:00 +0000 (UTC) (envelope-from gwright@antiope.com) Received: from mho-02-ewr.mailhop.org (mho-04-ewr.mailhop.org [204.13.248.74]) by mx1.freebsd.org (Postfix) with ESMTP id 1CC9F8FC15 for ; Wed, 3 Aug 2011 16:18:59 +0000 (UTC) Received: from pool-96-242-166-137.nwrknj.fios.verizon.net ([96.242.166.137] helo=plumbbob-franklin.18clay.com) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72) (envelope-from ) id 1Qodgd-000JYG-HI for freebsd-scsi@freebsd.org; Wed, 03 Aug 2011 15:48:47 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 96.242.166.137 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19jIpKFZwg8ThvkRhHwZIiizxzznnK7i3s= Message-ID: <4E396DDD.9030602@antiope.com> Date: Wed, 03 Aug 2011 11:48:45 -0400 From: Gregory Wright Organization: Antiope Associates User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: an mps probelm X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2011 16:19:00 -0000 Hi, I have an LSI SAS 9200-8e hba card. It's connected to a Dell PowerVault 124T autoloader with an LTO4 drive. I installed 9.0-BETA1 yesterday and was able to successfully detect the tape drive (mps driver), but the hba doesn't find the changer. I used camcontrol to force rescanning all luns but that didn't help either. Since I have just acquired this hardware I installed an OS reported to work with this autoloader/hba combination, ubuntu 11.04 server. On ubuntu, the changer is found: gwright@greenhouse-george:~$ lsscsi -g [0:0:0:0] disk AMCC 9650SE-12M DISK 3.06 /dev/sdb /dev/sg1 [0:0:0:1] disk AMCC 9650SE-12M DISK 3.06 /dev/sdc /dev/sg2 [0:0:1:0] disk AMCC 9650SE-12M DISK 3.06 /dev/sdd /dev/sg3 [1:0:0:0] tape IBM ULTRIUM-TD4 97F0 /dev/st0 /dev/sg5 [1:0:0:1] mediumx DELL PV-124T 0080 /dev/sch0 /dev/sg6 [2:0:0:0] disk ATA ST3160811AS 3.AA /dev/sda /dev/sg0 [6:0:0:0] cd/dvd MITSUMI CD-ROM SR244W T01A /dev/sr0 /dev/sg4 (On ubuntu the driver is mpt2sas.) It seems as if the mps driver is not seeing the additional lun hanging off the bus. This server is not in production yet so I can re-install 9.0-BETA1 and run more tests, if that would help. FWIW, I set hw.mps.0.debug_level=1. In the dmesg I get greenhouse-george# dmesg | grep mps mps0: port 0xa000-0xa0ff mem 0xff4f0000-0xff4fffff,0xff480000-0xff4bffff irq 28 at device 0.0 on pci5 mps0: Doorbell= 0x22000000 mps0: Doorbell= 0x12000000 mps0: IOCFacts : mps0: Firmware: 02.15.63.00 mps0: IOCCapabilities: 185c mps0: Doorbell= 0x10000000 mps0: num_reqs 1024, num_replies 1055 mps0: Doorbell= 0x10000000 mps0: IOCInit status= 0x0 mps0: writing postindex 1 mps0: PortFacts : mps0: writing postindex 2 mps0: writing postindex 3 mps0: mpssas_discovery_end: removing confighook mps0: writing postindex 8 mps0: SAS Device Page 0 : mps0: writing postindex 9 mps0: writing postindex 10 mps0: SAS PHY Page 0 : mps0: Triggering rescan of 6:4:-1 mps0: writing postindex 11 mps0: writing postindex 12 mps0: writing postindex 13 mps0: (6:4:0) IOCStatus= 0x45, ScsiStatus= 0x2, SCSIState= 0x1 TransferCount= 0x0 mps0: writing postindex 14 mps0: (6:4:0) IOCStatus= 0x45, ScsiStatus= 0x0, SCSIState= 0x0 TransferCount= 0x11 mps0: writing postindex 15 mps0: (6:4:0) IOCStatus= 0x45, ScsiStatus= 0x0, SCSIState= 0x0 TransferCount= 0x56 mps0: writing postindex 16 mps0: (6:4:0) IOCStatus= 0x45, ScsiStatus= 0x0, SCSIState= 0x0 TransferCount= 0xe mps0: writing postindex 17 mps0: (6:4:0) IOCStatus= 0x0, ScsiStatus= 0x2, SCSIState= 0x1 TransferCount= 0x0 mps0: writing postindex 18 (probe4:mps0:0:4:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe4:mps0:0:4:0): CAM status: SCSI Status Error (probe4:mps0:0:4:0): SCSI status: Check Condition (probe4:mps0:0:4:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) field rp Please let me know what I can do to help debug this. Best Wishes, Greg -- Gregory Wright Antiope Associates LLC 18 Clay Street Fair Haven, New Jersey 07733 USA +1 732 924-4549 [office] +1 732 345-8378 [fax] gwright@antiope.com From owner-freebsd-scsi@FreeBSD.ORG Wed Aug 3 17:37:59 2011 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26DEF1065670 for ; Wed, 3 Aug 2011 17:37:59 +0000 (UTC) (envelope-from ken@kdm.org) Received: from nargothrond.kdm.org (nargothrond.kdm.org [70.56.43.81]) by mx1.freebsd.org (Postfix) with ESMTP id CA0EE8FC08 for ; Wed, 3 Aug 2011 17:37:58 +0000 (UTC) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.14.2/8.14.2) with ESMTP id p73H2B08047847; Wed, 3 Aug 2011 11:02:11 -0600 (MDT) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.14.2/8.14.2/Submit) id p73H2AhV047846; Wed, 3 Aug 2011 11:02:10 -0600 (MDT) (envelope-from ken) Date: Wed, 3 Aug 2011 11:02:10 -0600 From: "Kenneth D. Merry" To: Gregory Wright Message-ID: <20110803170210.GA46958@nargothrond.kdm.org> References: <4E396DDD.9030602@antiope.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <4E396DDD.9030602@antiope.com> User-Agent: Mutt/1.4.2i Cc: freebsd-scsi@freebsd.org Subject: Re: an mps probelm X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2011 17:37:59 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Aug 03, 2011 at 11:48:45 -0400, Gregory Wright wrote: > > Hi, > > I have an LSI SAS 9200-8e hba card. It's connected to a Dell > PowerVault 124T autoloader with an LTO4 drive. > > I installed 9.0-BETA1 yesterday and was able to successfully > detect the tape drive (mps driver), but the hba doesn't find the changer. > I used camcontrol to force rescanning all luns but that > didn't help either. Try rescanning the particular LUN for the changer device, like this: camcontrol rescan 6:4:1 (That is assuming the tape drive is at 6:4:0.) > Since I have just acquired this hardware I installed an OS > reported to work with this autoloader/hba combination, > ubuntu 11.04 server. On ubuntu, the changer is found: > > gwright@greenhouse-george:~$ lsscsi -g > [0:0:0:0] disk AMCC 9650SE-12M DISK 3.06 /dev/sdb /dev/sg1 > [0:0:0:1] disk AMCC 9650SE-12M DISK 3.06 /dev/sdc /dev/sg2 > [0:0:1:0] disk AMCC 9650SE-12M DISK 3.06 /dev/sdd /dev/sg3 > [1:0:0:0] tape IBM ULTRIUM-TD4 97F0 /dev/st0 /dev/sg5 > [1:0:0:1] mediumx DELL PV-124T 0080 /dev/sch0 /dev/sg6 > [2:0:0:0] disk ATA ST3160811AS 3.AA /dev/sda /dev/sg0 > [6:0:0:0] cd/dvd MITSUMI CD-ROM SR244W T01A /dev/sr0 /dev/sg4 > > (On ubuntu the driver is mpt2sas.) > > It seems as if the mps driver is not seeing the additional lun > hanging off the bus. Yeah, it looks like the path inquiry CCB in the driver is telling CAM not to scan LUNs. > This server is not in production yet so I can re-install 9.0-BETA1 > and run more tests, if that would help. Try the attached patch, and let me know whether it works. > FWIW, I set hw.mps.0.debug_level=1. In the dmesg I get > > greenhouse-george# dmesg | grep mps > mps0: port 0xa000-0xa0ff mem > 0xff4f0000-0xff4fffff,0xff480000-0xff4bffff irq 28 at device 0.0 on pci5 > mps0: Doorbell= 0x22000000 > mps0: Doorbell= 0x12000000 > mps0: IOCFacts : > mps0: Firmware: 02.15.63.00 > mps0: IOCCapabilities: > 185c > mps0: Doorbell= 0x10000000 > mps0: num_reqs 1024, num_replies 1055 > mps0: Doorbell= 0x10000000 > mps0: IOCInit status= 0x0 > mps0: writing postindex 1 > mps0: PortFacts : > mps0: writing postindex 2 > mps0: writing postindex 3 > mps0: mpssas_discovery_end: removing confighook > mps0: writing postindex 8 > mps0: SAS Device Page 0 : > mps0: writing postindex 9 > mps0: writing postindex 10 > mps0: SAS PHY Page 0 : > mps0: Triggering rescan of 6:4:-1 > mps0: writing postindex 11 > mps0: writing postindex 12 > mps0: writing postindex 13 > mps0: (6:4:0) IOCStatus= 0x45, ScsiStatus= 0x2, SCSIState= 0x1 > TransferCount= 0x0 > mps0: writing postindex 14 > mps0: (6:4:0) IOCStatus= 0x45, ScsiStatus= 0x0, SCSIState= 0x0 > TransferCount= 0x11 > mps0: writing postindex 15 > mps0: (6:4:0) IOCStatus= 0x45, ScsiStatus= 0x0, SCSIState= 0x0 > TransferCount= 0x56 > mps0: writing postindex 16 > mps0: (6:4:0) IOCStatus= 0x45, ScsiStatus= 0x0, SCSIState= 0x0 > TransferCount= 0xe > mps0: writing postindex 17 > mps0: (6:4:0) IOCStatus= 0x0, ScsiStatus= 0x2, SCSIState= 0x1 > TransferCount= 0x0 > mps0: writing postindex 18 > (probe4:mps0:0:4:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (probe4:mps0:0:4:0): CAM status: SCSI Status Error > (probe4:mps0:0:4:0): SCSI status: Check Condition > (probe4:mps0:0:4:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) > field rp > > > Please let me know what I can do to help debug this. Ken -- Kenneth Merry ken@FreeBSD.ORG --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="mps_sas.c.max_lun.20110803" ==== //depot/SpectraBSD/head/sys/dev/mps/mps_sas.c#29 - /usr/home/kenm/perforce4/SpectraBSD/head/sys/dev/mps/mps_sas.c ==== *** /tmp/tmp.96563.59 Wed Aug 3 10:56:49 2011 --- /usr/home/kenm/perforce4/SpectraBSD/head/sys/dev/mps/mps_sas.c Wed Aug 3 10:56:31 2011 *************** *** 921,927 **** cpi->hba_misc = PIM_NOBUSRESET; cpi->hba_eng_cnt = 0; cpi->max_target = sassc->sc->facts->MaxTargets - 1; ! cpi->max_lun = 0; cpi->initiator_id = 255; strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); strncpy(cpi->hba_vid, "LSILogic", HBA_IDLEN); --- 921,927 ---- cpi->hba_misc = PIM_NOBUSRESET; cpi->hba_eng_cnt = 0; cpi->max_target = sassc->sc->facts->MaxTargets - 1; ! cpi->max_lun = 8; cpi->initiator_id = 255; strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); strncpy(cpi->hba_vid, "LSILogic", HBA_IDLEN); --gKMricLos+KVdGMg-- From owner-freebsd-scsi@FreeBSD.ORG Wed Aug 3 18:46:38 2011 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BE10106566B for ; Wed, 3 Aug 2011 18:46:38 +0000 (UTC) (envelope-from gwright@antiope.com) Received: from mho-02-ewr.mailhop.org (mho-04-ewr.mailhop.org [204.13.248.74]) by mx1.freebsd.org (Postfix) with ESMTP id 63F248FC17 for ; Wed, 3 Aug 2011 18:46:38 +0000 (UTC) Received: from pool-96-242-166-137.nwrknj.fios.verizon.net ([96.242.166.137] helo=plumbbob-franklin.18clay.com) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72) (envelope-from ) id 1QogSj-0008za-Az; Wed, 03 Aug 2011 18:46:37 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 96.242.166.137 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1//94ZAN3FQhe7rVPL5Aprs/fVWIj69wdA= Message-ID: <4E39978A.7070401@antiope.com> Date: Wed, 03 Aug 2011 14:46:34 -0400 From: Gregory Wright Organization: Antiope Associates User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: "Kenneth D. Merry" References: <4E396DDD.9030602@antiope.com> <20110803170210.GA46958@nargothrond.kdm.org> In-Reply-To: <20110803170210.GA46958@nargothrond.kdm.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org Subject: Re: an mps probelm X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2011 18:46:38 -0000 Hi Ken, On 8/3/11 1:02 PM, Kenneth D. Merry wrote: > On Wed, Aug 03, 2011 at 11:48:45 -0400, Gregory Wright wrote: >> Hi, >> >> I have an LSI SAS 9200-8e hba card. It's connected to a Dell >> PowerVault 124T autoloader with an LTO4 drive. >> >> I installed 9.0-BETA1 yesterday and was able to successfully >> detect the tape drive (mps driver), but the hba doesn't find the changer. >> I used camcontrol to force rescanning all luns but that >> didn't help either. > Try rescanning the particular LUN for the changer device, like this: > > camcontrol rescan 6:4:1 The changer was found when I used that command. > (That is assuming the tape drive is at 6:4:0.) > >> Since I have just acquired this hardware I installed an OS >> reported to work with this autoloader/hba combination, >> ubuntu 11.04 server. On ubuntu, the changer is found: >> >> gwright@greenhouse-george:~$ lsscsi -g >> [0:0:0:0] disk AMCC 9650SE-12M DISK 3.06 /dev/sdb /dev/sg1 >> [0:0:0:1] disk AMCC 9650SE-12M DISK 3.06 /dev/sdc /dev/sg2 >> [0:0:1:0] disk AMCC 9650SE-12M DISK 3.06 /dev/sdd /dev/sg3 >> [1:0:0:0] tape IBM ULTRIUM-TD4 97F0 /dev/st0 /dev/sg5 >> [1:0:0:1] mediumx DELL PV-124T 0080 /dev/sch0 /dev/sg6 >> [2:0:0:0] disk ATA ST3160811AS 3.AA /dev/sda /dev/sg0 >> [6:0:0:0] cd/dvd MITSUMI CD-ROM SR244W T01A /dev/sr0 /dev/sg4 >> >> (On ubuntu the driver is mpt2sas.) >> >> It seems as if the mps driver is not seeing the additional lun >> hanging off the bus. > Yeah, it looks like the path inquiry CCB in the driver is telling CAM not > to scan LUNs. > >> This server is not in production yet so I can re-install 9.0-BETA1 >> and run more tests, if that would help. > Try the attached patch, and let me know whether it works. > > The patch works. Now I get greenhouse-george# camcontrol devlist at scbus0 target 0 lun 0 (ada0,pass0) at scbus4 target 0 lun 0 (cd0,pass1) at scbus6 target 4 lun 0 (sa0,pass2) at scbus6 target 4 lun 1 (ch0,pass3) at scbus7 target 0 lun 0 (da0,pass4) at scbus7 target 0 lun 1 (da1,pass5) at scbus7 target 1 lun 0 (da2,pass6) greenhouse-george# I hope the change makes it into BETA2/RC1. Thanks! Best, Greg -- Gregory Wright Antiope Associates LLC 18 Clay Street Fair Haven, New Jersey 07733 USA +1 732 924-4549 [office] +1 732 345-8378 [fax] gwright@antiope.com From owner-freebsd-scsi@FreeBSD.ORG Wed Aug 3 19:35:01 2011 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08DDB1065673; Wed, 3 Aug 2011 19:35:01 +0000 (UTC) (envelope-from gwright@antiope.com) Received: from mho-02-ewr.mailhop.org (mho-04-ewr.mailhop.org [204.13.248.74]) by mx1.freebsd.org (Postfix) with ESMTP id CF5278FC16; Wed, 3 Aug 2011 19:35:00 +0000 (UTC) Received: from pool-96-242-166-137.nwrknj.fios.verizon.net ([96.242.166.137] helo=plumbbob-franklin.18clay.com) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72) (envelope-from ) id 1QohDX-00072P-Uj; Wed, 03 Aug 2011 19:35:00 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 96.242.166.137 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/ZN5qxgXp2IpYD37d26xF481ZGY2w7GJc= Message-ID: <4E39A2E1.4010000@antiope.com> Date: Wed, 03 Aug 2011 15:34:57 -0400 From: Gregory Wright Organization: Antiope Associates User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-scsi@freebsd.org References: <4E396DDD.9030602@antiope.com> <20110803170210.GA46958@nargothrond.kdm.org> <4E39978A.7070401@antiope.com> In-Reply-To: <4E39978A.7070401@antiope.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Kenneth D. Merry" Subject: Re: an mps probelm X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2011 19:35:01 -0000 On 8/3/11 2:46 PM, Gregory Wright wrote: > Hi Ken, > > On 8/3/11 1:02 PM, Kenneth D. Merry wrote: >> On Wed, Aug 03, 2011 at 11:48:45 -0400, Gregory Wright wrote: >>> Hi, >>> >>> I have an LSI SAS 9200-8e hba card. It's connected to a Dell >>> PowerVault 124T autoloader with an LTO4 drive. >>> >>> I installed 9.0-BETA1 yesterday and was able to successfully >>> detect the tape drive (mps driver), but the hba doesn't find the >>> changer. >>> I used camcontrol to force rescanning all luns but that >>> didn't help either. >> Try rescanning the particular LUN for the changer device, like this: >> >> camcontrol rescan 6:4:1 > The changer was found when I used that command. >> (That is assuming the tape drive is at 6:4:0.) >> >>> Since I have just acquired this hardware I installed an OS >>> reported to work with this autoloader/hba combination, >>> ubuntu 11.04 server. On ubuntu, the changer is found: >>> >>> gwright@greenhouse-george:~$ lsscsi -g >>> [0:0:0:0] disk AMCC 9650SE-12M DISK 3.06 /dev/sdb /dev/sg1 >>> [0:0:0:1] disk AMCC 9650SE-12M DISK 3.06 /dev/sdc /dev/sg2 >>> [0:0:1:0] disk AMCC 9650SE-12M DISK 3.06 /dev/sdd /dev/sg3 >>> [1:0:0:0] tape IBM ULTRIUM-TD4 97F0 /dev/st0 /dev/sg5 >>> [1:0:0:1] mediumx DELL PV-124T 0080 /dev/sch0 >>> /dev/sg6 >>> [2:0:0:0] disk ATA ST3160811AS 3.AA /dev/sda /dev/sg0 >>> [6:0:0:0] cd/dvd MITSUMI CD-ROM SR244W T01A /dev/sr0 /dev/sg4 >>> >>> (On ubuntu the driver is mpt2sas.) >>> >>> It seems as if the mps driver is not seeing the additional lun >>> hanging off the bus. >> Yeah, it looks like the path inquiry CCB in the driver is telling CAM >> not >> to scan LUNs. >> >>> This server is not in production yet so I can re-install 9.0-BETA1 >>> and run more tests, if that would help. >> Try the attached patch, and let me know whether it works. >> >> > The patch works. Now I get > > greenhouse-george# camcontrol devlist > at scbus0 target 0 lun 0 (ada0,pass0) > at scbus4 target 0 lun 0 (cd0,pass1) > at scbus6 target 4 lun 0 (sa0,pass2) > at scbus6 target 4 lun 1 (ch0,pass3) > at scbus7 target 0 lun 0 (da0,pass4) > at scbus7 target 0 lun 1 (da1,pass5) > at scbus7 target 1 lun 0 (da2,pass6) > greenhouse-george# > > I hope the change makes it into BETA2/RC1. Thanks! > > Best, > Greg > As a further test I installed mtx and verified that the changer works under software control: greenhouse-george# mtx -f /dev/pass3 status Storage Changer /dev/pass3:1 Drives, 16 Slots ( 0 Import/Export ) Data Transfer Element 0:Empty Storage Element 1:Full Storage Element 2:Full Storage Element 3:Full Storage Element 4:Full Storage Element 5:Empty Storage Element 6:Empty Storage Element 7:Empty Storage Element 8:Empty Storage Element 9:Empty Storage Element 10:Empty Storage Element 11:Empty Storage Element 12:Empty Storage Element 13:Empty Storage Element 14:Empty Storage Element 15:Empty Storage Element 16:Empty greenhouse-george# mtx -f /dev/pass3 load 1 Loading media from Storage Element 1 into drive 0...done greenhouse-george# mtx -f /dev/pass3 status Storage Changer /dev/pass3:1 Drives, 16 Slots ( 0 Import/Export ) Data Transfer Element 0:Full (Storage Element 1 Loaded) Storage Element 1:Empty Storage Element 2:Full Storage Element 3:Full Storage Element 4:Full Storage Element 5:Empty Storage Element 6:Empty Storage Element 7:Empty Storage Element 8:Empty Storage Element 9:Empty Storage Element 10:Empty Storage Element 11:Empty Storage Element 12:Empty Storage Element 13:Empty Storage Element 14:Empty Storage Element 15:Empty Storage Element 16:Empty greenhouse-george# mtx -f /dev/pass3 unload Unloading drive 0 into Storage Element 1...done greenhouse-george# mtx -f /dev/pass3 status Storage Changer /dev/pass3:1 Drives, 16 Slots ( 0 Import/Export ) Data Transfer Element 0:Empty Storage Element 1:Full Storage Element 2:Full Storage Element 3:Full Storage Element 4:Full Storage Element 5:Empty Storage Element 6:Empty Storage Element 7:Empty Storage Element 8:Empty Storage Element 9:Empty Storage Element 10:Empty Storage Element 11:Empty Storage Element 12:Empty Storage Element 13:Empty Storage Element 14:Empty Storage Element 15:Empty Storage Element 16:Empty greenhouse-george# Looks like this issue is resolved. Cheers, Greg -- Gregory Wright Antiope Associates LLC 18 Clay Street Fair Haven, New Jersey 07733 USA +1 732 924-4549 [office] +1 732 345-8378 [fax] gwright@antiope.com From owner-freebsd-scsi@FreeBSD.ORG Wed Aug 3 19:35:37 2011 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D38781065670; Wed, 3 Aug 2011 19:35:37 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AD3888FC16; Wed, 3 Aug 2011 19:35:37 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p73JZbAB030378; Wed, 3 Aug 2011 19:35:37 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p73JZbMA030374; Wed, 3 Aug 2011 19:35:37 GMT (envelope-from linimon) Date: Wed, 3 Aug 2011 19:35:37 GMT Message-Id: <201108031935.p73JZbMA030374@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-scsi@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/159412: [ciss] 7.3 RELEASE: ciss0 ADAPTER HEARTBEAT FAILED error X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2011 19:35:37 -0000 Old Synopsis: 7.3 RELEASE: ciss0 ADAPTER HEARTBEAT FAILED error New Synopsis: [ciss] 7.3 RELEASE: ciss0 ADAPTER HEARTBEAT FAILED error Responsible-Changed-From-To: freebsd-amd64->freebsd-scsi Responsible-Changed-By: linimon Responsible-Changed-When: Wed Aug 3 19:35:14 UTC 2011 Responsible-Changed-Why: reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=159412 From owner-freebsd-scsi@FreeBSD.ORG Fri Aug 5 01:35:56 2011 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D9E41065672; Fri, 5 Aug 2011 01:35:56 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2406A8FC0A; Fri, 5 Aug 2011 01:35:56 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p751ZuPc024659; Fri, 5 Aug 2011 01:35:56 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p751ZuEN024655; Fri, 5 Aug 2011 01:35:56 GMT (envelope-from linimon) Date: Fri, 5 Aug 2011 01:35:56 GMT Message-Id: <201108050135.p751ZuEN024655@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-scsi@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/159414: [isp] isp(4)+gmultipath(8) : removing active fiber path, and gmultipath failing over to standby path provokes a kernel panic X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2011 01:35:56 -0000 Old Synopsis: isp(4)+gmultipath(8) : removing active fiber path, and gmultipath failing over to standby path provokes a kernel panic New Synopsis: [isp] isp(4)+gmultipath(8) : removing active fiber path, and gmultipath failing over to standby path provokes a kernel panic Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi Responsible-Changed-By: linimon Responsible-Changed-When: Fri Aug 5 01:35:36 UTC 2011 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=159414 From owner-freebsd-scsi@FreeBSD.ORG Fri Aug 5 01:40:06 2011 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 033F3106564A; Fri, 5 Aug 2011 01:40:05 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C6ADB8FC12; Fri, 5 Aug 2011 01:40:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p751e5vV024978; Fri, 5 Aug 2011 01:40:05 GMT (envelope-from mjacob@freefall.freebsd.org) Received: (from mjacob@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p751e5dY024974; Fri, 5 Aug 2011 01:40:05 GMT (envelope-from mjacob) Date: Fri, 5 Aug 2011 01:40:05 GMT Message-Id: <201108050140.p751e5dY024974@freefall.freebsd.org> To: mjacob@FreeBSD.org, freebsd-scsi@FreeBSD.org, mjacob@FreeBSD.org From: mjacob@FreeBSD.org Cc: Subject: Re: kern/159414: [isp] isp(4)+gmultipath(8) : removing active fiber path, and gmultipath failing over to standby path provokes a kernel panic X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2011 01:40:06 -0000 Synopsis: [isp] isp(4)+gmultipath(8) : removing active fiber path, and gmultipath failing over to standby path provokes a kernel panic Responsible-Changed-From-To: freebsd-scsi->mjacob Responsible-Changed-By: mjacob Responsible-Changed-When: Fri Aug 5 01:39:45 UTC 2011 Responsible-Changed-Why: I guessI should own this. http://www.freebsd.org/cgi/query-pr.cgi?pr=159414