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