Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Название темы: kernel 2.6.x + pctel
Показать сообщение отдельно

Пользователь


Сообщения: 83
Благодарности: 1

Профиль | Сайт | Отправить PM | Цитировать


Ого! Да тут целая книга по настройке PCTel-модемов!
Ну-с... приступим...

Добавлено:

Новые дрова скачал...

[root@localhost src]# make
gcc -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce  -DVERSION=\"0.9.7-6\" -DGCC_VERSION=\"3.3.2\" -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DBUILD_SYSTEM=\""`uname -s -m -r -p`\"" -D__KERNEL__ -I/usr/src/linux/include -DHAL_PCT789 -include /usr/src/linux/include/config/modversions.h -o ptmodule.o -c ptmodule.c
In file included from /usr/src/linux/include/asm/smp.h:18,
                from /usr/src/linux/include/linux/smp.h:17,
                from /usr/src/linux/include/linux/sched.h:23,
                from /usr/src/linux/include/linux/module.h:10,
                from ptmodule.c:10:
/usr/src/linux/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /usr/src/linux/include/asm/smp.h:18,
                from /usr/src/linux/include/linux/smp.h:17,
                from /usr/src/linux/include/linux/sched.h:23,
                from /usr/src/linux/include/linux/module.h:10,
                from ptmodule.c:10:
/usr/src/linux/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/usr/src/linux/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/usr/src/linux/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/usr/src/linux/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/usr/src/linux/include/asm/mpspec.h:50: error: `MAX_APICS' undeclared here (not in a function)
In file included from /usr/src/linux/include/asm/smp.h:20,
                from /usr/src/linux/include/linux/smp.h:17,
                from /usr/src/linux/include/linux/sched.h:23,
                from /usr/src/linux/include/linux/module.h:10,
                from ptmodule.c:10:
/usr/src/linux/include/asm/io_apic.h:160: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/src/linux/include/asm/io_apic.h:160: error: conflicting types for `mp_irqs'
/usr/src/linux/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /usr/src/linux/include/linux/smp.h:17,
                from /usr/src/linux/include/linux/sched.h:23,
                from /usr/src/linux/include/linux/module.h:10,
                from ptmodule.c:10:
/usr/src/linux/include/asm/smp.h:72:26: mach_apicdef.h: No such file or directory
In file included from /usr/src/linux/include/linux/smp.h:17,
                from /usr/src/linux/include/linux/sched.h:23,
                from /usr/src/linux/include/linux/module.h:10,
                from ptmodule.c:10:
/usr/src/linux/include/asm/smp.h: In function `hard_smp_processor_id':
/usr/src/linux/include/asm/smp.h:76: warning: implicit declaration of function `GET_APIC_ID'
ptmodule.c: In function `Pctel_module_init':
ptmodule.c:21: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:502)
ptmodule.c: In function `Pctel_module_free':
ptmodule.c:26: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:514)
ptmodule.c: In function `Pctel_module_is_free':
ptmodule.c:31: error: `MOD_IN_USE' undeclared (first use in this function)
ptmodule.c:31: error: (Each undeclared identifier is reported only once
ptmodule.c:31: error: for each function it appears in.)
make: *** [ptmodule.o] Ошибка 1
[root@localhost src]# ХЭЛП МИ!!!

Добавлено:

А вот и ошибка на slmodem 2.9.10

[root@localhost root]# modprobe slamr
FATAL: Error inserting slamr (/lib/modules/2.6.3-7mdksmp/extra/slamr.ko): Invalid module format

Отправлено: 02:45, 27-09-2004 | #8

Название темы: kernel 2.6.x + pctel