|
From: Heiko Z. <he...@zu...> - 2012-06-17 14:03:03
|
Hey,
Did you execute the following command in the chroot environment, *before*
you tried compiling the moxa driver?
make unpack
make menuconfig
make prepare
make build
After these commands the build environment should be ready for compiling the
moxa driver.
--
Regards
Heiko Zuerker
<http://www.devil-linux.org> http://www.devil-linux.org
From: c p [mailto:the...@gm...]
Sent: Friday, June 15, 2012 8:43 AM
To: dev...@li...
Subject: [Devil-Linux-discuss] Driver for MOXA Uport 1610-16 on dl 1.6.1
Hello,
We use MOXA USB->Serial adapter with home compile driver on dl1.4
I just use insmod during init without any problem
I want to upgrade my dl to 1.6.1 and try to compile MOXA driver
For that I install dl1.6.1 on Virtualbox and follow documentation (for v
1.4)
- Install lfssystem-for-DL-1.6/lfssystem32.1.1.tar.xz
- Make the initial check out
- Getting updates
- ./update_src
without problem.
- cr
- cd build
- install MOXA driver source on tmp
- cd mxuport
- make
and I have problem with `uname -r` version on cr env., the command report
3.2.0 and the make cannot find lib/modules/3.2.0/build . the only directory
found on /lib/modules is 3.2.18 . I use ln -s to link 3.2.0 to 3.2.18 and
make is working and driver is created but unusable on dl1.6.1 .
I copy driver on dl1.6.1 installed system with moxa connected
- insmod mxuport.ko
insmod: error inserting 'driver mxuportko': -1 Invalid module format
Found on Google : this problem is when modules version is different to
kernel version
- modinfo mxuport.ko
...
vermagic: 3.2.18 SMP mod_unload modversion 686
...
- uname -r
3.2.16-grsec
Dou you have an idea to help me compile this driver for use on dl1.6.1 ?
Thanks & Regards
|