View Full Version : ELF and Super Doctor II
ua549
06-21-2008, 06:12 PM
I'm trying to get Supermicro Super Doctor II (superodoctor) to run.
It requires an ELF library ld-linux.so.2 to be in /lib.
I've linked the file. ln -s /usr/lib/libelf.so.1. /lib/ln-linux.so.2
When executed, superodoctor returns an error.
ELF interpreter /lib/ld-linux.so.2 not found
Abort
The file is present.
# ls -l /lib/ld*
lrwxr-xr-x 1 root wheel 11 Jun 21 12:48 /lib/ld-linux.so.2 -> libelf.so.1
Do I have the wrong ELF library linked? What can I try?
Carpetsmoker
06-21-2008, 06:19 PM
I assume this is a Linux binary?
/compat/linux/lib/ld-linux.so.2 is used, not /lib/ld-linux.so.2
Do you have linux base (emulators/linux_base-fc4) installed? And do you have the linux kernel module loaded?
ua549
06-21-2008, 06:32 PM
superodoctor is asking for /lib/ld-linux.so.2 so that is the link I created.
There is nothing in /compat.
the linux kernel module is loaded.
linux base is only for 32 bit environments, isn't it?
The system is the one in my sig running AMD64.
Carpetsmoker
06-21-2008, 06:51 PM
[/ports/emulators/linux_base-fc4]# make -V ONLY_FOR_ARCHS
i386 amd64
amd64 is supported too.
TerryP
06-21-2008, 07:02 PM
I'm not very familiar with the Linux ABI but I think it looks in /compat/linux/target then /target when given a path to search, e.g. /lib.
lvlamb
06-21-2008, 07:03 PM
man brandelf ?
Carpetsmoker
06-21-2008, 07:06 PM
No, he doesn't need to use brandelf, he needs to install linux-base.
I'm not very familiar with the Linux ABI but I think it looks in /compat/linux/target then /target when given a path to search, e.g. /lib.
Yep, the same applies to binaries (e.g. /compat/linux/bin/sh rather than /bin/sh).
This is why the linux-base port is needed.
ua549
06-21-2008, 09:54 PM
Installing linux-base got it past that error. Now it's asking for gnome.
I did not thing that it would be required for a text based environment.
Oh well, some of it is installed now.
These dependencies failed:
libgcrypt-1.2.4_1 aborted, error code 1
gnome-keyring-2.20.1
Now superodoctor returns an error that it can't find shared library libgnomeui-2.so.0. find didn't find it. Location?
Sorry for all the newbie questions. :confused:
Carpetsmoker
06-21-2008, 10:07 PM
Where can I download this application? Or is it commercial? I could not easily find this application on the SuperMicro site...
ephemera
06-21-2008, 10:23 PM
this application most likely will not work on linuxulator as it might need some driver to be installed and loaded, and you can't load any drivers in linuxulator because there is no linux kernel, it simply does a linux -> freebsd syscall translation.
ua549
06-22-2008, 01:02 AM
Where can I download this application? Or is it commercial? I could not easily find this application on the SuperMicro site...
The application comes with the purchase of a Supermicro system board.
It is available here (ftp://ftp.supermicro.com/utility/Supero_Doctor_II/Linux/).
BSDfan666
06-22-2008, 03:42 AM
It definitely requires *Linux Only* kernel modules and other low-level linux-only device API's.
Here is a hint, The Linux binary emulation layer is for higher level applications... system level utilities will not work.
BSD is not Linux.. if you can explain the functionality of this program perhaps we can offer your equivalents in the BSD world.
ua549
06-22-2008, 03:38 PM
The program provides a presentation of hardware health and performance metrics such as temperatures, fan rpm's, utilization, drive status, ... It can interact with certain BIOS functions such as setting counter thresholds and limits. It can send email alerts when an alarm is triggered. The documentation indicates it needs i2c and gnome.
My needs are for drive status and temperature monitoring. The system uses passive heat sinks on the CPU's and graphics card. There are 3 fans in the Supermicro SC733-645 case - 92mm intake, 120mm exhaust and ??mm power supply.
I can use MRTG to monitor utilization as I do on my Windows workstation that will be retired when my new FBSD system is ready. Link (http://www.kitzy.com/mrtg/mrtgindex.htm)
All suggestions are greatly appreciated.
BSDfan666
06-23-2008, 06:45 AM
Well, OpenBSD(Unlike FreeBSD) has the sensors sysctl framework and many drivers (30+) for showing temperature/fan speeds/voltages etc..(And sensorsd for monitoring them..)
i.e:
hw.sensors.it0.temp0=70.00 degC
hw.sensors.it0.fan0=3813 RPM
As for FreeBSD, I found http://bsdhwmon.parodius.com/ which seems like someone you might like.. The coretemp driver might be able to show some additional temperature information on your Core Duo system.
The documentation indicates it needs i2c and gnome.Yes, but the i2c frameworks are incompatible between Linux and FreeBSD, heck, they're differences between OpenBSD and FreeBSD.
That program is also closed source, porting it wouldn't be possible.. ;)
Anyway, some relevant FreeBSD man pages..
Disk utilties.. messuring transfer rates, etc..
iostat
Sensors/Watchdog timer utilties.. etc..
watchdogd
pmcstat
pmccontrol
hwpmc
:)
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.