Linmodems Mailing list Archives
Return-Path: <olivares14031@gmail.com>
Mailing-List: contact discuss-help@linmodems.org; run by ezmlm
Delivered-To: mailing list discuss@linmodems.org
Received: (qmail 19472 invoked from network); 24 Jun 2008 03:28:50 -0000
Received: from rv-out-0506.google.com (209.85.198.239)
by pdam.crynwr.com with SMTP; 24 Jun 2008 03:28:50 -0000
Received: by rv-out-0506.google.com with SMTP id k40so7062455rvb.15
for <discuss@linmodems.org>; Mon, 23 Jun 2008 20:28:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:received:message-id:date:from:to
:subject:cc:in-reply-to:mime-version:content-type
:content-transfer-encoding:content-disposition:references;
bh=yXJZLS4GFiLxsYc3T28BLySVgAWRCbVJujGCHzT9uCs=;
b=Vp6noYeVVh3PSGW2mUZXvcuQG9I8FOaFN4SwI94GYMjYOcoDApvtXFM338owJnnqQR
0z0+EPw74cQ5mvu8jaRex+G4xRMPD+ss/OCs/UoVq9FGhvHQwZsh0LEiq3oydj3p7NBj
+66LbGEji1LdVMiSyRpJWp78VqVrLgxGvwtXs=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=message-id:date:from:to:subject:cc:in-reply-to:mime-version
:content-type:content-transfer-encoding:content-disposition
:references;
b=Xa11wYeh3IvGoMwm9G9xQ7P3JjK16iGP4EBr7C1LDq4nqyzXVMC+csgRBtAfEJfxit
3EWH2Bt0dU+yyDGNdxxm87D2MfxJ9I8H6/WoqOMZgfwl3HyVTQ0JE3FVNTZ+ujmsq3Al
EIwDRYdAoPdaC/wzsTyrjmXppRj9oT1ujVjyA=
Received: by 10.141.79.12 with SMTP id g12mr13935425rvl.126.1214278129017;
Mon, 23 Jun 2008 20:28:49 -0700 (PDT)
Received: by 10.114.158.17 with HTTP; Mon, 23 Jun 2008 20:28:48 -0700 (PDT)
Message-ID: <75107330806232028x6e5125bej5a850bf633e8e3bd@mail.gmail.com>
Date: Tue, 24 Jun 2008 03:28:48 +0000
From: "Antonio Olivares" <olivares14031@gmail.com>
To: "Bjorn Wielens" <Uniacke1@yahoo.ca>
Subject: Re: 11c11040 modem chipset : Agere D40 agrmodemlib.o
Cc: FA <fas65@nds.web-republic.de>, Linmodems <discuss@linmodems.org>
In-Reply-To: <486030CC.4010900@yahoo.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
References: <c27106ee0806220913p15836be2kc750f28b48e22a1a@mail.gmail.com>
<485FB548.7040200@cern.ch> <485FBD9B.9010005@nds.web-republic.de>
<75107330806231014j1c072711sea9b5ffa839c3d33@mail.gmail.com>
<485FEE23.8030109@nds.web-republic.de>
<75107330806231314x2e12311bq9f1c3ad262d80c3d@mail.gmail.com>
<486030CC.4010900@yahoo.ca>
It gets even worse on kernels > 2.6.25 with the rc of 2.6.26
[olivares@localhost src]$ ls -l
total 1796
-rw-rw-r-- 1 olivares olivares 2418 2008-06-22 09:23 8250.h
-rw-rw-r-- 1 olivares olivares 9023 2008-06-22 09:23 AgereMdmDaemon
-rw-rw-r-- 1 olivares olivares 1612 2008-06-22 09:24 agr_auxinst
-rw-rw-r-- 1 olivares olivares 2725 2008-06-22 09:24 agrinst
-rw-rw-r-- 1 olivares olivares 10918 2008-06-22 09:24 agrmodem.h
-rw-rw-r-- 1 olivares olivares 1535687 2008-06-22 09:24 agrmodemlib.o
-rw-rw-r-- 1 olivares olivares 2662 2008-06-22 09:24 agrmodem.mod.c
-rw-rw-r-- 1 olivares olivares 1877 2008-06-22 09:24 agrserial.mod.c
-rw-rw-r-- 1 olivares olivares 1192 2008-06-22 09:24 agr_softmodem
-rw-rw-r-- 1 olivares olivares 25975 2008-06-22 09:35 agrsoftmodem.c
-rw-rw-r-- 1 olivares olivares 3705 2008-06-22 09:25 agruninst
-rw-rw-r-- 1 olivares olivares 225 2008-06-22 09:25 config.h
-rw-rw-r-- 1 olivares olivares 8560 2008-06-22 09:23 HDA.c
-rw-rw-r-- 1 olivares olivares 17543 2008-06-22 09:25 hda_codec.h
-rw-rw-r-- 1 olivares olivares 5744 2008-06-22 09:24 LICENSE
-rw-rw-r-- 1 olivares olivares 2259 2008-06-22 09:25 linuxif.h
-rw-rw-r-- 1 olivares olivares 2529 2008-06-22 09:24 Makefile
-rw-rw-r-- 1 olivares olivares 85 2008-06-22 09:24 Module.symvers
-rw-rw-r-- 1 olivares olivares 2069 2008-06-22 09:24 README
-rw-rw-r-- 1 olivares olivares 67587 2008-06-22 09:25 serial26.c
[olivares@localhost src]$ chmod +x agrinst
[olivares@localhost src]$ chmod +x agr_softmodem
[olivares@localhost src]$ chmod +x agruninst
[olivares@localhost src]$ chmod +x agr_auxinst
[olivares@localhost src]$ chmod +x AgereMdmDaemon
[olivares@localhost src]$ clear
[olivares@localhost src]$ make module
make -C /lib/modules/`uname -r`/build/
SUBDIRS=3D/home/olivares/Download/temp/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.26-0.44.rc4.git2.fc10.i68=
6'
CC [M] /home/olivares/Download/temp/src/agrsoftmodem.o
/home/olivares/Download/temp/src/agrsoftmodem.c: In function
=E2=80=98x_request_irq=E2=80=99:
/home/olivares/Download/temp/src/agrsoftmodem.c:276: warning: passing
argument 2 of =E2=80=98request_irq=E2=80=99 from incompatible pointer type
/home/olivares/Download/temp/src/agrsoftmodem.c: In function
=E2=80=98agr_pci_find_device=E2=80=99:
/home/olivares/Download/temp/src/agrsoftmodem.c:360: warning: ignoring
return value of =E2=80=98pci_enable_device=E2=80=99, declared with attribut=
e
warn_unused_result
/home/olivares/Download/temp/src/agrsoftmodem.c: In function
=E2=80=98x_task_queue_init=E2=80=99:
/home/olivares/Download/temp/src/agrsoftmodem.c:440: warning:
assignment from incompatible pointer type
/home/olivares/Download/temp/src/agrsoftmodem.c: In function
=E2=80=98x_task_queue_init_usb=E2=80=99:
/home/olivares/Download/temp/src/agrsoftmodem.c:452: warning:
assignment from incompatible pointer type
/home/olivares/Download/temp/src/agrsoftmodem.c: At top level:
/home/olivares/Download/temp/src/agrsoftmodem.c:479: warning: function
declaration isn=E2=80=99t a prototype
/home/olivares/Download/temp/src/agrsoftmodem.c:501: warning: function
declaration isn=E2=80=99t a prototype
/home/olivares/Download/temp/src/agrsoftmodem.c:511: warning: function
declaration isn=E2=80=99t a prototype
/home/olivares/Download/temp/src/agrsoftmodem.c:512: warning: function
declaration isn=E2=80=99t a prototype
CC [M] /home/olivares/Download/temp/src/HDA.o
In file included from /home/olivares/Download/temp/src/HDA.c:13:
include/sound/driver.h:1:2: warning: #warning "This file is deprecated"
/home/olivares/Download/temp/src/HDA.c:208: warning: function
declaration isn=E2=80=99t a prototype
/home/olivares/Download/temp/src/HDA.c: In function =E2=80=98GetHDABaseAddr=
ess=E2=80=99:
/home/olivares/Download/temp/src/HDA.c:219: warning: assignment makes
integer from pointer without a cast
/home/olivares/Download/temp/src/HDA.c:221: warning: return makes
pointer from integer without a cast
/home/olivares/Download/temp/src/HDA.c:211: warning: unused variable
=E2=80=98codec_temp=E2=80=99
/home/olivares/Download/temp/src/HDA.c: In function =E2=80=98HDAdump=E2=80=
=99:
/home/olivares/Download/temp/src/HDA.c:236: warning: format =E2=80=98%x=E2=
=80=99
expects type =E2=80=98unsigned int=E2=80=99, but argument 4 has type =E2=80=
=98void *=E2=80=99
/home/olivares/Download/temp/src/HDA.c:240: warning: format =E2=80=98%08X=
=E2=80=99
expects type =E2=80=98unsigned int=E2=80=99, but argument 5 has type =E2=80=
=98long
unsigned int=E2=80=99
/home/olivares/Download/temp/src/HDA.c:240: warning: format =E2=80=98%08X=
=E2=80=99
expects type =E2=80=98unsigned int=E2=80=99, but argument 6 has type =E2=80=
=98long
unsigned int=E2=80=99
/home/olivares/Download/temp/src/HDA.c:240: warning: format =E2=80=98%08X=
=E2=80=99
expects type =E2=80=98unsigned int=E2=80=99, but argument 7 has type =E2=80=
=98long
unsigned int=E2=80=99
/home/olivares/Download/temp/src/HDA.c:240: warning: format =E2=80=98%08X=
=E2=80=99
expects type =E2=80=98unsigned int=E2=80=99, but argument 8 has type =E2=80=
=98long
unsigned int=E2=80=99
/home/olivares/Download/temp/src/HDA.c:231: warning: unused variable
=E2=80=98codec_temp=E2=80=99
/home/olivares/Download/temp/src/HDA.c: In function =E2=80=98setResumeCallB=
ack=E2=80=99:
/home/olivares/Download/temp/src/HDA.c:279: warning: assignment from
incompatible pointer type
/home/olivares/Download/temp/src/HDA.c:280: warning: assignment from
incompatible pointer type
/home/olivares/Download/temp/src/HDA.c: In function =E2=80=98setSuspendCall=
Back=E2=80=99:
/home/olivares/Download/temp/src/HDA.c:285: warning: assignment from
incompatible pointer type
/home/olivares/Download/temp/src/HDA.c:286: warning: assignment from
incompatible pointer type
/home/olivares/Download/temp/src/HDA.c: At top level:
/home/olivares/Download/temp/src/HDA.c:290: warning: function
declaration isn=E2=80=99t a prototype
/home/olivares/Download/temp/src/HDA.c: In function =E2=80=98resetResumeCal=
lBack=E2=80=99:
/home/olivares/Download/temp/src/HDA.c:291: warning: assignment from
incompatible pointer type
/home/olivares/Download/temp/src/HDA.c: At top level:
/home/olivares/Download/temp/src/HDA.c:295: warning: function
declaration isn=E2=80=99t a prototype
/home/olivares/Download/temp/src/HDA.c: In function =E2=80=98resetSuspendCa=
llBack=E2=80=99:
/home/olivares/Download/temp/src/HDA.c:296: warning: assignment from
incompatible pointer type
/home/olivares/Download/temp/src/HDA.c: In function =E2=80=98LnxTransferCod=
ecVerbs=E2=80=99:
/home/olivares/Download/temp/src/HDA.c:302: warning: unused variable
=E2=80=98CodecAddress=E2=80=99
/home/olivares/Download/temp/src/HDA.c: In function
=E2=80=98LnxTransferCodecVerbsWrite=E2=80=99:
/home/olivares/Download/temp/src/HDA.c:323: warning: unused variable
=E2=80=98CodecAddress=E2=80=99
/home/olivares/Download/temp/src/HDA.c: In function =E2=80=98findHDACodec=
=E2=80=99:
/home/olivares/Download/temp/src/HDA.c:270: warning: control reaches
end of non-void function
CC [M] /home/olivares/Download/temp/src/serial26.o
/home/olivares/Download/temp/src/serial26.c: In function
=E2=80=98serial8250_startup=E2=80=99:
/home/olivares/Download/temp/src/serial26.c:1434: warning: assignment
from incompatible pointer type
/home/olivares/Download/temp/src/serial26.c: In function
=E2=80=98serial8250_set_termios=E2=80=99:
/home/olivares/Download/temp/src/serial26.c:1699: warning: passing
argument 2 of =E2=80=98uart_get_baud_rate=E2=80=99 from incompatible pointe=
r type
/home/olivares/Download/temp/src/serial26.c:1699: warning: passing
argument 3 of =E2=80=98uart_get_baud_rate=E2=80=99 from incompatible pointe=
r type
/home/olivares/Download/temp/src/serial26.c: At top level:
/home/olivares/Download/temp/src/serial26.c:2115: warning:
initialization from incompatible pointer type
/home/olivares/Download/temp/src/serial26.c:2116: warning:
initialization from incompatible pointer type
/home/olivares/Download/temp/src/serial26.c:2123: warning:
initialization from incompatible pointer type
LD [M] /home/olivares/Download/temp/src/agrmodem.o
LD [M] /home/olivares/Download/temp/src/agrserial.o
Building modules, stage 2.
MODPOST 2 modules
WARNING: could not find
/home/olivares/Download/temp/src/.agrmodemlib.o.cmd for
/home/olivares/Download/temp/src/agrmodemlib.o
FATAL: modpost: GPL-incompatible module agrmodem.ko uses GPL-only
symbol 'usb_put_dev'
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.26-0.44.rc4.git2.fc10.i686=
'
make: *** [module] Error 2
There is not much that we can do against this, only encourage LSI to
contact the kernel developers and hope that they can produce free and
working drivers for this modem chipset.
Regards,
Antonio
On 6/23/08, Bjorn Wielens <Uniacke1@yahoo.ca> wrote:
> 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 dme=
sg
>>
>> 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=3D/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@nds.web-republic.de> 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
>
>
Webmaster: Russell Nelson
Last modified: Wed Jul 30 11:02:43 EDT 2003