Re: 11c11040 modem chipset : Agere D40 agrmodemlib.o

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ah... So you've also reached that point? I'm on kernel 2.6.25.5 and I get 'Modpost FATAL:GPL-incompatible module uses GPL-only symbol usb_put_dev.'

I think I may have found that package in an RPM form... called agrsm-2.1.80-lmdv2009.0 here:
http://rpm.pbone.net/index.php3/stat/4/idpl/7812083/com/dkms-agrsm-2.1.80-1mdv2009.0.noarch.rpm.html

dies with the exact same error.



Antonio Olivares wrote:
The first attempt, I forgot to add the following relevant parts from dmesg

Symbol usb_deregister is being used by a non-GPL module, which will
not be allowed in the future
Please see the file Documentation/feature-removal-schedule.txt in the
kernel source tree for more details.
agrmodem: Unknown symbol snd_hda_codec_read
Symbol usb_register_driver is being used by a non-GPL module, which
will not be allowed in the future
Please see the file Documentation/feature-removal-schedule.txt in the
kernel source tree for more details.
agrmodem: Unknown symbol snd_hda_codec_write
Symbol usb_deregister is being used by a non-GPL module, which will
not be allowed in the future
Please see the file Documentation/feature-removal-schedule.txt in the
kernel source tree for more details.
agrmodem: Unknown symbol snd_hda_codec_read
Symbol usb_register_driver is being used by a non-GPL module, which
will not be allowed in the future
Please see the file Documentation/feature-removal-schedule.txt in the
kernel source tree for more details.
agrmodem: Unknown symbol snd_hda_codec_write

And Then I tried again, which I will attach inline here with the
extracted zip file that you very kind to send.  I extracted the zip
file and modified line 276 from SA_IRQF to IRQF_SHARED so that it can
compile, then I get the following error:

