From owner-freebsd-stable@FreeBSD.ORG Thu Nov 12 16:33:20 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57412106566B for ; Thu, 12 Nov 2009 16:33:20 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from megatron.madpilot.net (megatron.madpilot.net [88.149.173.206]) by mx1.freebsd.org (Postfix) with ESMTP id EF7628FC08 for ; Thu, 12 Nov 2009 16:33:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by megatron.madpilot.net (Postfix) with ESMTP id 4E99B16F6 for ; Thu, 12 Nov 2009 17:33:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= user-agent:content-disposition:content-type:content-type :mime-version:message-id:subject:subject:from:from:date:date :received:received; s=mail; t=1258043596; x=1259857996; bh=XMwbB EBrgAikABMMaQuT/UXIBuU49Mq66t4rGRSxsoY=; b=PnjlKUFQU0R/+0UV7dAtZ uP24b/zVA7Z8synfR/r6nw0yxYd319aJEAt+9keDWNcE//mBWvVIVHAMoAgQHu4U tAgjPEYShstaEX7ck4AEGnPTGtwtptRcCODqC/vChMz15o2nWEBtYLRKcSeFWVpq AK2d+KqYyrPDSBIqj2c5Jc= X-Virus-Scanned: amavisd-new at madpilot.net Received: from megatron.madpilot.net ([127.0.0.1]) by localhost (megatron.madpilot.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id qJoag7TX0tBE for ; Thu, 12 Nov 2009 17:33:16 +0100 (CET) Received: by megatron.madpilot.net (Postfix, from userid 1000) id F0B9D16EE; Thu, 12 Nov 2009 17:33:15 +0100 (CET) Date: Thu, 12 Nov 2009 17:33:15 +0100 From: Guido Falsi To: freebsd-stable@freebsd.org Message-ID: <20091112163315.GB11200@megatron.madpilot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 8.0-RC2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: ciss(4) not seeing multiple LUNs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2009 16:33:20 -0000 Hello, I'm having a strange problem with HP hardware and the ciss(4) driver. I have an HP DL160 G6 server with FreeBSD 8 (cvsupped from RELENG_8 yesterday) with a Smart Array P212 SAS controller. There is an HP Storageworks 1/8 G2 autoloader (dmesg from the machine attached). The problem is I only get the sa0 device from the tape drive on LUN 0 of the device, the ch0 device which should be at LUN 1 is not detected. Camcontrol gives this output: # camcontrol devlist -v scbus0 on ciss0 bus 0: scbus1 on ciss0 bus 32: at scbus1 target 4 lun 0 (sa0,pass0) scbus-1 on xpt0 bus 0: <> at scbus-1 target -1 lun -1 (xpt0) # camcontrol reportluns 1:4 2 LUNs found 0 1 If I try to force a rescan of device 4:1:1 (or any 4:1:x for that matter) it will happily report a device, but it will be the same device it sees on LUN 0. I tried the syscontrols reported in ciss(4) without any change. I could not find much ducumentation about this on HP site. The controller's documentation says it "supports" the autoloader, so it should be able to see it. Maybe I need to enable something in the contorller but I got no documetnation about that. Does someone has got an idea? Is this a problem with the ciss driver? Thanks in advance for any help! -- Guido Falsi