From owner-freebsd-questions@FreeBSD.ORG Tue Mar 8 13:23:38 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A40B816A4D0 for ; Tue, 8 Mar 2005 13:23:38 +0000 (GMT) Received: from istanbul.enderunix.org (freefall.marmara.edu.tr [193.140.143.23]) by mx1.FreeBSD.org (Postfix) with SMTP id 8245343D58 for ; Tue, 8 Mar 2005 13:23:36 +0000 (GMT) (envelope-from ofsen@enderunix.org) Received: (qmail 74079 invoked by uid 89); 8 Mar 2005 13:24:14 -0000 X-Mail-Scanner: Scanned by qSheff 0.8-p3 against viruses and spams (http://www.enderunix.org/qsheff/) Message-ID: <20050308132413.74076.qmail@istanbul.enderunix.org> From: Omer Faruk Sen To: freebsd-questions@freebsd.org Date: Tue, 08 Mar 2005 15:24:13 +0200 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-9" Content-Transfer-Encoding: 7bit cc: mjacob@freebsd.org Subject: qlogic 2340 and dell cx200 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 13:23:38 -0000 Hi, I have been trying to use a SAN system using Dell CX200 fiber SAN Storage with Qlogic 2340 (PCI-X 133) HBA. But I had lots of error messages and unstable OS behaviour. I have tried different scenarios on that system. This qlogic 2340 card has a qlogic 2312 chipset which is recognized by my kernel: isp0: port 0xcc00-0xccff mem 0xfcd00000-0xfcd00fff irq 24 at device 6.0 on pci3 But in my test setup I receive following errors: (da0:isp0:0:0:0): READ(06). CDB: 8 f 3f 9f 80 0 (da0:isp0:0:0:0): CAM Status: SCSI Status Error (da0:isp0:0:0:0): SCSI Status: Check Condition (da0:isp0:0:0:0): UNIT ATTENTION asc:2a,81 (da0:isp0:0:0:0): Vendor Specific ASCQ (da0:isp0:0:0:0): Retrying Command (per Sense Data) Sometime I receive following errors: isp0: bad execution throttle of 0- using 16 (da1:isp0:0:0:2): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da1:isp0:0:0:2): NOT READY asc:4,3 (da1:isp0:0:0:2): Logical unit not ready, manual intervention required I have enabled ispfw and my system sometime recognizes my LUN's that is smaller than 8 GB (I am not sure about size. I have tried 5GB LUNs). I can format and use it in one of my tries. But after adding a second 5GB LUN my system finds it as da1 but can't format it. I have also added a 30 GB LUN. This LUN can't be formatted to. (da1:isp0:0:0:2): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da1:isp0:0:0:2): NOT READY asc:4,3 (da0:isp0:0:0:0): removing device entry da1 at isp0 bus 0 target 0 lun 2 da1: Fixed Direct Access SCSI-4 device da1: 200.000MB/s transfers, Tagged Queueing Enabled da1: 30720MB (62914560 512 byte sectors: 255H 63S/T 3916C) (da1:isp0:0:0:2): READ(06). CDB: 8 0 0 0 1 0 (da1:isp0:0:0:2): CAM Status: SCSI Status Error (da1:isp0:0:0:2): SCSI Status: Check Condition (da1:isp0:0:0:2): NOT READY asc:4,3 (da1:isp0:0:0:2): Logical unit not ready, manual intervention required (da1:isp0:0:0:2): Unretryable error (da1:isp0:0:0:2): Invalidating pack (da1:isp0:0:0:2): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da1:isp0:0:0:2): NOT READY asc:4,3 (da1:isp0:0:0:2): Logical unit not ready, manual intervention required (da1:isp0:0:0:2): READ(06). CDB: 8 0 0 1 1 0 (da1:isp0:0:0:2): CAM Status: SCSI Status Error (da1:isp0:0:0:2): SCSI Status: Check Condition (da1:isp0:0:0:2): NOT READY asc:4,3 (da1:isp0:0:0:2): Logical unit not ready, manual intervention required (da1:isp0:0:0:2): Unretryable error (da1:isp0:0:0:2): Invalidating pack (da1:isp0:0:0:2): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da1:isp0:0:0:2): NOT READY asc:4,3 (da1:isp0:0:0:2): Logical unit not ready, manual intervention required (da1:isp0:0:0:2): READ(06). CDB: 8 0 0 0 2 0 (da1:isp0:0:0:2): CAM Status: SCSI Status Error (da1:isp0:0:0:2): SCSI Status: Check Condition (da1:isp0:0:0:2): NOT READY asc:4,3 (da1:isp0:0:0:2): Logical unit not ready, manual intervention required (da1:isp0:0:0:2): Unretryable error (da1:isp0:0:0:2): Invalidating pack (da1:isp0:0:0:2): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da1:isp0:0:0:2): NOT READY asc:4,3 (da1:isp0:0:0:2): Logical unit not ready, manual intervention required Mounting root from ufs:/dev/amrd0s1a (da1:isp0:0:0:2): READ(06). CDB: 8 0 0 0 1 0 (da1:isp0:0:0:2): CAM Status: SCSI Status Error (da1:isp0:0:0:2): SCSI Status: Check Condition (da1:isp0:0:0:2): NOT READY asc:4,3 (da1:isp0:0:0:2): Logical unit not ready, manual intervention required (da1:isp0:0:0:2): Unretryable error (da1:isp0:0:0:2): Invalidating pack Has anyone a clue on what is going on? I am very new to that SAN concepts. But I am thinking that the HBA card is the problem but don't have a chance to try another HBA. I have also used ISP_TARGET_MODE=1 in my kernel (both 5.3R and 5-STABLE). But that totally disabled isp card. ----------------------- Omer Faruk Sen http://www.EnderUNIX.ORG Software Development Team @ Turkey http://www.Faruk.NET For Public key: http://www.enderunix.org/ofsen/ofsen.asc ******************************************************** First Turkish FreeBSD book is out! Go check it. Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti. http://www.acikkod.com/freebsd.php