Howto install omsa on Debian/Woody.

Anthony RENOUX a.renoux at ouestfrance-multimedia.com
Tue Apr 6 11:08:04 CDT 2004


Brian E. Seppanen wrote:

> 
> A couple of things to check.  Make sure you have 2.4.25 source code in
> /usr/src/linux-2.4.  You should also make sure that the kernel you are
> using is compiled with gcc 2.95.  The gcc-3 requirement may have been
> resolved already I don't know, but I do know that I had to correct that.  
> There is a log file which might help
> /usr/lib/dell/openmanage/omsa/drivers/open_src/esm_log.

Thanks for your anwser.

ls -l /usr/src
kernel-image-2.4.24_10.00.Custom_i386.deb
kernel-image-2.4.25_10.00.Custom_i386.deb
kernel-source-2.4.18.tar.bz2
linux -> linux-2.4.25
linux-2.4 -> /usr/src/linux-2.4.25
linux-2.4.24
linux-2.4.24.tar.bz2
linux-2.4.25
linux-2.4.25.tar.bz2

dpkg -l |grep gcc
ii  gcc            2.95.4-14      The GNU C compiler.
ii  gcc-2.95       2.95.4-11woody The GNU C compiler.


cat /usr/lib/dell/openmanage/omsa/drivers/open_src/esm_log
grep: /boot/kernel.h: No such file or directory
grep: /boot/kernel.h: No such file or directory
grep: /boot/kernel.h: No such file or directory
grep: /boot/kernel.h: No such file or directory
grep: /boot/kernel.h: No such file or directory
KDIR=`echo  2.4.25`; \
         KVER=`echo  2.4.25 | cut -f 1 -d '-' -`; \
         BVER=`echo  2.4.25 | cut -f 2 -d '-' -`; \
         mkdir -p ${KDIR}/modules; \
         ln -sf ../${KVER}-generic/Makefile ${KDIR}/Makefile; \
         ln -sf ../${KVER}-generic/Rules.make ${KDIR}/Rules.make; \
         ln -sf ../${KVER}-generic/arch ${KDIR}/arch; \
         ln -sf ../${KVER}-generic/scripts ${KDIR}/scripts; \
         for i in esm; do \
                 ln -s ../$i ${KDIR}/$i ; \
         done; \
         if [ ! -e ${KDIR}/.config ]; then  \
                 cp ${KDIR}/kernel-${KVER}-i686.config ${KDIR}/.config; \
         fi; \
         make -C ${KDIR} SUBDIRS="esm" 
COMPILE_VERSION="-DSYSTEM_TYPE_LINUX -DSYSTEM_TYPE_LINUX_DKS_DRIVER" 
EXTRAVERSION=-${BVER} INSTALL_MOD_PATH=`pwd`/${KDIR} modules; \
         make -C ${KDIR} SUBDIRS="esm" 
COMPILE_VERSION="-DSYSTEM_TYPE_LINUX -DSYSTEM_TYPE_LINUX_DKS_DRIVER" 
EXTRAVERSION=-${BVER} INSTALL_MOD_PATH=`pwd`/${KDIR} modules_install; \
         for i in esm; do \
                 rm ${KDIR}/$i ; \
         done; \
         rm ${KDIR}/modules/*; \
         rmdir ${KDIR}/modules; \

make[1]: Entering directory 
`/usr/lib/dell/openmanage/omsa/drivers/open_src/2.4.25'
make -C  esm CFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer 
-DSYSTEM_TYPE_LINUX -DSYSTEM_TYPE_LINUX_DKS_DRIVER -fno-strict-aliasing 
-D__SMP__ -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE 
-include 
/usr/lib/dell/openmanage/omsa/drivers/open_src/2.4.25/include/linux/version.h 
-DMODVERSIONS -include 
/usr/lib/dell/openmanage/omsa/drivers/open_src/2.4.25/include/linux/modversions.h 
-I../common/include -I../common/include/linux -I../esm/common/include 
-I../esm" MAKING_MODULES=1 modules
make[2]: Entering directory 
`/usr/lib/dell/openmanage/omsa/drivers/open_src/esm'
gcc -D__KERNEL__ 
-I/usr/lib/dell/openmanage/omsa/drivers/open_src/2.4.25/include -Wall 
-Wstrict-prototypes -O2 -fomit-frame-pointer -DSYSTEM_TYPE_LINUX 
-DSYSTEM_TYPE_LINUX_DKS_DRIVER -fno-strict-aliasing -D__SMP__ -pipe 
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -include 
/usr/lib/dell/openmanage/omsa/drivers/open_src/2.4.25/include/linux/version.h 
-DMODVERSIONS -include 
/usr/lib/dell/openmanage/omsa/drivers/open_src/2.4.25/include/linux/modversions.h 
-I../common/include -I../common/include/linux -I../esm/common/include 
-I../esm   -c -o dcesm.o dcesm.c
dcesm.c: In function `init_device_driver':
dcesm.c:277: warning: implicit declaration of function 
`esm_init_wd_thread_semaphore'
dcesm.c:279: warning: implicit declaration of function `esm_kernel_thread'
dcesm.c:281: warning: assignment makes pointer from integer without a cast
dcesm.c: In function `EsmUnload':
dcesm.c:309: warning: implicit declaration of function 
`esm_wakeup_wd_thread_semaphore'
dcesm.c:310: warning: implicit declaration of function 
`esm_wait_for_thread_completion'
dcesm.c:311: warning: implicit declaration of function `esm_kill_thread'
dcesm.c: At top level:
dcesm.c:378: warning: function declaration isn't a prototype
dcesm.c:378: warning: type mismatch with previous implicit declaration
dcesm.c:309: warning: previous implicit declaration of 
`esm_wakeup_wd_thread_semaphore'
dcesm.c:378: warning: `esm_wakeup_wd_thread_semaphore' was previously 
implicitly declared to return `int'
dcesm.c:383: warning: type mismatch with previous implicit declaration
dcesm.c:277: warning: previous implicit declaration of 
`esm_init_wd_thread_semaphore'
dcesm.c:383: warning: `esm_init_wd_thread_semaphore' was previously 
implicitly declared to return `int'
dcesm.c: In function `esm_spin_lock_bh':
dcesm.c:478: warning: implicit declaration of function `local_bh_disable'
dcesm.c: In function `esm_spin_unlock_bh':
dcesm.c:485: warning: implicit declaration of function `local_bh_enable'
dcesm.c: In function `ReadPhysMem':
dcesm.c:664: warning: `pMPM' might be used uninitialized in this function
dcesm.c: In function `esm_wd_thread':
dcesm.c:899: warning: implicit declaration of function 
`EsmIsDevIntUseAllowed'
dcesm.c:904: warning: implicit declaration of function `EsmProcess1SecTimer'
dcesm.c:912: warning: implicit declaration of function `esm_complete_thread'
dcesm.c:874: warning: `esmflags' might be used uninitialized in this 
function
dcesm.c: At top level:
dcesm.c:921: warning: type mismatch with previous implicit declaration
dcesm.c:279: warning: previous implicit declaration of `esm_kernel_thread'
dcesm.c:921: warning: `esm_kernel_thread' was previously implicitly 
declared to return `int'
dcesm.c: In function `esm_kernel_thread':
dcesm.c:928: warning: assignment from incompatible pointer type
dcesm.c: At top level:
dcesm.c:1027: warning: type mismatch with previous implicit declaration
dcesm.c:912: warning: previous implicit declaration of `esm_complete_thread'
dcesm.c:1027: warning: `esm_complete_thread' was previously implicitly 
declared to return `int'
dcesm.c:1046: warning: type mismatch with previous implicit declaration
dcesm.c:310: warning: previous implicit declaration of 
`esm_wait_for_thread_completion'
dcesm.c:1046: warning: `esm_wait_for_thread_completion' was previously 
implicitly declared to return `int'
rm -f $TOPDIR/modules/ESM_MODULES
echo  dcesm.o >> $TOPDIR/modules/ESM_MODULES
echo esm/
esm/
cd $TOPDIR/modules; for i in  dcesm.o; do \
     ln -sf ../esm//$i $i; done
make[2]: Leaving directory 
`/usr/lib/dell/openmanage/omsa/drivers/open_src/esm'
make[1]: Leaving directory 
`/usr/lib/dell/openmanage/omsa/drivers/open_src/2.4.25'
make[1]: Entering directory 
`/usr/lib/dell/openmanage/omsa/drivers/open_src/2.4.25'
Installing modules under 
/usr/lib/dell/openmanage/omsa/drivers/open_src/2.4.25/lib/modules/2.4.25-2.4.25/misc
make[1]: Leaving directory 
`/usr/lib/dell/openmanage/omsa/drivers/open_src/2.4.25'


> 
> 
> 
> Brian Seppanen
> seppy at chartermi.net
> 906-475-0107 ext 1040
> 


-- 
Amicalement.

Anthony RENOUX

OUEST-FRANCE MULTIMEDIA, 40 Rue des Veyettes, 35051 RENNES Cedex 9, 
Tel:02 23 35 58 58

mailto:a.renoux at ouestfrance-multimedia.com




More information about the Linux-PowerEdge mailing list