Discussion:
[Ipmitool-devel] could not open bmc device
scar
2016-06-27 23:45:40 UTC
Permalink
I'm trying to troubleshoot a Sun Fire X4540, and i need to use the BMC
interface. The machine has debian jessie OS installed. I configured
ipmitool-1.8.17 with --enable-intf-bmc:

ipmitool 1.8.17

Interfaces
lan : yes
lanplus : no
open : yes
free : no
imb : yes
* bmc : yes*
usb : yes
lipmi : no
serial : yes
dummy : no

Extra tools
ipmievd : yes
ipmishell : no

The software compiled with many warnings, but finished. Now when i try
to query the LAN info:

:~/src/ipmitool-1.8.17$ src/ipmitool -I bmc lan print
Could not open bmc device: No such file or directory


I read that this device has to be created somehow from Solaris files?
Is that possible with debian? Is the only way to use bmc interface to
install different OS?

Thanks
Zdenek Styblik
2016-06-28 13:53:06 UTC
Permalink
Post by scar
I'm trying to troubleshoot a Sun Fire X4540, and i need to use the BMC
interface. The machine has debian jessie OS installed. I configured
ipmitool 1.8.17
Interfaces
lan : yes
lanplus : no
open : yes
free : no
imb : yes
* bmc : yes*
usb : yes
lipmi : no
serial : yes
dummy : no
Extra tools
ipmievd : yes
ipmishell : no
The software compiled with many warnings, but finished. Now when i try
:~/src/ipmitool-1.8.17$ src/ipmitool -I bmc lan print
Could not open bmc device: No such file or directory
I read that this device has to be created somehow from Solaris files?
Is that possible with debian? Is the only way to use bmc interface to
install different OS?
Thanks
Hello,

I could be wrong and I'm not sure for 100%, but I think(believe) you
should use OpenIPMI driver on Linux and not BMC. See
https://sourceforge.net/p/ipmitool/bugs/435/.

Best of luck,
Z.
Post by scar
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Ipmitool-devel mailing list
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
scar
2016-06-29 00:14:39 UTC
Permalink
Post by Zdenek Styblik
I could be wrong and I'm not sure for 100%, but I think(believe) you
should use OpenIPMI driver on Linux and not BMC. See
https://sourceforge.net/p/ipmitool/bugs/435/.
When you say "OpenIPMI driver" do you just mean default interface that
ipmitool uses? e.g. a command like 'ipmitool lan print' works and spits
out the LAN configuration. The problem is i cannot use this interface
to set the lan parameters (for some reason), e.g.:

# ipmitool lan set 1 ipaddr [w.x.y.z]
Setting LAN IP Address to [w.x.y.z]
LAN Parameter Data does not match! Write may have failed.
#

see e.g. this thread i started at oracle, trying to get support:
https://community.oracle.com/thread/3938953

If we can just get the LAN IP set so i can access the ILOM, that's all i
really want to accomplish!
Zdenek Styblik
2016-06-29 05:14:26 UTC
Permalink
Post by scar
Post by Zdenek Styblik
I could be wrong and I'm not sure for 100%, but I think(believe) you
should use OpenIPMI driver on Linux and not BMC. See
https://sourceforge.net/p/ipmitool/bugs/435/.
When you say "OpenIPMI driver" do you just mean default interface that
ipmitool uses? e.g. a command like 'ipmitool lan print' works and spits
out the LAN configuration. The problem is i cannot use this interface
# ipmitool lan set 1 ipaddr [w.x.y.z]
Setting LAN IP Address to [w.x.y.z]
LAN Parameter Data does not match! Write may have failed.
#
Are you sure that channel 1 is a LAN channel?
It might be a good idea to add something like `-vvv` to increase
verbosity. It might help to see what's wrong.
Also, please note that Oracle's version of IPMI tool is different from
the one which is available to general public.

Z.
Post by scar
https://community.oracle.com/thread/3938953
If we can just get the LAN IP set so i can access the ILOM, that's all i
really want to accomplish!
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Ipmitool-devel mailing list
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
--
Zdenek Styblik
email: ***@gmail.com
jabber: ***@gmail.com
Corey Minyard
2016-06-29 15:02:40 UTC
Permalink
Post by scar
Post by Zdenek Styblik
I could be wrong and I'm not sure for 100%, but I think(believe) you
should use OpenIPMI driver on Linux and not BMC. See
https://sourceforge.net/p/ipmitool/bugs/435/.
When you say "OpenIPMI driver" do you just mean default interface that
ipmitool uses? e.g. a command like 'ipmitool lan print' works and spits
out the LAN configuration.
Yes, ipmitool's default on Linux is to use the kernel driver.
Post by scar
The problem is i cannot use this interface
# ipmitool lan set 1 ipaddr [w.x.y.z]
Setting LAN IP Address to [w.x.y.z]
LAN Parameter Data does not match! Write may have failed.
#
https://community.oracle.com/thread/3938953
If we can just get the LAN IP set so i can access the ILOM, that's all i
really want to accomplish!
This could be a number of issues. What is the IP address source set to?
If it's DHCP, then the BMC may not let you set the value.

-corey
Post by scar
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Ipmitool-devel mailing list
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
scar
2016-07-01 22:13:12 UTC
Permalink
This post might be inappropriate. Click to display it.
Continue reading on narkive:
Loading...