stec-inc / EnhanceIO

EnhanceIO Open Source for Linux
Other
420 stars 176 forks source link

modprobe FATAL: Error inserting enhanceio <...> Invalid module format #80

Open hryamzik opened 10 years ago

hryamzik commented 10 years ago

modprobe fails to insert modules on ubuntu 12.04.

sudo aptitude install build-essential checkinstall git dkms
git clone https://github.com/stec-inc/EnhanceIO.git
cd EnhanceIO
sudo cp -v CLI/eio_cli /sbin/
sudo chmod 700 CLI/eio_cli
sudo cp -v CLI/eio_cli.8 /usr/share/man/man8
cd Driver/enhanceio/
version=$(git log --first-parent master --oneline|wc -l)
sudo checkinstall -D --pkgname enhanceio --pakdir ~/ --pkgversion $version -y
sudo modprobe -v enhanceio
insmod /lib/modules/3.11.0-15-generic/extra/enhanceio/enhanceio.ko
FATAL: Error inserting enhanceio (/lib/modules/3.11.0-15-generic/extra/enhanceio/enhanceio.ko): Invalid module format

It worked when I reported #75