Re: HP IPMI

2009-12-17 Thread Stuart Henderson
On 2009-12-17, Pete Vickers  wrote:
> Is the IPMI abstraction (mentioned in ipmi(4)) such that support for  
> additional devices is little more than adding PCI vendor/product id to  
> the attach code? or is a proprietary interface ?

You probably just have to enable the driver, I imagine it will attach
straight away. 'config -ef /bsd' and 'enable ipmi'.



HP IPMI

2009-12-17 Thread Pete Vickers

Hi,

I have a HP (Compaq) ProLiant DL380 G5 which, according to dmesg,  
incorporates IPMI.


# grep IPMI /var/run/dmesg.boot
"Hewlett-Packard IPMI" rev 0x00 at pci16 dev 4 function 6 not configured

# pcidump -v 1:4:6
Domain /dev/pci:
 1:4:6: Hewlett-Packard IPMI
0x: Vendor ID: 103c Product ID: 3302
0x0004: Command: 0002 Status ID: 0290
0x0008: Class: 0c Subclass: 07 Interface: 01 Revision: 00
0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line  
Size: 00

0x0010: BAR mem 32bit addr: 0xf7ef
0x0014: BAR empty ()
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 103c Product ID: 3305
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: 05 Min Gnt: 00 Max Lat: 00
0x00f0: Capability 0x01: Power Management


Is the IPMI abstraction (mentioned in ipmi(4)) such that support for  
additional devices is little more than adding PCI vendor/product id to  
the attach code? or is a proprietary interface ?


/Pete


# sysctl hw
hw.machine=i386
hw.model=Intel(R) Xeon(R) CPU E5440 @ 2.83GHz ("GenuineIntel" 686-class)
hw.ncpu=1
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0,cd0
hw.diskcount=2
hw.sensors.acpitz0.temp0=8.30 degC (zone temperature)
hw.sensors.cpu0.temp0=38.00 degC
hw.sensors.ciss0.drive0=online (sd0), OK
hw.cpuspeed=2834
hw.vendor=HP
hw.product=ProLiant DL380 G5
hw.serialno=CZC8100BSS
hw.uuid=34353835-3633-435a-4338-313030425353
hw.physmem=3487485952
hw.usermem=3487473664

(entire dmesg already forwarded to dmesg@ )