I suspect that the entry in openhpi.conf shall be
handler libsysfs2hpi { ... }
Anton Pak
On Wed, 26 May 2010 14:56:44 +0400, Chandru... <[email protected]>
wrote:
> On Wed, May 26, 2010 at 12:59 PM, <[email protected]> wrote:
>
>> More quiestions:
>>
>> o) What if simulator plug-in will be disabled and sysfs will be
>> the only one in openhpi.conf?
>>
> it showing no text in hpiview .... only default its showing
> ...
> my entry in openhpi.conf
> plugin libsysfs
>
> handler libsysfs {
> name="0"
> addr="0"
> entity_root = "{ROOT,0}{SYSTEM_CHASSIS,0}"
> }
>
>>
>> o) Does ldd <<openhpi_install_prefix>>/lib/openhpi/libsysfs.so shows any
>> "not found" line?
>> libsysfs.so is not in the /usr/local/lib/openhpi/
>> directory .. but present is in /usr/local/lib
>>
> inside /usr/local/lib/openhpi only
> "libsysfs2hpi.so","libsysfs2hpi.so.2","libsysfs2hpi.so.2.14.1"
>
> in /usr/local/lib command: ldd libsysfs.so returns
> "linux-gate.so.1 => (0xb7eea000)
> libc.so.6 => /lib/tls/i686/cmov/libc.so.6
> (0xb7d7b000)
> /lib/ld-linux.so.2 (0xb7eeb000)"
>
>> o) *Could you check that library was loaded?
>> The command: grep lib /proc/<<openhpid_pid>>/maps*
>>
>
> no libraries are loaded to openhpid ...
> the result of "grep lib /proc/8811/maps": is
>
>
>> * "b7bc3000-b7d0c000 r-xp 00000000 08:04 976194
>> /lib/tls/i686/cmov/libc-2.7.so
>> b7d0c000-b7d0d000 r--p 00149000 08:04 976194 /lib/tls/i686/cmov/
>> libc-2.7.so
>> b7d0d000-b7d0f000 rw-p 0014a000 08:04 976194 /lib/tls/i686/cmov/
>> libc-2.7.so
>> b7d13000-b7d1d000 r-xp 00000000 08:04 958483 /lib/libgcc_s.so.1
>> b7d1d000-b7d1e000 rw-p 0000a000 08:04 958483 /lib/libgcc_s.so.1
>> b7d1e000-b7d41000 r-xp 00000000 08:04 976203 /lib/tls/i686/cmov/
>> libm-2.7.so
>> b7d41000-b7d43000 rw-p 00023000 08:04 976203 /lib/tls/i686/cmov/
>> libm-2.7.so
>> b7d43000-b7d57000 r-xp 00000000 08:04 977247 /lib/tls/i686/cmov/
>> libpthread-2.7.so
>> b7d57000-b7d59000 rw-p 00013000 08:04 977247 /lib/tls/i686/cmov/
>> libpthread-2.7.so
>> b7d5b000-b7e41000 r-xp 00000000 08:04 1795775
>> /usr/local/lib/libglib-2.0.so.0.2502.0
>> b7e41000-b7e42000 rw-p 000e6000 08:04 1795775
>> /usr/local/lib/libglib-2.0.so.0.2502.0
>> b7e42000-b7e49000 r-xp 00000000 08:04 977249 /lib/tls/i686/cmov/
>> librt-2.7.so
>> b7e49000-b7e4b000 rw-p 00006000 08:04 977249 /lib/tls/i686/cmov/
>> librt-2.7.so
>> b7e4b000-b7e4f000 r-xp 00000000 08:04 1795787
>> /usr/local/lib/libgthread-2.0.so.0.2502.0
>> b7e4f000-b7e50000 rw-p 00003000 08:04 1795787
>> /usr/local/lib/libgthread-2.0.so.0.2502.0
>> b7e51000-b7e53000 r-xp 00000000 08:04 976201 /lib/tls/i686/cmov/
>> libdl-2.7.so
>> b7e53000-b7e55000 rw-p 00001000 08:04 976201 /lib/tls/i686/cmov/
>> libdl-2.7.so
>> b7e55000-b7e5b000 r-xp 00000000 08:04 1542340
>> /usr/lib/libltdl.so.3.1.6
>> b7e5b000-b7e5c000 rw-p 00005000 08:04 1542340
>> /usr/lib/libltdl.so.3.1.6
>> b7e5c000-b7f44000 r-xp 00000000 08:04 1425646
>> /usr/lib/libstdc++.so.6.0.9
>> b7f44000-b7f47000 r--p 000e8000 08:04 1425646
>> /usr/lib/libstdc++.so.6.0.9
>> b7f47000-b7f49000 rw-p 000eb000 08:04 1425646
>> /usr/lib/libstdc++.so.6.0.9
>> b7f4f000-b7f52000 r-xp 00000000 08:04 1788544
>> /usr/local/lib/libohtcpconnx.so.2.14.1
>> b7f52000-b7f53000 rw-p 00002000 08:04 1788544
>> /usr/local/lib/libohtcpconnx.so.2.14.1
>> b7f53000-b7f5b000 r-xp 00000000 08:04 1788542
>> /usr/local/lib/libopenhpimarshal.so.2.14.1
>> b7f5b000-b7f60000 rw-p 00007000 08:04 1788542
>> /usr/local/lib/libopenhpimarshal.so.2.14.1
>> b7f61000-b7f64000 r-xp 00000000 08:04 958611 /lib/libuuid.so.1.2
>> b7f64000-b7f65000 rw-p 00002000 08:04 958611 /lib/libuuid.so.1.2
>> b7f65000-b7f91000 r-xp 00000000 08:04 1788541
>> /usr/local/lib/libopenhpiutils.so.2.14.1
>> b7f91000-b7f93000 rw-p 0002c000 08:04 1788541
>> /usr/local/lib/libopenhpiutils.so.2.14.1
>> b7fa9000-b7fc3000 r-xp 00000000 08:04 958485 /lib/ld-2.7.so
>> b7fc3000-b7fc5000 rw-p 00019000 08:04 958485 /lib/ld-2.7.so"*
>>
>
>
>
>> o) And what resources and instrumentes do you expect to see from sysfs
>> plug-in?
>>
> any device.. .. first level ...
>
>>
>> Anton Pak
>>
>>
>> > two clients only shows the simulator plugin information ... not the
>> sysfs
>> > ...
>> >
>> > On Wed, May 26, 2010 at 12:41 PM, <[email protected]> wrote:
>> >
>> >> Well, it seems openhpid started ok.
>> >> Could you try hpitree or hpitop utilities from OpenHPI clients?
>> >>
>> >> Anton Pak
>> >>
>> >> > thanks again for reply sir..
>> >> >
>> >> > no debug messages .. only when i closed the hpiview it produced
>> >> > *Connection has been aborted
>> >> > CRITICAL: 0x80c5cd8 Error reading socket.
>> >> >
>> >> > *i think i have to enable debug before configuring openhpi source
>> ...
>> >> i
>> >> > will
>> >> > soon report it to u ..
>> >> >
>> >> > once agin thanks ..
>> >> > *
>> >> > *
>> >> >
>> >> > On Wed, May 26, 2010 at 12:03 PM, <[email protected]>
>> wrote:
>> >> >
>> >> >> What about running openhpi in debug mode:
>> >> >> openhpid -c /etc/openhpi/openhpi.conf -n -v -f /tmp/openhpi.pid
>> >> >>
>> >> >> It should produce more debug output on console.
>> >> >>
>> >> >> Anton Pak
>> >> >>
>> >> >> > thanks for reply sir .
>> >> >> >
>> >> >> > *- Not sure why you put {ROOT,0} in the entity_root.*
>> >> >> > i blindly follow as per the documents
>> >> >> > http://openhpi.sourceforge.net/manual/x415.html
>> >> >> > there they mentioned the ROOT entity ...
>> >> >> >
>> >> >> > *- Do you have openhpi_install_prefix/lib/*
>> >> >> > *openhpi/libsysfs.so?*
>> >> >> > yes in /usr/local/lib/
>> >> >> > libsysfs.a , libsysfs.so , libsysfs.so.2 are there
>> >> >> >
>> >> >> > - *What /var/log/messages says at openhpi starup?
>> >> >> > *
>> >> >> >
>> >> >> > its not showing any messages ...
>> >> >> >
>> >> >> > 2010/5/25 Anton Pak <[email protected]>
>> >> >> >
>> >> >> >> Hello!
>> >> >> >>
>> >> >> >> - Not sure why you put {ROOT,0} in the entity_root.
>> >> >> >> - Do you have openhpi_install_prefix/lib/openhpi/libsysfs.so?
>> >> >> >> - What /var/log/messages says at openhpi starup?
>> >> >> >>
>> >> >> >> Anton Pak
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> On Tue, 25 May 2010 17:11:13 +0400, Chandru...
>> >> >> <[email protected]>
>> >> >> >> wrote:
>> >> >> >>
>> >> >> >> hi friends,
>> >> >> >>>
>> >> >> >>> i am new to this openhpi ..
>> >> >> >>>
>> >> >> >>> any one please help me in loading sysfs plugin in openhpi ..
>> >> >> >>>
>> >> >> >>> i configured openhpi source with --enable-sysfs and edit
>> >> >> openhpi.conf
>> >> >> >>> with
>> >> >> >>>
>> >> >> >>> plugin libsysfs
>> >> >> >>>
>> >> >> >>> handler libsysfs {
>> >> >> >>> name="0"
>> >> >> >>> addr="0"
>> >> >> >>> entity_root = "{ROOT,0}{SYSTEM_CHASSIS,0}"
>> >> >> >>> }
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> but still hpiview is not showing the sysfs plugin resorce ...
>> >> >> >>> i am having /lib/libsysfs.so.2 and /lib/libsysfs.so.2.0.1 in
>> my
>> >> file
>> >> >> >>> system
>> >> >> >>> ...
>> >> >> >>>
>> >> >> >>> please any one help me or guide me how to introduce sysfs
>> plugin
>> >> in
>> >> >> >>> openhpid
>> >> >> >>> .. watchdog and simulator is working fine ..
>> >> >> >>>
>> >> >> >>>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > WAGMARE
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > WAGMARE
>> >> >
>> >>
>> >>
>> >>
>> >
>> >
>> > --
>> > WAGMARE
>> >
>>
>>
>>
>
>
------------------------------------------------------------------------------
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel