* Why OEM command can't run by "ipmitool -I lanplus"
@ 2018-12-07 7:49 xiuzhi
2018-12-10 4:49 ` Lei YU
0 siblings, 1 reply; 3+ messages in thread
From: xiuzhi @ 2018-12-07 7:49 UTC (permalink / raw)
To: openbmc
[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]
Hi all, I am testing the OEM commands. It worked very well on local bmc env. but failed on remote machine by lanplus mode.
for example , I test openpower OEM command: 0x3a 0x11 on bmc os.
On bmc:
root@haiguang1:/lib/systemd/system# ipmid
Registering NetFn:[0x2E], Cmd:[0xFF]
Registering OEM:[0X002B79], Cmd:[0X32] for Sys Commands
Registering NetFn:[0xA], Cmd:[0x12]
Registering NetFn:[0x3A], Cmd:[0xF0]
Registering NetFn:[0x32], Cmd:[0x10]
Registering OEM:[0X002B79], Cmd:[0X02] for I2C
Registering OEM:[0X00C2CF], Cmd:[0X02] for I2C
root@haiguang1:~# ipmitool raw 0x3a 0x11
root@haiguang1:~# ipmitool raw 6 4
56 00
On remote machine:
xiuzhi@xiuzhi-ThinkPad-T450:~$ipmitool -I lanplus -H 192.168.200.132 -P 0penBmc raw 0x3a 0x11
Unable to send RAW command (channel=0x0 netfn=0x3a lun=0x0 cmd=0x11 rsp=0xc1): Invalid command
xiuzhi@xiuzhi-ThinkPad-T450:~$ ipmitool -I lanplus -H 192.168.200.132 -P 0penBmc raw 6 4
56 00
Who can help me?
Best,
Xiuzhi
[-- Attachment #2: Type: text/html, Size: 1330 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Why OEM command can't run by "ipmitool -I lanplus"
2018-12-07 7:49 Why OEM command can't run by "ipmitool -I lanplus" xiuzhi
@ 2018-12-10 4:49 ` Lei YU
2018-12-11 6:24 ` xiuzhi
0 siblings, 1 reply; 3+ messages in thread
From: Lei YU @ 2018-12-10 4:49 UTC (permalink / raw)
To: 1450335857; +Cc: OpenBMC Maillist
> On remote machine:
> xiuzhi@xiuzhi-ThinkPad-T450:~$ipmitool -I lanplus -H 192.168.200.132 -P 0penBmc raw 0x3a 0x11
> Unable to send RAW command (channel=0x0 netfn=0x3a lun=0x0 cmd=0x11 rsp=0xc1): Invalid command
> xiuzhi@xiuzhi-ThinkPad-T450:~$ ipmitool -I lanplus -H 192.168.200.132 -P 0penBmc raw 6 4
> 56 00
>
> Who can help me?
It looks like the plugin (assuming you implement the OEM command by plugin) is
only loaded in ipmid, but not in netipmid.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re:Why OEM command can't run by "ipmitool -I lanplus"
2018-12-10 4:49 ` Lei YU
@ 2018-12-11 6:24 ` xiuzhi
0 siblings, 0 replies; 3+ messages in thread
From: xiuzhi @ 2018-12-11 6:24 UTC (permalink / raw)
To: Lei YU; +Cc: openbmc
[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]
Hi Lei,
Thanks, my OEM commands is serviced by ipmid.
I want to access the OEM command by setting privilege:
ipmitool channel setaccess $CHANNEL $USERID callin=on ipmi=on link=on privilege=5
It is failed to set privilege 5 to get OEM access authority.
I will move my OEM commands to netipmid
Best,
xiuzhi
------------------ Original ------------------
From: "Lei YU";<mine260309@gmail.com>;
Send time: Monday, Dec 10, 2018 12:49 PM
To: "xiuzhi"<1450335857@qq.com>;
Cc: "OpenBMC Maillist"<openbmc@lists.ozlabs.org>;
Subject: Re: Why OEM command can't run by "ipmitool -I lanplus"
> On remote machine:
> xiuzhi@xiuzhi-ThinkPad-T450:~$ipmitool -I lanplus -H 192.168.200.132 -P 0penBmc raw 0x3a 0x11
> Unable to send RAW command (channel=0x0 netfn=0x3a lun=0x0 cmd=0x11 rsp=0xc1): Invalid command
> xiuzhi@xiuzhi-ThinkPad-T450:~$ ipmitool -I lanplus -H 192.168.200.132 -P 0penBmc raw 6 4
> 56 00
>
> Who can help me?
It looks like the plugin (assuming you implement the OEM command by plugin) is
only loaded in ipmid, but not in netipmid.
[-- Attachment #2: Type: text/html, Size: 1567 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-12-11 6:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-07 7:49 Why OEM command can't run by "ipmitool -I lanplus" xiuzhi
2018-12-10 4:49 ` Lei YU
2018-12-11 6:24 ` xiuzhi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.