Re: NULL pointer dereference

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

 



Hello MarvS,
In fact i've tried this .deb yes, but also to compile the modules from
the tar.gz (http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm-11c11040-2.1.80~20091225.tar.bz2),
i even tried the dkms one, and many others.. I always got the same
null pointer dereference problem, i'm going to try your unloading
script and report back.
Thanks!
Kevin

2010/2/2 Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>:
> Bjorn
>
> The ALSA verion is 1.0.20 on Kevin's system on the compilation was
> done on board.
> So in this case ALSA mismatch would not seem to be the cause on his:
> Linux version 2.6.31-18-generic (buildd@rothera) (gcc version 4.4.1
> (Ubuntu 4.4.1-4ubuntu8)
>
> Kevin,
>   Presumable you are using my installer compiler package:
> agrsm-11c11040_20091225_i386.deb  ??
>
> MarvS
>
> On Mon, Feb 1, 2010 at 7:57 PM, Bjorn Wielens <Uniacke1@xxxxxxxx> wrote:
>> Marv, Kevin:
>> Just a heads up- These crashes/segfaults almost ALWAYS caused by a
>> mismatch between the agrsm driver version and the ALSA version on your
>> computer.
>>
>> Which driver package are you using, and what is the output of
>> 'cat /proc/asound/version'?
>>
>> The ALSA version for my most recently prepared tarball and its
>> derivatives is 1.0.20. Any newer is not yet supported.
>>
>> Thanks,
>> Bjorn.
>>
>>
>> On 02/01/2010 08:37 PM, Marvin Stodolsky wrote:
>>> Kevin,
>>>
>>> You are using the correct drivers.
>>> Try detaching external devices as much as possible before bootup, and
>>> shutting down non-essential programs  before using the modem.  You
>>> could check whether the problems begin during a simple activation
>>> with:
>>> $ sudo wvdialconf  wvtest
>>> or only during an actual dialout.
>>>
>>> I'll also send you an "unloading" script, which tries to unload
>>> non-essential modules.
>>> Also try using it before modem usage as:
>>> $ sudo ./unloading
>>>
>>> Sadly we don't have debugging capability for these drivers, because
>>> there is a closed source component.
>>>
>>> MarvS
>>>
>>> On Mon, Feb 1, 2010 at 11:59 AM, Kevin Fernandez <siegfri3d@xxxxxxxxx> wrote:
>>>> Sorry this was an old modemdata, i removed slmodem a long time ago.. I
>>>> attached a new modemdata.txt.
>>>> On windows it says:
>>>> Agere Systems HDA modem
>>>> Slot 1 (internal High Definition Audio bus)
>>>>
>>>> device ID HDAUDIO\FUNC_02&VEN_11C1&DEV_1040&SUBSYS_11C10001&REV_1002
>>>>
>>>> Thanks for the help!
>>>> Kevin
>>>>
>>>> 2010/2/1 Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>:
>>>>> Kevin,
>>>>>
>>>>> Under install the hsfmodem software.  It is for Conexant modem chips
>>>>> and may be interferring.
>>>>> Then rerun scanModem
>>>>> As described in SoftModem.txt, please get diagnostic info under Microsoft too.
>>>>>
>>>>> MarvS
>>>>> scanModem maintainer
>>>>>
>>>>>
>>>>> On Mon, Feb 1, 2010 at 12:57 AM, Kevin Fernandez <siegfri3d@xxxxxxxxx> wrote:
>>>>>> Hello there,
>>>>>> I'm trying to get my modem working for some days, still no luck.
>>>>>> I've attached the modemdata.
>>>>>> I compile the driver (agrsm-11c11040-2.1.80~20091225), i install it
>>>>>> and load the modules, then i get:
>>>>>> [  677.293574] * Hello Agere Driver **
>>>>>> [  677.293623] usbcore: registered new interface driver agr12dec2006
>>>>>> [  680.664348] Loading module Agere Modem Controller driver version
>>>>>> 2.1.80 (2007-10-01)
>>>>>> [  680.664354] Disabling lock debugging due to kernel taint
>>>>>> [  683.898153] serial8250_register_ports: BaseAddress 0x8004 Irq 20
>>>>>> [  683.898160] ttyAGS3 at I/O 0x8004 (irq = 20) is a AgereModem
>>>>>> [  683.898229] agrserial - ret_val 0, call: lt_modem_ops.init_modem
>>>>>> [  683.898234] Loading module Agere Modem Interface driver version
>>>>>> 2.1.80.0 (2007-10-01)
>>>>>>
>>>>>>
>>>>>> then i fire up wvdial to use the device and i get nothing, but i have
>>>>>> this in dmesg:
>>>>>>
>>>>>> [  694.818705] ==> codecType = 0x32
>>>>>> [  694.848151] BUG: unable to handle kernel NULL pointer dereference at 00000060
>>>>>> [  694.848167] IP: [<f986a498>] ResumeCallBack+0x18/0x34 [agrmodem]
>>>>>> [  694.848264] *pde = 7e584067
>>>>>> [  694.848271] Oops: 0000 [#1] SMP
>>>>>> [  694.848280] last sysfs file: /sys/devices/system/cpu/cpu1/topology/core_id
>>>>>> [  694.848287] Modules linked in: agrserial agrmodem isofs udf
>>>>>> crc_itu_t binfmt_misc ppdev vboxnetflt vboxnetadp vboxdrv joydev
>>>>>> snd_hda_codec_realtek wlan_scan_sta ath_rate_sample snd_hda_intel
>>>>>> pcmcia snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm
>>>>>> snd_seq_dummy uvcvideo videodev v4l1_compat sdhci_pci sdhci led_class
>>>>>> yenta_socket rsrc_nonstatic pcmcia_core psmouse serio_raw iptable_nat
>>>>>> nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_mangle
>>>>>> iptable_filter ip_tables x_tables ath_pci wlan ath_hal snd_seq_oss
>>>>>> snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer
>>>>>> snd_seq_device snd soundcore snd_page_alloc sbp2 lp parport dm_raid45
>>>>>> xor fbcon tileblit font bitblit softcursor i915 drm i2c_algo_bit
>>>>>> ohci1394 ieee1394 r8169 mii intel_agp video agpgart output
>>>>>> [  694.848449]
>>>>>> [  694.848457] Pid: 7339, comm: wvdial Tainted: P
>>>>>> (2.6.31-18-generic #55-Ubuntu) MSI Notebook VR601
>>>>>> [  694.848465] EIP: 0060:[<f986a498>] EFLAGS: 00010282 CPU: 0
>>>>>> [  694.848550] EIP is at ResumeCallBack+0x18/0x34 [agrmodem]
>>>>>> [  694.848557] EAX: f02c0800 EBX: 00000000 ECX: 01828000 EDX: f986a480
>>>>>> [  694.848563] ESI: e650dc9c EDI: f02c0800 EBP: e650dc58 ESP: e650dc40
>>>>>> [  694.848569]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
>>>>>> [  694.848577] Process wvdial (pid: 7339, ti=e650c000 task=e6e9e480
>>>>>> task.ti=e650c000)
>>>>>> [  694.848582] Stack:
>>>>>> [  694.848586]  00000000 00000003 0002a22c f02c0800 e650dc9c f02c0800
>>>>>> e650dc64 f8bdeca2
>>>>>> [  694.848604] <0> f02c0800 e650dc70 f8bdcd84 efcfa200 e650dc94
>>>>>> f8bdce20 100f0000 0100cc9f
>>>>>> [  694.848622] <0> e650dc9c efcfa274 000f0000 e650dc9c f9947028
>>>>>> e650dca8 f8bdde41 ffffffff
>>>>>> [  694.848643] Call Trace:
>>>>>> [  694.848668]  [<f8bdeca2>] ? hda_call_codec_resume+0x42/0x70 [snd_hda_codec]
>>>>>> [  694.848691]  [<f8bdcd84>] ? snd_hda_power_up+0x34/0x60 [snd_hda_codec]
>>>>>> [  694.848711]  [<f8bdce20>] ? codec_exec_verb+0x70/0xc0 [snd_hda_codec]
>>>>>> [  694.848741]  [<f8bdde41>] ? snd_hda_codec_read+0x31/0x40 [snd_hda_codec]
>>>>>> [  694.848801]  [<f989a999>] ? LnxTransferCodecVerbs+0x49/0x60 [agrmodem]
>>>>>> [  694.848890]  [<f9884b1b>] ? VerbTransfer+0x2f/0x3c [agrmodem]
>>>>>> [  694.848976]  [<f9884b73>] ? GetAzCodecID+0x4b/0x63 [agrmodem]
>>>>>> [  694.849063]  [<f9885788>] ? CAzlIntelInit+0x4c/0x3c4 [agrmodem]
>>>>>> [  694.849085]  [<c05718fc>] ? printk+0x18/0x1c
>>>>>> [  694.849173]  [<f986e9f1>] ? LXHardwareStart+0x11de/0x13fb [agrmodem]
>>>>>> [  694.849199]  [<c01b7ea5>] ? get_page_from_freelist+0x1c5/0x370
>>>>>> [  694.849209]  [<c0573cba>] ? _spin_lock_irqsave+0x2a/0x40
>>>>>> [  694.849295]  [<f986a1a8>] ? linux_modem_open+0x45/0x10e [agrmodem]
>>>>>> [  694.849316]  [<c0150bbb>] ? mod_timer+0xcb/0x140
>>>>>> [  694.849376]  [<f97c42a8>] ? wrap_linux_modem_open+0x8/0x10 [agrmodem]
>>>>>> [  694.849435]  [<f97c4308>] ? modemPortOpen+0x8/0x20 [agrmodem]
>>>>>> [  694.849447]  [<f818cfe0>] ? serial8250_startup+0x210/0x380 [agrserial]
>>>>>> [  694.849457]  [<c039ceb6>] ? uart_startup+0x46/0x140
>>>>>> [  694.849465]  [<c039d9f2>] ? uart_open+0x102/0x220
>>>>>> [  694.849475]  [<c0384af3>] ? __tty_open+0x1a3/0x460
>>>>>> [  694.849483]  [<c0384dcf>] ? tty_open+0x1f/0x40
>>>>>> [  694.849493]  [<c01eabfd>] ? chrdev_open+0xcd/0x190
>>>>>> [  694.849502]  [<c01e5bd9>] ? __dentry_open+0xb9/0x230
>>>>>> [  694.849511]  [<c01e5e35>] ? nameidata_to_filp+0x55/0x70
>>>>>> [  694.849520]  [<c01eab30>] ? chrdev_open+0x0/0x190
>>>>>> [  694.849530]  [<c01f3b8a>] ? do_filp_open+0x53a/0x890
>>>>>> [  694.849540]  [<c01e5970>] ? do_sys_open+0x50/0x150
>>>>>> [  694.849548]  [<c01e9425>] ? fput+0x15/0x20
>>>>>> [  694.849556]  [<c01e5847>] ? filp_close+0x47/0x70
>>>>>> [  694.849564]  [<c01e5ad9>] ? sys_open+0x29/0x40
>>>>>> [  694.849573]  [<c01033ac>] ? syscall_call+0x7/0xb
>>>>>> [  694.849578] Code: 89 d8 83 c4 2c 5b 5e 5f 5d c3 90 90 90 90 90 90
>>>>>> 90 90 90 55 89 e5 53 83 ec 14 8b 1d e8 e3 8e f9 c7 44 24 04 03 00 00
>>>>>> 00 89 1c 24 <ff> 53 60 c7 44 24 04 00 00 00 00 89 1c 24 ff 53 60 b8 00
>>>>>> 00 00
>>>>>> [  694.849687] EIP: [<f986a498>] ResumeCallBack+0x18/0x34 [agrmodem]
>>>>>> SS:ESP 0068:e650dc40
>>>>>> [  694.849777] CR2: 0000000000000060
>>>>>> [  694.849784] ---[ end trace e662cdc749dd82f6 ]---
>>>>>>
>>>>>>
>>>>>> As you can see i'm running ubuntu karmic, kernel 2.6.31-18-generic .
>>>>>> Sometimes wvdial even freezes my computer.
>>>>>> Any help is appreciated!
>>>>>> Thanks
>>>>>>
>>>>>
>>>>
>>>
>>
>>
>


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

  Powered by Linux