Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113235 - app-admin/omsa: Dell openmanage 4.5 ebuild
Summary: app-admin/omsa: Dell openmanage 4.5 ebuild
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-11-22 02:34 UTC by Wouter Coppens
Modified: 2018-06-07 18:25 UTC (History)
17 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild to install omsa (omsa-4.5.ebuild,23.49 KB, text/plain)
2005-11-22 02:37 UTC, Wouter Coppens
Details
env settings (80openmanage,241 bytes, text/plain)
2005-11-22 02:38 UTC, Wouter Coppens
Details
Script to build the necessary drivers (builddriver.sh,3.78 KB, text/plain)
2005-11-22 02:39 UTC, Wouter Coppens
Details
conf.d file for startup script (confd-dellomsa-daemons,179 bytes, text/plain)
2005-11-22 02:40 UTC, Wouter Coppens
Details
patch for compiling driver on kernel 2.6.14 (dcddks-2.6.14.patch,576 bytes, patch)
2005-11-22 02:41 UTC, Wouter Coppens
Details | Diff
script for starting the daemons (dellomsa-daemons,3.69 KB, text/plain)
2005-11-22 02:42 UTC, Wouter Coppens
Details
script for loading drivers at startup (dellomsa-drivers,4.30 KB, text/plain)
2005-11-22 02:42 UTC, Wouter Coppens
Details
Settings file (omreg.cfg,1.93 KB, text/plain)
2005-11-22 02:43 UTC, Wouter Coppens
Details
patch to get the drivers compiled on gentoo (omsa-4.5-hapi.patch,5.39 KB, patch)
2005-11-22 02:43 UTC, Wouter Coppens
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wouter Coppens 2005-11-22 02:34:11 UTC
First try to install Dell openmanage on Gentoo

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




I would like to thank Pauli Borodulin <pauli.borodulin@uta.fi> for installing 
omsa on Debian. It is a good start.
Comment 1 Wouter Coppens 2005-11-22 02:37:09 UTC
Created attachment 73353 [details]
ebuild to install omsa
Comment 2 Wouter Coppens 2005-11-22 02:38:41 UTC
Created attachment 73354 [details]
env settings 

Put this file in files/4.5
Comment 3 Wouter Coppens 2005-11-22 02:39:30 UTC
Created attachment 73355 [details]
Script to build the necessary drivers 

Put this file in files/4.5
Comment 4 Wouter Coppens 2005-11-22 02:40:30 UTC
Created attachment 73356 [details]
conf.d file for startup script

Put this file in files/4.5
Comment 5 Wouter Coppens 2005-11-22 02:41:16 UTC
Created attachment 73357 [details, diff]
patch for compiling driver on kernel 2.6.14
Comment 6 Wouter Coppens 2005-11-22 02:42:02 UTC
Created attachment 73358 [details]
script for starting the daemons
Comment 7 Wouter Coppens 2005-11-22 02:42:38 UTC
Created attachment 73359 [details]
script for loading drivers at startup
Comment 8 Wouter Coppens 2005-11-22 02:43:07 UTC
Created attachment 73360 [details]
Settings file
Comment 9 Wouter Coppens 2005-11-22 02:43:40 UTC
Created attachment 73361 [details, diff]
patch to get the drivers compiled on gentoo
Comment 10 Wouter Coppens 2005-11-22 02:48:42 UTC
I have tested this ebuild on a dell PE 2850 and PE 1850 and it works there. 
It gives some warnings when installing the package, but they can be ignored. 

I'm pretty sure there are still some bugs in it, but it's a start. 

# emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 
2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Xeon(TM) CPU 3.60GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share
/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ 
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://linux.rz.ruhr-uni-
bochum.de/download/gentoo-mirror/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 extensions mmx ncurses nptl pam ssl userland_GNU kernel_linux 
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

I have tested it only on a 32-bit server because I don't have a 64-bit at my 
disposal.

Comment 11 Wouter Coppens 2005-11-22 02:55:12 UTC
Don't forget to run emerge --config =omsa-4.5 after the installation, 
otherwise it won't run.

You can build the drivers with:
#/opt/dell/srvadmin/hapi/bin/builddriver.sh /usr/src/linux

Comment 12 Wouter Coppens 2005-11-22 03:22:03 UTC
Comment on attachment 73357 [details, diff]
patch for compiling driver on kernel 2.6.14

Put this file in files/4.5
Comment 13 BP 2005-11-27 18:11:11 UTC
The ebuild unpack and compile process work fine, however during ebuild install,
the ebuild is having problems making Symbolic Links.

>>> Install omsa-4.5 into /var/tmp/portage/omsa-4.5/image/ category app-admin
ln: creating symbolic link `/var/tmp/portage/omsa-4.5/image//usr/bin/omconfig'
to `/opt/dell/srvadmin/oma/bin/omconfig.sh': No such file or directory
ln: creating symbolic link `/var/tmp/portage/omsa-4.5/image//usr/bin/omreport'
to `/opt/dell/srvadmin/oma/bin/omreport.sh': No such file or directory
ln: creating symbolic link `/var/tmp/portage/omsa-4.5/image//usr/bin/omhelp' to
`/opt/dell/srvadmin/oma/bin/omhelp.sh': No such file or directory
ln: creating symbolic link `/var/tmp/portage/omsa-4.5/image//usr/bin/omexec' to
`/opt/dell/srvadmin/oma/bin/omexec.sh': No such file or directory
ln: creating symbolic link `/var/tmp/portage/omsa-4.5/image//usr/bin/omdiag' to
`/opt/dell/srvadmin/oldiags/bin/omdiag.sh': No such file or directory
install: cannot stat `dcddks-2.6.14.patch': No such file or directory
man:
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
strip: i686-pc-linux-gnu-strip --strip-unneeded
   opt/dell/srvadmin/sm/libdcsif32.so.1.2.0.787
   opt/dell/srvadmin/sm/libval.so.1.2.0.787
   opt/dell/srvadmin/sm/dellvl/libenclvil.so.1.2.0.787
   opt/dell/srvadmin/sm/dellvl/libnrsvil.so.1.2.0.787
   opt/dell/srvadmin/sm/dellvl/libafavil.so.1.2.0.787
        opt/dell/srvadmin/sm/dellvl/libafavil.so.1.2.0.787 will contain runtime
text relocations
Text relocations require a lot of extra work to be preformed by the
dynamic linker which will cause serious performance impact on IA-32
and might not function properly on other architectures hppa for example.
If you are a programmer please take a closer look at this package and
Comment 14 Matthew Marlowe (RETIRED) gentoo-dev 2005-12-08 15:17:14 UTC
excellent job creating this ebuild.  Will you be maintaining it?  Any desire to
get it into the real portage tree?  As long as the license is listed properly
and users are required to manually download the dell omsa tarballs, I dont see a
problem. If you need any help, let me know.  I am going to experiment with this
ebuild on a few dozen servers next week.
Comment 15 Tim Schafer 2006-01-23 11:03:53 UTC
I would like to begin testing this ebuild for both 32/64bit systems
It's not obvious what the file names for the attachments are to be when I save them.
I am using Firefox 1.5 to view this bug, it doesn't suggest a name for the files other than attachment.cgi
The file contents don't seem to have the respective filenames either.
Comment 16 Tim Schafer 2006-01-27 12:10:59 UTC
Ok, I realized that if I click on Edit next to each attachment, it will show me the filename.

So I've reassembled it all in /usr/local/portage/app-admin/omsa
on a 32bit and 64bit machine

Installed, and can start
/etc/init.d/dellomsa-drivers start
/etc/init.d/dellomsa-daemons start

on the 32bit machine

can't build drivers on the 64bit machine
Comment 17 Joshua Schmidlkofer 2006-02-07 16:12:19 UTC
I am coming up short on downloading the compat-libstdc++ version listed here.  Anyone?
Comment 18 Joshua Schmidlkofer 2006-02-07 16:14:30 UTC
Nevermind, I was able to use Firefox to fetch it, but wget failed.
Comment 19 Matthew Marlowe (RETIRED) gentoo-dev 2006-03-17 16:24:12 UTC
> 
> can't build drivers on the 64bit machine
> 

The next version of omsa has drivers included in the standard linux kernel and should work for 64 bit.  I think it has already been released somewhat.  I'd like to get an ebuild for it.

The older versions were never really supported for anything but 32 bit.
Comment 20 Jeremy Koppel 2006-05-17 08:01:15 UTC
First of all, thanks for all the effort here; we had a hard drive go down in our mail server, and omreport was able to identify the failed drive.  omconfig was able to rebuild it, but it still shows as 'degraded'.  Here's where I hit a snag, omdiag isn't working.  It spits back this error:


cd /opt/dell/srvadmin/oldiags/bin
./omdiag storage -?

omdiag           Executes component diagnostics.

The available command(s) are:

Command          Description
Exception in thread "DiagnosticEngine" java.lang.UnsatisfiedLinkError: initialize
        at com.dell.diagnostic.obj.diagcontroller.DiagnosticController.initialize(Native Method)
        at com.dell.diagnostic.vendor.diagcontroller.DiagControllerDiagnosticVendor.<init>(DiagControllerDiagnosticVendor.java:129)
        at com.dell.diagnostic.engine.DiagnosticEngine.run(DiagnosticEngine.java:290)
        at java.lang.Thread.run(Unknown Source)


Any ideas?  
Comment 21 Mark Elkins 2006-06-05 07:37:13 UTC
Tried to follow this track and came across the following...
1 - omsa-4.5-hapi.patch needed to be in files/4.5 as well.
2 - to get around Manifest and Digest problems - add the flag 
Comment 22 Mark Elkins 2006-06-05 07:37:13 UTC
Tried to follow this track and came across the following...
1 - omsa-4.5-hapi.patch needed to be in files/4.5 as well.
2 - to get around Manifest and Digest problems - add the flag ¨digest¨ to your FEATURES flag in /etc/make.conf. After the install - remove it. (Security)
3 - There is a bunch of "chown"-ing to do, whilst installing - change your "portage" user in /etc/passwd to be user/group 0:0 - change back afterwards.
(ie - run portage as root)

This allows everything to be installed without any errors - except the errors the ebuild tells you to ignore :-)

This may not be the correct way to install - but it worked for me.
Comment 23 Mark Elkins 2006-06-05 08:26:45 UTC
(In reply to comment #21)

Compiling Driver

Changed the format of /opt/dell/srvadmin/hapi/bin/builddriver.sh
from DOS to UNIXC using "crlf"
Recompiled kernel to enable...
Processor type and features -> [*] Use register arguments (EXPERIMENTAL)
(CONFIG_REGPARM=y)

To build the Kernel modules... 
emerge fixdos
crlf /opt/dell/srvadmin/hapi/bin/builddriver.sh
sh /opt/dell/srvadmin/hapi/bin/builddriver.sh /usr/src/linux

(rude comment - who put dos type files in???)

Is there a HowTo on using omsa tools anywhere? I de-flowered my 1850 with Gentoo.
Comment 24 Jeremy Koppel 2006-06-05 08:47:32 UTC
Sometime back, I found this (documentation):  http://support.dell.com/support/edocs/software/svradmin/2.3/


Haven't been able to get the web server to start, and still haven't found a way to troubleshoot the error I get when trying to run omdiag.  But the rest of the tools seem to work.
Comment 25 Marcelo Dieder 2006-06-12 13:54:54 UTC
heloo...

how to i install the struture of files and directorys this ebuild??

Marcelo
Comment 26 JPD 2006-06-26 15:25:11 UTC
Just wanted to mention that version 5.0 has been released:
http://linux.dell.com/blog/2006/06/15/#1545

It says all kernel drivers are no open source among other things. Not sure what needs to be done to adapt an ebuild to work with the newer version.
Comment 27 JPD 2006-06-26 15:29:09 UTC
It's a shame there is no way to edit your post, and of course that I didn't reread my last one well enough. I meant "now open source" and not "no open source".
Comment 28 Ilya Lobahin 2006-08-24 23:18:18 UTC
/usr/local/portage/app-admin/omsa/:
total 28
drwxr-xr-x 3 root root   128 Aug 24 14:07 .
drwxr-xr-x 3 root root    72 Aug 24 12:46 ..
-rw-r--r-- 1 root root  3815 Aug 24 14:09 Manifest
drwxr-xr-x 3 root root   104 Aug 24 14:07 files
-rw-r--r-- 1 root root 24050 Aug 24 12:44 omsa-4.5.ebuild

/usr/local/portage/app-admin/omsa/files:
total 4
drwxr-xr-x 3 root root 104 Aug 24 14:07 .
drwxr-xr-x 3 root root 128 Aug 24 14:07 ..
drwxr-xr-x 2 root root 296 Aug 24 14:11 4.5
-rw-r--r-- 1 root root 632 Aug 24 14:07 digest-omsa-4.5

/usr/local/portage/app-admin/omsa/files/4.5:
total 36
drwxr-xr-x 2 root root  296 Aug 24 14:11 .
drwxr-xr-x 3 root root  104 Aug 24 14:07 ..
-rw-r--r-- 1 root root  241 Aug 24 13:12 80openmanage
-rw-r--r-- 1 root root 3870 Aug 24 14:11 builddriver.sh
-rw-r--r-- 1 root root  179 Aug 24 13:14 confd-dellomsa-daemons
-rw-r--r-- 1 root root  576 Aug 24 14:09 dcddks-2.6.14.patch
-rw-r--r-- 1 root root 3782 Aug 24 14:07 dellomsa-daemons
-rw-r--r-- 1 root root 4407 Aug 24 14:06 dellomsa-drivers
-rw-r--r-- 1 root root 5515 Aug 24 13:58 omsa-4.5-hapi.patch
Comment 29 michal cermak 2006-09-11 02:40:06 UTC
hi! I have a problem with starting omsa-driver on on power ege 1400sc.
the instaltion from ebuild was succes, but when I try to start it become:
# /etc/init.d/dellomsa-drivers start
 * driver modules unavailable for 2.6.14
what is wrong? 
missing module or something else?
thank U!
Comment 30 Timo Antweiler 2007-03-27 08:21:26 UTC
Hi there!

I'm watching this bug for while. Are there any hot news about OMSA and gentoo implementation? What about OMSA Version 5.0?
Comment 31 Adam Carheden 2007-04-10 19:19:03 UTC
>  * driver modules unavailable for 2.6.14

Any resolution on this? I just need to check if my RAID array is still redundant, but `omreport stroage controller` says "No Controllers Found" I  controllers.(Dell 6950).

Comment 32 Paul Pitt 2008-03-03 18:04:07 UTC
If you're going to use this, you need to modify it to reflect new packages and URL paths.  Here's what mine looks like:

#LIBSTDC="296-2.96-132.fc4"
LIBSTDC="296-2.96-140"
EXEVERSION="5.3.0.4531"
SRC_PACK="OMI-SrvAdmin-Dell-Web-LX-${SRC_BASE}.tar.gz"
SRC_PACK_LIBSTDC="compat-libstdc++-${LIBSTDC}.i386.rpm"
SRC_URI="ftp://ftp.dell.com/sysman/${SRC_PACK} ftp://rpmfind.net/linux/0/fedora/development/i386/os/Packages/${SRC_PACK_LIBSTDC}"
#SRC_URI="ftp://ftp.dell.com/sysman/${SRC_PACK} ftp://rpmfind.net/linux/0/fedora/core/4/i386/os/Fedora/RPMS/${SRC_PACK_LIBSTDC}"
Comment 33 Johnny 2008-03-15 07:35:49 UTC
The 2nd part of the source URI has changed again and is now 
ftp://fr2.rpmfind.net/linux/fedora/development/i386/os/Packages/
so the whole line becomes:
SRC_URI="ftp://ftp.dell.com/sysman/${SRC_PACK} ftp://fr2.rpmfind.net/linux/fedora/development/i386/os/Packages/${SRC_PACK_LIBSTDC}"

Comment 34 Amy Liffey gentoo-dev 2016-04-03 07:50:35 UTC
This bug has made no progress for years. Can we please confirm whether this package is still wanted?

If it isn't, or if there is no response within 30 days, we will close this bug. 

Thanks

Amy
Comment 35 Bertrand Jacquin 2016-04-05 00:09:22 UTC
(In reply to Amy Winston from comment #34)
> This bug has made no progress for years. Can we please confirm whether this
> package is still wanted?
> 
> If it isn't, or if there is no response within 30 days, we will close this
> bug. 

Yes, I have still have a need for this. Thanks