root@slax:~/src# make module
make -C /lib/modules/`uname -r`/build/ SUBDIRS=/root/src modules
make[1]: Entering directory `/usr/src/linux-2.6.24.5'

  WARNING: Symbol version dump /usr/src/linux-2.6.24.5/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /root/src/agrsoftmodem.o
/root/src/agrsoftmodem.c: In function 'x_request_irq':
/root/src/agrsoftmodem.c:276: warning: passing argument 2 of
'request_irq' from incompatible pointer type
/root/src/agrsoftmodem.c: In function 'agr_pci_find_device':
/root/src/agrsoftmodem.c:358: warning: 'pci_find_device' is deprecated
(declared at include/linux/pci.h:492)
/root/src/agrsoftmodem.c:361: warning: 'pci_find_device' is deprecated
(declared at include/linux/pci.h:492)
/root/src/agrsoftmodem.c:360: warning: ignoring return value of
'pci_enable_device', declared with attribute warn_unused_result
/root/src/agrsoftmodem.c: In function 'agr_pci_get_irq':
/root/src/agrsoftmodem.c:375: warning: 'pci_find_device' is deprecated
(declared at include/linux/pci.h:492)
/root/src/agrsoftmodem.c: In function 'x_pcibios_read_config_byte':
/root/src/agrsoftmodem.c:386: warning: 'pci_find_slot' is deprecated
(declared at include/linux/pci.h:493)
/root/src/agrsoftmodem.c: In function 'x_pcibios_read_config_word':
/root/src/agrsoftmodem.c:389: warning: 'pci_find_slot' is deprecated
(declared at include/linux/pci.h:493)
/root/src/agrsoftmodem.c: In function 'x_pcibios_read_config_dword':
/root/src/agrsoftmodem.c:392: warning: 'pci_find_slot' is deprecated
(declared at include/linux/pci.h:493)
/root/src/agrsoftmodem.c: In function 'x_pcibios_write_config_byte':
/root/src/agrsoftmodem.c:395: warning: 'pci_find_slot' is deprecated
(declared at include/linux/pci.h:493)
/root/src/agrsoftmodem.c: In function 'x_pcibios_write_config_word':
/root/src/agrsoftmodem.c:398: warning: 'pci_find_slot' is deprecated
(declared at include/linux/pci.h:493)
/root/src/agrsoftmodem.c: In function 'x_pcibios_write_config_dword':
/root/src/agrsoftmodem.c:401: warning: 'pci_find_slot' is deprecated
(declared at include/linux/pci.h:493)
/root/src/agrsoftmodem.c: In function 'x_task_queue_init':
/root/src/agrsoftmodem.c:440: warning: assignment from incompatible pointer type
/root/src/agrsoftmodem.c: In function 'x_task_queue_init_usb':
/root/src/agrsoftmodem.c:452: warning: assignment from incompatible pointer type
/root/src/agrsoftmodem.c: At top level:
/root/src/agrsoftmodem.c:479: warning: function declaration isn't a prototype
/root/src/agrsoftmodem.c:501: warning: function declaration isn't a prototype
/root/src/agrsoftmodem.c:511: warning: function declaration isn't a prototype
/root/src/agrsoftmodem.c:512: warning: function declaration isn't a prototype
  CC [M]  /root/src/HDA.o
/root/src/HDA.c:208: warning: function declaration isn't a prototype
/root/src/HDA.c: In function 'GetHDABaseAddress':
/root/src/HDA.c:219: warning: assignment makes integer from pointer
without a cast
/root/src/HDA.c:221: warning: return makes pointer from integer without a cast
/root/src/HDA.c:211: warning: unused variable 'codec_temp'
/root/src/HDA.c: In function 'HDAdump':
/root/src/HDA.c:236: warning: format '%x' expects type 'unsigned int',
but argument 2 has type 'void *'
/root/src/HDA.c:240: warning: format '%08X' expects type 'unsigned
int', but argument 3 has type 'long unsigned int'
/root/src/HDA.c:240: warning: format '%08X' expects type 'unsigned
int', but argument 4 has type 'long unsigned int'
/root/src/HDA.c:240: warning: format '%08X' expects type 'unsigned
int', but argument 5 has type 'long unsigned int'
/root/src/HDA.c:240: warning: format '%08X' expects type 'unsigned
int', but argument 6 has type 'long unsigned int'
/root/src/HDA.c:231: warning: unused variable 'codec_temp'
/root/src/HDA.c: In function 'setResumeCallBack':
/root/src/HDA.c:279: warning: assignment from incompatible pointer type
/root/src/HDA.c:280: warning: assignment from incompatible pointer type
/root/src/HDA.c: In function 'setSuspendCallBack':
/root/src/HDA.c:285: warning: assignment from incompatible pointer type
/root/src/HDA.c:286: warning: assignment from incompatible pointer type
/root/src/HDA.c: At top level:
/root/src/HDA.c:290: warning: function declaration isn't a prototype
/root/src/HDA.c: In function 'resetResumeCallBack':
/root/src/HDA.c:291: warning: assignment from incompatible pointer type
/root/src/HDA.c: At top level:
/root/src/HDA.c:295: warning: function declaration isn't a prototype
/root/src/HDA.c: In function 'resetSuspendCallBack':
/root/src/HDA.c:296: warning: assignment from incompatible pointer type
/root/src/HDA.c: In function 'LnxTransferCodecVerbs':
/root/src/HDA.c:302: warning: unused variable 'CodecAddress'
/root/src/HDA.c: In function 'LnxTransferCodecVerbsWrite':
/root/src/HDA.c:323: warning: unused variable 'CodecAddress'
/root/src/HDA.c: In function 'findHDACodec':
/root/src/HDA.c:270: warning: control reaches end of non-void function
  CC [M]  /root/src/serial26.o
/root/src/serial26.c: In function 'serial8250_startup':
/root/src/serial26.c:1434: warning: assignment from incompatible pointer type
/root/src/serial26.c: In function 'serial8250_set_termios':
/root/src/serial26.c:1699: warning: passing argument 2 of
'uart_get_baud_rate' from incompatible pointer type
/root/src/serial26.c:1699: warning: passing argument 3 of
'uart_get_baud_rate' from incompatible pointer type
/root/src/serial26.c: At top level:
/root/src/serial26.c:2115: warning: initialization from incompatible
pointer type
/root/src/serial26.c:2116: warning: initialization from incompatible
pointer type
/root/src/serial26.c:2123: warning: initialization from incompatible
pointer type
  LD [M]  /root/src/agrmodem.o
  LD [M]  /root/src/agrserial.o
  Building modules, stage 2.
  MODPOST 2 modules
  CC      /root/src/agrmodem.mod.o
  LD [M]  /root/src/agrmodem.ko
  CC      /root/src/agrserial.mod.o
  LD [M]  /root/src/agrserial.ko
make[1]: Leaving directory `/usr/src/linux-2.6.24.5'
root@slax:~/src# make install
./agrinst
make: execvp: ./agrinst: Permission denied
make: *** [install] Error 127
root@slax:~/src#

Maybe in Ubuntu, it would work, but who knows.  I am trying this with
Slax live cd, this way I do not have anything to lose just time.
Reboot and all is well.

Regards,

Antonio

On 6/23/08, FA <fas65@xxxxxxxxxxxxxxxxxxx> wrote:
so at least the code does build.
Lets hope, the missing symbols are not from the object-code-library...
Maybe the LSI Allentown people can tell...


Antonio Olivares schrieb:
I have tested the code, and would like to report that while I still
cannot connect, there is some progress


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux