<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
This might be an issue with needing to specify specific memory
locations for your specific BMC. Try unloading ALL IPMI kernel modules
and then run this script but you'll need to research and specify the
right memory regions:<br>
<br>
ipmimod.sh<br>
--<br>
#!/bin/bash<br>
<br>
#IPMI kernel module installer for Redhat-style machines<br>
#***@juniper.net<br>
<br>
#07/26/06 - use absolute paths for modprobe<br>
#05/01/06 - orig version<br>
<br>
/sbin/modprobe ipmi_devintf<br>
<br>
maj=`cat /proc/devices | awk '/ipmidev/{print $1}'`<br>
echo $maj<br>
if [ -c /dev/ipmi0 ]<br>
then<br>
rm -f /dev/ipmi0<br>
/bin/mknod /dev/ipmi0 c $maj 0<br>
else<br>
/bin/mknod /dev/ipmi0 c $maj 0<br>
fi<br>
<br>
IPMI_DRIVERS="ipmi_si ipmi_si_drv ipmi_kcs_drv"<br>
for driver in $IPMI_DRIVERS; do<br>
find /lib/modules/`uname -r`/kernel/drivers/char/ipmi | grep $driver
> /dev/null<br>
RETURN_VALUE=$?<br>
if [ $RETURN_VALUE -eq 0 ] ; then<br>
#Here are specific memory locations for Supermicro AOC-type IPMI
cards<br>
/sbin/modprobe $driver type=kcs ports=0xca8 regspacings=4<br>
break<br>
fi<br>
done<br>
--<br>
<br>
<br>
For a cleaner solution on Centos5, I modified the /etc/rc.d/init.d/ipmi
script to read additional startup options and in /etc/sysconfig/ipmi, I
added the line:<br>
--<br>
IPMI_SI=yes<br>
IPMI_SI_MODULE_OPTIONS="type=kcs ports=0xca8 regspacings=4"<br>
--<br>
<br>
<br>
Ps. I have other IPMI issues and solutions here though this doc really
needs to be updated:<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.ecst.csuchico.edu/~dranch/LINUX/index-linux.html#ipmi">http://www.ecst.csuchico.edu/~dranch/LINUX/index-linux.html#ipmi</a><br>
<br>
--David<br>
<br>
<br>
<blockquote
cite="mid:4DB92108-760B-4E8D-8801-***@yoderhome.com"
type="cite">
<pre wrap="">I'm using varying versions of Ubuntu stock kernels:
2.6.17-10
2.6.22-14
2.6.20-15
I just tried installing the modules and device on a different machine
with 2.6.20-15, and got a different error than the -17. On the
command line:
FATAL: Error inserting ipmi_si (/lib/modules/2.6.22-14-server/kernel/
drivers/char/ipmi/ipmi_si.ko): No such device
In kern.log:
ipmi_si: Unable to find any System Interface(s)
As usual, the rest of the ipmi modules are installed, and /dev/ipmi0
has been created.
On Feb 21, 2008, at 10:45 AM, Corey Minyard wrote:
</pre>
<blockquote type="cite">
<pre wrap="">What Linux version are you running?
That error means that the driver was unable to register with the I/
O subsystem because the name was already registered. Which is very
strange, because this is the only thing that is using that name.
So you are trying to load a module and the function is already
compiled into the kernel (not sure if that is even possible) or
something very weird is going on.
-corey
David Ranch wrote:
</pre>
<blockquote type="cite">
<pre wrap="">You DO need the 'si' driver (as least I do).
The SI driver should give a better error report than '17'. Look
at the src code and see if there are any better descriptions there.
--david
----- Original Message -----
From: Kurt Yoder <a class="moz-txt-link-rfc2396E" href="mailto:***@yoderhome.com"><***@yoderhome.com></a>
To: David Ranch
Cc: <a class="moz-txt-link-abbreviated" href="mailto:ipmitool-***@lists.sourceforge.net">ipmitool-***@lists.sourceforge.net</a> <ipmitool- <a class="moz-txt-link-abbreviated" href="mailto:***@lists.sourceforge.net">***@lists.sourceforge.net</a>>
Sent: Thu Feb 21 07:08:11 2008
Subject: Re: [Ipmitool-devel] /dev/ipmi0 not seen by ipmitool?
The device looks correct:
# ls -l /dev/ipmi*
crw-r--r-- 1 root root 254, 0 2008-02-19 11:59 /dev/ipmi0
the major node looks correct as well:
# cat /proc/devices | grep ipmi
254 ipmidev
the kernel modules appear to be loaded:
# lsmod | grep ipmi
ipmi_watchdog 20156 0
ipmi_devintf 10248 0
ipmi_msghandler 37952 2 ipmi_watchdog,ipmi_devintf
I don't need to have the ipmi_si module loaded, correct? If I try
to load it, I get an error in the kern.log:
init_ipmi_si: Unable to register driver: -17
I'll have to check on the BIOS and BMC firmware.
On Feb 20, 2008, at 4:47 PM, David A. Ranch wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Do you have the right BMC firmware loaded on the DL360 as well
as the most up to date BIOS and BMC firmware.
Also, what's the output of "ls -la /dev/ipmi*"? It should be
something like:
crw-rw-rw- 1 root root 253, 0 Dec 10 15:38 /dev/ipmi0
--David
</pre>
<blockquote type="cite">
<pre wrap="">Hiya, list!
I installed openipmi successfully (I think), and now have a /
dev/ ipmi0:
# ls /dev/ipmi*
/dev/ipmi0
However ipmitool doesn't like my device if I use -I open:
# ipmitool -I open sdr
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/
ipmidev/ 0: No such file or directory
Get Device ID command failed
Unable to open SDR for reading
If I use -I imb, I get weird errors:
# ipmitool -I imb sdr
Error sending IMB request, status=1 ccode=0
Error sending IMB request, status=1 ccode=0
Error sending IMB request, status=1 ccode=0
Error sending IMB request, status=1 ccode=0
Error sending IMB request, status=1 ccode=0
Error sending IMB request, status=1 ccode=0
WARNING: Unknown SDR repository version 0x00
Error sending IMB request, status=1 ccode=bf
Error sending IMB request, status=1 ccode=bf
Error sending IMB request, status=1 ccode=bf
Unable to obtain SDR reservation
Unable to open SDR for reading
This is a local query, so AFAIK -I lan/-I lanplus would not be
approriate for me, correct?
Some notes: this works fine on all my ProLiant DL145 machines.
However, I get the above-mentioned problem on all of my
ProLiant DL360 machines. So it seems to be something hardware-
dependent.
Suggestions? Comments? RTFM locations?
Thanks,
-Kurt
-------------------------------------------------------------------
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">-- ---
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
<a class="moz-txt-link-freetext" href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a>
_______________________________________________
Ipmitool-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ipmitool-***@lists.sourceforge.net">Ipmitool-***@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/ipmitool-devel">https://lists.sourceforge.net/lists/listinfo/ipmitool-devel</a>
</pre>
</blockquote>
</blockquote>
<pre wrap="">---------------------------------------------------------------------
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">----
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
<a class="moz-txt-link-freetext" href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a>
_______________________________________________
Ipmitool-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ipmitool-***@lists.sourceforge.net">Ipmitool-***@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/ipmitool-devel">https://lists.sourceforge.net/lists/listinfo/ipmitool-devel</a>
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
</body>
</html>