openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ipmitool raw set LAN configuration parameters command has no response code
@ 2018-11-22  2:39 xiuzhi
  0 siblings, 0 replies; only message in thread
From: xiuzhi @ 2018-11-22  2:39 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 2849 bytes --]

Hi all,
   I use ipmi-kcs to communicate  to host .
1, Get IP: 
[root@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@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

[-- Attachment #2: Type: text/html, Size: 5663 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-22  2:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-22  2:39 ipmitool raw set LAN configuration parameters command has no response code xiuzhi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).