Jump to content
Форум по продукции MOXA

Проблемы с установкой драйвера в МСВС


Recommended Posts

Не могу установить драйвер Nport 5232. Компиляция проходит без ошибок, возникает некий конфликт ядер:

 

root@ASKDSS moxa]# ./mxinst

===============================================================================

Copyright © 2002-2011 Moxa Inc.

All Rights Reserved.

 

MOXA NPort Server Real TTY Driver V1.17 Installation.

System Imformation: Kernel 2.4.32-vniins42bigmem; Machine i686.

===============================================================================

There is an Real TTY Driver installed in your system.

Continue to install will overwrite the old driver.

Do you want to continue installing? [y/N].

y

Tar files, please wait ... OK!

Building driver...

If you want to use secure communication with target,

you might choose [y] to enable the SSL function.

Note: This function support RealCOM with secure mode only.

Do you want to enable secure function? [y/N].

n

nux/include -D__SMP__ npreal2.c

In file included from /usr/src/linux-2.4/include/linux/spinlock.h:7,

from /usr/src/linux-2.4/include/linux/module.h:12,

from npreal2.c:42:

cp -p npreal2.o /lib/modules/2.4.32-vniins42bigmem/kernel/drivers/char/

cp -p npreal2.o /lib/modules/2.4.32-vniins42bigmem/misc/

depmod -a

cc -DLINUX -c npreal2d.c

cc npreal2d.o -o npreal2d

strip npreal2d

cc -DLINUX -c redund_main.c

cc -DLINUX -c redund.c

cc -lpthread redund_main.o redund.o -o npreal2d_redund

strip npreal2d_redund

cc -DLINUX -o mxaddsvr mxaddsvr.c

strip mxaddsvr

cc -DLINUX -o mxdelsvr mxdelsvr.c

strip mxdelsvr

cc -DLINUX -o mxcfmat mxcfmat.c

strip mxcfmat

cc -DLINUX -o mxloadsvr mxloadsvr.c

strip mxloadsvr

cc -DLINUX -o mxsetsec mxsetsec.c

strip mxsetsec

Check Driver...

Copying driver files ... OK!

Load driver...

/lib/modules/2.4.32-vniins42bigmem/kernel/drivers/char/npreal2.o: kernel-module version mismatch

/lib/modules/2.4.32-vniins42bigmem/kernel/drivers/char/npreal2.o was compiled for kernel version 2.4.32-vniins42smp

while this kernel is version 2.4.32-vniins42bigmem.

/lib/modules/2.4.32-vniins42bigmem/kernel/drivers/char/npreal2.o: insmod /lib/modules/2.4.32-vniins42bigmem/kernel/drivers/char/npreal2.o failed

/lib/modules/2.4.32-vniins42bigmem/misc/npreal2.o: kernel-module version mismatch

/lib/modules/2.4.32-vniins42bigmem/misc/npreal2.o was compiled for kernel version 2.4.32-vniins42smp

while this kernel is version 2.4.32-vniins42bigmem.

/lib/modules/2.4.32-vniins42bigmem/misc/npreal2.o: insmod /lib/modules/2.4.32-vniins42bigmem/misc/npreal2.o failed

/lib/modules/2.4.32-vniins42bigmem/misc/npreal2.o: insmod npreal2 failed

Failed!!! please contact the provider

 

-Эта ошибка при загрузке ядра 2.4.32-vniins42bigmem.

При загрузке ОС с другой версией ядра ошибка аналогична, например при использовании version 2.4.32-vniins42smp возникает ошибка -"/lib/modules/2.4.32-vniins42smp/kernel/drivers/char/npreal2.o: insmod /lib/modules/2.4.32-vniins42smp/kernel/drivers/char/npreal2.o failed

/lib/modules/2.4.32-vniins42/misc/npreal2.o: kernel-module version mismatch"

 

Библиотека npreal2_1.17_Build_11011413 с http://www.moxa.com ; ОС - МСВС; ядро 2.4.30. Спасибо. Жду вариантов решения проблемы.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...