Linux – SuperMicro BMC on OpenSuSE Linux –cannot access from LAN

ipmiipmitoollinuxnetworking

I have an (old) SMC-001 IPMI device on an (old) X6DVL-EG2 motherboard. My problem is that I cannot access the BMC from LAN. I'm also getting some interesting output from ipmitool.

First, the setup. I enable Console Redirection in the BIOS, turn BIOS Redirection after POSt to "disabled". I then modprobe'ed for ipmi_msghandler, ipmi_devintf and ipmi_si. I then found ipmi0 under /dev. So far so good. Since I want console redirection over serial, I modified /boot/grub/menu.lst:

http://pastebin.com/YYJmhusQ

I then modified "/etc/inittab" as follows:

S1:12345:respawn:/sbin/agetty -L 19200 ttyS1 ansi

Networking I set as following, using "ipmitool"

ipaddr:  192.168.3.164
netmask:  255.255.255.0
defgw:  192.168.3.1

The above are correct for my environment.

To test it I do:

ipmitool -I open chassis power off

which responds by powering off the machine.

When I to access from another computer on the network, however, I get an error message:

host# ipmitool -I lanplus -H 192.168.10.164 -U Admin -a chassis power status
Error: Unable to establish LAN session
Unable to get Chassis Power Status

"Admin" seems to be a valid user name:

host# ipmitool -I open user list 1
2   Admin            true    false      true       USER

The interesting output from ipmitool I initially mentioned:

host # ipmitool -I open lan set 1 access on
Set Channel Access for channel 1 failed: Request data field length limit exceeded

Also,

newload4:/home/gjones # ipmitool channel info 1
Channel 0x1 info:
Channel Medium Type   : 802.3 LAN
Channel Protocol Type : IPMB-1.0
Session Support       : session-less
Active Session Count  : 0
Protocol Vendor ID    : 7154
Get Channel Access (volatile) failed: Request data field length limit exceeded

The output of "ipmitool -I open lan print 1" is here:

http://pastebin.com/UZyL6yyE

Any help/suggestions is greatly appreciated; I've been working with this thing for a few hours now with no success.

Best Answer

I'm managing to do the same thing with these BMC (SuperMicro SMC-0001) on two SuperMicro servers. I didn't try to setup the console redirection yet because I ran onto a "privilege level" problem on one of the two BMC :

# ipmitool user list 1
ID  Name         Callin  Link Auth  IPMI Msg   Channel Priv Limit
1                true    false      true       NO ACCESS
2   ADMIN        true    false      true       USER
Get User Access command failed (channel 1, user 3): Parameter out of range

The user 2 (ADMIN) should have administrator privileges, but the common way to fix it doesn't work :

# ipmitool user priv 2 1 4
Set Privilege Level command failed (user 2): Request data field length limit exceeded

Then I used "tshark" and "IPMIView" on the other server to "watch" the raw command that IPMIView send when changing a user privilege. Here you go :

# ipmitool raw 0x06 0x43 90 02 04

( 02 = UserID , 04 = Administrator privilege )

You can also reset the password for this user (2)

# ipmitool user set password 2 ADMIN

And to connect from an other host you'll have to use a specific driver

# ipmitool -o supermicro -H my.ipmi.host.ip -U ADMIN -P ADMIN mc info
Device ID                 : 0
Device Revision           : 0
Firmware Revision         : 1.4
IPMI Version              : 1.5
Manufacturer ID           : 5053
Manufacturer Name         : Unknown (0x13BD)
Product ID                : 33025 (0x8101)
Product Name              : Unknown (0x8101)
Device Available          : yes
Provides Device SDRs      : no
Additional Device Support :
    Sensor Device
    SDR Repository Device
    SEL Device
    FRU Inventory Device
    IPMB Event Receiver
    IPMB Event Generator
Aux Firmware Rev Info     : 
    0x00
    0x00
    0x00
    0x00

Voila, 'hope it helps

Rafael.