Re: [PATCH] Re: dkms-agrsm-2.1.80-2mdv2009.0.i586.rpm fails with kernel >= 2.6.29.X

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

 



Nikolay,

There is the problem below  under Ubuntu 2.6.28-11-generic , last
paragraph below.

 However the compile is OK with your prior patch applied to
agrsm-2.1.80-6mdv2009.0, resulting in the
agrsm-2.1.80-6mdv2009.0.tar.gz, I sent you earlier.

MarvS

$ patch -p0 < 4mdv_2.6.29.1.patch
patching file agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c
patching file agrsm-2.1.80-4mdv2009.0/HDA.c
patching file agrsm-2.1.80-4mdv2009.0/hda_codec.h
patching file agrsm-2.1.80-4mdv2009.0/Kbuild
patching file agrsm-2.1.80-4mdv2009.0/Makefile

agrsm-2.1.80-4mdv2009.0$ make
make -C /lib/modules/2.6.28-11-generic/build
M=/usr/src/pkg/agrsm/agrsm-2.1.80-4mdv2009.0 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
  CC [M]  /usr/src/pkg/agrsm/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.o
/usr/src/pkg/agrsm/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c: In function
‘x_request_region’:
/usr/src/pkg/agrsm/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c:276: error:
too many arguments to function ‘__request_region’
make[2]: *** [/usr/src/pkg/agrsm/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.o] Error 1
make[1]: *** [_module_/usr/src/pkg/agrsm/agrsm-2.1.80-4mdv2009.0] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make: *** [default] Error 2


On Sat, May 16, 2009 at 8:52 AM, Nikolay Zhuravlev <xxor@xxxxxxx> wrote:
> Bjorn/All,
>
>  I played with the source a bit more this morning. This is the patch against
>  the agrsm-2.1.80-4mdv2009.0.tgz sources available at the Zsolt's site.
>
>  It does two things:
>  (1) Adds support for the 2.6.27-rc9, 2.6.29.1 (and maybe 2.6.28) kernel
>  (2) Changes the Makefile to use the standard 2.6 kbuild procedure
>     used for the linux modules [described in Documentation/kbuild/modules.txt]
>
>  Before applying the patch and running make, please rename the file
> agrmodemlib.o to agrmodemlib.o_shipped . This will help the kbuild
>  to recognize this is a pre-build binary coming from elsewhere,
>  so that 'make clean' will not destroy it.
>
>  After the patch, build & install like this:
>
> $ sudo modprobe -r agrserial
> $ sudo modprobe -r agrmodem
> $ make
> $ sudo make modules_install
> $ sudo modprobe agrmodem
> $ sudo modprobe agrserial
> $ sudo ln -s /dev/ttyAGS3 /dev/ttySAGR
> $ sudo wvdialconf /etc/wvdial.conf
>
> wvdialconf was successful on my notebook that has the 11c11040 chip on HDA, but
> I cannot test beyond that -- I don't have an actual phone line here.
>
> --
> WBR, Nikolay Zhuravlev
>
> Thus spake Bjorn Wielens (Uniacke1@xxxxxxxx):
>
>> Hi,
>> Zsolt's sources are confirmed to work with 2.6.27 kernels.
>> However, we are still unsure about 2.6.28, and I will be able to try and
>> experiment with 2.6.29 as soon as I can locate the correct packages for
>> my distro.
>> You are likely correct about the problem, but there may be other issues
>> as well.
>> Bjorn.
>>
>>
>>
>>
>> Nikolay Zhuravlev wrote:
>> > Antonio,
>> >
>> >  Those sources are too old to work with the kernels >= 2.6.27
>> >
>> >  You may want to have a look at the sources located at
>> > http://linux.zsolttech.com/linmodem/agrsm/ and hack those with
>> >  the patch I attach here. I used it to get the driver working
>> >  with the 2.6.27-rc9 kernel.
>> >  Note that the patched sources may build and still not work with
>> > the recent kernels (28 and higher).
>> >
>> >  I guess the HDA.c stuff in that driver is out of sync with
>> >  the current ALSA developments in the 29 kernel anyway.
>> >
>> >
>>
>
>
>


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

  Powered by Linux