DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st June 2008
ua549's Avatar
ua549 ua549 is offline
Port Guard
 
Join Date: Jun 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default ELF and Super Doctor II

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?
__________________
`
*nix newbie

Desktop: Dual Xeon E5405 Quads, 16GB Mem, Areca 1210, 4TB Raid 5, Quadro NVS 290, FreeBSD 7.0
Notebook: Core Duo T7200, Seagate 200GB, Quadro NVS 110, Vista Business

Reply With Quote
  #2   (View Single Post)  
Old 21st June 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,066
Thanked 198 Times in 156 Posts
Default

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?
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 21st June 2008
ua549's Avatar
ua549 ua549 is offline
Port Guard
 
Join Date: Jun 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default

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.
__________________
`
*nix newbie

Desktop: Dual Xeon E5405 Quads, 16GB Mem, Areca 1210, 4TB Raid 5, Quadro NVS 290, FreeBSD 7.0
Notebook: Core Duo T7200, Seagate 200GB, Quadro NVS 110, Vista Business

Reply With Quote
  #4   (View Single Post)  
Old 21st June 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,066
Thanked 198 Times in 156 Posts
Default

Code:
[/ports/emulators/linux_base-fc4]# make -V ONLY_FOR_ARCHS
i386 amd64
amd64 is supported too.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #5   (View Single Post)  
Old 21st June 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

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.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #6   (View Single Post)  
Old 21st June 2008
lvlamb's Avatar
lvlamb lvlamb is offline
Real Name: Louis V. Lambrecht
Spam Deminer
 
Join Date: May 2008
Location: .be
Posts: 221
Thanked 25 Times in 24 Posts
Default

man brandelf ?
__________________
da more I know I know I know nuttin'
Reply With Quote
  #7   (View Single Post)  
Old 21st June 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,066
Thanked 198 Times in 156 Posts
Default

No, he doesn't need to use brandelf, he needs to install linux-base.

Quote:
Originally Posted by TerryP View Post
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.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #8   (View Single Post)  
Old 21st June 2008
ua549's Avatar
ua549 ua549 is offline
Port Guard
 
Join Date: Jun 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default

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.
__________________
`
*nix newbie

Desktop: Dual Xeon E5405 Quads, 16GB Mem, Areca 1210, 4TB Raid 5, Quadro NVS 290, FreeBSD 7.0
Notebook: Core Duo T7200, Seagate 200GB, Quadro NVS 110, Vista Business

Reply With Quote
  #9   (View Single Post)  
Old 21st June 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,066
Thanked 198 Times in 156 Posts
Default

Where can I download this application? Or is it commercial? I could not easily find this application on the SuperMicro site...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 21st June 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

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.
Reply With Quote
Old 22nd June 2008
ua549's Avatar
ua549 ua549 is offline
Port Guard
 
Join Date: Jun 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Carpetsmoker View Post
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.
__________________
`
*nix newbie

Desktop: Dual Xeon E5405 Quads, 16GB Mem, Areca 1210, 4TB Raid 5, Quadro NVS 290, FreeBSD 7.0
Notebook: Core Duo T7200, Seagate 200GB, Quadro NVS 110, Vista Business

Reply With Quote
Old 22nd June 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

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.
Reply With Quote
Old 22nd June 2008
ua549's Avatar
ua549 ua549 is offline
Port Guard
 
Join Date: Jun 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default

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

All suggestions are greatly appreciated.
__________________
`
*nix newbie

Desktop: Dual Xeon E5405 Quads, 16GB Mem, Areca 1210, 4TB Raid 5, Quadro NVS 290, FreeBSD 7.0
Notebook: Core Duo T7200, Seagate 200GB, Quadro NVS 110, Vista Business


Last edited by ua549; 24th September 2009 at 11:42 AM. Reason: update link
Reply With Quote
Old 23rd June 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Well, OpenBSD(Unlike FreeBSD) has the sensors sysctl framework and many drivers (30+) for showing temperature/fan speeds/voltages etc..(And sensorsd(8) 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(4) driver might be able to show some additional temperature information on your Core Duo system.

Quote:
Originally Posted by ua549
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(8)

Sensors/Watchdog timer utilties.. etc..
watchdogd(8)
pmcstat(8)
pmccontrol(8)
hwpmc(4)


Last edited by BSDfan666; 23rd June 2008 at 05:50 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Personal Super Computer Turquoise88 General Hardware 14 11th June 2010 02:01 AM
Free BSD installation on Super Floppy? flameelement FreeBSD Installation and Upgrading 2 10th February 2010 07:27 PM


All times are GMT. The time now is 11:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick