LINUX.ORG.RU

Установка модема DLink DFM-562IS в Fedora Core 4


0

0

Прошу помочь в установке модема DLink DFM-562IS в Fedora Core 4. У меня следующая ситуация : Операционная система Fedora Core 4 Ядро 2.6.16-1.2108_FC4

Устанавливаю драйвера с http://www.linuxant.com/drivers/ именно под данную версию ядра Установка происходит успешно, конфигурация по hsfconfig тоже нормально. пробую соединиться в KPPP - тоже результат положительный Проблема в следующем - после перезагрузки компьютера при инициализации оборудования происходит сбой на экране бегут какие-то цифры. Вообщем система не загружается. Драйвера под этот модем с ядром 2.6.11 работают "на УРА"!

Взял драйвера с сайта производителя http://ftp.dlink.ru/pub/Modem/DFM-5...562IS_Linux.zip При установке : # rpm -i hsflinmodem-4.06.06.03-1.i586.rpm Linux HSF softmodem drivers, version 4.06.06.03 grep: /proc/ksyms: No such file or directory /usr/bin/hsfsysid: line 99: [: too many arguments

No pre-built HSF modules are available for your exact kernel: Linux-2.6.16-1.2108_FC4-i686-RedHat-4

Assuming that a C compiler and proper kernel header files are present on your system, we will now attempt to re-compile the modules.

Re-compiling HSF modules for kernel 2.6.16-1.2108_FC4, using source directory /lib/modules/2.6.16-1.2108_FC4/build. Please wait..

ERROR: Module re-compilation and installation failed! Please examine the log file "/tmp/hsfconfig-recomp.log.3678" to determine why. error: %post(hsflinmodem-4.06.06.03-1.i586) scriptlet failed, exit status 1

