freeipmi-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freeipmi-users] FreeIPMI-0.3.0 on FreeBSD 6.1 [ipmi/rmcp ping an ip


From: Dmitry Frolov
Subject: Re: [Freeipmi-users] FreeIPMI-0.3.0 on FreeBSD 6.1 [ipmi/rmcp ping an ipmiconsole fails to compile]
Date: Thu, 7 Dec 2006 12:20:09 +0600
User-agent: Mutt/1.5.11

Tejram, can You please try this port, it contains patch for another two
mentioned problems:

http://kaya.nov.net/tmp/freeipmi-0.3.0_1-port.tar.gz

* Dmitry Frolov <address@hidden> [06.12.2006 18:27]:

> * Tejram Meena <address@hidden> [06.12.2006 17:32]:
> 
> > On Tuesday 05 December 2006 20:30, Dmitry Frolov wrote:
> > 
> > Thanks Dmitry, for the patched port skeleton, all the compilation issued 
> > are 
> > resolved with, but ipmi-sensors and ipmi-sel still have sdr cache bugs on 
> > FreeBSD.
> > 
> > I am trying on IBM machine   eserver xSeries 346 -[884011U] and the machine 
> > has KCS as Interface type. 
> > 
> > address@hidden /home/vcr]# ipmi-sensors
> > ipmi-sensors: sdr cache directory setup failed
> > address@hidden /home/vcr]# ipmi-sel
> > ipmi-sel: sdr cache initialization failed
> 
> I've not seen such failures.
> 
> > Do we need to initialize or setup sensor data records(sdr) before using 
> > ipmi-snsors by some method..?
> 
> No, there should be no need in any manual setup. Upon startup
> ipmi-sensors should create ~/.freeipmi/sdr-cache directory (or
> /tmp/freeipmi-<username>/sdr-cache if user's home directory doesn't
> exist) and put sdr-cache-`hostname -s`.127.0.0.1 file in it.
> 
> Can You please verify that root home directory exists? If so, try
> to remove ~root/.freeipmi and rerun ipmi-sensors.
> 
> If nothing helps, can You please run `ktrace ipmi-sensors' and
> send me the output of `kdump' in the same directory (preferably directly,
> since it may contain private info and the output may be huge).
> 
> > 
> > Thanks
> > Tejram Meena
> > 
> > > Please see below...
> > >
> > > * Tejram Meena <address@hidden> [05.12.2006 17:37]:
> > > > ipmi_lan_sendto and ipmi_lan_recvfrom bugs in ipmiping
> > > >
> > > > IPMIPING:
> > > > cc -DUSE_IOPERM -I/usr/local/include -o ipmiping ipmiping-ipmiping.o
> > > > -L/usr/local/lib ../../libfreeipmi/src/.libs/libfreeipmi.a
> > > > -lgcrypt ../../common/src/.libs/libipmiping.a -lm -largp
> > > > ../../common/src/.libs/libipmiping.a(libipmiping_la-ipmi-ping.o)(.text+0x
> > > >b45):
> > > >
> > > > In function `_main_loop':
> > > > : undefined reference to `ipmi_lan_sendto'
> > > >
> > > > ../../common/src/.libs/libipmiping.a(libipmiping_la-ipmi-ping.o)(.text+0x
> > > >d0c):
> > > >
> > > > In function `_main_loop':
> > > > : undefined reference to `ipmi_lan_recvfrom'
> > > >
> > > > gmake[3]: *** [ipmiping] Error 1
> > > >
> > > > RMCP-PING:
> > > > gcc -DUSE_IOPERM -I/usr/local/include -o rmcpping rmcpping-rmcpping.o
> > > > -L/usr/local/lib ../../libfreeipmi/src/.libs/libfreeipmi.a
> > > > -lgcrypt ../../common/src/.libs/libipmiping.a -lm -largp
> > > > ../../common/src/.libs/libipmiping.a(libipmiping_la-ipmi-ping.o)(.text+0x
> > > >9fa):
> > > >
> > > > In function `_main_loop':
> > > > : undefined reference to `ipmi_get_random'
> > > >
> > > > ../../common/src/.libs/libipmiping.a(libipmiping_la-ipmi-ping.o)(.text+0x
> > > >b45):
> > > >
> > > > In function `_main_loop':
> > > > : undefined reference to `ipmi_lan_sendto'
> > > >
> > > > ../../common/src/.libs/libipmiping.a(libipmiping_la-ipmi-ping.o)(.text+0x
> > > >d0c):
> > > >
> > > > In function `_main_loop':
> > > > : undefined reference to `ipmi_lan_recvfrom'
> > > >
> > > > gmake[3]: *** [rmcpping] Error 1
> > > >
> > > >
> > > > IPMI-CONSOLE:
> > > > gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I./../../../config
> > > > -I./../../../common/src -I./../../../libfreeipmi/include
> > > > -DWITH_SECURE_MALLOC=1 -DWITH_PTHREADS=1 -DUSE_IOPERM
> > > > -I/usr/local/include -MT libipmiconsole_la-ipmiconsole_engine.lo -MD -MP
> > > > -MF .deps/libipmiconsole_la-ipmiconsole_engine.Tpo -c
> > > > ipmiconsole_engine.c -o libipmiconsole_la-ipmiconsole_engine.o
> > > > ipmiconsole_engine.c:276:2: #error Additional threadsafe gethostbyname
> > > > support needed
> > > > gmake[4]: *** [libipmiconsole_la-ipmiconsole_engine.lo] Error 1
> > >
> > > Please try to build from this port skeleton:
> > >
> > > http://kaya.nov.net/tmp/freeipmi-0.3.0-port.tar.gz
> > >
> > > It fixes ipmiconsole compilation. I've not seen ipmiping and rmcpping
> > > failings You have, so please report if it's still failing.
> > >
> > > > FreeIPMI installed successfully without ipmiping, rmcpping and
> > > > ipmiconsole :) %ipmi-locate                             # works fine
> > > >
> > > > Probing KCS device using DMIDECODE... done
> > > > IPMI Version: 1.5
> > > > IPMI locate driver: DMIDECODE
> > > > IPMI interface: KCS
> > > > BMC driver device:
> > > > BMC I/O base address: CA8
> > > > Register space: 4
> > > >
> > > > Probing SMIC device using DMIDECODE... FAILED
> > > >
> > > > Probing BT device using DMIDECODE... FAILED
> > > >
> > > > Probing SSIF device using DMIDECODE... FAILED
> > > >
> > > > Probing KCS device using SMBIOS... FAILED
> > > >
> > > > Probing SMIC device using SMBIOS... FAILED
> > > > ...
> > > >
> > > > %bmc-info                               #works fine
> > > > Device ID:         20
> > > > Device Revision:   0
> > > > Firmware Revision: 1.17
> > > >                    [Device Available (normal operation)]
> > > > IPMI Version:      1.5
> > > > Additional Device Support:
> > > >                    [Sensor Device]
> > > >                    [SDR Repository Device]
> > > >                    [SEL Device]
> > > >                    [IPMB Event Receiver]
> > > >                    [IPMB Event Generator]
> > > >                    [Chassis Device]
> > > > Manufacturer ID:   2h
> > > > Product ID:        4h
> > > > Aux Firmware Revision Info: 54425041h
> > > > Channel Information:
> > > >        Channel No: 0
> > > >       Medium Type: IPMB (I2C)
> > > >     Protocol Type: IPMB-1.0
> > > >        Channel No: 1
> > > >       Medium Type: 802.3 LAN
> > > >     Protocol Type: IPMB-1.0
> > > >        Channel No: 2
> > > >       Medium Type: Asynch. Serial/Modem (RS-232)
> > > >     Protocol Type: IPMB-1.0
> > > >        Channel No: 3
> > > >       Medium Type: System Interface (KCS, SMIC, or BT)
> > > >     Protocol Type: IPMB-1.0
> > > >
> > > > But IPMI-SENSORS FAILS
> > > > % ipmi-sensors
> > > > ipmi-sensors: sdr cache directory setup failed      #SDR CACHE SETUP
> > > > FAILED
> > > >
> > > > %ipmi-sel                       #sdr cache problem
> > > > ipmi-sel: sdr cache initialization failed
> > >
> > > The above port skeleton also have a patch for this.
> > > To developers: it seems that this bug is only arises on FreeBSD.
> > >
> > > > I am using IBM X series 336 machine to test sensors.

    wbr&w, dmitry.
-- 
Dmitry Frolov <address@hidden>
RISS-Telecom Network, Novosibirsk, Russia
address@hidden, +7 383 2278800, DVF-RIPE




reply via email to

[Prev in Thread] Current Thread [Next in Thread]