Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
  #1  
Old 30th July 2005, 05:28 AM
RAGM Offline
Registered User
 
Join Date: Jun 2005
Posts: 7
Question Intel Modem Driver compilation problems & FC4 2.6.11 kernel

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
Reply With Quote
 

Tags
compilation, driver, fc4, intel, kernel, modem, problems

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NVidia driver: kernel driver compilation DJ Wings Hardware & Laptops 21 23rd November 2006 05:15 PM
Intel Modem Driver compilation problems & FC4 2.6.11 kernel RAGM Using Fedora 1 30th July 2005 08:03 PM
Intel Modem Driver compilation problems & FC4 2.6.11 kernel RAGM Programming & Packaging 1 30th July 2005 08:03 PM
Intel-537EP modem driver for FC4 giantforaday Hardware & Laptops 9 14th July 2005 06:47 PM
Intel-537EP modem driver for FC4 giantforaday Hardware & Laptops 0 22nd June 2005 03:59 PM


Current GMT-time: 11:45 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat