[Top][All Lists]
[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: |
Tejram Meena |
Subject: |
Re: [Freeipmi-users] FreeIPMI-0.3.0 on FreeBSD 6.1 [ipmi/rmcp ping an ipmiconsole fails to compile] |
Date: |
Wed, 6 Dec 2006 17:01:12 +0530 |
User-agent: |
KMail/1.9.1 |
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
Do we need to initialize or setup sensor data records(sdr) before using
ipmi-snsors by some method..?
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.
- [Freeipmi-users] FreeIPMI-0.3.0 on FreeBSD 6.1 [ipmi/rmcp ping an ipmiconsole fails to compile], Tejram Meena, 2006/12/05
- Re: [Freeipmi-users] FreeIPMI-0.3.0 on FreeBSD 6.1 [ipmi/rmcp ping an ipmiconsole fails to compile], Dmitry Frolov, 2006/12/05
- Re: [Freeipmi-users] FreeIPMI-0.3.0 on FreeBSD 6.1 [ipmi/rmcp ping an ipmiconsole fails to compile], Al Chu, 2006/12/05
- Re: [Freeipmi-users] FreeIPMI-0.3.0 on FreeBSD 6.1 [ipmi/rmcp ping an ipmiconsole fails to compile],
Tejram Meena <=
- Re: [Freeipmi-users] FreeIPMI-0.3.0 on FreeBSD 6.1 [ipmi/rmcp ping an ipmiconsole fails to compile], Dmitry Frolov, 2006/12/06
- Re: [Freeipmi-users] FreeIPMI-0.3.0 on FreeBSD 6.1 [ipmi/rmcp ping an ipmiconsole fails to compile], Anand Babu, 2006/12/06
- Re: [Freeipmi-users] FreeIPMI-0.3.0 on FreeBSD 6.1: ipmi-sensors- sdr-cache directory initialization fails, Tejram Meena, 2006/12/07
- Re: [Freeipmi-users] FreeIPMI-0.3.0 on FreeBSD 6.1: ipmi-sensors- sdr-cache directory initialization fails, Anand Babu, 2006/12/06
- Re: [Freeipmi-users] FreeIPMI-0.3.0 on FreeBSD 6.1: ipmi-sensors- sdr-cache directory initialization fails, Dmitry Frolov, 2006/12/07
- Re: [Freeipmi-users] FreeIPMI-0.3.0 on FreeBSD 6.1 [ipmi/rmcp ping an ipmiconsole fails to compile], Dmitry Frolov, 2006/12/07
- Message not available
- Message not available
- Re: [Freeipmi-users] FreeIPMI-0.3.0 on FreeBSD 6.1 [ipmi/rmcp ping an ipmiconsole fails to compile], Dmitry Frolov, 2006/12/11