# modprobe error with Accelport XEM and centos 4.4

**URL:** <https://forums.digi.com/t/modprobe-error-with-accelport-xem-and-centos-4-4/7802>\
**Category:** USB Devices\
**Created:** [February 6, 2007, 3:57pm UTC](https://forums.digi.com/t/modprobe-error-with-accelport-xem-and-centos-4-4/7802 "2007-02-06T15:57:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![User90](https://avatars.discourse-cdn.com/v4/letter/u/df788c/32.png) [@User90](https://forums.digi.com/u/User90)\
**Post date:** [February 6, 2007, 3:57pm UTC](https://forums.digi.com/t/modprobe-error-with-accelport-xem-and-centos-4-4/7802/1 "2007-02-06T15:57:37Z")

</div>

Hello,

I’am struggling with dgap-1.3-6.src.rpm and Centos 4.4

uname -r  
2.6.9-42.0.8.ELsmp  
lscpi|grep -i xem  
05:0a.0 Communication controller: Digi International AccelePort Xem (rev 01)

Installation method:  
yum -y install gcc libtool rpm-build kernel-devel ncurses-devel  
mkdir -p /usr/src/redhat/  
wget [http://ftp1.digi.com/support/driver/40002347\_c.src.rpm](http://ftp1.digi.com/support/driver/40002347_c.src.rpm)  
cd /usr/src/  
ln -s kernels/2.6.9-42.0.8.EL-i686/ linux-2.6.9-42.0.8.ELsmp  
cd -  
rpm -i 40002347\_c.src.rpm  
cd /usr/src/redhat/  
rpmbuild --rebuild ./SRPMS/dgap-1.3-6.src.rpm  
rpm -i ./RPMS/i386/dgap-1.3-6.i386.rpm  
depmod -ae  
modprobe dgap  
FATAL: Error inserting dgap (/lib/modules/2.6.9-42.0.8.ELsmp/misc/dgap.ko): Invalid module format  
tail -n1 /var/log/  
Feb 6 16:48:27 fep2 kernel: dgap: disagrees about version of symbol struct\_module

Thanks for any help.

Edit:  
Same error happens to me when installed in ubuntu breezy from tar.gz

–  
Alex

Message was edited by: **alex**

---

<div class="post-metadata">

**Author:** ![userid0](https://avatars.discourse-cdn.com/v4/letter/u/f6c823/32.png) [@userid0](https://forums.digi.com/u/userid0)\
**Post date:** [February 20, 2007, 5:51pm UTC](https://forums.digi.com/t/modprobe-error-with-accelport-xem-and-centos-4-4/7802/2 "2007-02-20T17:51:37Z")

</div>

This sounds like there could be a kernel/kernel-source mismatch. Was the kernel-smp-devel-2.6.9-42.0.8 package installed (rpm -qa | grep kernel)?

If so, make sure the architecture matches (ie. 686, x86\_64, etc…) between the running kernel and kernel sources.

If this does not pan out, I recommend sending a typescript of the complete driver compilation/installation results:

script  
rpm -e dgap  
rpmbuild --rebuild 4002347\_c.src.rpm  
rpm -i /usr/src/(distro)/RPMS/i386/dgap-1.3-6.i386.rpm  
/etc/init.d/dgap start  
exit

The “typescript” will reside in the directory where the script command was run.
