Re: Claus Ruge, Germany, kernel 2.6.27.7-9-pae

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

 



Hello Bjorn,

Thank you very much for your reply. I followed your recommendation and
used the proposed tarball. During compilation I've got some warnings:

agrsoftmodem.c: In function 'x_task_queue_init':
agrsoftmodem.c:458: warning: assignment from incompatible pointer type
agrsoftmodem.c: In function 'x_task_queue_init_usb':
agrsoftmodem.c:469: warning: assignment from incompatible pointer type
agrsoftmodem.c: At top level:
agrsoftmodem.c:496: warning: function declaration isn't a prototype
agrsoftmodem.c:522: warning: function declaration isn't a prototype
agrsoftmodem.c:532: warning: function declaration isn't a prototype
agrsoftmodem.c:539: warning: function declaration isn't a prototype
agrsoftmodem.c:135: warning: 'uss_driver' defined but not used
WARNING: could not find /.../.agrmodemlib.o.cmd for /.../agrmodemlib.o

The modules were generated and I tried to load them, but first
with no success:

FATAL: Error inserting agrmodem
(/lib/modules/2.6.27.7-9-pae/kernel/drivers/char/agrmodem.ko): Unknown
symbol in module, or unknown parameter (see dmesg)

FATAL: Error inserting agrserial
(/lib/modules/2.6.27.7-9-pae/kernel/drivers/char/agrserial.ko): No such
device

The dmesg output was:

agrmodem: module license 'Proprietary' taints kernel.
agrmodem: disagrees about version of symbol snd_cards
agrmodem: Unknown symbol snd_cards


However, loading of the modules with modprobe can be forced by using the
option "-f". dmesg output:

agrmodem: no version for "struct_module" found: kernel tainted.
agrmodem: module license 'Proprietary' taints kernel.
*Hello Agere Driver**
Loading module Agere Modem Controller driver version 2.1.80 (2008-10-31)
ttyAGS3 at I/O 0x4 (irq = 217) is a AgereModem
Loading module Agere Modem Interface driver version 2.1.80.0
(2008-10-31)

I now tried wvdial and minicom to access the modem. The only result in
both cases was a segmentation fault. Shortened dmesg output:

==> codecType = 0x32
BUG: unable to handle kernel NULL pointer dereference at 0000006c
IP: [<f8f8df27>] :agrmodem:azlGetResourceInformation+0xd/0x3e
*pdpt = 000000003349c001 *pde = 0000000000000000 
Oops: 0000 [#1] SMP 
last sysfs
file: /sys/devices/pci0000:00/0000:00:1c.1/0000:04:00.0/rfkill/rfkill0/state
Modules linked in: agrserial(N) agrmodem(PFN) (following list snipped)
Supported: No

Pid: 3852, comm: wvdial Tainted: PF         (2.6.27.7-9-pae #1)
EIP: 0060:[<f8f8df27>] EFLAGS: 00010246 CPU: 1
EIP is at azlGetResourceInformation+0xd/0x3e [agrmodem]
EAX: 00000000 EBX: f8fed0c4 ECX: 00000000 EDX: 00000000
ESI: f8fed0c4 EDI: f8fed028 EBP: f2c45d6c ESP: f2c45d50
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process wvdial (pid: 3852, ti=f2c44000 task=f3413210 task.ti=f2c44000)
Stack: f8f78ec9 f8ff75e9 f8ff75ea f8fed028 f2c45ddc c035189c f2c45dbb
f2c45ddc f8f62151 f8fed0c4 f8fea048 00000008 00000001 f8fed39c 00000004
c0535d80 c0535d80 00000000 00000000 c0167ab8 00000000 c0535d80 00000000
00000000 Call Trace:
 [<f8f78ec9>] CAzlIntelInit+0x2d/0x3c4 [agrmodem]
DWARF2 unwinder stuck at CAzlIntelInit+0x2d/0x3c4 [agrmodem]

Leftover inexact backtrace:

 [<c035189c>] printk+0x17/0x1b
 [<f8f62151>] LXHardwareStart+0x11de/0x13fb [agrmodem]
 [<c0167ab8>] handle_edge_irq+0x116/0x11c
 [<f8f5d908>] linux_modem_open+0x45/0x10e [agrmodem]
 [<f8eb007b>] serial8250_start_tx+0x17/0x50 [agrserial]
 [<f8eb007b>] serial8250_start_tx+0x17/0x50 [agrserial]
 [<c01300d8>] __exit_signal+0x20/0x2db
 [<f8f5d8c4>] linux_modem_open+0x1/0x10e [agrmodem]
 [<f8eb7b7a>] modemPortOpen+0x5/0xe [agrmodem]
 [<f8eb0b15>] serial8250_startup+0x80/0x2e2 [agrserial]
 [<c02a8108>] uart_startup+0x66/0x124
 [<c02a8ff8>] uart_open+0xff/0x1b4
 [<c02a8ef9>] uart_open+0x0/0x1b4
 [<c02967eb>] __tty_open+0x192/0x2a0
 [<c029690d>] tty_open+0x14/0x23
 [<c019e889>] chrdev_open+0x14d/0x164
 [<c019e73c>] chrdev_open+0x0/0x164
 [<c019aa97>] __dentry_open+0x10e/0x1fd
 [<c019ac1e>] nameidata_to_filp+0x27/0x37
 [<c01a6294>] do_filp_open+0x36d/0x6ee
 [<c0353669>] unlock_kernel+0x33/0x35
 [<f9107b0a>] reiserfs_file_release+0x2ec/0x2f8 [reiserfs]
 [<c013f713>] autoremove_wake_function+0x0/0x35
 [<c0353472>] _spin_lock+0x12/0x14
 [<c01b1c53>] mnt_drop_write+0x6a/0x123
 [<c019a88d>] do_sys_open+0x46/0xcc
 [<c019a778>] filp_close+0x51/0x58
 [<c019a961>] sys_open+0x23/0x28
 [<c0104c9b>] sysenter_do_call+0x12/0x2f
 =======================
Code: 1a 66 81 78 16 c1 11 75 0c a3 4c 13 fe f8 8b 40 04 83 e0 0f c3 42
83 fa 10 75 de 31 c0 c3 a1 e8 6f 2e f9 31 d2 8b 80 38 01 00 00 <8b> 48
6c 8b 44 91 28 85 c0 74 1d 66 81 78 16 c1 11 75 0f a3 4c 
EIP: [<f8f8df27>] azlGetResourceInformation+0xd/0x3e [agrmodem] SS:ESP
0068:f2c45d50 
---[ end trace fe6c66a309b58da6 ]---


Do you have an idea for what has been gone wrong here?

Claus


You wrote:

>You're in luck- I'm also using SuSE 11.1 with the same modem, and I have
>it working.
>You'll need this tarball:
>http://linux.zsolttech.com/linmodem/agrsm/agrsm-2.1.80-4mdv2009.0.tgz
>
>extract, and issue 'make module'.
>Then, as super user, 'make install'. This will install scripts and the
>modules. The scripts will autoload the modules on boot.
>
>If you don't want to reboot, use '/etc/init.d/agr_softmodem start'.
>Modules should be loaded, and then you can configure your favourite
>dialler to use /dev/ttyAGS3 as the modem port.
>
>Bjorn.

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

  Powered by Linux