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

Lvov_Pash

Пользователи
  • Posts

    3
  • Joined

  • Last visited

Lvov_Pash's Achievements

Новичок

Новичок (1/5)

0

Reputation

  1. Проблема решена. Спасибо! Дело не в драйверах, а в платформе куда происходит установка. В моём случае Linux стоит на платформе Intel NUC. Для решения проблемы нужно в BIOS отключить опции "secure boot" и "Intel Platform Trust". Помогла данная статья, где описывалась проблема загрузки модуля: https://stackoverflow.com/questions/63449218/modprobe-insmod-error-could-not-insert-module-operation-not-permitted-install
  2. К сожалению ничего не изменило. Перед установкой новой версии удалил порт и драйвер предыдущей версии. Copyright (C) 2002-2019 Moxa Inc. All Rights Reserved. MOXA NPort Server Real TTY Driver Ver5.0.3 Installation. System Information: Kernel 5.4.0-58-generic; 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/5.4.0-58-generic/build M=/home/teh-t/moxa modules make[1]: Entering directory '/usr/src/linux-headers-5.4.0-58-generic' CC [M] /home/teh-t/moxa/npreal2.o Building modules, stage 2. MODPOST 1 modules CC [M] /home/teh-t/moxa/npreal2.mod.o LD [M] /home/teh-t/moxa/npreal2.ko make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-58-generic' cp -p npreal2.ko /lib/modules/5.4.0-58-generic/kernel/drivers/char/ depmod -a cc -c npreal2d.c cc npreal2d.o -o npreal2d strip npreal2d cc -c redund_main.c cc -c redund.c cc redund_main.o redund.o -lpthread -o npreal2d_redund strip npreal2d_redund cc -o mxaddsvr mxaddsvr.c strip mxaddsvr cc -o mxdelsvr mxdelsvr.c strip mxdelsvr cc -o mxcfmat mxcfmat.c strip mxcfmat cc -o mxloadsvr mxloadsvr.c strip mxloadsvr cc -o mxsetsec mxsetsec.c strip mxsetsec Check Driver... Copying configurations files ... OK! Copying driver files ... OK! Load driver... modprobe: ERROR: could not insert 'npreal2': Operation not permitted Failed!!! please contact the provider
  3. Добрый день! Возникла проблема с установкой драйвера. Оборудование - Moxa NPort 5110. Система: Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-58-generic x86_64) Версия драйвера: real-tty-drivers-for-linux-5_x_x-driver-v5_0_2 При установке выдает в конце ошибку: Copyright (C) 2002-2019 Moxa Inc. All Rights Reserved. MOXA NPort Server Real TTY Driver Ver5.0 Installation. System Information: Kernel 5.4.0-58-generic; Machine x86_64. =============================================================================== ********************************WARNING********************************** MOXA NPort Server Real TTY Driver has been tested under kernel 5.3.0. That may not be compatible with Linux Kernel versions 5.4.0-58-generic . To download the available driver, please visit Moxa at: http://www.moxa.com If you have questions, please contact Moxa support at: support@moxa.com ************************************************************************* Press enter to continue... 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/5.4.0-58-generic/build M=/home/teh-t/moxa modules make[1]: Entering directory '/usr/src/linux-headers-5.4.0-58-generic' CC [M] /home/teh-t/moxa/npreal2.o Building modules, stage 2. MODPOST 1 modules CC [M] /home/teh-t/moxa/npreal2.mod.o LD [M] /home/teh-t/moxa/npreal2.ko make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-58-generic' cp -p npreal2.ko /lib/modules/5.4.0-58-generic/kernel/drivers/char/ depmod -a cc -c npreal2d.c cc npreal2d.o -o npreal2d strip npreal2d cc -c redund_main.c cc -c redund.c cc redund_main.o redund.o -lpthread -o npreal2d_redund strip npreal2d_redund cc -o mxaddsvr mxaddsvr.c strip mxaddsvr cc -o mxdelsvr mxdelsvr.c strip mxdelsvr cc -o mxcfmat mxcfmat.c strip mxcfmat cc -o mxloadsvr mxloadsvr.c strip mxloadsvr cc -o mxsetsec mxsetsec.c strip mxsetsec Check Driver... Copying configurations files ... OK! Copying driver files ... OK! Load driver... modprobe: ERROR: could not insert 'npreal2': Operation not permitted Failed!!! please contact the provider Создать порт позволяет (./mxaddsvr), но в /usr/lib/npreal2/driver/npreal2d.log идёт ошибка - Master tty open fail (/proc/npreal/0)! Создавать скрипт запуска (https://www.moxa.com/en/support/product-support/product-faq/when-i-install-the-nport-real-tty-driver-on-debian-i-see-error-message) пробовал, безрезультатно. При этом ping идёт и через telnet доступ есть. Данный драйвер устанавливал не впервые, до этого таких проблем не было. Прошу подсказать возможные пути решения.
×
×
  • Create New...