Skip to contentSkip to conversation

IPMI and ipmisensors on an Intel SC450NX

lm-sensors Stian Jordet 2 participants 4 messages Oct 1, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

Sorry, this is going to be long and probably cross-posted too many places, but it isn't easy to know where to direct this! The persons in the CC-field I have found after searching on the net, hoping any of them have some bright ideas!

I've used the weekend (again!) trying to get sensors working on my good old Intel SC450NX server, with no luck.

First of all, I'm not even sure what IPMI version this system has. I found this mail:

http://sourceforge.net/mailarchive/message.php?msg_idtA9A71929931E40967CA9F27B1D7396014D46A2%40hdsmsx401.amr.corp.intel.com

where an Intel employee thinks it is IPMI 1.0, and either way it should work with the ipmi_imb emulation driver, which supposedly uses the same interface as the original Intel Server Manager uses. I'm still afraid it is IPMI 0.9 I have.

I have updated both BIOS, BMC and FRUSDR (whatever that is) to the latest available versions. dmidecode doesn't have any traces of ipmi. But lm-sensors sensors-detect reports this:

[...]
Probing for `IPMI BMC KCS' at 0xca0... Success!
(confidence 4, driver `ipmisensors')
Probing for `IPMI BMC SMIC' at 0xca8... No
[...]

which at least gave me some hope. The ipmisensors page says I need to use ipmi_si before loading the ipmisensors-module. I then tried loading some modules...

root@buick:~# modprobe ipmi_si
IPMI System Interface driver.
ipmi_si: Unable to find any System Interface(s)
FATAL: Error inserting ipmi_si
(/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_si.ko): No such
device
root@buick:~# modprobe ipmi_si type="kcs" addrs="0xca0"
IPMI System Interface driver.
ipmi_si: Trying hardcoded-specified kcs state machine at mem address
0xca0, slave address 0x0, irq 0
Could not set up I/O space
ipmi_si: Unable to find any System Interface(s)
FATAL: Error inserting ipmi_si
(/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_si.ko): No such
device

After applying ipmi_emu.diff from http://openipmi.sf.net, I tried the earlier promised ipmi_imb driver:

root@buick:~# modprobe ipmi_imb
ipmi: can't create user -22
FATAL: Error inserting ipmi_imb
(/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_imb.ko): Invalid
argument

Not looking that good... What does "can't create user -22" mean? I found this in my dmesg:

pnp: 00:01: ioport range 0xca0-0xca7 has been reserved

Which gave me hope that pnp was "locking" the ipmi addresses. Booted with pnpbios=no and pnpacpi=off and even acpi=off, no difference.

I ran the FRUSDR utility from a boot disk, and got this output:

a:\>frusdr /p /d fru

FRU & SDR Load Utility Version 3.4

FRU IMBDEVICE on bus FFh, IMB address 20h, LUN 00

Display Header Area
Common Header Area (Version 1, Length 8)

    Internal Area Offset    = 01h
    Chassis Area Offset     = 1Ah
    Board Area Offset       = 1Eh
    Product Area Offset     = 26h

Multirecord Area Offset = 00h
PAD = 00h
CHECKSUM = A0h

Don't know what any of this means, except it kinda says it does have a "imbdevice" (Which I had some hopes the ipmi_imb driver would support...)

Ok, I found this http://bubble.nsys.by/projects/ipmi/ and this
http://archives.andrew.net.au/lm-sensors/msg29983.html on the web, showing at least two attempts trying to get bmcsensors working with IPMI 0.9 (if that's what my system has), but I haven't found any sign of success or not. I am especially curious as to whether Yani's attempt to make bmcsensors working with IPMI 0.9 will have any effect now that ipmisensors seems to use ipmi_si and OpenIPMI does not suppoert IPMI 0.9...

Anyone have any bright ideas where to look next? Or am I really out of luck?

Thanks.

Regards,
Stian

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Stian,

I believe the port should be 0xCA2, not 0xCA0.
According to the docs, it does have IPMI support, but it would be only local (no IPMI LAN).

Try modprobe ipmi_si type="kcs" addrs="0xca0"
or just modprobe ipmi_si

Andy

-----Original Message-----
From: Stian Jordet [mailto:[email protected]]
Sent: Monday, October 01, 2007 3:58 AM
To: [email protected]
Cc: [email protected]; Cress, Andrew R; [email protected]
Subject: IPMI and ipmisensors on an Intel SC450NX

Hi,

Sorry, this is going to be long and probably cross-posted too many places, but it isn't easy to know where to direct this! The persons in the CC-field I have found after searching on the net, hoping any of them have some bright ideas!

I've used the weekend (again!) trying to get sensors working on my good old Intel SC450NX server, with no luck.

First of all, I'm not even sure what IPMI version this system has. I found this mail:

http://sourceforge.net/mailarchive/message.php?msg_idtA9A71929931E4096
7CA9F27B1D7396014D46A2%40hdsmsx401.amr.corp.intel.com

where an Intel employee thinks it is IPMI 1.0, and either way it should work with the ipmi_imb emulation driver, which supposedly uses the same interface as the original Intel Server Manager uses. I'm still afraid it is IPMI 0.9 I have.

I have updated both BIOS, BMC and FRUSDR (whatever that is) to the latest available versions. dmidecode doesn't have any traces of ipmi. But lm-sensors sensors-detect reports this:

[...]
Probing for `IPMI BMC KCS' at 0xca0... Success!
(confidence 4, driver `ipmisensors')
Probing for `IPMI BMC SMIC' at 0xca8... No
[...]

which at least gave me some hope. The ipmisensors page says I need to use ipmi_si before loading the ipmisensors-module. I then tried loading some modules...

root@buick:~# modprobe ipmi_si
IPMI System Interface driver.
ipmi_si: Unable to find any System Interface(s)
FATAL: Error inserting ipmi_si
(/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_si.ko): No such
device
root@buick:~# modprobe ipmi_si type="kcs" addrs="0xca0"
IPMI System Interface driver.
ipmi_si: Trying hardcoded-specified kcs state machine at mem address
0xca0, slave address 0x0, irq 0
Could not set up I/O space
ipmi_si: Unable to find any System Interface(s)
FATAL: Error inserting ipmi_si
(/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_si.ko): No such
device

After applying ipmi_emu.diff from http://openipmi.sf.net, I tried the earlier promised ipmi_imb driver:

root@buick:~# modprobe ipmi_imb
ipmi: can't create user -22
FATAL: Error inserting ipmi_imb
(/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_imb.ko): Invalid
argument

Not looking that good... What does "can't create user -22" mean? I found this in my dmesg:

pnp: 00:01: ioport range 0xca0-0xca7 has been reserved

Which gave me hope that pnp was "locking" the ipmi addresses. Booted with pnpbios=no and pnpacpi=off and even acpi=off, no difference.

I ran the FRUSDR utility from a boot disk, and got this output:

a:\>frusdr /p /d fru

FRU & SDR Load Utility Version 3.4

FRU IMBDEVICE on bus FFh, IMB address 20h, LUN 00

Display Header Area
Common Header Area (Version 1, Length 8)

    Internal Area Offset    = 01h
    Chassis Area Offset     = 1Ah
    Board Area Offset       = 1Eh
    Product Area Offset     = 26h

Multirecord Area Offset = 00h
PAD = 00h
CHECKSUM = A0h

Don't know what any of this means, except it kinda says it does have a "imbdevice" (Which I had some hopes the ipmi_imb driver would support...)

Ok, I found this http://bubble.nsys.by/projects/ipmi/ and this
http://archives.andrew.net.au/lm-sensors/msg29983.html on the web, showing at least two attempts trying to get bmcsensors working with IPMI 0.9 (if that's what my system has), but I haven't found any sign of success or not. I am especially curious as to whether Yani's attempt to make bmcsensors working with IPMI 0.9 will have any effect now that ipmisensors seems to use ipmi_si and OpenIPMI does not suppoert IPMI 0.9...

Anyone have any bright ideas where to look next? Or am I really out of luck?

Thanks.

Regards,
Stian

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#2 lore raw
In reply to Stian Jordet
Quoted 8 lines · Andrew R

Stian,

I believe the port should be 0xCA2, not 0xCA0.
According to the docs, it does have IPMI support, but it would be only local (no IPMI LAN).

Try modprobe ipmi_si type="kcs" addrs="0xca0"
or just modprobe ipmi_si

Unfortunately, neither of this works. I've tried

root@buick:~# modprobe ipmi_si
FATAL: Error inserting ipmi_si (/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_si.ko): No such device
root@buick:~# modprobe ipmi_si type="kcs" ports="0xca0"
FATAL: Error inserting ipmi_si (/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_si.ko): No such device
root@buick:~# modprobe ipmi_si type="kcs" ports="0xca2"
FATAL: Error inserting ipmi_si (/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_si.ko): No such device

I don't really know if there is more to try. But as you say, the board should support IPMI, so I don't really know why it doesn't seem to. Hmm.

I guess it was worth a try :)

