From owner-freebsd-scsi@FreeBSD.ORG Sat Nov 22 18:34: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 701321065674 for ; Sat, 22 Nov 2008 18:34:02 +0000 (UTC) (envelope-from toasty@dragondata.com) Received: from tokyo01.jp.mail.your.org (tokyo01.jp.mail.your.org [204.9.54.5]) by mx1.freebsd.org (Postfix) with ESMTP id 0F3928FC12 for ; Sat, 22 Nov 2008 18:34:02 +0000 (UTC) (envelope-from toasty@dragondata.com) Received: from tokyo01.jp.mail.your.org (localhost.your.org [127.0.0.1]) by tokyo01.jp.mail.your.org (Postfix) with ESMTP id 193DD2AD58B5 for ; Sat, 22 Nov 2008 18:18:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=dragondata.com; h= message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date; s=selector1; bh=fhmbIGzZ2C0YTD3S+mv0 i1uvXuE=; b=K/G6qpWwInVOOd78D1HkjMCZ3IlaKh9Gbb8B+x4Cc0FRpj6lH5uN GweoxUMtSCIXnekDjNjihvywxvoVUpClEete2pXNUhpGpPRNhOfVZOk134WRHdqF shErTitq3uZUmqzfj6R0xBy08NCCYxpKGTmMJeyNJpaM9fLIeBH9TbM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=dragondata.com; h=message-id:from :to:content-type:content-transfer-encoding:mime-version:subject: date; q=dns; s=selector1; b=I/7Dma2TfP171javyXk+ULERrlXvJJ0IUxkn YUdVoqkBWNGzvFk3lA9OBJSXcM/HAuLCwNCC0iEGEbL7T0FXablrIr8qAD0RpPep WWeM4E+cIuJx1WGjk2dn0Q2spbkwCQdRx+zD+UYbqzHoZKRCSeGbRBoSzCGJ3l6n P8VSQsI= Received: from mail.your.org (server3-a.your.org [64.202.112.67]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by tokyo01.jp.mail.your.org (Postfix) with ESMTPS id AAAB52AD5468 for ; Sat, 22 Nov 2008 18:18:30 +0000 (UTC) Received: from [216.14.99.244] (unknown [216.14.99.244]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.your.org (Postfix) with ESMTPSA id 0789CA0A406 for ; Sat, 22 Nov 2008 18:17:44 +0000 (UTC) Message-Id: From: Kevin Day To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Sat, 22 Nov 2008 12:18:27 -0600 X-Mailer: Apple Mail (2.929.2) Subject: hpacucli on 7.0/amd64 not working 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: Sat, 22 Nov 2008 18:34:02 -0000 Has anyone managed to get hpacucli working on amd64 in 7.0? I've got an HP DL185 G5 with HP's E200 RAID card in it. I had hpacucli working okay in 6.3/i386, and it works fine in a 64 bit Linux boot, but not in 7.0/amd64: # /usr/local/sbin/hpacucli .P Array Configuration Utility CLI .2. Detecting Controllers...In AddChild:0x838c180 In AddChild child doesnot exists:0x838c180 Iam inside findDevce The device enumerated now is 0x838c180 In Reenumerate Childern Eoption is 1 This device can discover children Thu Nov 13 15:29:40 2008 Operation Call: OperationSetAllowedControllerDiscovery Thu Nov 13 15:29:40 2008 Operation Call: OperationReadSystemInfo Thu Nov 13 15:29:40 2008 Operation Call: OperationCaptureConfigurationMutex Thu Nov 13 15:29:40 2008 Operation Call: OperationReleaseConfigurationMutex Thu Nov 13 15:29:40 2008 Operation Call: OperationDiscoverHostBusAdapters Thu Nov 13 15:29:40 2008 Operation Call: OperationDiscoverNonFibreHBA __TRACE_CODE*1310* pBmicRequest->wCommandStatus=0 /usr/home/user/ im453_new/im453/.s_/LINUX/src/lxioctlciss.cpp zzz freebsd Bus = 5, devfn = 64, dev = 8, fn = 0 freebsd, Looking for bus 5, device 8, function 0 ioctl: Inappropriate ioctl for device Thu Nov 13 15:29:40 2008 Operation Call: OperationDiscoverInternalArrayControllers zzz freebsd Bus = 5, devfn = 64, dev = 8, fn = 0 freebsd, Looking for bus 5, device 8, function 0 ioctl: Inappropriate ioctl for device Thu Nov 13 15:29:40 2008 Operation Call: OperationDiscoverChildren The device enumerated now is 0x838c180 In Reenumerate Childern Eoption is 2 In Enumerate Child nodes Thu Nov 13 15:29:40 2008 Operation Call: OperationSystemPostProcess Pchild in GenerateXML:0x8386d80 Pchild in GenerateXML:0x0 Thu Nov 13 15:29:40 2008 Operation Call: OperationCaptureConfigurationMutex Thu Nov 13 15:29:40 2008 Thu Nov 13 15:29:40 2008 OperationCaptureConfigurationMutex Thu Nov 13 15:29:40 2008 ModRoot137888128-System137937280 Thu Nov 13 15:29:40 2008 Done. Type "help" for a list of supported commands. Type "exit" to close the console. => controller all show The device enumerated now is 0x838c180 In Reenumerate Childern Eoption is 1 This device can discover children Thu Nov 13 15:30:06 2008 Operation Call: OperationSetAllowedControllerDiscovery Thu Nov 13 15:30:06 2008 Operation Call: OperationReadSystemInfo Thu Nov 13 15:30:06 2008 Operation Call: OperationCaptureConfigurationMutex Thu Nov 13 15:30:06 2008 Operation Call: OperationReleaseConfigurationMutex Thu Nov 13 15:30:06 2008 Operation Call: OperationDiscoverHostBusAdapters Thu Nov 13 15:30:06 2008 Operation Call: OperationDiscoverNonFibreHBA zzz freebsd Bus = 5, devfn = 64, dev = 8, fn = 0 freebsd, Looking for bus 5, device 8, function 0 ioctl: Inappropriate ioctl for device Thu Nov 13 15:30:06 2008 Operation Call: OperationDiscoverInternalArrayControllers zzz freebsd Bus = 5, devfn = 64, dev = 8, fn = 0 freebsd, Looking for bus 5, device 8, function 0 ioctl: Inappropriate ioctl for device Thu Nov 13 15:30:06 2008 Operation Call: OperationDiscoverChildren The device enumerated now is 0x838c180 In Reenumerate Childern Eoption is 2 In Enumerate Child nodes Thu Nov 13 15:30:06 2008 Operation Call: OperationSystemPostProcess Pchild in GenerateXML:0x8386d80 Pchild in GenerateXML:0x0 Error: No controllers detected. Anyone managed to get this to work? If not, any ideas as to what's going on? I'm guessing the "inappropriate ioctl for device" is significant here. I tried emailing the listed HP contact for hpacucli (v.sri.sai.ganesh at hp.com) but didn't get any reply. -- Kevin ciss0: port 0xe800-0xe8ff mem 0xdef80000-0xdeffffff,0xdef78000-0xdef7ffff irq 35 at device 8.0 on pci5 ciss0@pci0:5:8:0: class=0x010400 card=0x3212103c chip=0x3238103c rev=0x00 hdr=0x00 vendor = 'Hewlett-Packard Company' device = 'Smart Array E200/E200i Controller' class = mass storage subclass = RAID cap 01[c0] = powerspec 2 supports D0 D1 D3 current D0 cap 05[cc] = MSI supports 2 messages, 64 bit cap 07[dc] = PCI-X 64-bit supports 133MHz, 4096 burst read, 1 split transaction