Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2008 12:18:27 -0600
From:      Kevin Day <toasty@dragondata.com>
To:        freebsd-scsi@freebsd.org
Subject:   hpacucli on 7.0/amd64 not working
Message-ID:  <C1F802FC-61D7-4ADE-890F-46AC7D2CFC6C@dragondata.com>

next in thread | raw e-mail | index | archive | help

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
<Operation>
Thu Nov 13 15:29:40 2008
    <Name>OperationCaptureConfigurationMutex</Name>
Thu Nov 13 15:29:40 2008
    <Target>ModRoot137888128-System137937280</Target>
Thu Nov 13 15:29:40 2008
</Operation>
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: <HP Smart Array E200> 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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C1F802FC-61D7-4ADE-890F-46AC7D2CFC6C>