Re: NULL pointer dereference

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

 



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
>>
>
 Only plain text email is forwarded by the  Discuss@xxxxxxxxxxxxx List Server,
 as HTML can contain viruses. Use as the email Subject Line:
           YourName, YourCountry  kernel 2.6.31-18-generic 
 With this Subject Line cogent experts will be alerted, and useful case names left in the Archive.
 YourCountry will enable Country specific guidance. Linux experts in YourCountry 
 can be found through: http://www.linux.org/groups/index.html.
They will know your Country's modem code, which may be essential for dialup service.
Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an Internet Provider mail filters.
 So in a day, also check the Archived responses at http://www.linmodems.org 
--------------------------  System information ----------------------------
CPU=i686,  
Linux version 2.6.31-18-generic (buildd@rothera) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) ) #55-Ubuntu SMP Fri Jan 8 14:55:26 UTC 2010
 scanModem update of:  2010_01_22


The dkms driver upgrade utilities are installed,

 There are no blacklisted modem drivers in /etc/modprobe*  files 

 Potentially useful modem drivers now loaded are:
       snd_hda_intel           

Attached USB devices are:
 ID 0c45:62c0 Microdia Sonix USB 2.0 Camera
If a cellphone is not detected, see http://ubuntuforums.org/archive/index.php/t-878554.html
A sample report is:  http://linmodems.technion.ac.il/bigarch/archive-nineth/msg00578.html

If a USB modem or cellphone is attached and was not detected, please
provide available information in your request to discuss@xxxxxxxxxxxxx

For candidate card in slot 00:1b.0, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:1b.0	8086:284b	1462:3ff3	Audio device: Intel Corporation 82801H 

 Modem interrupt assignment and sharing: 
 20:        832        823   IO-APIC-fasteoi   HDA Intel
 --- Bootup diagnostics for card in PCI slot 00:1b.0 ----
[    0.191424] pci 0000:00:1b.0: reg 10 64bit mmio: [0xfe0f8000-0xfe0fbfff]
[    0.191500] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[    0.191506] pci 0000:00:1b.0: PME# disabled
[   41.730448] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[   41.730496] HDA Intel 0000:00:1b.0: setting latency timer to 64
[   41.810377] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input8

 The PCI slot 00:1b.0 of the modem card may be disabled early in 
 a bootup process,  but then enabled later. If modem drivers load 
 but the  modem is not responsive, read DOCs/Bootup.txt about possible fixes.
 Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
 if help is needed.
 


===== Advanced Linux Sound Architecture (ALSA) diagnostics ===== 
The ALSA packages provide audio support and also drivers for some modems.
ALSA diagnostics are written during bootup to /proc/asound/ folders.

The ALSA verion is 1.0.20
The modem cards detected by "aplay -l"  are: None


The /proc/asound/pcm file reports:
-----------------------
00-00: ALC883 Analog : ALC883 Analog : playback 1 : capture 1
00-01: ALC883 Digital : ALC883 Digital : playback 1
00-02: ALC883 Analog : ALC883 Analog : capture 1

about /proc/asound/cards:
------------------------
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfe0f8000 irq 20
===== Advanced Linux Sound Architecture (ALSA) diagnostics ===== 
The ALSA packages provide audio support and also drivers for some modems.
ALSA diagnostics are written during bootup to /proc/asound/ folders.

The ALSA verion is 1.0.20
The modem cards detected by "aplay -l"  are: None


The /proc/asound/pcm file reports:
-----------------------
00-00: ALC883 Analog : ALC883 Analog : playback 1 : capture 1
00-01: ALC883 Digital : ALC883 Digital : playback 1
00-02: ALC883 Analog : ALC883 Analog : capture 1

about /proc/asound/cards:
------------------------
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfe0f8000 irq 20

 PCI slot 00:1b.0 has a High Definition Audio Card
 The drivers are in the kernel modules tree at:
 /lib/modules/2.6.31-15-generic/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.31-17-generic/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.31-13-generic/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.31-16-generic/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.31-14-generic/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.31-18-generic/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.24-20-generic/kernel/sound/pci/hda/snd-hda-intel.ko
 The modem codec file for the HDA card is: /proc/asound/card0/codec#1
--------------------------------------------------------
Codec: LSI ID 1040
Address: 1
Function Id: 0x2
Vendor Id: 0x11c11040
Subsystem Id: 0x11c10001
Revision Id: 0x100200
Modem Function Group: 0x1

 The audio card hosts a softmodem chip:  0x11c11040
If not a Conexant modem, the driver agrsm with its dependent drivers:

----------
provide audio + modem support with the modem chip residing on the subsystem.
Any particular card can host any one of several soft modem chips. 

=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

Predictive  diagnostics for card in bus 00:1b.0:
	Modem chipset  detected on
