Re: Shivku, India kernel 2.6.28-11-generic - Need Help - Segmentation fault on driver testing

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

 



Resending this as I sent it only to Nikolay earlier. I did dig deeper
a bit, But I am clueless on how to proceed.

Any help would be deeply appreciated.
Thanks,
Shivku

On Thu, Jun 11, 2009 at 7:55 PM, Shiva Kumar <shivku@xxxxxxxxx> wrote:
>
> Nikolay,
>
> Attaching the dmesg, make and var/log/messages files during
> compilation, loading and running agrsm-test. I used the latest package
> from zsolt's site, but doesnt make a difference.
>
> Make gives me only this warning:
> WARNING: could not find
> /home/shivku/Desktop/Modem/2.1.89-9/usr/src/agrsm-2.1.80-7mdv2009.0/.agrmodemlib.o.cmd
> for /home/shivku/Desktop/Modem/2.1.89-9/usr/src/agrsm-2.1.80-7mdv2009.0/agrmodemlib.o
>
> Everything else is as smooth as it can get. I am trying to dig a
> little deeper with these messages, but I thought i will send it across
> just in case you (or someone else) have seen this before.
>
> People are reporting this to be a kernel bug elsewhere when searched
> for with no resolution.
> Shivku
>
> ==========dmesg:
>
> > [  694.034992] agrmodem: module license 'Proprietary' taints kernel.
> > [  694.038536] * Hello Agere Driver **
> > [  700.074744] Loading module Agere Modem Controller driver version 2.1.80 (2008-10-31)
> > [  719.010832] ttyAGS3 at I/O 0x4 (irq = 248) is a AgereModem
> > [  719.010963] Loading module Agere Modem Interface driver version 2.1.80.0 (2008-10-31)
> > [  745.858821] ==> codecType = 0x32
> > [  745.902380] Kill Request for PID, FAKING!
> > [  745.996906] ------------[ cut here ]------------
> > [  745.996916] kernel BUG at /build/buildd/linux-2.6.28/mm/slub.c:2743!
> > [  745.996922] invalid opcode: 0000 [#1] SMP
> > [  745.996931] last sysfs file: /sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/rfkill/rfkill0/state
> > [  745.996938] Dumping ftrace buffer:
> > [  745.996945]    (ftrace buffer empty)
> > [  745.996949] Modules linked in: agrserial agrmodem(P) i915 drm binfmt_misc ppdev bridge stp bnep vboxnetflt vboxdrv input_polldev lp parport snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss arc4 snd_seq_midi snd_rawmidi ecb snd_seq_midi_event snd_seq snd_timer snd_seq_device snd iwlagn iwlcore soundcore leds_hp_disk led_class mac80211 snd_page_alloc intel_agp joydev iTCO_wdt uvcvideo video agpgart lis3lv02d iTCO_vendor_support compat_ioctl32 pcspkr psmouse serio_raw cfg80211 videodev v4l1_compat output btusb usbhid sky2 fbcon tileblit font bitblit softcursor
> > [  745.997068]
> > [  745.997074] Pid: 5856, comm: wvdialconf Tainted: P           (2.6.28-11-generic #42-Ubuntu) HP Compaq 6530s
> > [  745.997081] EIP: 0060:[<c01b838a>] EFLAGS: 00210246 CPU: 1
> > [  745.997092] EIP is at kfree+0xba/0xc0
> > [  745.997097] EAX: 00040000 EBX: c0a08000 ECX: 017e3000 EDX: c1014100
> > [  745.997102] ESI: f87320c4 EDI: f8732028 EBP: ee8c7cf4 ESP: ee8c7cdc
> > [  745.997107]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> > [  745.997114] Process wvdialconf (pid: 5856, ti=ee8c6000 task=f4457110 task.ti=ee8c6000)
> > [  745.997119] Stack:
> > [  745.997122]  ee8c7cf0 00000001 f87320c4 00000000 f87320c4 f8732028 ee8c7cfc f97cb9eb
> > [  745.997139]  ee8c7d1c f988ca93 c0a08000 00000000 00000003 f987ea67 f87320c4 f87320c4
> > [  745.997155]  ee8c7d2c f988cbaf f87320c4 00000010 ee8c7d9c f9876812 f87320c4 00646d43
> > [  745.997174] Call Trace:
> > [  745.997183]  [<f97cb9eb>] ? x_kfree+0xb/0x10 [agrmodem]
> > [  745.997238]  [<f988ca93>] ? CAzlIntelClose+0x9b/0xbb [agrmodem]
> > [  745.997312]  [<f987ea67>] ? CodecInstallIsr+0x21/0x131 [agrmodem]
> > [  745.997403]  [<f988cbaf>] ? CAzlIntelStart+0xfc/0x102 [agrmodem]
> > [  745.997481]  [<f9876812>] ? LXHardwareStart+0x125f/0x13fb [agrmodem]
> > [  745.997572]  [<c0122d58>] ? default_spin_lock_flags+0x8/0x10
> > [  745.997585]  [<f9871f48>] ? linux_modem_open+0x45/0x10e [agrmodem]
> > [  745.997675]  [<c0144437>] ? __mod_timer+0xa7/0xf0
> > [  745.997687]  [<f97cc178>] ? modemPortOpen+0x8/0x20 [agrmodem]
> > [  745.997735]  [<f82c9d70>] ? serial8250_startup+0x30/0x340 [agrserial]
> > [  745.997754]  [<c034586b>] ? uart_startup+0x4b/0x140
> > [  745.997764]  [<c034629b>] ? uart_open+0xab/0x1b0
> > [  745.997772]  [<c032e9b0>] ? __tty_open+0x1b0/0x460
> > [  745.997782]  [<c032ec7f>] ? tty_open+0x1f/0x40
> > [  745.997790]  [<c01c030d>] ? chrdev_open+0xcd/0x1a0
> > [  745.997799]  [<c01bb8b6>] ? __dentry_open+0xb6/0x260
> > [  745.997807]  [<c01bbb37>] ? nameidata_to_filp+0x47/0x60
> > [  745.997815]  [<c01c0240>] ? chrdev_open+0x0/0x1a0
> > [  745.997823]  [<c01c8e19>] ? do_filp_open+0x1c9/0x7b0
> > [  745.997833]  [<c0502cf8>] ? _spin_lock+0x8/0x10
> > [  745.997841]  [<c01d387d>] ? mntput_no_expire+0x1d/0x120
> > [  745.997850]  [<c01d1f30>] ? alloc_fd+0xe0/0x100
> > [  745.997858]  [<c01bb67f>] ? do_sys_open+0x5f/0x130
> > [  745.997866]  [<c01beb4f>] ? fput+0x1f/0x30
> > [  745.997873]  [<c01bb7b9>] ? sys_open+0x29/0x40
> > [  745.997881]  [<c0103f6b>] ? sysenter_do_call+0x12/0x2f
> > [  745.997889]  [<c0500000>] ? relay_hotcpu_callback+0x6d/0xbd
> > [  745.997899] Code: 75 f8 8b 7d fc 89 ec 5d c3 8b 41 08 85 c0 78 ca 8b 01 8b 51 0c 89 04 93 89 19 eb d4 f6 c4 60 74 0a 89 d0 e8 99 f0 fd ff 90 eb d1 <0f> 0b eb fe 66 90 55 83 e8 60 89 e5 e8 35 ff ff ff 5d c3 8d 76
> > [  745.998000] EIP: [<c01b838a>] kfree+0xba/0xc0 SS:ESP 0068:ee8c7cdc
> > [  745.998013] ---[ end trace 6b784cb156fe0209 ]---
>
>
> ============MAKE OUTPUT:
> make -C /lib/modules/2.6.28-11-generic/build
> M=/home/shivku/Desktop/Modem/2.1.89-9/usr/src/agrsm-2.1.80-7mdv2009.0
> modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
>  CC [M]  /home/shivku/Desktop/Modem/2.1.89-9/usr/src/agrsm-2.1.80-7mdv2009.0/agrsoftmodem.o
>  SHIPPED /home/shivku/Desktop/Modem/2.1.89-9/usr/src/agrsm-2.1.80-7mdv2009.0/agrmodemlib.o
>  CC [M]  /home/shivku/Desktop/Modem/2.1.89-9/usr/src/agrsm-2.1.80-7mdv2009.0/HDA.o
>  CC [M]  /home/shivku/Desktop/Modem/2.1.89-9/usr/src/agrsm-2.1.80-7mdv2009.0/serial26.o
>  LD [M]  /home/shivku/Desktop/Modem/2.1.89-9/usr/src/agrsm-2.1.80-7mdv2009.0/agrmodem.o
>  LD [M]  /home/shivku/Desktop/Modem/2.1.89-9/usr/src/agrsm-2.1.80-7mdv2009.0/agrserial.o
>  Building modules, stage 2.
>  MODPOST 2 modules
> WARNING: could not find
> /home/shivku/Desktop/Modem/2.1.89-9/usr/src/agrsm-2.1.80-7mdv2009.0/.agrmodemlib.o.cmd
> for /home/shivku/Desktop/Modem/2.1.89-9/usr/src/agrsm-2.1.80-7mdv2009.0/agrmodemlib.o
>  CC      /home/shivku/Desktop/Modem/2.1.89-9/usr/src/agrsm-2.1.80-7mdv2009.0/agrmodem.mod.o
>  LD [M]  /home/shivku/Desktop/Modem/2.1.89-9/usr/src/agrsm-2.1.80-7mdv2009.0/agrmodem.ko
>  CC      /home/shivku/Desktop/Modem/2.1.89-9/usr/src/agrsm-2.1.80-7mdv2009.0/agrserial.mod.o
>  LD [M]  /home/shivku/Desktop/Modem/2.1.89-9/usr/src/agrsm-2.1.80-7mdv2009.0/agrserial.ko
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
>
> ===========/var/log/messages OUTPUT:
>
> Jun 11 17:50:49 shivku-laptop kernel: [   27.165111] [drm] Initialized
> i915 1.6.0 20080730 on minor 0
> Jun 11 17:50:52 shivku-laptop kernel: [   29.992578] sky2 eth0:
> enabling interface
> Jun 11 17:50:52 shivku-laptop kernel: [   29.992810]
> ADDRCONF(NETDEV_UP): eth0: link is not ready
> Jun 11 17:50:52 shivku-laptop kernel: [   29.993524] iwlagn
> 0000:02:00.0: firmware: requesting iwlwifi-5000-1.ucode
> Jun 11 17:50:52 shivku-laptop kernel: [   30.359158] Registered led
> device: iwl-phy0:radio
> Jun 11 17:50:52 shivku-laptop kernel: [   30.359185] Registered led
> device: iwl-phy0:assoc
> Jun 11 17:50:52 shivku-laptop kernel: [   30.359202] Registered led
> device: iwl-phy0:RX
> Jun 11 17:50:52 shivku-laptop kernel: [   30.359217] Registered led
> device: iwl-phy0:TX
> Jun 11 17:50:52 shivku-laptop kernel: [   30.376886]
> ADDRCONF(NETDEV_UP): wlan0: link is not ready
> Jun 11 17:51:12 shivku-laptop kernel: [   50.172115]
> ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
> Jun 11 18:01:57 shivku-laptop kernel: [  694.034992] agrmodem: module
> license 'Proprietary' taints kernel.
> Jun 11 18:01:57 shivku-laptop kernel: [  694.038536] * Hello Agere Driver **
> Jun 11 18:02:22 shivku-laptop kernel: [  719.010832] ttyAGS3 at I/O
> 0x4 (irq = 248) is a AgereModem
> Jun 11 18:02:22 shivku-laptop kernel: [  719.010963] Loading module
> Agere Modem Interface driver version 2.1.80.0 (2008-10-31)
> Jun 11 18:02:49 shivku-laptop kernel: [  745.858821] ==> codecType = 0x32
> Jun 11 18:02:49 shivku-laptop kernel: [  745.902380] Kill Request for
> PID, FAKING!
> Jun 11 18:02:49 shivku-laptop kernel: [  745.996938] Dumping ftrace buffer:
> Jun 11 18:02:49 shivku-laptop kernel: [  745.996945]    (ftrace buffer empty)
> Jun 11 18:02:49 shivku-laptop kernel: [  745.996949] Modules linked
> in: agrserial agrmodem(P) i915 drm binfmt_misc ppdev bridge stp bnep
> vboxnetflt vboxdrv input_polldev lp parport snd_hda_intel snd_pcm_oss
> snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss arc4 snd_seq_midi
> snd_rawmidi ecb snd_seq_midi_event snd_seq snd_timer snd_seq_device
> snd iwlagn iwlcore soundcore leds_hp_disk led_class mac80211
> snd_page_alloc intel_agp joydev iTCO_wdt uvcvideo video agpgart
> lis3lv02d iTCO_vendor_support compat_ioctl32 pcspkr psmouse serio_raw
> cfg80211 videodev v4l1_compat output btusb usbhid sky2 fbcon tileblit
> font bitblit softcursor
> Jun 11 18:02:49 shivku-laptop kernel: [  745.997068]
> Jun 11 18:02:49 shivku-laptop kernel: [  745.997074] Pid: 5856, comm:
> wvdialconf Tainted: P           (2.6.28-11-generic #42-Ubuntu) HP
> Compaq 6530s
> Jun 11 18:02:49 shivku-laptop kernel: [  745.997081] EIP:
> 0060:[<c01b838a>] EFLAGS: 00210246 CPU: 1
> Jun 11 18:02:49 shivku-laptop kernel: [  745.997092] EIP is at kfree+0xba/0xc0
> Jun 11 18:02:49 shivku-laptop kernel: [  745.997097] EAX: 00040000
> EBX: c0a08000 ECX: 017e3000 EDX: c1014100
> Jun 11 18:02:49 shivku-laptop kernel: [  745.997102] ESI: f87320c4
> EDI: f8732028 EBP: ee8c7cf4 ESP: ee8c7cdc
> Jun 11 18:02:49 shivku-laptop kernel: [  745.997107]  DS: 007b ES:
> 007b FS: 00d8 GS: 0033 SS: 0068
> Jun 11 18:02:49 shivku-laptop kernel: [  745.997122]  ee8c7cf0
> 00000001 f87320c4 00000000 f87320c4 f8732028 ee8c7cfc f97cb9eb
> Jun 11 18:02:49 shivku-laptop kernel: [  745.998013] ---[ end trace
> 6b784cb156fe0209 ]---
>
>
> On Thu, Jun 11, 2009 at 1:37 AM, Nikolay Zhuravlev<xxor@xxxxxxx> wrote:
> > Shivku,
> >
> >  Some info may get sent to /var/log/messages when a segfault occures.
> >  You can run 'tail -f /var/log/messages' in one terminal window and
> >  run wvdialconf in another one and see what is appended to the messages file.
> >  Also, run dmesg before and after the crash occures.
> >
> >  IIRC a core file is created when an application crashes. Basically, it is a
> > memory snapshot of the state of the process when it crashed.  I think that
> > modern kernels by default are configured not to dump the core file (I haven't
> > seen one for the last 9 years or so).  It is useless for regular users, so the
> > feature has been turned off at some point.
> >
> > Do you get any warnings reported during the compilation?
> >
> > There is also a newer package, the 8th revision available somewhere at the
> > Zsolt's site. Search the list archive for this message:
> >
> > <<<<
> > Date: Wed, 3 Jun 2009 22:29:34 +0200
> > From: Zsolt László BÉRCZES <zsolt@xxxxxx>
> > To: Discuss@xxxxxxxxxxxxx
> > Subject: new packages (was: agrsm on 2.6.30)
> >>>>>
> >
> > --
> > WBR, Nikolay Zhuravlev
> >
> > Thus spake Shiva Kumar (shivku@xxxxxxxxx):
> >
> >> Hi,
> >> I am not able to catch the core dump either. My ulimit -c is set to
> >> unlimited and I dont see anything in /var/crash. Is a driver crash
> >> different from an app crash? How & do I need to find the core to debug
> >> at all?
> >>
> >> Thanks,
> >> Shivku
> >>
> >> On Wed, Jun 10, 2009 at 2:20 PM, Shiva Kumar<shivku@xxxxxxxxx> wrote:
> >> > Hi Nikolay,
> >> > No luck. Segmentation fault again. There are two things I wonder:
> >> > * Alsa? But, My laptop sound is fine. I am able to hear sounds.
> >> > * How do I compile the sources with debug symbols so that I can
> >> > capture the core dump? ( I am unsure where to add the -g option )
> >> >
> >> > Thanks for the continued help.
> >> > Shivku
> >> >
> >> > 2009/6/10 Nikolay Zhuravlev <xxor@xxxxxxx>:
> >> >> Shiva,
> >> >>
> >> >>  I was talking about using the standard 2.6.28 kernel with the
> >> >> dkms-agrsm_2.1.80-7_i386. However, it should work with the 2.6.27
> >> >> kernel, too.
> >> >>
> >> >>  Can you try the following:
> >> >>
> >> >>  1. Unload the modules
> >> >>  sudo modprobe -r agrserial
> >> >>  sudo modprobe -r agrmodem
> >> >>
> >> >>  2. extract the sources
> >> >>  dpkg -x dkms-agrsm_2.1.80-7_i386.deb tmp
> >> >>
> >> >>  3. Build & install them
> >> >>  cd tmp/usr/src/agrsm-2.1.80-7mdv2009.0
> >> >>  make clean
> >> >>  make
> >> >>  sudo make modules_install
> >> >>
> >> >>  4. Try how it works
> >> >>  sudo modprobe agrmodem
> >> >>  sudo modprobe agrserial
> >> >>  sudo ln -s /dev/ttyAGS3 /dev/ttySAGR
> >> >>  sudo wvdialconf /etc/wvdial.conf
> >> >>
> >> >>
> >> >>  I am not sure if it is of any help, but I include my ModemData.txt file
> >> >>  here so you can compare it to what you have and see if there are any
> >> >>  differences that matter. I think the only differences are the Intel chipset
> >> >>  revision, and the GCC toolchain version.
> >> >>
> >> >> --
> >> >> WBR, Nikolay Zhuravlev
> >> >>
> >> >> Thus spake Shiva Kumar (shivku@xxxxxxxxx):
> >> >>
> >> >>> Hi Nikolay,
> >> >>> I downgraded my kernel to 2.6.27-11, rebooted, installed
> >> >>> dkms-agrsm_2.1.80-7_i386 and I end up with the same segmentation
> >> >>> fault.
> >> >>>
> >> >>> ADDITIONAL iNFO:
> >> >>> shivku@shivku-laptop:~/Desktop/Modem$ sudo aptitude show dkms-agrsm
> >> >>> Package: dkms-agrsm
> >> >>> New: yes
> >> >>> State: installed
> >> >>> Automatically installed: no
> >> >>> Version: 2.1.80-7
> >> >>>
> >> >>> shivku@shivku-laptop:~/Desktop/Modem$ uname -a
> >> >>> Linux shivku-laptop 2.6.27-11-generic #1 SMP Wed Apr 1 20:57:48 UTC
> >> >>> 2009 i686 GNU/Linux
> >> >>>
> >> >>> agrsm-test.txt:
> >> >>>
> >> >>> Loading drivers:
> >> >>>
> >> >>> Drivers loaded:
> >> >>> agrserial              19808  0
> >> >>> agrmodem             1259268  1
> >> >>> snd                    63268  17
> >> >>> agrmodem,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
> >> >>>
> >> >>> and symbolic link created:
> >> >>> lrwxrwxrwx 1 root root 12 2009-06-09 23:33 /dev/ttySAGR -> /dev/ttyAGS3
> >> >>>
> >> >>> Checking for utility wvdialconf
> >> >>> Found /usr/bin/wvdialconf, preparing to run:
> >> >>>         wvdialconf /etc/wvdial.conf
> >> >>>
> >> >>> Modem Port Scan<*1>: S0   S1   S2   S3   Segmentation fault
> >> >>>
> >> >>> A reboot may be necessary before modem detection through:
> >> >>>         sudo modprobe agrserial
> >> >>> Which will load agrmodem, agrserial and create the symbolic link needed for:
> >> >>>         sudo wvdialconf
> >> >>> The installation record has been written to ./agrsm-test.txt
> >> >>>
> >> >>>
> >> >>> Thanks,
> >> >>> Shivku
> >> >>>
> >> >>> On Mon, Jun 8, 2009 at 12:45 AM, Nikolay Zhuravlev<xxor@xxxxxxx> wrote:
> >> >>> > Shiva,
> >> >>> >
> >> >>> > The dkms-agrsm_2.1.80-6_i386.deb listed in the scanModem output doesn't have
> >> >>> > support for the 2.6.28 kernel. As an alternative to downgrading the kernel, you
> >> >>> > may try dkms-agrsm_2.1.80-7_i386.deb. The support for 11c11040 there is in need
> >> >>> > of testing.
> >> >>> >
> >> >>> > --
> >> >>> > WBR, Nikolay Zhuravlev
> >> >>> >
> >> >>> > Thus spake Shiva Kumar (shivku@xxxxxxxxx):
> >> >>> >
> >> >>> >> Hello all,
> >> >>> >> Based on ModemData.txt, I went ahead and followed the instructions
> >> >>> >> only to be stuck with a segmentation fault with sudo agrsm-test and
> >> >>> >> sudo wvdialconf /etc/wvdial.conf
> >> >>> >>
> >> >>> >> Please find attached modemData.txt and agrsm-test.txt
> >> >>> >>
> >> >>> >> I browsed through the archives, but didnt really find any reply to this problem.
> >> >>> >>
> >> >>> >> Any help would be appreciated & Thanks in advance.
> >> >>> >>
> >> >>> >>
> >> >>> >> ModemData.txt:
> >> >>> >> --------------------------  System information ----------------------------
> >> >>> >> CPU=i686,
> >> >>> >> Linux version 2.6.28-11-generic (buildd@palmer) (gcc version 4.3.3
> >> >>> >> (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009
> >> >>> >>  scanModem update of:  2009_05_31
> >> >>> >>
> >> >>> >>  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 046d:c03d Logitech, Inc. M-BT69a Pilot Optical Mouse
> >> >>> >>  ID 04f2:b083 Chicony Electronics Co., Ltd
> >> >>> >>  ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface
> >> >>> >> [Integrated Module]
> >> >>> >> If a cellphone is not detected, see
> >> >>> >> http://ubuntuforums.org/archive/index.php/t-878554.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:293e    103c:30e8    Audio device: Intel Corporation 82801I
> >> >>> >>
> >> >>> >>  Modem interrupt assignment and sharing:
> >> >>> >> 2296:       4489       4473   PCI-MSI-edge      HDA Intel
> >> >>> >>  --- Bootup diagnostics for card in PCI slot 00:1b.0 ----
> >> >>> >> [    0.576735] pci 0000:00:1b.0: reg 10 64bit mmio: [0x98900000-0x98903fff]
> >> >>> >> [    0.576777] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
> >> >>> >> [    0.576782] pci 0000:00:1b.0: PME# disabled
> >> >>> >> [   15.946017] HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
> >> >>> >> [   15.946028] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 17 (level,
> >> >>> >> low) -> IRQ 17
> >> >>> >> [   15.946157] HDA Intel 0000:00:1b.0: irq 2296 for MSI/MSI-X
> >> >>> >> [   15.946198] HDA Intel 0000:00:1b.0: setting latency timer to 64
> >> >>> >>
> >> >>> >>  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.18
> >> >>> >> The modem cards detected by "aplay -l"  are: None
> >> >>> >>
> >> >>> >>
> >> >>> >> The /proc/asound/pcm file reports:
> >> >>> >> -----------------------
> >> >>> >> 00-00: AD198x Analog : AD198x Analog : playback 1 : capture 2
> >> >>> >>
> >> >>> >> about /proc/asound/cards:
> >> >>> >> ------------------------
> >> >>> >>  0 [Intel          ]: HDA-Intel - HDA Intel
> >> >>> >>                       HDA Intel at 0x98900000 irq 2296
> >> >>> >>
> >> >>> >>  PCI slot 00:1b.0 has a High Definition Audio Card
> >> >>> >>  The drivers are in the kernel modules tree at:
> >> >>> >>  /lib/modules/2.6.28-11-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
> >> >>> >> Vendor Id: 0x11c11040
> >> >>> >> Subsystem Id: 0x103c1378
> >> >>> >> 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 82801I "
> >> >>> >> CLASS=0403
> >> >>> >> PCIDEV=8086:293e
> >> >>> >> SUBSYS=103c:30e8
> >> >>> >> IRQ=2296
> >> >>> >> HDA=8086:293e
> >> >>> >> SOFT=8086:293e.HDA
> >> >>> >> HDAchipVendorID=11c1
> >> >>> >> CHIP=0x11c11040
> >> >>> >> IDENT=agrsm
> >> >>> >> Driver=agrsm
> >> >>> >>
> >> >>> >>  For candidate modem in:  00:1b.0
> >> >>> >>    0403 Audio device: Intel Corporation 82801I
> >> >>> >>       Primary device ID:  8086:293e
> >> >>> >>     Subsystem PCI_id  103c:30e8
> >> >>> >>     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 +
> >> >>> >> agrsm driver pair.
> >> >>> >> One resource site is http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
> >> >>> >> Thereat get the agrsm_howto.txt and one of the agrsm-tools packages.
> >> >>> >> The initial agrsm_howto.txt compiling steps are only cogent to modems
> >> >>> >> with PCI IDs:
> >> >>> >>    11c1:0620, 11c1:048c and 11c1:048f chips.
> >> >>> >>    They use the agrsm-20090418.tar.gz package.
> >> >>> >> The agrsm-tools sets a useful symbolic link and a agrsm-test utlity
> >> >>> >>
> >> >>> >> For AgereSystems/LSI with Vendor 11c1 chips hosted on High Definition
> >> >>> >> Audio cards, there may be support
> >> >>> >> through the agrsm resources (providing an agrmodem + agrserial driver
> >> >>> >> pair) as an alternative to usage
> >> >>> >> of the snd-hda-intel driver + slmodemd helper. For the 11c11040 modem
> >> >>> >> chip, ONLY the agrsm code is competent.
> >> >>> >> Your Linux distro's dkms package should be first installed, as it
> >> >>> >> directs the installation of modem
> >> >>> >> specific dkms-agrsm resources, and also directs auto-installation of
> >> >>> >> new drivers upon kernel upgrades.
> >> >>> >>
> >> >>> >> Currently, the dkms-agrsm code is NOT competent for 2.26.28 and later kernels.
> >> >>> >> A short term fix is to install linux-image + linux-headers packages
> >> >>> >> for earlier kernels.
> >> >>> >> For example, for Ubuntu Jaunty with 2.6.28 kernels, linux-image +
> >> >>> >> linux-headers packages
> >> >>> >> for earlier 2.26.27 series Intrepid kernels can be installed. Search
> >> >>> >> for them at:
> >> >>> >>    http://packages.ubuntu.com
> >> >>> >>
> >> >>> >>
> >> >>> >> The primary dkms-agrsm resource site is
> >> >>> >> http://linux.zsolttech.com/linmodem/agrsm/
> >> >>> >> whereat a few different packaging types are available. Debian type
> >> >>> >> installers (supporting Ubuntu too)
> >> >>> >> are copied to http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
> >> >>> >> . Thereat the current package
> >> >>> >> is the dkms-agrsm_2.1.80-6_i386.deb is for Agere/LSI chipsets hosted
> >> >>> >> on High Definition Audio cards.
> >> >>> >> Read the Modem/DOCs/Agrsm.txt for details.
> >> >>> >>
> >> >>> >> -------------- 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.3.3
> >> >>> >>              and the compiler used in kernel assembly: 4.3.3
> >> >>> >>
> >> >>> >>
> >> >>> >>
> >> >>> >>  Minimal compiling resources appear complete:
> >> >>> >>    make utility - /usr/bin/make
> >> >>> >>    Compiler version 4.3
> >> >>> >>    linuc_headers base folder /lib/modules/2.6.28-11-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.
> >> >>> >>
> >> >>> >>
> >> >>> >> Compressed files at: /usr/src/vpb-driver.tar.bz2
> >> >>> >>
> >> >>> >>
> >> >>> >> 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-x 1 root dip 277352 2009-02-20 22:55 /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
> >> >>> >>
> >> >>> >> Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0
> >> >>> >> wlan0 wmaster0
> >> >>> >> 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:options snd-atiixp-modem index=-2
> >> >>> >> /etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2
> >> >>> >> /etc/modprobe.d/agrsm.conf:## setup agrsm modem with only: "sudo
> >> >>> >> modprobe agrserial"
> >> >>> >> /etc/modprobe.d/agrsm.conf:install agrserial /sbin/modprobe
> >> >>> >> --ignore-install agrmodem ; /sbin/modprobe --ignore-install agrserial
> >> >>> >> && \
> >> >>> >> /etc/modprobe.d/agrsm.conf:remove agrserial /sbin/modprobe -r
> >> >>> >> --ignore-remove agrserial ; /sbin/modprobe -r --ignore-remove agrmodem
> >> >>> >> && { if test -L /dev/ttySAGR; then rm /dev/ttySAGR; fi } ; true
> >> >>> >> /etc/modprobe.d/agrsm.conf:# to automate bootup  "sudo modprobe agrmodem"
> >> >>> >> /etc/modprobe.d/agrsm.conf:## to setup agrsm modem with only: "sudo
> >> >>> >> modprobe agrmodem"
> >> >>> >> /etc/modprobe.d/agrsm.conf:# install agrmodem /sbin/modprobe
> >> >>> >> --ignore-install agrmodem && \
> >> >>> >> /etc/modprobe.d/agrsm.conf:## of effects of agrmodem and agrserial loading
> >> >>> >> /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 --------
> >> >>> >>
> >> >>> >> --------------------------------------------------agrsm-test.txt-----------------------------------------------------------
> >> >>> >>
> >> >>> >>
> >> >>> >> Loading drivers:
> >> >>> >>
> >> >>> >> Drivers loaded:
> >> >>> >> agrserial              19808  0
> >> >>> >> agrmodem             1258372  1
> >> >>> >> snd                    62628  17
> >> >>> >> agrmodem,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
> >> >>> >>
> >> >>> >> and symbolic link created:
> >> >>> >> lrwxrwxrwx 1 root root 12 2009-06-05 21:24 /dev/ttySAGR -> /dev/ttyAGS3
> >> >>> >>
> >> >>> >> Checking for utility wvdialconf
> >> >>> >> Found /usr/bin/wvdialconf, preparing to run:
> >> >>> >>         wvdialconf /etc/wvdial.conf
> >> >>> >>
> >> >>> >> Modem Port Scan<*1>: S0   S1   S2   S3   Segmentation fault
> >> >>> >>
> >> >>> >> A reboot may be necessary before modem detection through:
> >> >>> >>         sudo modprobe agrserial
> >> >>> >> Which will load agrmodem, agrserial and create the symbolic link needed for:
> >> >>> >>         sudo wvdialconf
> >> >>> >>
> >> >>> >>
> >> >>> >> The installation record has been written to ./agrsm-test.txt
> >> >>> >>
> >> >>> >>
> >> >>> >>
> >> >>> >> --
> >> >>> >> Shivku,
> >> >>> >> http://blog.shivku.com
> >> >>> >
> >> >>>
> >> >>>
> >> >>>
> >> >>> --
> >> >>> Shivku,
> >> >>> http://blog.shivku.com
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Shivku,
> >> > http://blog.shivku.com
> >> >
> >>
> >>
> >>
> >> --
> >> Shivku,
> >> http://blog.shivku.com
> >
>
>
>
> --
> Shivku,
> http://blog.shivku.com



--
Shivku,
http://blog.shivku.com


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

  Powered by Linux