Hi I have an Intel 537EP modem. I manage to get some drives (modified from intel's sources) that gets compiled (with some warnings) and I'm was able to make it work.
The problem is that this driver locks (or freezes) my CPU in a random time when I’m using the modem to get connected. The only thing i can do is reboot the pc.
I think that the problem may be in some functions that are deprecated in the 2.6.11 kernel. (this driver was intended to match 2.6.8).
I think perhaps those functions that seams DEPRICATED are the ones that freeze the entire thing.
Does anybody knows which are the new ones that replace them and how can i implement them??
Code:
/root/modem/intel-537EP_secure-2.60.80.1/coredrv/uart.c:94: warning: ‘interruptible_sleep_on’ is deprecated (declared at include/linux/wait.h:370)
Code:
/root/modem/intel-537EP_secure-2.60.80.1/coredrv/task.c:144: warning: ‘interruptible_sleep_on’ is deprecated (declared at include/linux/wait.h:370)
This is how the driver gets compiled:
Code:
[root@localhost intel-537EP_secure-2.60.80.1]# make 537
Module precompile check
Current running kernel is: 2.6.11-1.1369_FC4
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
version.h matches running kernel
2.6.11-1.1369_FC4
make[1]: Entering directory `/root/modem/intel-537EP_secure-2.60.80.1/coredrv'
make -C /lib/modules/2.6.11-1.1369_FC4/build SUBDIRS=/root/modem/intel-537EP_secure-2.60.80.1/coredrv modules
make[2]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
CC [M] /root/modem/intel-537EP_secure-2.60.80.1/coredrv/coredrv.o
/root/modem/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function ‘softcore_init_struct’:
/root/modem/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:342: warning: assignment from incompatible pointer type
/root/modem/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function ‘hamproc_write’:
/root/modem/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:666: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
CC [M] /root/modem/intel-537EP_secure-2.60.80.1/coredrv/clmmain.o
CC [M] /root/modem/intel-537EP_secure-2.60.80.1/coredrv/rts.o
/root/modem/intel-537EP_secure-2.60.80.1/coredrv/rts.c: In function ‘RTS_Enable’:
/root/modem/intel-537EP_secure-2.60.80.1/coredrv/rts.c:118: warning: assignment from incompatible pointer type
CC [M] /root/modem/intel-537EP_secure-2.60.80.1/coredrv/task.o
/root/modem/intel-537EP_secure-2.60.80.1/coredrv/task.c: In function ‘RSATaskYield’:
/root/modem/intel-537EP_secure-2.60.80.1/coredrv/task.c:144: warning: ‘interruptible_sleep_on’ is deprecated (declared at include/linux/wait.h:370)
CC [M] /root/modem/intel-537EP_secure-2.60.80.1/coredrv/uart.o
/root/modem/intel-537EP_secure-2.60.80.1/coredrv/uart.c: In function ‘UART_msr_wait’:
/root/modem/intel-537EP_secure-2.60.80.1/coredrv/uart.c:94: warning: ‘interruptible_sleep_on’ is deprecated (declared at include/linux/wait.h:370)
CC [M] /root/modem/intel-537EP_secure-2.60.80.1/coredrv/wwh_dflt.o
CC [M] /root/modem/intel-537EP_secure-2.60.80.1/coredrv/locks.o
CC [M] /root/modem/intel-537EP_secure-2.60.80.1/coredrv/softserial_io.o
/root/modem/intel-537EP_secure-2.60.80.1/coredrv/softserial_io.c: In function ‘softserial_write’:
/root/modem/intel-537EP_secure-2.60.80.1/coredrv/softserial_io.c:94: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
CC [M] /root/modem/intel-537EP_secure-2.60.80.1/coredrv/softserial_ioctl.o
CC [M] /root/modem/intel-537EP_secure-2.60.80.1/coredrv/softserial.o
CC [M] /root/modem/intel-537EP_secure-2.60.80.1/coredrv/afedsp_int.o
/root/modem/intel-537EP_secure-2.60.80.1/coredrv/afedsp_int.c: In function ‘afe_Read’:
/root/modem/intel-537EP_secure-2.60.80.1/coredrv/afedsp_int.c:437: warning: ignoring return value of ‘copy_to_user’, declared with attribute warn_unused_result
LD [M] /root/modem/intel-537EP_secure-2.60.80.1/coredrv/Intel537.o
Building modules, stage 2.
MODPOST
Warning: could not find /root/modem/intel-537EP_secure-2.60.80.1/coredrv/.537core.lib.cmd for /root/modem/intel-537EP_secure-2.60.80.1/coredrv/537core.lib
CC /root/modem/intel-537EP_secure-2.60.80.1/coredrv/Intel537.mod.o
LD [M] /root/modem/intel-537EP_secure-2.60.80.1/coredrv/Intel537.ko
make[2]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
make[1]: Leaving directory `/root/modem/intel-537EP_secure-2.60.80.1/coredrv'
[root@localhost intel-537EP_secure-2.60.80.1]#
Thanks for the help in advance!
Greatings!
Ramiro