NAME="Audio device: Intel Corporation 82801H "
CLASS=0403
PCIDEV=8086:284b
SUBSYS=1462:3ff3
IRQ=20
HDA=8086:284b
SOFT=8086:284b.HDA
HDAchipVendorID=11c1
CHIP=0x11c11040
IDENT=agrsm
Driver=agrsm

 For candidate modem in:  00:1b.0
   0403 Audio device: Intel Corporation 82801H 
      Primary device ID:  8086:284b
    Subsystem PCI_id  1462:3ff3 
    Softmodem codec or chipset from diagnostics: 0x11c11040
                               from    Archives: 
                        The HDA card softmodem chip is 0x11c11040
      

Support type needed or chipset:	agrsm


Writing DOCs/Intel.txt

The AgereSystems/LSI agrsm code supports compiling of a agrmodem + agrserial driver pair.
There are a few different chipsets which use this driver pair, but they use different code resources:
Chipsets			KV*	PackageNames (most current as of November 2009)
----------------------------------------------------------------------------------------------
11c1:048c and 11c1:048f         2.6.29	agrsm048pci-2.1.60_20100108_i386.deb or agrsm048pci-2.1.60_20100108.tar.gz
11c1:0620                       2.6.31  agrsm06pci-2.1.80_20100106_i386.deb or agrsm06pci-2.1.80~20100106.tar.gz !!
11c11040 (on HDA audio cards)   2.6.31  agrsm-11c11040-2.1.80~20091225.tar.bz2  !!
   All available at: http://linmodems.technion.ac.il/packages/ltmodem/11c11040/   , whereat additionally
automation & testing                    agrsm-tools_0.0.1_all.deb or agrsm-tools-0.0.1-2.noarch.rpm
General background                      agrsm_howto.txt 
for rpm variants of dkms-agrsm , see  http://linux.zsolttech.com/linmodem/agrsm/
------------------------------------------------------------------------------------------------
* KV == latest kernel release with a reported success 
!! Latest update with major credit to  Nikolay Zhuravlev
   But see conflict issue: http://linmodems.technion.ac.il/bigarch/archive-nineth/msg02753.html 
Report from  Bjorn Wielens:
Please note- trying to load the modules on a OpenSuSE 11.2 system gives
 an error about the module_version symbol. Using:
# modprobe --force agrmodem
# modprobe --force agrserial 
is necessary to load the drivers, and does not appear to cause ill effects.


All of the above packages are dkms competent.  This means that if your Linux distros dkms package
is previously installed, if provides for future updates matching forthcoming kernels.

-------------- end Agere Systems section -------------------

 Completed candidate modem analyses.

 The base of the UDEV device file system is: /dev/.udev

 Versions adequately match for the compiler installed: 4.4.1
             and the compiler used in kernel assembly: 4.4.1


 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.4
   linuc_headers base folder /lib/modules/2.6.31-18-generic/build

 However some compilations and executable functions may need additional files,
 in the FileNames.h (so called kernel "h"eaders) collection installed in  /usr/include/ .
 For martian_modem, additional required packages are needed. The also required headers of package libc6 are commonly installed by default. 
 Compiling hsfmodem drivers does require linux-libc-dev and libc6-dev packages, for kernels 2.6.24 and later versions.
 In not included on your install CD, search for them at http://packages.ubuntu.com
 or comparable Repository for other Linux distros.
 When compiling ALSA drivers, the utility "patch" will also be needed.




If a driver compilation fails, with message including some lack of some FileName.h (stdio.h for example), then
Some additional kernel-header files need installation to /usr/include. The minimal additional packages are libc6-dev
and any of its dependents, under Ubuntu linux-libc-dev

If an alternate ethernet connection is available,
$  apt-get update
$  apt-get -s install linux-kernel-devel
will install needed packages.
For Debian/Ubuntu related distributions, run the following command to display the needed package list:

Otherwise packages have to be found through http://packages.ubuntu.com
Once downloaded and transferred into a Linux partition,
they can be installed alltogether with:
$ sudo dpkg -i *.deb


Checking pppd properties:
	-rwsr-xr-- 1 root dip 277352 2009-02-20 14:25 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
    http://linmodems.technion.ac.il/linmodems/archive-sixth/msg02637.html

To enable dialout without Root permission do:
	$ su - root  (not for Ubuntu)
        sudo chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
	sudo chmod a+x /usr/sbin/pppd

Checking settings of:	/etc/ppp/options
asyncmap 0
noauth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

In case of a message like:
   Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html

For guidance on FAX usage, get from http://linmodems.technion.ac.il/packages/  get faxing.tar.gz
It has samples for a modem using port /dev/ttySL0, which must be changed to match your modem's port.

Read Modem/DOCs/YourSystem.txt concerning other COMM channels: ath0 eth0 wifi0
Which can interfere with Browser naviagation.

 Don't worry about the following, it is for experts should trouble shooting be necessary.
==========================================================

 Checking for modem support lines:
 --------------------------------------
     /device/modem symbolic link:   
slmodemd created symbolic link /dev/ttySL0:  
     Within /etc/udev/ files:

     Within /etc/modprobe.conf files:
/etc/modprobe.d/alsa-base.conf.dpkg-old:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base.conf.dpkg-old:options snd-via82xx-modem index=-2
/etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2
/etc/modprobe.d/blacklist-modem.conf:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-via82xx-modem
     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------


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

  Powered by Linux