specar Posted July 13, 2017 Share Posted July 13, 2017 Всем доброго дня, проблема при установке драйверов вирт. порта вышла вроде все по инструкции делал root@scada:/home/specar/moxa# uname -a Linux scada 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux по инструкции устанавливал apt-get source linux-image-$(uname -r) make oldconfig && make prepare также установил gcc, libc, binutils, make, gawk root@scada:/home/specar/kernel3.x# ./mxinst m64 =============================================================================== Copyright (C) 2002-2015 Moxa Inc. All Rights Reserved. MOXA NPort Server Real TTY Driver Ver1.18.59 Installation. System Information: Kernel 3.16.0-4-amd64; Machine x86_64. =============================================================================== 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 make -C /lib/modules/3.16.0-4-amd64/build SUBDIRS=/home/specar/kernel3.x modules make[1]: вход в каталог «/lib/modules/3.16.0-4-amd64/build» CC [M] /home/specar/kernel3.x/npreal2.o /home/specar/kernel3.x/npreal2.c: In function ‘npreal_net_write’: /home/specar/kernel3.x/npreal2.c:3675:2: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result [-Wunused-result] copy_from_user(k_buf, buf, count); ^ /bin/sh: 1: ./scripts/recordmcount: not found scripts/Makefile.build:263: Ошибка выполнения рецепта для цели «/home/specar/kernel3.x/npreal2.o» make[2]: *** [/home/specar/kernel3.x/npreal2.o] Ошибка 127 Makefile:1354: Ошибка выполнения рецепта для цели «_module_/home/specar/kernel3.x» make[1]: *** [_module_/home/specar/kernel3.x] Ошибка 2 make[1]: Выход из каталога «/lib/modules/3.16.0-4-amd64/build» Makefile:63: Ошибка выполнения рецепта для цели «module» make: *** [module] Ошибка 2 Check Driver... FAILED !!! Install Not Completed ! Подскажите если нетрудно в чем проблема. Link to comment
Незнайка Posted July 14, 2017 Share Posted July 14, 2017 Добрый день! А есть возможность без русификации это попробовать? То есть листинг на английском получить? Link to comment
Alexandra Posted July 14, 2017 Share Posted July 14, 2017 Попробуйте еще установить последний драйвер версии 1.18.65 (во вложении) npreal2_1.18.65_build_17062316.tgz Link to comment
specar Posted July 17, 2017 Author Share Posted July 17, 2017 на новых драйверах, листинг на английском root@scada:/home/specar/kernel3.1# ./mxinst m64 =============================================================================== Copyright (C) 2002-2015 Moxa Inc. All Rights Reserved. MOXA NPort Server Real TTY Driver Ver1.18.65 Installation. System Information: Kernel 3.16.0-4-amd64; Machine x86_64. =============================================================================== 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 make -C /lib/modules/3.16.0-4-amd64/build SUBDIRS=/home/specar/kernel3.1 modules make[1]: Entering directory '/lib/modules/3.16.0-4-amd64/build' CC [M] /home/specar/kernel3.1/npreal2.o /home/specar/kernel3.1/npreal2.c: In function вЂnpreal_net_write’: /home/specar/kernel3.1/npreal2.c:3674:2: warning: ignoring return value of вЂcopy_from_user’, declared with attribute warn_unused_result [-Wunused-result] copy_from_user(k_buf, buf, count); ^ /bin/sh: 1: ./scripts/recordmcount: not found scripts/Makefile.build:263: recipe for target '/home/specar/kernel3.1/npreal2.o' failed make[2]: *** [/home/specar/kernel3.1/npreal2.o] Error 127 Makefile:1354: recipe for target '_module_/home/specar/kernel3.1' failed make[1]: *** [_module_/home/specar/kernel3.1] Error 2 make[1]: Leaving directory '/lib/modules/3.16.0-4-amd64/build' Makefile:63: recipe for target 'module' failed make: *** [module] Error 2 Check Driver... FAILED !!! Install Not Completed ! Link to comment
Незнайка Posted July 18, 2017 Share Posted July 18, 2017 "In function вЂnpreal_net_write’:" А почему у вас кавычки то так представляются, не могу понять? Link to comment
specar Posted July 18, 2017 Author Share Posted July 18, 2017 возможно копипаст UVNC viewer в винду Link to comment
Незнайка Posted July 19, 2017 Share Posted July 19, 2017 Сами мы ничего не придумали, запросили разработчиков. Придётся подождать. Link to comment
specar Posted July 20, 2017 Author Share Posted July 20, 2017 перевел в сокеты, пока так работаю. Link to comment
Незнайка Posted July 27, 2017 Share Posted July 27, 2017 напишите, пожалуйста, support@moxa.ru Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now