Файл лога /tmp/hsfconfig-recomp.log.3678 : In file included from <command line>:1: /lib/modules/2.6.16-1.2108_FC4/build/include/linux/config.h:8:2: error: #error including kernel header in userspace; use the glibc headers instead! rm -f *.o In file included from <command line>:1: /lib/modules/2.6.16-1.2108_FC4/build/include/linux/config.h:8:2: error: #error including kernel header in userspace; use the glibc headers instead! make[1]: Entering directory `/usr/lib/hsf/modules/osspec' rm -f *.o make[1]: Leaving directory `/usr/lib/hsf/modules/osspec' make -C osspec all In file included from <command line>:1: /lib/modules/2.6.16-1.2108_FC4/build/include/linux/config.h:8:2: error: #error including kernel header in userspace; use the glibc headers instead! make[1]: Entering directory `/usr/lib/hsf/modules/osspec' * Compiling osmemory.c cc1: warning: command line option "-fcheck-new" is valid for C++/ObjC++ but not for C cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C In file included from <command line>:1: /lib/modules/2.6.16-1.2108_FC4/build/include/linux/config.h:10:1: error: /lib/modules/2.6.16-1.2108_FC4/build/include/linux/modversions.h: No such file or directory In file included from /lib/modules/2.6.16-1.2108_FC4/build/include/linux/rwsem.h:27, from /lib/modules/2.6.16-1.2108_FC4/build/include/asm/semaphore.h:42, from /lib/modules/2.6.16-1.2108_FC4/build/include/linux/sched.h:20, from ../../modules/osspec/include/oscompat.h:61, from osmemory.c:51: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h: In function &#8216;__down_read&#8217;: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h:105: error: syntax error before &#8216;KBUILD_BASENAME&#8217; /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h: In function &#8216;__down_write&#8217;: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h:157: error: syntax error before &#8216;KBUILD_BASENAME&#8217; /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h: In function &#8216;__up_read&#8217;: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h:194: error: syntax error before &#8216;KBUILD_BASENAME&#8217; /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h:188: warning: unused variable &#8216;tmp&#8217; /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h: In function &#8216;__up_write&#8217;: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h:220: error: syntax error before &#8216;KBUILD_BASENAME&#8217; /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h: In function &#8216;__downgrade_write&#8217;: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h:245: error: syntax error before &#8216;KBUILD_BASENAME&#8217; In file included from /lib/modules/2.6.16-1.2108_FC4/build/include/linux/sched.h:20, from ../../modules/osspec/include/oscompat.h:61, from osmemory.c:51: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/semaphore.h: In function &#8216;down&#8217;: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/semaphore.h:105: error: syntax error before &#8216;KBUILD_BASENAME&#8217; /lib/modules/2.6.16-1.2108_FC4/build/include/asm/semaphore.h: In function &#8216;down_interruptible&#8217;: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/semaphore.h:130: error: syntax error before &#8216;KBUILD_BASENAME&#8217; /lib/modules/2.6.16-1.2108_FC4/build/include/asm/semaphore.h: In function &#8216;down_trylock&#8217;: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/semaphore.h:155: error: syntax error before &#8216;KBUILD_BASENAME&#8217; /lib/modules/2.6.16-1.2108_FC4/build/include/asm/semaphore.h: In function &#8216;up&#8217;: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/semaphore.h:179: error: syntax error before &#8216;KBUILD_BASENAME&#8217; In file included from osmemory.c:51: ../../modules/osspec/include/oscompat.h:62:26: error: linux/tqueue.h: No such file or directory In file included from /lib/modules/2.6.16-1.2108_FC4/build/include/linux/irq.h:22, from /lib/modules/2.6.16-1.2108_FC4/build/include/asm/hardirq.h:6, from /lib/modules/2.6.16-1.2108_FC4/build/include/linux/hardirq.h:7, from /lib/modules/2.6.16-1.2108_FC4/build/include/linux/interrupt.h:11, from ../../modules/osspec/include/oscompat.h:64, from osmemory.c:51: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/irq.h:16:25: error: irq_vectors.h: No such file or directory In file included from /lib/modules/2.6.16-1.2108_FC4/build/include/asm/hardirq.h:6, from /lib/modules/2.6.16-1.2108_FC4/build/include/linux/hardirq.h:7, from /lib/modules/2.6.16-1.2108_FC4/build/include/linux/interrupt.h:11, from ../../modules/osspec/include/oscompat.h:64, from osmemory.c:51: /lib/modules/2.6.16-1.2108_FC4/build/include/linux/irq.h: At top level: /lib/modules/2.6.16-1.2108_FC4/build/include/linux/irq.h:85: error: &#8216;NR_IRQS&#8217; undeclared here (not in a function) In file included from /lib/modules/2.6.16-1.2108_FC4/build/include/linux/irq.h:94, from /lib/modules/2.6.16-1.2108_FC4/build/include/asm/hardirq.h:6, from /lib/modules/2.6.16-1.2108_FC4/build/include/linux/hardirq.h:7, from /lib/modules/2.6.16-1.2108_FC4/build/include/linux/interrupt.h:11, from ../../modules/osspec/include/oscompat.h:64, from osmemory.c:51: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/hw_irq.h:30: error: &#8216;NR_IRQ_VECTORS&#8217; undeclared here (not in a function) osmemory.c: In function &#8216;OsMemDMAAllocate&#8217;: osmemory.c:219: error: called object &#8216;"<3>"&#8217; is not a function osmemory.c:219: error: syntax error before string constant make[1]: *** [osmemory.o] Error 1 make[1]: Leaving directory `/usr/lib/hsf/modules/osspec' make: *** [osspec] Error 2

В чём может быть проблема и как её решить ? Есть ли альтернативные варианты драйверов под этот модем ? (Исключая с сайта производителя)

>>error: /lib/modules/2.6.16-1.2108_FC4/build/include/linux/modversions.h: No such file or directory In file included from
Наверное тут надо копать.
Дрова с линуксанта - какая версия? 7.18 не пойдут под 2.6.16.
Альтернативные дрова, помнится написал какой то чел в Бразилии, сцылку не помню - и ставить не советую. Я с ними тока панику ловил...

sabonez ★☆☆☆
()

Бери с linuxant.com последнюю версию драйвера. У меня ядро 2.6.16.11 - драйвер работает и грузится нормально. При установке нового ядра (раза 3 уже минимум), при первой загрузке на новом ядре ,драйвер сам компилируется под новую версию ядра.

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.