Re: modem chip 11c11040

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

 



Whilst fiddling with these drivers on SuSE 10.3, (2.6.22-16, I think)
I noticed that I had obtained agrmodem and agrserial modules from somewhere else (probably the Technion linmodems area, filename agrsm-20080203.tar.gz) that would successfully load in my kernel. They DID detect the modem and created /dev/ttyAGS3, but on dialling, wvdial segfaults. I know little of kernel programming mechanics, but it's probably not a matter of patching these to use ALSA through SLMODEMD, is it?
Bjorn.


José Luis Díez Ruiz wrote:
Hello, Marvin

I tested REDFLAG agere modem module with Ubuntu kernel 2.6.22-14-generic,
and the problems are:
- one: change in ALSA version: no problem, I patched with same ALSA
version in 2.6.21.
- two: Ubuntu 2.6.22 is compiled with SLUB allocator memory, and 2.6.21 of
REDFLAG is compiled with SLAB allocator, so this is imposible change it
whithout compile completly the kernel 2.6.22 with SLAB. For testing, i
recompiled 2.6.22 Ubuntu kernel, with SLAB allocator, all it was OK.

The agere module loaded successfully (with modprobe forcing options), and
it appeared ok (modem detected OK, and devices create OK). But when i
configure d gnome-ppp, the kernel crashed in SLAB, so this is imposible.

So it is necessary to has the modem source and recompile (and to adapt
source code), because in the kernel there are changes in memory
allocation.

Jose Luis

---------------------------- Mensaje original ----------------------------
Asunto: Re: modem chip 11c11040
De:     "Marvin Stodolsky" <marvin.stodolsky@xxxxxxxxx>
Fecha:  Sab, 10 de Mayo de 2008, 4:33 am
Para:   "Antonis Tsolomitis" <antonis.tsolomitis@xxxxxxxxx>
Cc:     discuss@xxxxxxxxxxxxx
        "Mark Spieth" <mark@xxxxxxxxxxxxx>
--------------------------------------------------------------------------

Antonis,
   To get the linux-image-2.6.21.0-22.deb package to work with grub,
I had to do some manipulations of the config files.
1) Unpacked the kernel-2.6.21.0-22.rpm  using the Debian tool alien
2) Replaced the Red Flag config files with Debian style config files
This crucially included redirection to tools that Debian/Ubuntu uses
for building the first boot stage RAM disk image,
initramfs-2.6.21.0-22 (or similar name, not under Linux now
3) Assembled the  linux-image-2.6.21.0-22.deb using the the debian
packaging command
$ debian/rules binary
which gets info from the Debian style config files

I suspect you Mandriva process failed because the assembly tools
couldn't properly under the Fedora like config files of
kernel-2.6.21.0-22.rpm
Someone erudite in the differences between Mandriva and Fedora would
be able to work this through.

While not yet definitive, the Red Flag agrmodem.ko & agrserial.ko pair
will I suspect only work with kernels compiled with gcc-4.1.1

I have tried to get the drivers to load under a Ubuntu
2.6.22-14-generic kernel, compiled under gcc-4.1.2
But I have gotten a failure message indicative of compiler version mismatch.
This was even with agrmodem.ko cosmetically masked with Mark Spieth's
fixscript2 tool, so that it appeared to be kernel-version matched with
2.6.22-14-generic

For this reason, every one trying to use these drivers with other
kernels should also check there compiler version with:
$ gcc --dumpversion
or
$ gcc -v
(not under Linux now to check the syntax)

MarvS

Check your g
I just want to report failure with the rpm kernel.

rpm -ihv kernel...rpm

Notice that this rpm does not add a grub entry.
I did that manually. But the kernel fails to boot with strange error.
(the installation is Mandriva 2008 last rc before 2008.1)

Since I read that there was success with Debian I guess the process will
move on
for other kernels too.

Antonis.




--------------------------------------
José Luis Díez Ruiz
Dpto. de Sistemas

SUMINISTROS Y DESARROLLOS TECNOLOGICOS S.L.
C/ Torres Quevedo, 82
41800 Sanlucar La Mayor (Sevilla)
Tel. (+34) 954 78 50 22
Fax. (+34) 955 70 37 77
e-mail joseluis.diez@xxxxxx
web www.sdt.es



__________________________________________________
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