Solved: OMSA 4.5 with kernel > 2.6.12 (failed dcdbas device driver build)

Anthony J Biacco abiacco at decentrix.net
Fri Sep 14 16:27:16 CDT 2007


I was trying to install OMSA 4.5
(OMI-SrvAdmin-Dell-Web-LX-450-32-335_A00.tar.gz) on my PowerEdge 2550,
Centos 5/RHEL 5 box under kernel 2.6.18 and I was having a problem
getting it to compile the dcdbas driver (shown on 'service instsvcdrv
start' as "Building dcdbas device driver using DKS:
[FAILED]").

I figured out that this was because the driver uses the kernel function
verify_area, but this function was replaced in linux kernels > 2.6.12
with the function access_ok.

If you have this problem, here's how to fix it.

cd into /YOUR_DELL_SOURCE_DIR/linux/supportscripts
Install with ./srvadmin-install.sh
	When it asks you if you want to start the services, hit enter to
say NO	
Assuming you installed into the default location, edit lines 575 and 592
of the file /opt/dell/srvadmin/hapi/drivers/x86/dks/common/dcddks.c
changing the string "verify_area" to "access_ok". Save the file.
Start the services with ./srvadmin-services.sh start

NOTE: You can safely ignore the "temporary files" error.

NOTE: I had the following rpm packages installed: 
OpenIPMI-2.0.6-5.el5.3
OpenIPMI-devel-2.0.6-5.el5.3
OpenIPMI-libs-2.0.6-5.el5.3
OpenIPMI-tools-2.0.6-5.el5.3
kernel-2.6.18-8.1.8.el5
kernel-devel-2.6.18-8.1.8.el5
kernel-headers-2.6.18-8.1.8.el5

-Tony
-- 
Anthony J. Biacco
Senior Systems/Network Administrator
Decentrix Inc.
303-899-4000 x303



More information about the Linux-PowerEdge mailing list