ipmitool raw set LAN configuration parameters command has no response code

xiuzhi 1450335857 at qq.com
Thu Nov 22 13:39:36 AEDT 2018


Hi all,
   I use ipmi-kcs to communicate  to host .
1, Get IP: 
[root at localhost Packages]# ipmitool -v raw 0xc 0x2 0x1 0x3 0 0
Running Get PICMG Properties my_addr 0x20, transit 0, target 0
Invalid Get PICMG Properties response length 1
Running Get VSO Capabilities my_addr 0x20, transit 0, target 0
Invalid response length 1
Discovered IPMB address 0x0
RAW REQ (channel=0x0 netfn=0xc lun=0x0 cmd=0x2 data_len=4)
RAW REQUEST (4 bytes)
 01 03 00 00
RAW RSP (5 bytes)
 11 c0 a8 c8 84



2, Set IP: 
[root at localhost Packages]# ipmitool -v raw 0xc 0x1 0x1 0x3 192 168 0 100 
Running Get PICMG Properties my_addr 0x20, transit 0, target 0
Invalid Get PICMG Properties response length 1
Running Get VSO Capabilities my_addr 0x20, transit 0, target 0
Invalid response length 1
Discovered IPMB address 0x0
RAW REQ (channel=0x0 netfn=0xc lun=0x0 cmd=0x1 data_len=6)
RAW REQUEST (6 bytes)
 01 03 c0 a8 00 64
RAW RSP (0 bytes)



BMC side  : kcsbridged --v --d="/dev/ipmi-kcs3":
Opening /dev/ipmi-kcs3                                                          
Creating timer fd                                                               
Entering polling loop                                                           
Processed 1 dbus events                                                         
Processed 1 dbus events                                                         
Processed 1 dbus events                                                         
Processed 1 dbus events                                                         
Processed 1 dbus events                                                         
Processed 1 dbus events                                                         
Processed 1 dbus events                                                         
Recv req msg -> seq=0x01 netfn=0x06 lun=0x00 cmd=0x01                       
Send rsp msg <- seq=0x01 netfn=0x07 lun=0x00 cmd=0x01 cc=0x00        Processed 1 dbus events                                                         
Recv req msg -> seq=0x02 netfn=0x2c lun=0x00 cmd=0x00                        Send rsp msg <- seq=0x02 netfn=0x2d lun=0x00 cmd=0x00 cc=0x00        Processed 1 dbus events                                                         
Recv req msg -> seq=0x03 netfn=0x2c lun=0x00 cmd=0x00                        Send rsp msg <- seq=0x03 netfn=0x2d lun=0x00 cmd=0x00 cc=0x00        Processed 1 dbus events                                                         
Recv req msg -> seq=0x04 netfn=0x0c lun=0x00 cmd=0x01                        Send rsp msg <- seq=0x04 netfn=0x0d lun=0x00 cmd=0x01 cc=0x00        Processed 1 dbus events



We can see the response: none ,and set BMC IP failed.
But I can set BMC IP successful by command:
ipmitool lan set 1 ipaddr 192.168. 0.100
why?



Best,
xiuzhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20181122/f926b76d/attachment.html>


More information about the openbmc mailing list