Thanks to everyone who replied :)

Regards,
Stian

Quoted 107 lines

-----Original Message-----
From: Stian Jordet [mailto:[email protected]]
Sent: Monday, October 01, 2007 3:58 AM
To: [email protected]
Cc: [email protected]; Cress, Andrew R; [email protected]
Subject: IPMI and ipmisensors on an Intel SC450NX

Hi,

Sorry, this is going to be long and probably cross-posted too many places, but it isn't easy to know where to direct this! The persons in the CC-field I have found after searching on the net, hoping any of them have some bright ideas!

I've used the weekend (again!) trying to get sensors working on my good old Intel SC450NX server, with no luck.

First of all, I'm not even sure what IPMI version this system has. I found this mail:

http://sourceforge.net/mailarchive/message.php?msg_idtA9A71929931E4096
7CA9F27B1D7396014D46A2%40hdsmsx401.amr.corp.intel.com

where an Intel employee thinks it is IPMI 1.0, and either way it should work with the ipmi_imb emulation driver, which supposedly uses the same interface as the original Intel Server Manager uses. I'm still afraid it is IPMI 0.9 I have.

I have updated both BIOS, BMC and FRUSDR (whatever that is) to the latest available versions. dmidecode doesn't have any traces of ipmi. But lm-sensors sensors-detect reports this:

