Прошу помочь в установке модема 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 ‘__down_read’: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h:105: error: syntax error before ‘KBUILD_BASENAME’ /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h: In function ‘__down_write’: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h:157: error: syntax error before ‘KBUILD_BASENAME’ /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h: In function ‘__up_read’: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h:194: error: syntax error before ‘KBUILD_BASENAME’ /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h:188: warning: unused variable ‘tmp’ /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h: In function ‘__up_write’: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h:220: error: syntax error before ‘KBUILD_BASENAME’ /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h: In function ‘__downgrade_write’: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/rwsem.h:245: error: syntax error before ‘KBUILD_BASENAME’ 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 ‘down’: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/semaphore.h:105: error: syntax error before ‘KBUILD_BASENAME’ /lib/modules/2.6.16-1.2108_FC4/build/include/asm/semaphore.h: In function ‘down_interruptible’: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/semaphore.h:130: error: syntax error before ‘KBUILD_BASENAME’ /lib/modules/2.6.16-1.2108_FC4/build/include/asm/semaphore.h: In function ‘down_trylock’: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/semaphore.h:155: error: syntax error before ‘KBUILD_BASENAME’ /lib/modules/2.6.16-1.2108_FC4/build/include/asm/semaphore.h: In function ‘up’: /lib/modules/2.6.16-1.2108_FC4/build/include/asm/semaphore.h:179: error: syntax error before ‘KBUILD_BASENAME’ 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: ‘NR_IRQS’ 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: ‘NR_IRQ_VECTORS’ undeclared here (not in a function) osmemory.c: In function ‘OsMemDMAAllocate’: osmemory.c:219: error: called object ‘"<3>"’ 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
В чём может быть проблема и как её решить ? Есть ли альтернативные варианты драйверов под этот модем ? (Исключая с сайта производителя)