From owner-freebsd-scsi@FreeBSD.ORG Sun May 11 01:07:04 2008 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 2BCCF106566C for ; Sun, 11 May 2008 01:07:04 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id F07F58FC22 for ; Sun, 11 May 2008 01:07:03 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id 9A85E1C802A; Sat, 10 May 2008 18:07:03 -0700 (PDT) Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21632-03; Sat, 10 May 2008 18:07:02 -0700 (PDT) Received: from [10.47.1.126] (vpn.office.miralink.com [10.0.0.5]) by plato.miralink.com (Postfix) with ESMTP id 099581C800D; Sat, 10 May 2008 18:07:01 -0700 (PDT) Message-ID: <482646B5.807@miralink.com> Date: Sat, 10 May 2008 18:07:01 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Graham Allan References: <20080509011028.GV25577@physics.umn.edu> <20080509215621.GX25577@physics.umn.edu> In-Reply-To: <20080509215621.GX25577@physics.umn.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Sat May 10 18:07:03 2008 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 482646b7270421337958704 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-4.499 tagged_above=-10 required=6.6 autolearn=ham tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599, DSPAM_HAM=-0.1] X-Spam-Score: -4.499 X-Spam-Level: Cc: freebsd-scsi@freebsd.org Subject: Re: Hang on boot in isp with QLA2342 after upgrading to 6.3 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: Sun, 11 May 2008 01:07:04 -0000 Graham Allan wrote: > On Thu, May 08, 2008 at 08:10:28PM -0500, Graham Allan wrote: > >> Hi, >> >> I've been trying to figure out a problem on a system which I just >> upgraded from FreeBSD 6.1 to 6.3. It's a Dell 1750 with a QLA2342 >> (isp2312) HBA, connected to an EMC DS-16B2 (aka Brocade 3800) switch, >> and from there to a couple of AC&NC Jetstor arrays. It's all been >> working fine like this for some time under 6.1. >> >> When I boot the system under 6.3, though I get a hang like this: >> >> isp0: Interrupting Mailbox Command (0x6f) Timeout (500000us) >> isp0: PLOGI 0x031a00 failed >> isp0: Interrupting Mailbox Command (0x6e) Timeout (10000000us) >> isp0: Mailbox Command 'SEND SNS' failed (TIMEOUT) >> isp0: isp_pdb_sync: isp_scan_fabric failed >> isp0: Interrupting Mailbox Command (0x6e) Timeout (10000000us) >> isp0: Mailbox Command 'SEND SNS' failed (TIMEOUT) >> isp0: isp_pdb_sync: isp_scan_fabric failed >> isp0: Mailbox Command 'SEND SNS' failed (COMMAND ERROR) >> isp0: isp_pdb_sync: isp_scan_fabric failed >> >> after which the system stays hung. >> > > I've done some more testing on this and am left with a headache because > nothing makes sense! Would certainly be grateful if any fiber channel > gurus might comment. > > I tested again with FreeBSD 7.0 and got the same result as above. > > Next I tried swapping components in and out of the SAN to see if > different combinations have different results. These tests were with > 7.0 since that was what I still had installed. The SAN switch has the > following devices connected: > > 1) AC&NC Jetstor 416F > 2) AC&NC Jetstor 516F > 3) Alphaserver ES40, Tru64 5.1B-6, KGPSA-CA (Emulex) HBA > 4) Dell 1750, (the system I'm writing about), Qlogic 2342 HBA > 5) Dell 1750, Windows 2003, LSI 7202P HBA > > There's no zoning on the switch since all three servers connect to the > two Jetstors. Access to the RAID volumes is controlled by host filters > on the Jetstors. > > So I tested with different combinations of devices connected to the > switch, with perplexing results: > > FreeBSD + 416F only - boots fine > FreeBSD + 516F only - boots fine > FreeBSD + 416F + 516F - boots fine > FreeBSD + 416F + 516F + windows - boots fine > FreeBSD + 416F + 516F + ES40 - hangs with the above error > but, continuing... > FreeBSD + 516F + ES40 - boots fine > FreeBSD + 416F + ES40 - boots fine > FreeBSD + 416F + 516F + ES40 - hangs again > > I can't make any sense of this... there are so many different systems > involved that there's no way to know where the problem really lies. > Although as it did work with FreeBSD 6.1, it feels to me like something > is wrong in the newer isp driver, but I have no solid knowledge to base > that on. > > Thanks for any ideas, > > Graham > I see that you tested 6.1 but not 6.2 ... if you could, can you check 6.2? I'm trying to limit the code searching and that would help a bit. Sean From owner-freebsd-scsi@FreeBSD.ORG Sun May 11 12:37:06 2008 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 DC1221065673 for ; Sun, 11 May 2008 12:37:06 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id 984DC8FC17 for ; Sun, 11 May 2008 12:37:06 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1086543ywe.13 for ; Sun, 11 May 2008 05:37:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=+lbe+2qRJ3MDb2LUtr2UkRfkvD0wMrnMslNm5MkwX2Y=; b=P8i7hH2+p0EzGH3qW9yjRKilusrDzK+KHNc6nM9238a06QC58RQv9UkL/UGheswgNKaQ9Zs/XFLNmchAnbgh+DctLxCpaZ8jBGeOMlq7SjqJ3Kqzf77Ixequ9p0up3kO3jOAQJWjlFwQ5YKnO+HOfrWraTjZPlYfgsWZQTNy9hc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=MIArRPEu4v8eVWiuAEFG92cu/4ENZs3rwrQdnd1sUzUjvWaSEkfbs004lMITBCb3MbYF4QsSSHpXLGhC4pG+Pvm+ST48yWWPgArfNtYiY6oCXfyEb6acRYdVCLaDQNdv/+OSXno8rsC3B7B/fFZE8iJmmM8dNPPFpb2AIW8xBqM= Received: by 10.151.108.13 with SMTP id k13mr7067632ybm.84.1210507906245; Sun, 11 May 2008 05:11:46 -0700 (PDT) Received: by 10.150.206.2 with HTTP; Sun, 11 May 2008 05:11:46 -0700 (PDT) Message-ID: <6eb82e0805110511l2e814258p4ec1a22145da9477@mail.gmail.com> Date: Sun, 11 May 2008 20:11:46 +0800 From: "Rong-en Fan" To: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: default setting of WCE 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: Sun, 11 May 2008 12:37:06 -0000 Hi, I'm wondering what's the default of our da(4) regarding the WCE (write cache) bit. I see some of my disks has this bit on by default and some are off. I guess it depends on the capabilities returned by the underlying device when probing? In addition, on the same hardware, I found that Linux has write cache enabled by default... (yes, I have read da(4) and knows the pros/cons of enabling this). Thanks, Rong-En Fan From owner-freebsd-scsi@FreeBSD.ORG Sun May 11 21:10:47 2008 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 44D561065670 for ; Sun, 11 May 2008 21:10:47 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from florence.spa.umn.edu (florence.spa.umn.edu [128.101.220.10]) by mx1.freebsd.org (Postfix) with ESMTP id 212E68FC17 for ; Sun, 11 May 2008 21:10:46 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from c-75-72-245-201.hsd1.mn.comcast.net ([75.72.245.201] helo=[192.168.0.2]) by florence.spa.umn.edu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66 (FreeBSD)) (envelope-from ) id 1JvIof-0009lG-Ow; Sun, 11 May 2008 16:10:45 -0500 Message-ID: <482760D0.1070106@physics.umn.edu> Date: Sun, 11 May 2008 16:10:40 -0500 From: Graham Allan User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Sean Bruno References: <20080509011028.GV25577@physics.umn.edu> <20080509215621.GX25577@physics.umn.edu> <482646B5.807@miralink.com> In-Reply-To: <482646B5.807@miralink.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org Subject: Re: Hang on boot in isp with QLA2342 after upgrading to 6.3 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: Sun, 11 May 2008 21:10:47 -0000 Sean Bruno wrote: > I see that you tested 6.1 but not 6.2 ... if you could, can you check 6.2? > > I'm trying to limit the code searching and that would help a bit. I'm downloading 6.2 now - should be able to test it tomorrow morning. Thanks! Graham From owner-freebsd-scsi@FreeBSD.ORG Sun May 11 21:30:11 2008 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 139D31065670 for ; Sun, 11 May 2008 21:30:11 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id 784068FC1B for ; Sun, 11 May 2008 21:30:10 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id 1F5381C8018; Sun, 11 May 2008 14:30:10 -0700 (PDT) Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16352-03; Sun, 11 May 2008 14:30:09 -0700 (PDT) Received: from [10.47.1.126] (vpn.office.miralink.com [10.0.0.5]) by plato.miralink.com (Postfix) with ESMTP id 2B82C1C800B; Sun, 11 May 2008 14:30:09 -0700 (PDT) Message-ID: <48276560.30302@miralink.com> Date: Sun, 11 May 2008 14:30:08 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Graham Allan References: <20080509011028.GV25577@physics.umn.edu> <20080509215621.GX25577@physics.umn.edu> <482646B5.807@miralink.com> <482760D0.1070106@physics.umn.edu> In-Reply-To: <482760D0.1070106@physics.umn.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Sun May 11 14:30:09 2008 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 4827656153272145817147 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-4.499 tagged_above=-10 required=6.6 autolearn=ham tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599, DSPAM_HAM=-0.1] X-Spam-Score: -4.499 X-Spam-Level: Cc: freebsd-scsi@freebsd.org Subject: Re: Hang on boot in isp with QLA2342 after upgrading to 6.3 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: Sun, 11 May 2008 21:30:11 -0000 Graham Allan wrote: > Sean Bruno wrote: > > I see that you tested 6.1 but not 6.2 ... if you could, can you > check 6.2? > > > > I'm trying to limit the code searching and that would help a bit. > > I'm downloading 6.2 now - should be able to test it tomorrow morning. > > Thanks! > > Graham Also, have you tried cvsup'ing your kernel to RELENG_6 and recompiling? Sean From owner-freebsd-scsi@FreeBSD.ORG Mon May 12 02:38:25 2008 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 47932106564A for ; Mon, 12 May 2008 02:38:25 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from florence.spa.umn.edu (florence.spa.umn.edu [128.101.220.10]) by mx1.freebsd.org (Postfix) with ESMTP id 1FF5B8FC0C for ; Mon, 12 May 2008 02:38:25 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from c-75-72-245-201.hsd1.mn.comcast.net ([75.72.245.201] helo=[192.168.0.2]) by florence.spa.umn.edu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66 (FreeBSD)) (envelope-from ) id 1JvNvk-000HC6-7C; Sun, 11 May 2008 21:38:24 -0500 Message-ID: <4827AD9F.50202@physics.umn.edu> Date: Sun, 11 May 2008 21:38:23 -0500 From: Graham Allan User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Sean Bruno References: <20080509011028.GV25577@physics.umn.edu> <20080509215621.GX25577@physics.umn.edu> <482646B5.807@miralink.com> <482760D0.1070106@physics.umn.edu> <48276560.30302@miralink.com> In-Reply-To: <48276560.30302@miralink.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org Subject: Re: Hang on boot in isp with QLA2342 after upgrading to 6.3 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, 12 May 2008 02:38:25 -0000 Sean Bruno wrote: > Graham Allan wrote: >> Sean Bruno wrote: >> > I see that you tested 6.1 but not 6.2 ... if you could, can you >> check 6.2? >> > >> > I'm trying to limit the code searching and that would help a bit. >> >> I'm downloading 6.2 now - should be able to test it tomorrow morning. >> > Also, have you tried cvsup'ing your kernel to RELENG_6 and recompiling? No, I only used RELENG_6_3 initially - I can try RELENG_6 after base 6.2, I guess. I did also try one or two other crazy things - like I noticed the isp2300 firmware in ispfw changed versions between 6.1 and 6.3 so I tried rebuilding 6.3 but using the 6.1 firmware (basically copying asm_2300.h from one to the other). Probably a stupid idea to anyone who knows more about the driver than me - didn't help anyway! Graham From owner-freebsd-scsi@FreeBSD.ORG Mon May 12 11:07:05 2008 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 6692810656C3 for ; Mon, 12 May 2008 11:07:05 +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 5455C8FC1B for ; Mon, 12 May 2008 11:07:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4CB75fm038144 for ; Mon, 12 May 2008 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4CB74sS038140 for freebsd-scsi@FreeBSD.org; Mon, 12 May 2008 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 May 2008 11:07:04 GMT Message-Id: <200805121107.m4CB74sS038140@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, 12 May 2008 11:07:05 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/39388 scsi ncr/sym drivers fail with 53c810 and more than 256MB m o kern/40895 scsi wierd kernel / device driver bug o kern/52638 scsi [panic] SCSI U320 on SMP server won't run faster than s kern/57398 scsi [mly] Current fails to install on mly(4) based RAID di o kern/60598 scsi wire down of scsi devices conflicts with config o kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C810 under load s kern/61165 scsi [panic] kernel page fault after calling cam_send_ccb o kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5.3 o kern/90282 scsi [sym] SCSI bus resets cause loss of ch device o kern/92798 scsi [ahc] SCSI problem with timeouts o kern/94838 scsi Kernel panic while mounting SD card with lock switch o o kern/99954 scsi [ahc] reading from DVD failes on 6.x [regression] o kern/110847 scsi [ahd] Tyan U320 onboard problem with more than 3 disks o kern/120247 scsi [mpt] FreeBSD 6.3 and LSI Logic 1030 = only 3.300MB/s 14 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/35234 scsi World access to /dev/pass? (for scanner) requires acce o kern/38828 scsi [dpt] [request] DPT PM2012B/90 doesn't work o kern/44587 scsi dev/dpt/dpt.h is missing defines required for DPT_HAND o kern/76178 scsi [ahd] Problem with ahd and large SCSI Raid system o kern/114597 scsi [sym] System hangs at SCSI bus reset with dual HBAs o kern/119668 scsi [cam] [patch] certain errors are too verbose comparing o kern/120487 scsi [sg] scsi_sg incompatible with scanners o sparc/121676 scsi [iscsi] iscontrol do not connect iscsi-target on sparc 8 problems total. From owner-freebsd-scsi@FreeBSD.ORG Mon May 12 13:58:52 2008 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 A03B61065676 for ; Mon, 12 May 2008 13:58:52 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 59E938FC20 for ; Mon, 12 May 2008 13:58:52 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id m4CDwmS1037595; Mon, 12 May 2008 07:58:49 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <48284D18.5010801@samsco.org> Date: Mon, 12 May 2008 07:58:48 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: Rong-en Fan References: <6eb82e0805110511l2e814258p4ec1a22145da9477@mail.gmail.com> In-Reply-To: <6eb82e0805110511l2e814258p4ec1a22145da9477@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=3.8 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: freebsd-scsi@freebsd.org Subject: Re: default setting of WCE 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, 12 May 2008 13:58:52 -0000 Rong-en Fan wrote: > Hi, > > I'm wondering what's the default of our da(4) regarding > the WCE (write cache) bit. I see some of my disks has this > bit on by default and some are off. I guess it depends on > the capabilities returned by the underlying device when > probing? In addition, on the same hardware, I found that > Linux has write cache enabled by default... (yes, I have read > da(4) and knows the pros/cons of enabling this). > The 'da' driver leaves the WCE setting alone by default. The MPT driver does enable the write cache on SATA drives that it finds on SAS controllers, but this is specific to this driver and it happens unknown to the da driver. Scott From owner-freebsd-scsi@FreeBSD.ORG Mon May 12 15:58:03 2008 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 D1AD1106567A for ; Mon, 12 May 2008 15:58:03 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id 915628FC12 for ; Mon, 12 May 2008 15:58:02 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1307120ywe.13 for ; Mon, 12 May 2008 08:57:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=iZ14qOBlEaJG4YERMme5aBoKkDy2f36eTIpRwTlvi0E=; b=TIip4lLedjV+T9WxKc7uLibL5sKKO0FwMeLgZqJmf4IN6G2FQ/zs5HyoQ7Se91U0WTQUQuOTlwVJOWVxDIlpjdhfWIr5Ni4I6oCCJSKEmvenq/PVjY/7rAbDVha6ArRTfnfLGR4UEsRtEzE26DFJzj6fxv8OBiilz+yPb5eZoeA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IFw3KFMg7fIrzNBBRqoAvmGZ9QLMfWB3B7bMMaWPHgWttPuyY49Cc48fmE6mMugf4ckGL0MAB/odLoqXSSRC5SMXWLRS2j6E3D5ZEfti2erpV96rjtdgXuWX/nOmAsMjnGKDklH994Mo41Xgcqng5P/2AiKj3I5/DONzrH+CmPI= Received: by 10.150.68.41 with SMTP id q41mr8393685yba.106.1210607871126; Mon, 12 May 2008 08:57:51 -0700 (PDT) Received: by 10.150.206.2 with HTTP; Mon, 12 May 2008 08:57:51 -0700 (PDT) Message-ID: <6eb82e0805120857r2e7ff540ub44b3f8661aeba91@mail.gmail.com> Date: Mon, 12 May 2008 23:57:51 +0800 From: "Rong-en Fan" To: "Scott Long" In-Reply-To: <48284D18.5010801@samsco.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6eb82e0805110511l2e814258p4ec1a22145da9477@mail.gmail.com> <48284D18.5010801@samsco.org> Cc: freebsd-scsi@freebsd.org Subject: Re: default setting of WCE 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, 12 May 2008 15:58:03 -0000 On Mon, May 12, 2008 at 9:58 PM, Scott Long wrote: > Rong-en Fan wrote: >> >> Hi, >> >> I'm wondering what's the default of our da(4) regarding >> the WCE (write cache) bit. I see some of my disks has this >> bit on by default and some are off. I guess it depends on >> the capabilities returned by the underlying device when >> probing? In addition, on the same hardware, I found that >> Linux has write cache enabled by default... (yes, I have read >> da(4) and knows the pros/cons of enabling this). >> > > The 'da' driver leaves the WCE setting alone by default. The > MPT driver does enable the write cache on SATA drives that it > finds on SAS controllers, but this is specific to this driver > and it happens unknown to the da driver. Ok, so it depends on the driver that the disk attached to. Thanks for clarifying. Regards, Rong-En Fan > > Scott > From owner-freebsd-scsi@FreeBSD.ORG Mon May 12 16:47:35 2008 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 F2F97106566C for ; Mon, 12 May 2008 16:47:35 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.190]) by mx1.freebsd.org (Postfix) with ESMTP id AF88E8FC1E for ; Mon, 12 May 2008 16:47:35 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: by rn-out-0910.google.com with SMTP id j40so554928rnf.12 for ; Mon, 12 May 2008 09:47:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=L2I1fSM8BMSes6qoALVky4x28BfMMLPNqYkvzsQLFyY=; b=tTmNDTW9XRbtcKTOMAPj4NNDAbiEvxLr2y3DbEcYWGV1t4Z+1dBFpRP5mo4CswmDa/NK3KD6AY+kNpbNGt3W4gnQxxqc/r2dQfREBVKBumElqqHRCUxCJbN9KswrnijA0UmWmU8iB/0PIAd8a1YrdFQor7HJlj9sO9K9qCCQzBw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RTiWd70SdwxsJeaAUrk3y93IafE50WuvfJFOrALZY856hta65jOu+nOW76KjT7/Kdhb49NknQd0w/ROJkH9RBdlGqSxRK/9G2tEXaNZddPzbAMl5MdP12q/1+E3M8N3GuP0WPewE1AHoypqtO0VGaVWmrvpV02SYshZANELXO7A= Received: by 10.150.204.8 with SMTP id b8mr8435667ybg.75.1210609189560; Mon, 12 May 2008 09:19:49 -0700 (PDT) Received: by 10.150.152.3 with HTTP; Mon, 12 May 2008 09:19:49 -0700 (PDT) Message-ID: <3c0b01820805120919s7c8d5249xf5dd62934c113506@mail.gmail.com> Date: Mon, 12 May 2008 12:19:49 -0400 From: "Alexander Sack" To: "Graham Allan" In-Reply-To: <4827AD9F.50202@physics.umn.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080509011028.GV25577@physics.umn.edu> <20080509215621.GX25577@physics.umn.edu> <482646B5.807@miralink.com> <482760D0.1070106@physics.umn.edu> <48276560.30302@miralink.com> <4827AD9F.50202@physics.umn.edu> Cc: freebsd-scsi@freebsd.org Subject: Re: Hang on boot in isp with QLA2342 after upgrading to 6.3 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, 12 May 2008 16:47:36 -0000 On Sun, May 11, 2008 at 10:38 PM, Graham Allan wrote: > Sean Bruno wrote: > > Graham Allan wrote: > >> Sean Bruno wrote: > >> > I see that you tested 6.1 but not 6.2 ... if you could, can you > >> check 6.2? > >> > > >> > I'm trying to limit the code searching and that would help a bit. > >> > >> I'm downloading 6.2 now - should be able to test it tomorrow morning. > >> > > Also, have you tried cvsup'ing your kernel to RELENG_6 and recompiling? > > No, I only used RELENG_6_3 initially - I can try RELENG_6 after base 6.2, I > guess. > > I did also try one or two other crazy things - like I noticed the isp2300 > firmware in ispfw changed versions between 6.1 and 6.3 so I tried rebuilding > 6.3 but using the 6.1 firmware (basically copying asm_2300.h from one to the > other). Probably a stupid idea to anyone who knows more about the driver > than me - didn't help anyway! Graham, from the driver error messages it seems that the card believes you are on a switched fabric and that it most likely is logging into the SNS server to lookup names/addresses for your devices. Are you sure that your switched fabric is setup correctly? I missed part of this thread so I apologize if this topic has already been hashed out. If for some reason the host can not log into the SNS server and retrieve entries from the database, then you are going to be hosed (I agree the OS shouldn't be hung unless you are booting off the disk connected to the failed controller, etc.). I am very familiar with the ISP23/4xx chipset and I go digging more but I was wondering if you have verified that your topology is valid. -aps From owner-freebsd-scsi@FreeBSD.ORG Mon May 12 17:14:06 2008 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 6BA211065675 for ; Mon, 12 May 2008 17:14:06 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from florence.spa.umn.edu (florence.spa.umn.edu [128.101.220.10]) by mx1.freebsd.org (Postfix) with ESMTP id 38F358FC30 for ; Mon, 12 May 2008 17:14:05 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from peevish.spa.umn.edu ([128.101.220.230]) by florence.spa.umn.edu with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1JvbbB-000DmW-0I; Mon, 12 May 2008 12:14:05 -0500 Received: from peevish.spa.umn.edu (localhost.localdomain [127.0.0.1]) by peevish.spa.umn.edu (8.13.1/8.12.11) with ESMTP id m4CHE40o026403; Mon, 12 May 2008 12:14:04 -0500 Received: (from allan@localhost) by peevish.spa.umn.edu (8.13.1/8.13.1/Submit) id m4CHE4Nu026402; Mon, 12 May 2008 12:14:04 -0500 Date: Mon, 12 May 2008 12:14:04 -0500 From: Graham Allan To: Alexander Sack Message-ID: <20080512171404.GE25577@physics.umn.edu> References: <20080509011028.GV25577@physics.umn.edu> <20080509215621.GX25577@physics.umn.edu> <482646B5.807@miralink.com> <482760D0.1070106@physics.umn.edu> <48276560.30302@miralink.com> <4827AD9F.50202@physics.umn.edu> <3c0b01820805120919s7c8d5249xf5dd62934c113506@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3c0b01820805120919s7c8d5249xf5dd62934c113506@mail.gmail.com> User-Agent: Mutt/1.5.9i Cc: freebsd-scsi@freebsd.org Subject: Re: Hang on boot in isp with QLA2342 after upgrading to 6.3 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, 12 May 2008 17:14:06 -0000 On Mon, May 12, 2008 at 12:19:49PM -0400, Alexander Sack wrote: > > Graham, from the driver error messages it seems that the card believes > you are on a switched fabric and that it most likely is logging into > the SNS server to lookup names/addresses for your devices. Are you > sure that your switched fabric is setup correctly? I missed part of > this thread so I apologize if this topic has already been hashed out. > If for some reason the host can not log into the SNS server and > retrieve entries from the database, then you are going to be hosed (I > agree the OS shouldn't be hung unless you are booting off the disk > connected to the failed controller, etc.). > > I am very familiar with the ISP23/4xx chipset and I go digging more > but I was wondering if you have verified that your topology is valid. I'm happy to confess to being a SAN novice, so I'm not quite sure how I would verify that, other than that it "seems to work" ok on the older OS release, and also in specific circumstances on the current one - for example, if one port of the HBA is connected directly to a device, and the other to the fabric, it doesn't have a problem - so in that situation it is able to log in to the fabric ok and retrieve database information. Even when it does hang, it does appear to have logged in to the fabric ok, according to my interpretation of the switch output: fcswitch_s43_2:admin> portshow 8 portName: portHealth: No License Authentication: None portFlags: 0x223805b portLbMod: 0x0 PRESENT ACTIVE F_PORT G_PORT U_PORT LOGIN NOELP LED ACCEPT WAS_EPORT portType: 4.1 portState: 1 Online portPhys: 6 In_Sync portScn: 6 F_Port portRegs: 0x81100000 portData: 0x11deb230 portId: 031800 portWwn: 20:08:00:60:69:51:4a:20 portWwn of device(s) connected: 21:00:00:e0:8b:08:06:d2 Distance: normal Speed: N2Gbps Interrupts: 20487 Link_failure: 18 Frjt: 0 Unknown: 404 Loss_of_sync: 12295 Fbsy: 0 Lli: 13715 Loss_of_sig: 93 Proc_rqrd: 6646 Protocol_err: 0 Timed_out: 0 Invalid_word: 0 Rx_flushed: 0 Invalid_crc: 0 Tx_unavail: 0 Delim_err: 0 Free_buffer: 0 Address_err: 0 Overrun: 0 Lr_in: 36 Suspended: 0 Lr_out: 73 Parity_err: 0 Ols_in: 73 and it's listed in the switch name server (third entry down, 031800): fcswitch_s43_2:admin> nsshow { Type Pid COS PortName NodeName TTL(sec) N 031300; 3;21:00:00:04:d9:60:17:6e;20:00:00:04:d9:60:17:6d; na FC4s: FCP PortSymb: [39] "UNKNOWN A.0 UNKNOWN FW:01.02 Port 1 " Fabric Port Name: 20:03:00:60:69:51:4a:20 N 031500; 3;21:00:00:1b:4d:00:83:ed;20:00:00:1b:4d:00:83:ec; na FC4s: FCP [JetStor FreeBSD mark R4 R001] Fabric Port Name: 20:05:00:60:69:51:4a:20 N 031800; 3;21:00:00:e0:8b:08:06:d2;20:00:00:e0:8b:08:06:d2; na FC4s: FCP Fabric Port Name: 20:08:00:60:69:51:4a:20 N 031900; 3;10:00:00:06:2b:09:4f:d8;20:00:00:06:2b:09:4f:d8; na FC4s: FCIP FCP PortSymb: [47] "LSI7202P B.0 03-01001-02A FW:1.00.06 Port 0 " Fabric Port Name: 20:09:00:60:69:51:4a:20 N 031a00; 2,3;10:00:00:00:c9:24:5b:04;20:00:00:00:c9:24:5b:04; na FC4s: FCP PortSymb: [49] "UNIX (emx2) KGPSA-CA S/W Rev 2.25: F/W Rev 3.93a0" Fabric Port Name: 20:0a:00:60:69:51:4a:20 The Local Name Server has 5 entries } It has been pointed out to me that this kind of weird interaction isn't exactly unknown in the SAN world, and setting up zoning on the switch would probably make it go away. So I will also try that (it's probably a giveway of a SAN novice that I hadn't already done so - it certainly does sound like it would help). But if the hang does point to a problem in the driver, I'm also happy to keep trying different things in the hope of revealing where the problem actually lies. Graham From owner-freebsd-scsi@FreeBSD.ORG Mon May 12 17:26:13 2008 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 B7B341065672 for ; Mon, 12 May 2008 17:26:13 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from florence.spa.umn.edu (florence.spa.umn.edu [128.101.220.10]) by mx1.freebsd.org (Postfix) with ESMTP id 80BA58FC1D for ; Mon, 12 May 2008 17:26:13 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from peevish.spa.umn.edu ([128.101.220.230]) by florence.spa.umn.edu with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1Jvbmu-000ENj-Mc; Mon, 12 May 2008 12:26:12 -0500 Received: from peevish.spa.umn.edu (localhost.localdomain [127.0.0.1]) by peevish.spa.umn.edu (8.13.1/8.12.11) with ESMTP id m4CHQC7j026716; Mon, 12 May 2008 12:26:12 -0500 Received: (from allan@localhost) by peevish.spa.umn.edu (8.13.1/8.13.1/Submit) id m4CHQC9A026715; Mon, 12 May 2008 12:26:12 -0500 Date: Mon, 12 May 2008 12:26:12 -0500 From: Graham Allan To: Sean Bruno Message-ID: <20080512172612.GF25577@physics.umn.edu> References: <20080509011028.GV25577@physics.umn.edu> <20080509215621.GX25577@physics.umn.edu> <482646B5.807@miralink.com> <482760D0.1070106@physics.umn.edu> <48276560.30302@miralink.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48276560.30302@miralink.com> User-Agent: Mutt/1.5.9i Cc: freebsd-scsi@freebsd.org Subject: Re: Hang on boot in isp with QLA2342 after upgrading to 6.3 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, 12 May 2008 17:26:13 -0000 On Sun, May 11, 2008 at 02:30:08PM -0700, Sean Bruno wrote: > >> I see that you tested 6.1 but not 6.2 ... if you could, can you > >check 6.2? > >> > >> I'm trying to limit the code searching and that would help a bit. > > > >I'm downloading 6.2 now - should be able to test it tomorrow morning. > > > Also, have you tried cvsup'ing your kernel to RELENG_6 and recompiling? I didn't get our 6.2 network install set up all the way, but during the installation boot (which identifies itself as 6.2-RELEASE-p0) it identifies all available devices on the SAN without hanging, so I think that version works fine. Next I will revert to 6.3, and cvsup it to RELENG_6... Graham -- ------------------------------------------------------------------------- Graham Allan - I.T. Manager - allan@physics.umn.edu - (612) 624-5040 School of Physics and Astronomy - University of Minnesota ------------------------------------------------------------------------- From owner-freebsd-scsi@FreeBSD.ORG Mon May 12 17:29:39 2008 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 CCDFE1065675 for ; Mon, 12 May 2008 17:29:39 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id A748A8FC14 for ; Mon, 12 May 2008 17:29:39 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id 5C16F1C8032; Mon, 12 May 2008 10:29:39 -0700 (PDT) Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26799-08; Mon, 12 May 2008 10:29:38 -0700 (PDT) Received: from iago.office.miralink.com (iago.office.miralink.com [10.0.0.40]) by plato.miralink.com (Postfix) with ESMTP id 7D1D51C802F; Mon, 12 May 2008 10:29:38 -0700 (PDT) Message-ID: <48287E81.5070004@miralink.com> Date: Mon, 12 May 2008 10:29:37 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Graham Allan References: <20080509011028.GV25577@physics.umn.edu> <20080509215621.GX25577@physics.umn.edu> <482646B5.807@miralink.com> <482760D0.1070106@physics.umn.edu> <48276560.30302@miralink.com> <20080512172612.GF25577@physics.umn.edu> In-Reply-To: <20080512172612.GF25577@physics.umn.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Mon May 12 10:29:39 2008 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 48287e83289842051017194 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-4.499 tagged_above=-10 required=6.6 autolearn=ham tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599, DSPAM_HAM=-0.1] X-Spam-Score: -4.499 X-Spam-Level: Cc: freebsd-scsi@freebsd.org Subject: Re: Hang on boot in isp with QLA2342 after upgrading to 6.3 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, 12 May 2008 17:29:39 -0000 Graham Allan wrote: > On Sun, May 11, 2008 at 02:30:08PM -0700, Sean Bruno wrote: > >>>> I see that you tested 6.1 but not 6.2 ... if you could, can you >>>> >>> check 6.2? >>> >>>> I'm trying to limit the code searching and that would help a bit. >>>> >>> I'm downloading 6.2 now - should be able to test it tomorrow morning. >>> >>> >> Also, have you tried cvsup'ing your kernel to RELENG_6 and recompiling? >> > > I didn't get our 6.2 network install set up all the way, but during the > installation boot (which identifies itself as 6.2-RELEASE-p0) it > identifies all available devices on the SAN without hanging, so I think > that version works fine. > > Next I will revert to 6.3, and cvsup it to RELENG_6... > > Graham > Interesting. I'm intrigued. Let me know. Sean From owner-freebsd-scsi@FreeBSD.ORG Mon May 12 21:09:30 2008 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 9644E1065670 for ; Mon, 12 May 2008 21:09:30 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from florence.spa.umn.edu (florence.spa.umn.edu [128.101.220.10]) by mx1.freebsd.org (Postfix) with ESMTP id 6FDB38FC1F for ; Mon, 12 May 2008 21:09:30 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from peevish.spa.umn.edu ([128.101.220.230]) by florence.spa.umn.edu with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1JvfGz-000LKE-PA; Mon, 12 May 2008 16:09:29 -0500 Received: from peevish.spa.umn.edu (localhost.localdomain [127.0.0.1]) by peevish.spa.umn.edu (8.13.1/8.12.11) with ESMTP id m4CL9T4s002307; Mon, 12 May 2008 16:09:29 -0500 Received: (from allan@localhost) by peevish.spa.umn.edu (8.13.1/8.13.1/Submit) id m4CL9Txv002306; Mon, 12 May 2008 16:09:29 -0500 Date: Mon, 12 May 2008 16:09:29 -0500 From: Graham Allan To: Sean Bruno Message-ID: <20080512210929.GJ25577@physics.umn.edu> References: <20080509011028.GV25577@physics.umn.edu> <20080509215621.GX25577@physics.umn.edu> <482646B5.807@miralink.com> <482760D0.1070106@physics.umn.edu> <48276560.30302@miralink.com> <20080512172612.GF25577@physics.umn.edu> <48287E81.5070004@miralink.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48287E81.5070004@miralink.com> User-Agent: Mutt/1.5.9i Cc: freebsd-scsi@freebsd.org Subject: Re: Hang on boot in isp with QLA2342 after upgrading to 6.3 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, 12 May 2008 21:09:30 -0000 On Mon, May 12, 2008 at 10:29:37AM -0700, Sean Bruno wrote: > Graham Allan wrote: > > > >I didn't get our 6.2 network install set up all the way, but during the > >installation boot (which identifies itself as 6.2-RELEASE-p0) it > >identifies all available devices on the SAN without hanging, so I think > >that version works fine. > > > >Next I will revert to 6.3, and cvsup it to RELENG_6... > > > >Graham > > > Interesting. I'm intrigued. > > Let me know. I get the same behaviour on RELENG_6 (kernel reports itself as 6.3-STABLE #4). Do you think I should try with -CURRENT? Would that even work with a 6.3 userland, or would I need to build world as well? I can also re-enable debug output in the isp driver and report what is going on there. Unfortunately last time I tried this the two results were not that useful: (1) capturing it from the screen (or Dell RAC output) you only get the last 20-odd lines; or (2) redirecting to a serial console slightly changes the behaviour (it still never boots but remains forever in some kind of retry loop), perhaps because the kernel execution is throttled to the 9600 baud output speed. Could try 115kbaud, but that is still pretty slow, relative to no serial. Graham From owner-freebsd-scsi@FreeBSD.ORG Wed May 14 01:43:08 2008 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 A8A09106566C for ; Wed, 14 May 2008 01:43:08 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from florence.spa.umn.edu (florence.spa.umn.edu [128.101.220.10]) by mx1.freebsd.org (Postfix) with ESMTP id 7A96F8FC1B for ; Wed, 14 May 2008 01:43:08 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from peevish.spa.umn.edu ([128.101.220.230]) by florence.spa.umn.edu with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1Jw61L-0003Xh-MX for freebsd-scsi@freebsd.org; Tue, 13 May 2008 20:43:07 -0500 Received: from peevish.spa.umn.edu (localhost.localdomain [127.0.0.1]) by peevish.spa.umn.edu (8.13.1/8.12.11) with ESMTP id m4E1h7eg031149 for ; Tue, 13 May 2008 20:43:07 -0500 Received: (from allan@localhost) by peevish.spa.umn.edu (8.13.1/8.13.1/Submit) id m4E1h7Q7031148 for freebsd-scsi@freebsd.org; Tue, 13 May 2008 20:43:07 -0500 Date: Tue, 13 May 2008 20:43:07 -0500 From: Graham Allan To: freebsd-scsi@freebsd.org Message-ID: <20080514014307.GV25577@physics.umn.edu> References: <20080509011028.GV25577@physics.umn.edu> <20080509215621.GX25577@physics.umn.edu> <482646B5.807@miralink.com> <482760D0.1070106@physics.umn.edu> <48276560.30302@miralink.com> <4827AD9F.50202@physics.umn.edu> <3c0b01820805120919s7c8d5249xf5dd62934c113506@mail.gmail.com> <20080512171404.GE25577@physics.umn.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080512171404.GE25577@physics.umn.edu> User-Agent: Mutt/1.5.9i Subject: Re: Hang on boot in isp with QLA2342 after upgrading to 6.3 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, 14 May 2008 01:43:08 -0000 On Mon, May 12, 2008 at 12:14:04PM -0500, Graham Allan wrote: > > It has been pointed out to me that this kind of weird interaction isn't > exactly unknown in the SAN world, and setting up zoning on the switch > would probably make it go away. So I will also try that (it's probably > a giveway of a SAN novice that I hadn't already done so - it certainly > does sound like it would help). But if the hang does point to a problem > in the driver, I'm also happy to keep trying different things in the > hope of revealing where the problem actually lies. Replying to my own message here. The good news for me is that setting up zoning in the switch does fix (or at least hide) the problem on this server for me. The bad news is, I believe I'm seeing a similar kind of behaviour on a completely different 6.3 setup. Haven't had time to fully characterise it yet, but in short... Dell 1950 with QLA2342, connected directly to an EMC CX300 array. Very often (lets say unpredictably 50% of time) hangs during boot at exactly the same point as the first system, right around the time it would be probing for drives. Graham From owner-freebsd-scsi@FreeBSD.ORG Wed May 14 11:34:06 2008 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 E507F1065672; Wed, 14 May 2008 11:34:06 +0000 (UTC) (envelope-from vwe@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BF3828FC12; Wed, 14 May 2008 11:34:06 +0000 (UTC) (envelope-from vwe@FreeBSD.org) Received: from freefall.freebsd.org (vwe@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4EBY65B065728; Wed, 14 May 2008 11:34:06 GMT (envelope-from vwe@freefall.freebsd.org) Received: (from vwe@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4EBY6CZ065724; Wed, 14 May 2008 11:34:06 GMT (envelope-from vwe) Date: Wed, 14 May 2008 11:34:06 GMT Message-Id: <200805141134.m4EBY6CZ065724@freefall.freebsd.org> To: vwe@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-scsi@FreeBSD.org From: vwe@FreeBSD.org Cc: Subject: Re: kern/123666: [aac] aac(4) will not work with Adaptec SAS RAID 3805 controller 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, 14 May 2008 11:34:07 -0000 Synopsis: [aac] aac(4) will not work with Adaptec SAS RAID 3805 controller Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi Responsible-Changed-By: vwe Responsible-Changed-When: Wed May 14 11:33:35 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=123666 From owner-freebsd-scsi@FreeBSD.ORG Wed May 14 21:20:14 2008 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 27213106564A; Wed, 14 May 2008 21:20:14 +0000 (UTC) (envelope-from vwe@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 04D818FC0A; Wed, 14 May 2008 21:20:14 +0000 (UTC) (envelope-from vwe@FreeBSD.org) Received: from freefall.freebsd.org (vwe@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4ELKD2s019056; Wed, 14 May 2008 21:20:13 GMT (envelope-from vwe@freefall.freebsd.org) Received: (from vwe@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4ELKDj0019052; Wed, 14 May 2008 21:20:13 GMT (envelope-from vwe) Date: Wed, 14 May 2008 21:20:13 GMT Message-Id: <200805142120.m4ELKDj0019052@freefall.freebsd.org> To: vwe@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-scsi@FreeBSD.org From: vwe@FreeBSD.org Cc: Subject: Re: kern/123674: [ahc] ahc driver dumping 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, 14 May 2008 21:20:14 -0000 Old Synopsis: ahc driver dumping New Synopsis: [ahc] ahc driver dumping Responsible-Changed-From-To: freebsd-i386->freebsd-scsi Responsible-Changed-By: vwe Responsible-Changed-When: Wed May 14 21:18:20 UTC 2008 Responsible-Changed-Why: doesn't sound i386 specific - reclassify often these messages are a sign of bad media, faulty hardware, bad firmware, bad cables or a drive cleaning might be needed Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=123674 From owner-freebsd-scsi@FreeBSD.ORG Thu May 15 13:02:02 2008 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 E1A5C106564A for ; Thu, 15 May 2008 13:02:00 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from florence.spa.umn.edu (florence.spa.umn.edu [128.101.220.10]) by mx1.freebsd.org (Postfix) with ESMTP id B63138FC1E for ; Thu, 15 May 2008 13:02:00 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from c-75-72-245-201.hsd1.mn.comcast.net ([75.72.245.201] helo=[192.168.0.2]) by florence.spa.umn.edu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66 (FreeBSD)) (envelope-from ) id 1Jwd5r-000FGk-SD for freebsd-scsi@freebsd.org; Thu, 15 May 2008 08:02:00 -0500 Message-ID: <482C3446.8010203@physics.umn.edu> Date: Thu, 15 May 2008 08:01:58 -0500 From: Graham Allan User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: freebsd-scsi@freebsd.org References: <20080509011028.GV25577@physics.umn.edu> <20080509215621.GX25577@physics.umn.edu> <482646B5.807@miralink.com> <482760D0.1070106@physics.umn.edu> <48276560.30302@miralink.com> <4827AD9F.50202@physics.umn.edu> <3c0b01820805120919s7c8d5249xf5dd62934c113506@mail.gmail.com> <20080512171404.GE25577@physics.umn.edu> <20080514014307.GV25577@physics.umn.edu> In-Reply-To: <20080514014307.GV25577@physics.umn.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Hang on boot in isp with QLA2342 after upgrading to 6.3 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: Thu, 15 May 2008 13:02:03 -0000 Graham Allan wrote: > On Mon, May 12, 2008 at 12:14:04PM -0500, Graham Allan wrote: >> It has been pointed out to me that this kind of weird interaction isn't >> exactly unknown in the SAN world, and setting up zoning on the switch >> would probably make it go away. So I will also try that (it's probably >> a giveway of a SAN novice that I hadn't already done so - it certainly >> does sound like it would help). But if the hang does point to a problem >> in the driver, I'm also happy to keep trying different things in the >> hope of revealing where the problem actually lies. > > Replying to my own message here. > > The good news for me is that setting up zoning in the switch does fix > (or at least hide) the problem on this server for me. > > The bad news is, I believe I'm seeing a similar kind of behaviour on a > completely different 6.3 setup. Haven't had time to fully characterise > it yet, but in short... Dell 1950 with QLA2342, connected directly to > an EMC CX300 array. Very often (lets say unpredictably 50% of time) > hangs during boot at exactly the same point as the first system, right > around the time it would be probing for drives. So I guess one thing I could do is build a kernal with debugging support (and possibly the "deadlock recipe" from the freebsd handbook), and force it to the debugger when it hangs. Then I could at least get some tracebacks and other information - though as it never actually panics I'm not sure how useful the information will be - I guess it's likely stuck in a loop somehow. It should give some clue. Does that sound like a reasonable idea? Does the kernel version matter (eg standard 6.3 vs RELENG_6)? Is this list the most appropriate place for me to talk about the issue? (I also think I should double-check 6.2 again, as its release notes indicate it was where isp was synced from CURRENT - I'd think it should have the same issue). Thanks for everyones interest, Graham From owner-freebsd-scsi@FreeBSD.ORG Thu May 15 17:31:59 2008 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 0CAB61065672 for ; Thu, 15 May 2008 17:31:59 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id C95128FC27 for ; Thu, 15 May 2008 17:31:58 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id 5F0E61C80D0; Thu, 15 May 2008 10:31:58 -0700 (PDT) Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24277-08; Thu, 15 May 2008 10:31:57 -0700 (PDT) Received: from localhost.localdomain (vpn.office.miralink.com [10.0.0.5]) by plato.miralink.com (Postfix) with ESMTP id B38901C80A1; Thu, 15 May 2008 10:31:56 -0700 (PDT) Message-ID: <482C738B.9040209@miralink.com> Date: Thu, 15 May 2008 10:31:55 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Graham Allan References: <20080509011028.GV25577@physics.umn.edu> <20080509215621.GX25577@physics.umn.edu> <482646B5.807@miralink.com> <482760D0.1070106@physics.umn.edu> <48276560.30302@miralink.com> <4827AD9F.50202@physics.umn.edu> <3c0b01820805120919s7c8d5249xf5dd62934c113506@mail.gmail.com> <20080512171404.GE25577@physics.umn.edu> <20080514014307.GV25577@physics.umn.edu> <482C3446.8010203@physics.umn.edu> In-Reply-To: <482C3446.8010203@physics.umn.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu May 15 10:31:58 2008 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 482c738e89681214584237 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-4.499 tagged_above=-10 required=6.6 autolearn=ham tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599, DSPAM_HAM=-0.1] X-Spam-Score: -4.499 X-Spam-Level: Cc: freebsd-scsi@freebsd.org Subject: Re: Hang on boot in isp with QLA2342 after upgrading to 6.3 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: Thu, 15 May 2008 17:31:59 -0000 Graham Allan wrote: > Graham Allan wrote: >> On Mon, May 12, 2008 at 12:14:04PM -0500, Graham Allan wrote: >>> It has been pointed out to me that this kind of weird interaction isn't >>> exactly unknown in the SAN world, and setting up zoning on the switch >>> would probably make it go away. So I will also try that (it's probably >>> a giveway of a SAN novice that I hadn't already done so - it certainly >>> does sound like it would help). But if the hang does point to a problem >>> in the driver, I'm also happy to keep trying different things in the >>> hope of revealing where the problem actually lies. >> >> Replying to my own message here. >> >> The good news for me is that setting up zoning in the switch does fix >> (or at least hide) the problem on this server for me. >> >> The bad news is, I believe I'm seeing a similar kind of behaviour on a >> completely different 6.3 setup. Haven't had time to fully characterise >> it yet, but in short... Dell 1950 with QLA2342, connected directly to >> an EMC CX300 array. Very often (lets say unpredictably 50% of time) >> hangs during boot at exactly the same point as the first system, right >> around the time it would be probing for drives. > > So I guess one thing I could do is build a kernal with debugging > support (and possibly the "deadlock recipe" from the freebsd > handbook), and force it to the debugger when it hangs. Then I could at > least get some tracebacks and other information - though as it never > actually panics I'm not sure how useful the information will be - I > guess it's likely stuck in a loop somehow. It should give some clue. > > Does that sound like a reasonable idea? Does the kernel version matter > (eg standard 6.3 vs RELENG_6)? Is this list the most appropriate place > for me to talk about the issue? > > (I also think I should double-check 6.2 again, as its release notes > indicate it was where isp was synced from CURRENT - I'd think it > should have the same issue). > > Thanks for everyones interest, > > Graham > _______________________________________________ If you can, I'd do the testing with RELENG_7. Sean From owner-freebsd-scsi@FreeBSD.ORG Thu May 15 23:58:26 2008 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 D2E101065673 for ; Thu, 15 May 2008 23:58:26 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 67FEC8FC1C for ; Thu, 15 May 2008 23:58:26 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from joshua-aunes-macbook-pro.local ([192.168.254.200]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id m4FNwMCT069793; Thu, 15 May 2008 17:58:22 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <482CCE1D.70703@samsco.org> Date: Thu, 15 May 2008 17:58:21 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: Graham Allan References: <20080509011028.GV25577@physics.umn.edu> <20080509215621.GX25577@physics.umn.edu> <482646B5.807@miralink.com> <482760D0.1070106@physics.umn.edu> <48276560.30302@miralink.com> <4827AD9F.50202@physics.umn.edu> <3c0b01820805120919s7c8d5249xf5dd62934c113506@mail.gmail.com> <20080512171404.GE25577@physics.umn.edu> <20080514014307.GV25577@physics.umn.edu> <482C3446.8010203@physics.umn.edu> In-Reply-To: <482C3446.8010203@physics.umn.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=3.8 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: freebsd-scsi@freebsd.org Subject: Re: Hang on boot in isp with QLA2342 after upgrading to 6.3 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: Thu, 15 May 2008 23:58:26 -0000 Graham Allan wrote: > Graham Allan wrote: >> On Mon, May 12, 2008 at 12:14:04PM -0500, Graham Allan wrote: >>> It has been pointed out to me that this kind of weird interaction isn't >>> exactly unknown in the SAN world, and setting up zoning on the switch >>> would probably make it go away. So I will also try that (it's probably >>> a giveway of a SAN novice that I hadn't already done so - it certainly >>> does sound like it would help). But if the hang does point to a problem >>> in the driver, I'm also happy to keep trying different things in the >>> hope of revealing where the problem actually lies. >> >> Replying to my own message here. >> >> The good news for me is that setting up zoning in the switch does fix >> (or at least hide) the problem on this server for me. >> >> The bad news is, I believe I'm seeing a similar kind of behaviour on a >> completely different 6.3 setup. Haven't had time to fully characterise >> it yet, but in short... Dell 1950 with QLA2342, connected directly to >> an EMC CX300 array. Very often (lets say unpredictably 50% of time) >> hangs during boot at exactly the same point as the first system, right >> around the time it would be probing for drives. > > So I guess one thing I could do is build a kernal with debugging support > (and possibly the "deadlock recipe" from the freebsd handbook), and > force it to the debugger when it hangs. Then I could at least get some > tracebacks and other information - though as it never actually panics > I'm not sure how useful the information will be - I guess it's likely > stuck in a loop somehow. It should give some clue. > > Does that sound like a reasonable idea? Does the kernel version matter > (eg standard 6.3 vs RELENG_6)? Is this list the most appropriate place > for me to talk about the issue? > > (I also think I should double-check 6.2 again, as its release notes > indicate it was where isp was synced from CURRENT - I'd think it should > have the same issue). > > Thanks for everyones interest, > > Graham Well, is it actually deadlocking, or just holding up the boot while it tries to individually probe many thousands of target and lun ID's? I'd bet it's the latter. Compiling in the debugger is the correct first step. You can then compile in CAMDEBUG, CAM_DEBUG_LUN=-1, and CAM_DEBUG_FLAGS=CAM_DEBUG_INFO. Scott