[...]
Probing for `IPMI BMC KCS' at 0xca0... Success!
(confidence 4, driver `ipmisensors')
Probing for `IPMI BMC SMIC' at 0xca8... No
[...]

which at least gave me some hope. The ipmisensors page says I need to use ipmi_si before loading the ipmisensors-module. I then tried loading some modules...

root@buick:~# modprobe ipmi_si
IPMI System Interface driver.
ipmi_si: Unable to find any System Interface(s)
FATAL: Error inserting ipmi_si
(/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_si.ko): No such
device
root@buick:~# modprobe ipmi_si type="kcs" addrs="0xca0"
IPMI System Interface driver.
ipmi_si: Trying hardcoded-specified kcs state machine at mem address
0xca0, slave address 0x0, irq 0
Could not set up I/O space
ipmi_si: Unable to find any System Interface(s)
FATAL: Error inserting ipmi_si
(/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_si.ko): No such
device

After applying ipmi_emu.diff from http://openipmi.sf.net, I tried the earlier promised ipmi_imb driver:

root@buick:~# modprobe ipmi_imb
ipmi: can't create user -22
FATAL: Error inserting ipmi_imb
(/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_imb.ko): Invalid
argument

Not looking that good... What does "can't create user -22" mean? I found this in my dmesg:

pnp: 00:01: ioport range 0xca0-0xca7 has been reserved

Which gave me hope that pnp was "locking" the ipmi addresses. Booted with pnpbios=no and pnpacpi=off and even acpi=off, no difference.

I ran the FRUSDR utility from a boot disk, and got this output:

a:\>frusdr /p /d fru

FRU & SDR Load Utility Version 3.4

FRU IMBDEVICE on bus FFh, IMB address 20h, LUN 00

Display Header Area
Common Header Area (Version 1, Length 8)

    Internal Area Offset    = 01h
    Chassis Area Offset     = 1Ah
    Board Area Offset       = 1Eh
    Product Area Offset     = 26h

Multirecord Area Offset = 00h
PAD = 00h
CHECKSUM = A0h

Don't know what any of this means, except it kinda says it does have a "imbdevice" (Which I had some hopes the ipmi_imb driver would support...)

Ok, I found this http://bubble.nsys.by/projects/ipmi/ and this
http://archives.andrew.net.au/lm-sensors/msg29983.html on the web, showing at least two attempts trying to get bmcsensors working with IPMI 0.9 (if that's what my system has), but I haven't found any sign of success or not. I am especially curious as to whether Yani's attempt to make bmcsensors working with IPMI 0.9 will have any effect now that ipmisensors seems to use ipmi_si and OpenIPMI does not suppoert IPMI 0.9...

Quoted 8 lines

Anyone have any bright ideas where to look next? Or am I really out of luck?

Thanks.

Regards,
Stian

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to Stian Jordet

Your driver can't be loaded for some reason, and it should be pre-built in 2.6.21, so that's odd. Does the /var/log/messages say that it didn't get a response, or something else?

Another option is to try the user-space KCS code in ipmiutil. See http://ipmiutil.sf.net, and try
ipmiutil health -x
That should show some debug to see if there is any response at 0xca2 at all.

Andy

-----Original Message-----
From: Stian Jordet [mailto:[email protected]]
Sent: Monday, October 01, 2007 5:37 PM
To: Cress, Andrew R
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: RE: IPMI and ipmisensors on an Intel SC450NX

Quoted 8 lines · Andrew R

Stian,

I believe the port should be 0xCA2, not 0xCA0.
According to the docs, it does have IPMI support, but it would be only local (no IPMI LAN).

Try modprobe ipmi_si type="kcs" addrs="0xca0"
or just modprobe ipmi_si

Unfortunately, neither of this works. I've tried

root@buick:~# modprobe ipmi_si
FATAL: Error inserting ipmi_si
(/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_si.ko): No such
device
root@buick:~# modprobe ipmi_si type="kcs" ports="0xca0"
FATAL: Error inserting ipmi_si
(/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_si.ko): No such
device
root@buick:~# modprobe ipmi_si type="kcs" ports="0xca2"
FATAL: Error inserting ipmi_si
(/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_si.ko): No such
device

I don't really know if there is more to try. But as you say, the board should support IPMI, so I don't really know why it doesn't seem to. Hmm.

I guess it was worth a try :)

Thanks to everyone who replied :)

Regards,
Stian

Quoted 7 lines

-----Original Message-----
From: Stian Jordet [mailto:[email protected]]
Sent: Monday, October 01, 2007 3:58 AM
To: [email protected]
Cc: [email protected]; Cress, Andrew R; [email protected]
Subject: IPMI and ipmisensors on an Intel SC450NX

Quoted 5 lines

Hi,

Sorry, this is going to be long and probably cross-posted too many places, but it isn't easy to know where to direct this! The persons in the CC-field I have found after searching on the net, hoping any of

them

Quoted 3 lines

have some bright ideas!

I've used the weekend (again!) trying to get sensors working on my

good

Quoted 6 lines

old Intel SC450NX server, with no luck.

First of all, I'm not even sure what IPMI version this system has. I found this mail:

http://sourceforge.net/mailarchive/message.php?msg_idtA9A71929931E4096

Quoted 3 lines

7CA9F27B1D7396014D46A2%40hdsmsx401.amr.corp.intel.com

where an Intel employee thinks it is IPMI 1.0, and either way it

should

Quoted 1 line

work with the ipmi_imb emulation driver, which supposedly uses the

same

Quoted 1 line

interface as the original Intel Server Manager uses. I'm still afraid

it

Quoted 6 lines

is IPMI 0.9 I have.

I have updated both BIOS, BMC and FRUSDR (whatever that is) to the latest available versions. dmidecode doesn't have any traces of ipmi. But lm-sensors sensors-detect reports this:

Quoted 8 lines

[...]
Probing for `IPMI BMC KCS' at 0xca0... Success!
(confidence 4, driver `ipmisensors')
Probing for `IPMI BMC SMIC' at 0xca8... No
[...]

which at least gave me some hope. The ipmisensors page says I need to use ipmi_si before loading the ipmisensors-module. I then tried

loading

Quoted 22 lines

some modules...

root@buick:~# modprobe ipmi_si
IPMI System Interface driver.
ipmi_si: Unable to find any System Interface(s)
FATAL: Error inserting ipmi_si
(/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_si.ko): No such
device
root@buick:~# modprobe ipmi_si type="kcs" addrs="0xca0"
IPMI System Interface driver.
ipmi_si: Trying hardcoded-specified kcs state machine at mem address
0xca0, slave address 0x0, irq 0
Could not set up I/O space
ipmi_si: Unable to find any System Interface(s)
FATAL: Error inserting ipmi_si
(/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_si.ko): No such
device

After applying ipmi_emu.diff from http://openipmi.sf.net, I tried the earlier promised ipmi_imb driver:

Quoted 7 lines
root@buick:~# modprobe ipmi_imb
ipmi: can't create user -22
FATAL: Error inserting ipmi_imb
(/lib/modules/2.6.21/kernel/drivers/char/ipmi/ipmi_imb.ko): Invalid
argument

Not looking that good... What does "can't create user -22" mean? I

found

Quoted 25 lines

this in my dmesg:

pnp: 00:01: ioport range 0xca0-0xca7 has been reserved

Which gave me hope that pnp was "locking" the ipmi addresses. Booted with pnpbios=no and pnpacpi=off and even acpi=off, no difference.

I ran the FRUSDR utility from a boot disk, and got this output:

a:\>frusdr /p /d fru

FRU & SDR Load Utility Version 3.4

FRU IMBDEVICE on bus FFh, IMB address 20h, LUN 00

Display Header Area
Common Header Area (Version 1, Length 8)

    Internal Area Offset    = 01h
    Chassis Area Offset     = 1Ah
    Board Area Offset       = 1Eh
    Product Area Offset     = 26h

Multirecord Area Offset = 00h
PAD = 00h
CHECKSUM = A0h

Quoted 7 lines

Don't know what any of this means, except it kinda says it does have a "imbdevice" (Which I had some hopes the ipmi_imb driver would support...)

Ok, I found this http://bubble.nsys.by/projects/ipmi/ and this
http://archives.andrew.net.au/lm-sensors/msg29983.html on the web, showing at least two attempts trying to get bmcsensors working with

IPMI

Quoted 2 lines

0.9 (if that's what my system has), but I haven't found any sign of success or not. I am especially curious as to whether Yani's attempt

to

Quoted 4 lines

make bmcsensors working with IPMI 0.9 will have any effect now that ipmisensors seems to use ipmi_si and OpenIPMI does not suppoert IPMI 0.9...

Quoted 8 lines

Anyone have any bright ideas where to look next? Or am I really out of luck?

Thanks.

Regards,
Stian

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors