Discussion:
[Openipmi-developer] How to drive mBMC with system interface SSIF ?
Ye, Qing
2005-05-10 12:03:54 UTC
Permalink
Everybody:

I've been harassed by a question on ipmi driver for a long
time, so I need your help and suggestions with much desired!



My machine is Nocona with intel Xeon x86_64, which has a pre-released
version motherboard, I looked for much info about the mainboard on intel
website,

I found the BMC on that board is using SSIF(SMBus interface) as its
system interface ( not one of KCS, SMIC, or BT ). After several times
failure on trying insmod ipmi_si driver, I download the newest OpenIPMI
kernel patch for 2.6.10 kernel, and selected all the IPMI related kernel
option then recompile it.

When I reboot and go into the new kernel ,I could modprobe
ipmi_smb(dedicated for SSIF) , ipmi_devintf, ipmi_msghandler as
following, then I install a tools based on OpenIPMI named
ipmitool-1.8.1, find the ipmidev number in /proc/devices, mknod
/dev/ipmi0 c 254 0 ; after that, when I try to use this tool,
unfortunately it still not work :



[***@ae64 ipmitool-1.8.1]# lsmod

Module Size Used by

ipmi_devintf 10244 0

ipmi_smb 18560 0

ipmi_msghandler 45824 2 ipmi_devintf,ipmi_smb

parport_pc 33096 0

lp 16312 0

parport 46348 2 parport_pc,lp

autofs4 25096 0

sunrpc 175736 1

dm_mod 70080 0

video 20488 0

button 9504 0

battery 12552 0

ac 7176 0

md5 6400 1

ipv6 298848 20

uhci_hcd 37152 0

ehci_hcd 37124 0

hw_random 7712 0

i2c_i801 12092 0

i2c_core 35712 2 ipmi_smb,i2c_i801

e1000 96820 0

floppy 69200 0

ext3 142992 1

jbd 69424 1 ext3

ata_piix 11268 0

libata 51720 1 ata_piix

aic79xx 203388 2

sd_mod 19968 3

scsi_mod 145976 3 libata,aic79xx,sd_mod



[***@ae64 ipmitool-1.8.1]# ipmitool -I open chassis status

Could not open device at /dev/ipmi0 or /dev/ipmi/0: No such file or
directory

Error sending Chassis Status command







But actually, the /dev/ipmi0 is existed, I create manually. It looks
like I still don't drive my BMC So please help me, tell me how to tackle
this problem, Any help is much appreciated!!

Thanks

Yours sincerely YeQing

ShangHai Mart,26FL02,

tel:52574545,ext:3821
Ye, Qing
2005-05-10 14:01:13 UTC
Permalink
This is the last part of kernel log:

[***@ae64 log]# tail /var/log/messages
May 10 21:32:47 ae64 sshd(pam_unix)[4306]: session opened for user root
by root(uid=0)
May 10 21:33:00 ae64 kernel: ipmi message handler version v33
May 10 21:33:00 ae64 kernel: IPMI SMB Interface driver version v33
May 10 21:33:04 ae64 kernel: ipmi device interface version v33
May 10 21:35:01 ae64 crond(pam_unix)[4438]: session opened for user root
by (uid=0)
May 10 21:35:02 ae64 crond(pam_unix)[4438]: session closed for user root


[***@ae64 log]# cat /proc/devices
Character devices:
1 mem
4 /dev/vc/0
4 tty
4 ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
6 lp
7 vcs
10 misc
13 input
29 fb
36 netlink
128 ptm
136 pts
162 raw
180 usb
202 cpu/msr
203 cpu/cpuid
254 ipmidev


[***@ae64 log]# ls -l /dev/ipmi0
crw-r--r-- 1 root root 254, 0 May 10 21:44 /dev/ipmi0

[***@ae64 log]# dmesg | grep ipmi -i
ipmi message handler version v33
IPMI SMB Interface driver version v33
ipmi device interface version v33

[***@ae64 log]# lsmod
Module Size Used by
ipmi_devintf 10244 0
ipmi_smb 18560 0
ipmi_msghandler 45824 2 ipmi_devintf,ipmi_smb
parport_pc 33096 0
lp 16312 0
parport 46348 2 parport_pc,lp
autofs4 25096 0
sunrpc 175736 1
dm_mod 70080 0
video 20488 0
button 9504 0
battery 12552 0
ac 7176 0
md5 6400 1
ipv6 298848 20
uhci_hcd 37152 0
ehci_hcd 37124 0
hw_random 7712 0
i2c_i801 12092 0
i2c_core 35712 2 ipmi_smb,i2c_i801
e1000 96820 0
floppy 69200 0
ext3 142992 2
jbd 69424 1 ext3
ata_piix 11268 0
libata 51720 1 ata_piix
aic79xx 203388 3
sd_mod 19968 4
scsi_mod 145976 3 libata,aic79xx,sd_mod

[***@ae64 log]# ipmitool -I open chassis status
Could not open device at /dev/ipmi0 or /dev/ipmi/0: No such file or
directory
Error sending Chassis Status command



Corey , could you help me to find something wrong with above info,
always the last step failed. And do I have other method to validate the
driver works well? Actually, I only want to use IPMI to monitor local
processor's fan speed and temperature and fan speed , and could set the
speed of processor fan according to its temperature, but on first step I
even couldn't drive it, so faint~~

BTW, my BMC seems like National Semiconductor PC87431M mini-BMC

-----Original Message-----
From: Corey Minyard [mailto:***@acm.org]
Sent: Tuesday, May 10, 2005 8:59 PM
To: Ye, Qing
Subject: Re: [Openipmi-developer] How to drive mBMC with system
interface SSIF ?

Can you send:

* The kernel logs when the IPMI/I2C stuff is loaded
* ls -l /dev/ipmi0
* cat /proc/devices

-Corey
I've been harassed by a question on ipmi driver for a long time, so I
need your help and suggestions with much desired!
My machine is Nocona with intel Xeon x86_64, which has a pre-released
version motherboard, I looked for much info about the mainboard on
intel website,
I found the BMC on that board is using SSIF(SMBus interface) as its
system interface ( not one of KCS, SMIC, or BT ). After several times
failure on trying insmod ipmi_si driver, I download the newest
OpenIPMI kernel patch for 2.6.10 kernel, and selected all the IPMI
related kernel option then recompile it.
When I reboot and go into the new kernel ,I could modprobe
ipmi_smb(dedicated for SSIF) , ipmi_devintf, ipmi_msghandler as
following, then I install a tools based on OpenIPMI named
ipmitool-1.8.1, find the ipmidev number in /proc/devices, mknod
/dev/ipmi0 c 254 0 ; after that, when I try to use this tool,
Ye, Qing
2005-05-10 19:24:13 UTC
Permalink
Much appreciation from my heart! I will follow as what you said

First ,I am sure I've load the i801 driver as module, as you see below:

[***@ae64 sql-bench]# lsmod
Module Size Used by
ipmi_devintf 10244 0
ipmi_smb 18560 0
ipmi_msghandler 45824 2 ipmi_devintf,ipmi_smb
i2c_i801 12092 0
i2c_core 35712 2 ipmi_smb,i2c_i801

before lsmod, I reload the ipmi_smb using :
# modprobe ipmi_smb dbg=0xf smb_dbg_probe=1

Then, I use the "dmidecode" command, something very curious, only
generate flowing output(without anything except only one line), why
looks like that?
[***@ae64 sql-bench]# dmidecode
# dmidecode 2.2
[***@ae64 sql-bench]#

Here ,I want to say , my machine is a pre-released Nocona server(Xeon
64bit), the OS is red hat enterprise 4 with openipmi-patched kernel
2.6.10
I just guess the BMC on my machine is using SSTF interface, because I
compared some technique parameters with other released intel motherboard
, it much like some of them which has the mBMC with SSTF, but I still
can't be sure the mBMC on the pre-released board is the same BMC using
SSTF.

So, Corey, could you tell me how can I make sure whether my BMC on board
really exists, and whether the system interface is really SSTF? I tested
for so many times just because I think probably this Nocona server board
should have BMC.



-----Original Message-----
From: Corey Minyard [mailto:***@acm.org]
Sent: Tuesday, May 10, 2005 10:06 PM
To: Ye, Qing
Subject: Re: [Openipmi-developer] How to drive mBMC with system
interface SSIF ?

Hmm, do you load the i801 driver before or after this? I'd expect to
see more output if the i801 driver is already loaded.

When you load the ipmi_smb module, can you add the parameters:
dbg=0xf smb_dbg_probe=1

Also, this may be a DMI problem. Do a "dmidecode" and look for DMI type

38 (IPMI Device Information). If the Base Address is 0, try taking the
I2C slave address and adding the following parameter to ipmi_smb:

addr=0,<address>

-Corey
Post by Ye, Qing
May 10 21:32:47 ae64 sshd(pam_unix)[4306]: session opened for user root
by root(uid=0)
May 10 21:33:00 ae64 kernel: ipmi message handler version v33
May 10 21:33:00 ae64 kernel: IPMI SMB Interface driver version v33
May 10 21:33:04 ae64 kernel: ipmi device interface version v33
May 10 21:35:01 ae64 crond(pam_unix)[4438]: session opened for user
root
Post by Ye, Qing
by (uid=0)
May 10 21:35:02 ae64 crond(pam_unix)[4438]: session closed for user
root
Post by Ye, Qing
1 mem
4 /dev/vc/0
4 tty
4 ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
6 lp
7 vcs
10 misc
13 input
29 fb
36 netlink
128 ptm
136 pts
162 raw
180 usb
202 cpu/msr
203 cpu/cpuid
254 ipmidev
crw-r--r-- 1 root root 254, 0 May 10 21:44 /dev/ipmi0
ipmi message handler version v33
IPMI SMB Interface driver version v33
ipmi device interface version v33
Module Size Used by
ipmi_devintf 10244 0
ipmi_smb 18560 0
ipmi_msghandler 45824 2 ipmi_devintf,ipmi_smb
parport_pc 33096 0
lp 16312 0
parport 46348 2 parport_pc,lp
autofs4 25096 0
sunrpc 175736 1
dm_mod 70080 0
video 20488 0
button 9504 0
battery 12552 0
ac 7176 0
md5 6400 1
ipv6 298848 20
uhci_hcd 37152 0
ehci_hcd 37124 0
hw_random 7712 0
i2c_i801 12092 0
i2c_core 35712 2 ipmi_smb,i2c_i801
e1000 96820 0
floppy 69200 0
ext3 142992 2
jbd 69424 1 ext3
ata_piix 11268 0
libata 51720 1 ata_piix
aic79xx 203388 3
sd_mod 19968 4
scsi_mod 145976 3 libata,aic79xx,sd_mod
Could not open device at /dev/ipmi0 or /dev/ipmi/0: No such file or
directory
Error sending Chassis Status command
Corey , could you help me to find something wrong with above info,
always the last step failed. And do I have other method to validate the
driver works well? Actually, I only want to use IPMI to monitor local
processor's fan speed and temperature and fan speed , and could set the
speed of processor fan according to its temperature, but on first step
I
Post by Ye, Qing
even couldn't drive it, so faint~~
-----Original Message-----
Sent: Tuesday, May 10, 2005 8:59 PM
To: Ye, Qing
Subject: Re: [Openipmi-developer] How to drive mBMC with system
interface SSIF ?
* The kernel logs when the IPMI/I2C stuff is loaded
* ls -l /dev/ipmi0
* cat /proc/devices
-Corey
I've been harassed by a question on ipmi driver for a long time, so I
need your help and suggestions with much desired!
My machine is Nocona with intel Xeon x86_64, which has a pre-released
version motherboard, I looked for much info about the mainboard on
intel website,
I found the BMC on that board is using SSIF(SMBus interface) as its
system interface ( not one of KCS, SMIC, or BT ). After several times
failure on trying insmod ipmi_si driver, I download the newest
OpenIPMI kernel patch for 2.6.10 kernel, and selected all the IPMI
related kernel option then recompile it.
When I reboot and go into the new kernel ,I could modprobe
ipmi_smb(dedicated for SSIF) , ipmi_devintf, ipmi_msghandler as
following, then I install a tools based on OpenIPMI named
ipmitool-1.8.1, find the ipmidev number in /proc/devices, mknod
/dev/ipmi0 c 254 0 ; after that, when I try to use this tool,
unfortunately it still not work
Corey Minyard
2005-05-10 19:46:48 UTC
Permalink
Post by Ye, Qing
Much appreciation from my heart! I will follow as what you said
Module Size Used by
ipmi_devintf 10244 0
ipmi_smb 18560 0
ipmi_msghandler 45824 2 ipmi_devintf,ipmi_smb
i2c_i801 12092 0
i2c_core 35712 2 ipmi_smb,i2c_i801
# modprobe ipmi_smb dbg=0xf smb_dbg_probe=1
Then, I use the "dmidecode" command, something very curious, only
generate flowing output(without anything except only one line), why
looks like that?
# dmidecode 2.2
This is the problem there is no DMI data, so the driver will not find
the interface.

I'm betting you can get this working by adding "addr=0,0x40" to the
module command line.
Post by Ye, Qing
Here ,I want to say , my machine is a pre-released Nocona server(Xeon
64bit), the OS is red hat enterprise 4 with openipmi-patched kernel
2.6.10
I just guess the BMC on my machine is using SSTF interface, because I
compared some technique parameters with other released intel motherboard
, it much like some of them which has the mBMC with SSTF, but I still
can't be sure the mBMC on the pre-released board is the same BMC using
SSTF.
So, Corey, could you tell me how can I make sure whether my BMC on board
really exists, and whether the system interface is really SSTF? I tested
for so many times just because I think probably this Nocona server board
should have BMC.
No idea, but I would guess so.

-Corey
Ye, Qing
2005-05-10 20:05:09 UTC
Permalink
Thanks again for you valuable info!
I restart the machine, and do
[***@ae64 sql-bench]# modprobe ipmi_smb addr=0,0x40
This command may takes several seconds, then the module was loaded
without message.
Next ,I do
[***@ae64 sql-bench]# modprobe ipmi_devintf

Here I again mknod and use ipmitool to check whether I drive it
successfully, I have a question, is there any other methods to check
whether the driver works well? I try to install OpenIPMI library ,but
unfortunately I even can't compile through it.

Now I've an idea, please tell me am I right. I think maybe the SSTF
interface don't serve as a character device, so ipmitool always failed
on trying to access /dev/ipmi0. Maybe I need to find another method to
access the BMC with SSTF, so what's the method?



-----Original Message-----
From: Corey Minyard [mailto:***@acm.org]
Sent: Wednesday, May 11, 2005 3:47 AM
To: Ye, Qing
Cc: openipmi-***@lists.sourceforge.net
Subject: Re: [Openipmi-developer] How to drive mBMC with system
interface SSIF ?
Post by Ye, Qing
Much appreciation from my heart! I will follow as what you said
Module Size Used by
ipmi_devintf 10244 0
ipmi_smb 18560 0
ipmi_msghandler 45824 2 ipmi_devintf,ipmi_smb
i2c_i801 12092 0
i2c_core 35712 2 ipmi_smb,i2c_i801
# modprobe ipmi_smb dbg=0xf smb_dbg_probe=1
Then, I use the "dmidecode" command, something very curious, only
generate flowing output(without anything except only one line), why
looks like that?
# dmidecode 2.2
This is the problem there is no DMI data, so the driver will not find
the interface.

I'm betting you can get this working by adding "addr=0,0x40" to the
module command line.
Post by Ye, Qing
Here ,I want to say , my machine is a pre-released Nocona server(Xeon
64bit), the OS is red hat enterprise 4 with openipmi-patched kernel
2.6.10
I just guess the BMC on my machine is using SSTF interface, because I
compared some technique parameters with other released intel
motherboard
Post by Ye, Qing
, it much like some of them which has the mBMC with SSTF, but I still
can't be sure the mBMC on the pre-released board is the same BMC using
SSTF.
So, Corey, could you tell me how can I make sure whether my BMC on
board
Post by Ye, Qing
really exists, and whether the system interface is really SSTF? I
tested
Post by Ye, Qing
for so many times just because I think probably this Nocona server
board
Post by Ye, Qing
should have BMC.
No idea, but I would guess so.

-Corey
Corey Minyard
2005-05-10 20:16:42 UTC
Permalink
Post by Ye, Qing
Thanks again for you valuable info!
I restart the machine, and do
This command may takes several seconds, then the module was loaded
without message.
Next ,I do
Here I again mknod and use ipmitool to check whether I drive it
successfully, I have a question, is there any other methods to check
whether the driver works well? I try to install OpenIPMI library ,but
unfortunately I even can't compile through it.
You need to look at the kernel output. When you install drivers, that
is critical if you are having problems. Also, enabling the debugging
might be helpful.

You also didn't say if ipmitool worked, but I'm guessing it didn't.
Post by Ye, Qing
Now I've an idea, please tell me am I right. I think maybe the SSTF
interface don't serve as a character device, so ipmitool always failed
on trying to access /dev/ipmi0. Maybe I need to find another method to
access the BMC with SSTF, so what's the method?
No, it's /dev/ipmi0.
Cress, Andrew R
2005-05-11 19:51:33 UTC
Permalink
If you don't know what IPMI commands to send, you can try some
user-level IPMI utilities from http://ipmiutil.sf.net, like 'sensor'.
These work with the /dev/ipmi0 interface from the OpenIPMI driver.

Andy

-----Original Message-----
From: openipmi-developer-***@lists.sourceforge.net
[mailto:openipmi-developer-***@lists.sourceforge.net] On Behalf Of
Corey Minyard
Sent: Tuesday, May 10, 2005 4:17 PM
To: Ye, Qing
Cc: openipmi-***@lists.sourceforge.net
Subject: Re: [Openipmi-developer] How to drive mBMC with system
interface SSIF ?
Post by Ye, Qing
Thanks again for you valuable info!
I restart the machine, and do
This command may takes several seconds, then the module was loaded
without message.
Next ,I do
Here I again mknod and use ipmitool to check whether I drive it
successfully, I have a question, is there any other methods to check
whether the driver works well? I try to install OpenIPMI library ,but
unfortunately I even can't compile through it.
You need to look at the kernel output. When you install drivers, that
is critical if you are having problems. Also, enabling the debugging
might be helpful.

You also didn't say if ipmitool worked, but I'm guessing it didn't.
Post by Ye, Qing
Now I've an idea, please tell me am I right. I think maybe the SSTF
interface don't serve as a character device, so ipmitool always failed
on trying to access /dev/ipmi0. Maybe I need to find another method to
access the BMC with SSTF, so what's the method?
No, it's /dev/ipmi0.
Wang, Jing J
2005-05-12 00:49:11 UTC
Permalink
The problem is we can't get the ipmi connection established correctly in SMBus platform. So would anyone please tell us if you have had a successful story using IPMI on SMBus based platform. Thank you!




-----Original Message-----
From: openipmi-developer-***@lists.sourceforge.net [mailto:openipmi-developer-***@lists.sourceforge.net] On Behalf Of Cress, Andrew R
Sent: 2005年5月12日 3:52
To: Corey Minyard; Ye, Qing
Cc: openipmi-***@lists.sourceforge.net
Subject: RE: [Openipmi-developer] How to drive mBMC with system interface SSIF ?


If you don't know what IPMI commands to send, you can try some
user-level IPMI utilities from http://ipmiutil.sf.net, like 'sensor'.
These work with the /dev/ipmi0 interface from the OpenIPMI driver.

Andy

-----Original Message-----
From: openipmi-developer-***@lists.sourceforge.net
[mailto:openipmi-developer-***@lists.sourceforge.net] On Behalf Of
Corey Minyard
Sent: Tuesday, May 10, 2005 4:17 PM
To: Ye, Qing
Cc: openipmi-***@lists.sourceforge.net
Subject: Re: [Openipmi-developer] How to drive mBMC with system
interface SSIF ?
Post by Ye, Qing
Thanks again for you valuable info!
I restart the machine, and do
This command may takes several seconds, then the module was loaded
without message.
Next ,I do
Here I again mknod and use ipmitool to check whether I drive it
successfully, I have a question, is there any other methods to check
whether the driver works well? I try to install OpenIPMI library ,but
unfortunately I even can't compile through it.
You need to look at the kernel output. When you install drivers, that
is critical if you are having problems. Also, enabling the debugging
might be helpful.

You also didn't say if ipmitool worked, but I'm guessing it didn't.
Post by Ye, Qing
Now I've an idea, please tell me am I right. I think maybe the SSTF
interface don't serve as a character device, so ipmitool always failed
on trying to access /dev/ipmi0. Maybe I need to find another method to
access the BMC with SSTF, so what's the method?
No, it's /dev/ipmi0.
Corey Minyard
2005-05-12 01:33:15 UTC
Permalink
I actually had the numbers wrong. Can you load it with "addr=0,0x42"?

If the interface is correct, you will see a /proc/ipmi/0 directory

-Corey
Post by Wang, Jing J
The problem is we can't get the ipmi connection established correctly in SMBus platform. So would anyone please tell us if you have had a successful story using IPMI on SMBus based platform. Thank you!
-----Original Message-----
Sent: 2005年5月12日 3:52
To: Corey Minyard; Ye, Qing
Subject: RE: [Openipmi-developer] How to drive mBMC with system interface SSIF ?
If you don't know what IPMI commands to send, you can try some
user-level IPMI utilities from http://ipmiutil.sf.net, like 'sensor'.
These work with the /dev/ipmi0 interface from the OpenIPMI driver.
Andy
-----Original Message-----
Corey Minyard
Sent: Tuesday, May 10, 2005 4:17 PM
To: Ye, Qing
Subject: Re: [Openipmi-developer] How to drive mBMC with system
interface SSIF ?
Post by Ye, Qing
Thanks again for you valuable info!
I restart the machine, and do
This command may takes several seconds, then the module was loaded
without message.
Next ,I do
Here I again mknod and use ipmitool to check whether I drive it
successfully, I have a question, is there any other methods to check
whether the driver works well? I try to install OpenIPMI library ,but
unfortunately I even can't compile through it.
You need to look at the kernel output. When you install drivers, that
is critical if you are having problems. Also, enabling the debugging
might be helpful.
You also didn't say if ipmitool worked, but I'm guessing it didn't.
Post by Ye, Qing
Now I've an idea, please tell me am I right. I think maybe the SSTF
interface don't serve as a character device, so ipmitool always failed
on trying to access /dev/ipmi0. Maybe I need to find another method to
access the BMC with SSTF, so what's the method?
No, it's /dev/ipmi0.
Ye, Qing
2005-05-12 03:15:25 UTC
Permalink
Thank you, Corey! I retry to load modules using following command:

[***@ae64 ~]# modprobe ipmi_smb addr=0,0x42
[***@ae64 ~]# modprobe ipmi_devintf
[***@ae64 ~]# lsmod
Module Size Used by
ipmi_devintf 10244 0
ipmi_smb 18560 0
ipmi_msghandler 45824 2 ipmi_devintf,ipmi_smb
i2c_i801 12092 0
i2c_core 35712 2 ipmi_smb,i2c_i801
[***@ae64 ~]# tail /var/log/messages
May 12 10:45:01 ae64 crond(pam_unix)[15369]: session opened for user root by (uid=0)
May 12 10:45:01 ae64 crond(pam_unix)[15369]: session closed for user root
May 12 10:47:52 ae64 kernel: ipmi message handler version v33
May 12 10:47:52 ae64 kernel: IPMI SMB Interface driver version v33
May 12 10:48:02 ae64 kernel: ipmi device interface version v33
[***@ae64 ~]# cd /proc/ipmi/
[***@ae64 ipmi]# ls
[***@ae64 ipmi]# ll
total 0

It looks empty in the /proc/ipmi directory, does it mean the interface still not work correctly?

On the other part, is it really we couldn't get/set cpu fan speed? It's a bad news for us, because initially we want to tune the cpu fan speed dynamically according to cpu temperature with some strategies. I could also get cpu temperature and power/motherboard fan speed, not cpu fan speed, so it seems like we can't fulfill our initially plan.



-----Original Message-----
From: Corey Minyard [mailto:***@acm.org]
Sent: Thursday, May 12, 2005 9:33 AM
To: Wang, Jing J
Cc: Cress, Andrew R; Ye, Qing; openipmi-***@lists.sourceforge.net
Subject: Re: [Openipmi-developer] How to drive mBMC with system interface SSIF ?

I actually had the numbers wrong. Can you load it with "addr=0,0x42"?

If the interface is correct, you will see a /proc/ipmi/0 directory

-Corey
Post by Wang, Jing J
The problem is we can't get the ipmi connection established correctly in SMBus platform. So would anyone please tell us if you have had a successful story using IPMI on SMBus based platform. Thank you!
-----Original Message-----
Sent: 2005年5月12日 3:52
To: Corey Minyard; Ye, Qing
Subject: RE: [Openipmi-developer] How to drive mBMC with system interface SSIF ?
If you don't know what IPMI commands to send, you can try some
user-level IPMI utilities from http://ipmiutil.sf.net, like 'sensor'.
These work with the /dev/ipmi0 interface from the OpenIPMI driver.
Andy
-----Original Message-----
Corey Minyard
Sent: Tuesday, May 10, 2005 4:17 PM
To: Ye, Qing
Subject: Re: [Openipmi-developer] How to drive mBMC with system
interface SSIF ?
Post by Ye, Qing
Thanks again for you valuable info!
I restart the machine, and do
This command may takes several seconds, then the module was loaded
without message.
Next ,I do
Here I again mknod and use ipmitool to check whether I drive it
successfully, I have a question, is there any other methods to check
whether the driver works well? I try to install OpenIPMI library ,but
unfortunately I even can't compile through it.
You need to look at the kernel output. When you install drivers, that
is critical if you are having problems. Also, enabling the debugging
might be helpful.
You also didn't say if ipmitool worked, but I'm guessing it didn't.
Post by Ye, Qing
Now I've an idea, please tell me am I right. I think maybe the SSTF
interface don't serve as a character device, so ipmitool always failed
on trying to access /dev/ipmi0. Maybe I need to find another method to
access the BMC with SSTF, so what's the method?
No, it's /dev/ipmi0.
Corey Minyard
2005-05-12 12:59:29 UTC
Permalink
Post by Ye, Qing
Module Size Used by
ipmi_devintf 10244 0
ipmi_smb 18560 0
ipmi_msghandler 45824 2 ipmi_devintf,ipmi_smb
i2c_i801 12092 0
i2c_core 35712 2 ipmi_smb,i2c_i801
May 12 10:45:01 ae64 crond(pam_unix)[15369]: session opened for user root by (uid=0)
May 12 10:45:01 ae64 crond(pam_unix)[15369]: session closed for user root
May 12 10:47:52 ae64 kernel: ipmi message handler version v33
May 12 10:47:52 ae64 kernel: IPMI SMB Interface driver version v33
May 12 10:48:02 ae64 kernel: ipmi device interface version v33
total 0
It looks empty in the /proc/ipmi directory, does it mean the interface still not work correctly?
At this point, either the address is not at ones we've tried, or it's
just not working. Since this is a prototype board, anything is possible.

I have a se7520bd2, but it has the management module on it so it has a
kcs interface.

I also have a chesnee, and it works fine on that platform.
Post by Ye, Qing
On the other part, is it really we couldn't get/set cpu fan speed? It's a bad news for us, because initially we want to tune the cpu fan speed dynamically according to cpu temperature with some strategies. I could also get cpu temperature and power/motherboard fan speed, not cpu fan speed, so it seems like we can't fulfill our initially plan.
Well, unless you read the documents on the motherboard, you won't know.
I haven't seen this capability, though, in other motherboards.

-Corey
Post by Ye, Qing
-----Original Message-----
Sent: Thursday, May 12, 2005 9:33 AM
To: Wang, Jing J
Subject: Re: [Openipmi-developer] How to drive mBMC with system interface SSIF ?
I actually had the numbers wrong. Can you load it with "addr=0,0x42"?
If the interface is correct, you will see a /proc/ipmi/0 directory
-Corey
Post by Wang, Jing J
The problem is we can't get the ipmi connection established correctly in SMBus platform. So would anyone please tell us if you have had a successful story using IPMI on SMBus based platform. Thank you!
-----Original Message-----
Sent: 2005年5月12日 3:52
To: Corey Minyard; Ye, Qing
Subject: RE: [Openipmi-developer] How to drive mBMC with system interface SSIF ?
If you don't know what IPMI commands to send, you can try some
user-level IPMI utilities from http://ipmiutil.sf.net, like 'sensor'.
These work with the /dev/ipmi0 interface from the OpenIPMI driver.
Andy
-----Original Message-----
Corey Minyard
Sent: Tuesday, May 10, 2005 4:17 PM
To: Ye, Qing
Subject: Re: [Openipmi-developer] How to drive mBMC with system interface SSIF ?
Post by Ye, Qing
Thanks again for you valuable info!
I restart the machine, and do
This command may takes several seconds, then the module was loaded
without message.
Next ,I do
Here I again mknod and use ipmitool to check whether I drive it
successfully, I have a question, is there any other methods to check
whether the driver works well? I try to install OpenIPMI library ,but
unfortunately I even can't compile through it.
You need to look at the kernel output. When you install drivers, that
is critical if you are having problems. Also, enabling the debugging
might be helpful.
You also didn't say if ipmitool worked, but I'm guessing it didn't.
Post by Ye, Qing
Now I've an idea, please tell me am I right. I think maybe the SSTF
interface don't serve as a character device, so ipmitool always failed
on trying to access /dev/ipmi0. Maybe I need to find another method to
access the BMC with SSTF, so what's the method?
No, it's /dev/ipmi0.
Cress, Andrew R
2005-05-12 14:20:46 UTC
Permalink
We have done it here on several SMBus systems with the mini-BMC, using the OpenIPMI ipmi-smb module.
As Corey pointed out, the SMBus address is very important. If the I2C slave address of 0x40 doesn't return errors, it would seem to be correct. If there were errors, they should be reported both during load, and in /var/log/messages.
(Our systems use slave address 0x42, but beware that probing the wrong slave address can clobber things like DIMM SPDs, etc.)

If there were no errors, please include what evidence you found when you didn't get connected to the BMC:
i.e. commands used and their output - from either ipmitool or 'sensor -x' (from ipmiutil).

The system vendor spec should indicate the I2C Slave address. If that is different, try it. If not, contact the system vendor.

Andy

-----Original Message-----
From: Wang, Jing J
Sent: Wednesday, May 11, 2005 8:49 PM
To: Cress, Andrew R; Corey Minyard; Ye, Qing
Cc: openipmi-***@lists.sourceforge.net
Subject: RE: [Openipmi-developer] How to drive mBMC with system interface SSIF ?


The problem is we can't get the ipmi connection established correctly in SMBus platform. So would anyone please tell us if you have had a successful story using IPMI on SMBus based platform. Thank you!




-----Original Message-----
From: openipmi-developer-***@lists.sourceforge.net [mailto:openipmi-developer-***@lists.sourceforge.net] On Behalf Of Cress, Andrew R
Sent: 2005$BG/(J5$B7n(J12$BF|(J 3:52
To: Corey Minyard; Ye, Qing
Cc: openipmi-***@lists.sourceforge.net
Subject: RE: [Openipmi-developer] How to drive mBMC with system interface SSIF ?


If you don't know what IPMI commands to send, you can try some
user-level IPMI utilities from http://ipmiutil.sf.net, like 'sensor'.
These work with the /dev/ipmi0 interface from the OpenIPMI driver.

Andy

-----Original Message-----
From: openipmi-developer-***@lists.sourceforge.net
[mailto:openipmi-developer-***@lists.sourceforge.net] On Behalf Of
Corey Minyard
Sent: Tuesday, May 10, 2005 4:17 PM
To: Ye, Qing
Cc: openipmi-***@lists.sourceforge.net
Subject: Re: [Openipmi-developer] How to drive mBMC with system
interface SSIF ?
Post by Ye, Qing
Thanks again for you valuable info!
I restart the machine, and do
This command may takes several seconds, then the module was loaded
without message.
Next ,I do
Here I again mknod and use ipmitool to check whether I drive it
successfully, I have a question, is there any other methods to check
whether the driver works well? I try to install OpenIPMI library ,but
unfortunately I even can't compile through it.
You need to look at the kernel output. When you install drivers, that
is critical if you are having problems. Also, enabling the debugging
might be helpful.

You also didn't say if ipmitool worked, but I'm guessing it didn't.
Post by Ye, Qing
Now I've an idea, please tell me am I right. I think maybe the SSTF
interface don't serve as a character device, so ipmitool always failed
on trying to access /dev/ipmi0. Maybe I need to find another method to
access the BMC with SSTF, so what's the method?
No, it's /dev/ipmi0.

Loading...