Linmodems Mailing list Archives
Return-Path: <marvin.stodolsky@gmail.com>
Mailing-List: contact discuss-help@linmodems.org; run by ezmlm
Delivered-To: mailing list discuss@linmodems.org
Received: (qmail 3448 invoked from network); 23 Jun 2008 23:29:03 -0000
Received: from py-out-1112.google.com (64.233.166.177)
by pdam.crynwr.com with SMTP; 23 Jun 2008 23:29:03 -0000
Received: by py-out-1112.google.com with SMTP id f47so1185748pye.6
for <discuss@linmodems.org>; Mon, 23 Jun 2008 16:29:02 -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=jfFUlOUyUYh8zRq/OBy/u80UnntI3PUT1J45F4/0rAg=;
b=ii0zQob8HWlLVT3N7L1chDNoVIEvJIBr1rtdeAkugxmQJgFHO7DcsjqT6m2uOpMju4
KH3rzPsBazjy7KT4on14itc4Zb7BevHrwIRKxx5RQYNjrhhKmhMOhzgK5JTh/CuJB1lG
ItuNxgKJVsZAwFwGUqrQ2D8wDkriX0XMbfXf8=
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=M2sEpTDf1L/CaZZhflpBi0c832LiCGHubqiqCdtioHtpm/qDqNVArj9yYn22TksQkb
0becuNDoL5JlsMYmuVhWlvOLEkNQmK6yBF72IHMO4LAm4JWbqsCF+VkmNCOY87Nck6yz
XldFXL1SAE9hFRn+oP4f+Z2i00sOB4G85XcMw=
Received: by 10.142.174.18 with SMTP id w18mr4733615wfe.202.1214263742270;
Mon, 23 Jun 2008 16:29:02 -0700 (PDT)
Received: by 10.150.158.16 with HTTP; Mon, 23 Jun 2008 16:29:01 -0700 (PDT)
Message-ID: <c27106ee0806231629s37486488i728849bc18365241@mail.gmail.com>
Date: Mon, 23 Jun 2008 19:29:01 -0400
From: "Marvin Stodolsky" <marvin.stodolsky@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=UTF-8
Content-Transfer-Encoding: 7bit
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>
There are USB modems with LSI chips with support included in agrmodem
+ agerserial code.But this USB code is not needed for the simpler
issue of 11c11040 modem chip support. This these lines can be searched
for and commented out.
MarvS
On Mon, Jun 23, 2008 at 7:25 PM, 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 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@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