trying to build the OMSA kernel modules

Tomas Pospisek's Mailing Lists tpo2 at sourcepole.ch
Tue Jul 5 12:41:18 CDT 2005


I'm trying to build/install the OMSA kernel modules on a dell poweeredge 
1850.

I have made debian packages out of the rpm packages and installed them. 
When I:

/opt/dell/srvadmin/hapi/bin/instsvcdrv start

it will build the modules "just fine", without trouble [1]

Then it will build the modules and "instmod -f" the with force. This fucks 
up the kernel and I can no longer lsmod:

# lsmod
Module                  Size  Used by    Tainted: P
lsmod: module : QM_INFO: Invalid argument
# rmmod dcdbas
rmmod: module : QM_INFO: Invalid argument
rmmod: module dcdbas is not loaded
rmmod: module : QM_INFO: Invalid argument


When I use modprobe (after a restart) on the dcdbas.o module however I see 
that modprobe is complaining:

# uname -a
Linux rails-ha1 2.4.31-sourcepole14 #1 Tue Jul 5 19:12:15 CEST 2005 i686 GNU/Linux
# ls /lib/modules/2.4.31-sourcepole14/misc/
dcdbas.o
# modprobe dcdbas
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: The module you are trying 
to load (/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o) is compiled with 
a gcc version 2 compiler, while the kernel you are running is compiled 
with a gcc version 3 compiler. This is known to not work.
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: insmod 
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o failed
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: insmod dcdbas failed

however I certainly as death haven't compiled anything with gcc-2*. It's 
not even installed any more:

# gcc --version
gcc (GCC) 3.4.4 20050314 (prerelease) (Debian 3.4.3-13)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

So, what's the matter here? How come modprobe thinks the module was 
compiled with gcc 2*?
?
*t

-----------

[1]
# instsvcdrv start
Starting Systems Management Device Drivers:
Building dcdbas device driver using DKS:                   [  OK  ]
./instsvcdrv.fucked: line 2035:  4226 Segmentation fault      modprobe 
${ISVCDD_MODULE_NAME} >>${ISVCDD_LOG_PATHFILENAME} 2>&1
Starting dcdbas device driver:                             [FAILED]
dcdbas device driver load failed for kernel 2.4.31-sourcepole14.
See /var/log/dcdbas.log for output from modprobe.

# cat /var/log/dcdbas.log
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: The module you are trying 
to load (/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o) is compiled w
ith a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: insmod 
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o failed
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: insmod dcdbas failed
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: 
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: unresolved symbol flush_signals_Rfca2b7c9
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: 
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: unresolved symbol pci_read_config_byte_R0e425a9e
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: 
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: unresolved symbol del_timer_Rd35376fe
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: 
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: unresolved symbol pci_read_config_word_Rd25f3240
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: 
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: unresolved symbol pci_write_config_word_R97d04e11
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: 
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: unresolved symbol pci_find_slot_R1de8747c
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: 
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: unresolved symbol pci_read_config_dword_R43e318de
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: 
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: unresolved symbol pci_write_config_dword_R7fbf61ba
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: 
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: unresolved symbol boot_cpu_data_R0657d037
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: 
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: unresolved symbol irq_stat_R94d0d943
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: 
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: unresolved symbol pci_write_config_byte_R62c99bc3
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: 
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: unresolved symbol register_chrdev_Ra758a8b3
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: 
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: unresolved symbol add_timer_R228a2b44
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: 
/lib/modules/2.4.31-sourcepole14/misc/dcdbas.o: unresolved symbol vsnprintf_R57a6504e
[this is repeated many times with a growing symbols list]
[at the end I see]
Warning: loading /lib/modules/2.4.31-sourcepole14/misc/dcdbas.o will taint the kernel: no license
   See http://www.tux.org/lkml/#export-tainted for information about tainted modules


-- 
-----------------------------------------------------------
   Tomas Pospisek
   http://sourcepole.com -  Linux & Open Source Solutions
-----------------------------------------------------------



More information about the Linux-PowerEdge mailing list