BCC : to S. Sarkar at LSI, Inc. Soumyendu, We have many happy users of your agrsm code a But we below is documented a problem arising during recovery from hybernation. We hope that presently a fix may be available. Should you need a test system contact cgomez.cu@xxxxxxxxx Thanks MarvS On Mon, Oct 13, 2008 at 11:14 AM, cgomez.cu <cgomez.cu@xxxxxxxxx> wrote: > > Hi MarvS > > I put here dmesg output when I tray load de modules after hibernate. Perhaps > illustrates something important > > [ 40.681830] ata2.00: configured for UDMA/33 > [ 40.836593] sd 0:0:0:0: [sda] Starting disk > [ 40.840382] PM: Image restored successfully. > [ 40.889089] Restarting tasks ... done. > [ 40.890337] swsusp: Basic memory bitmaps freed > [ 41.156257] ieee1394: Host added: ID:BUS[0-00:1023] > GUID[00023f71a84009d3] > [ 41.334333] r8169 Gigabit Ethernet driver 2.2LK loaded > [ 41.334360] ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 18 (level, low) -> > IRQ 18 > [ 41.334371] PCI: cache line size of 32 is not supported by device > 0000:05:00.0 > [ 41.334378] ACPI: PCI interrupt for device 0000:05:00.0 disabled > [ 41.334385] r8169: probe of 0000:05:00.0 failed with error -22 > [ 41.864570] CPU0 attaching NULL sched-domain. > [ 41.864576] CPU1 attaching NULL sched-domain. > [ 41.880790] CPU0 attaching sched-domain: > [ 41.880795] domain 0: span 03 > [ 41.880797] groups: 01 02 > [ 41.880801] domain 1: span 03 > [ 41.880803] groups: 03 > [ 41.880805] CPU1 attaching sched-domain: > [ 41.880807] domain 0: span 03 > [ 41.880809] groups: 02 01 > [ 41.880811] domain 1: span 03 > [ 41.880813] groups: 03 > [ 42.281027] CPU0 attaching NULL sched-domain. > [ 42.281035] CPU1 attaching NULL sched-domain. > [ 42.299579] CPU0 attaching sched-domain: > [ 42.299587] domain 0: span 03 > [ 42.299589] groups: 01 02 > [ 42.299594] domain 1: span 03 > [ 42.299596] groups: 03 > [ 42.299598] CPU1 attaching sched-domain: > [ 42.299600] domain 0: span 03 > [ 42.299602] groups: 02 01 > [ 42.299605] domain 1: span 03 > [ 42.299606] groups: 03 > [ 46.696143] usb 1-2: new low speed USB device using uhci_hcd and address > 2 > [ 46.717066] usb 1-2: configuration #1 chosen from 1 choice > [ 46.869334] usbcore: registered new interface driver hiddev > [ 46.875374] input: Logitech USB-PS/2 Optical Mouse as > /devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0/input/input9 > [ 46.880966] input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical > Mouse] on usb-0000:00:1d.0-2 > [ 46.881497] usbcore: registered new interface driver usbhid > [ 46.881847] /build/buildd/linux-2.6.24/drivers/hid/usbhid/hid-core.c: > v2.6:USB HID core driver > [ 69.876181] agrmodem: no version for "snd_cards" found: kernel tainted. > [ 69.878659] * Hello Agere Driver ** > [ 70.196246] Loading module Agere Modem Controller driver version 2.1.80 > (2007-10-1) > [ 70.206659] ttyAGS3 at I/O 0x4 (irq = 21) is a AgereModem > [ 70.206885] Loading module Agere Modem Interface driver version 2.1.80.0 > (2007-10-01) > [ 71.541250] ==> codecType = 0x32 > [ 71.548308] BUG: unable to handle kernel NULL pointer dereference at > virtual address 00000060 > [ 71.548321] printing eip: f92d31e8 *pde = 00000000 > [ 71.548330] Oops: 0000 [#1] SMP > [ 71.548337] Modules linked in: agrserial agrmodem(PF) usbhid hid r8169 > i915 drm vmnet(P) vmblock(P) vmmon(P) rfcomm l2cap bluetooth ipv6 ppdev > acpi_cpufreq cpufreq_userspace cpufreq_ondemand cpufreq_powersave > cpufreq_conservative cpufreq_stats freq_table dock sbs sbshc iptable_filter > ip_tables x_tables sbp2 parport_pc lp parport af_packet joydev pcmcia > snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm iwl3945 snd_page_alloc > snd_hwdep iwlwifi_mac80211 cfg80211 snd_seq_dummy snd_seq_oss snd_seq_midi > snd_rawmidi snd_seq_midi_event battery sdhci snd_seq container ac snd_timer > snd_seq_device video output tifm_7xx1 snd psmouse mmc_core yenta_socket > rsrc_nonstatic pcmcia_core serio_raw tifm_core button shpchp pci_hotplug > evdev iTCO_wdt iTCO_vendor_support pcspkr soundcore intel_agp agpgart ext3 > jbd mbcache sg sr_mod cdrom sd_mod ata_generic ata_piix pata_acpi libata > scsi_mod ohci1394 ieee1394 ehci_hcd uhci_hcd usbcore thermal processor fan > fbcon tileblit font bitblit softcursor fuse > [ 71.548489] > [ 71.548495] Pid: 7010, comm: wvdialconf Tainted: PF > (2.6.24-19-generic #1) > [ 71.548501] EIP: 0060:[<f92d31e8>] EFLAGS: 00010296 CPU: 0 > [ 71.548614] EIP is at ResumeCallBack+0x18/0x34 [agrmodem] > [ 71.548620] EAX: f7546600 EBX: 00000000 ECX: 00000282 EDX: f92d31d0 > [ 71.548626] ESI: 00000000 EDI: f7546600 EBP: dd49dd14 ESP: dd49dcfc > [ 71.548632] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 > [ 71.548638] Process wvdialconf (pid: 7010, ti=dd49c000 task=ebb9ab80 > task.ti=dd49c000) > [ 71.548643] Stack: 00000000 00000003 0002e50c f7546600 00000000 f7546600 > 00000000 f8decb57 > [ 71.548658] f7546600 f8decbb2 00000f00 f8dec4be c048e934 00000096 > 00000f00 f7546600 > [ 71.548672] f8d8d028 dd49dd64 f9303667 00000f00 00000000 dd49dd88 > f8d8d0c4 f92ed86b > [ 71.548685] Call Trace: > [ 71.548723] [<f8decb57>] hda_call_codec_resume+0x27/0x50 [snd_hda_intel] > [ 71.548776] [<f8decbb2>] snd_hda_power_up+0x32/0x60 [snd_hda_intel] > [ 71.548825] [<f8dec4be>] snd_hda_codec_read+0x1e/0x80 [snd_hda_intel] > [ 71.548884] [<f9303667>] LnxTransferCodecVerbs+0x47/0x60 [agrmodem] > [ 71.548990] [<f92ed86b>] VerbTransfer+0x2f/0x3c [agrmodem] > [ 71.549111] [<f92ed8c3>] GetAzCodecID+0x4b/0x63 [agrmodem] > [ 71.549251] [<f92ee4d8>] CAzlIntelInit+0x4c/0x3c4 [agrmodem] > [ 71.549372] [<c012d1bb>] printk+0x1b/0x20 > [ 71.549394] [<f92d7741>] LXHardwareStart+0x11de/0x13fb [agrmodem] > [ 71.549531] [<c031e21a>] do_page_fault+0x20a/0x730 > [ 71.549583] [<f92d2ef8>] linux_modem_open+0x45/0x10e [agrmodem] > [ 71.549717] [<c013007b>] do_exit+0x46b/0x860 > [ 71.549739] [<f922cf45>] modemPortOpen+0x5/0x10 [agrmodem] > [ 71.549807] [<f8d67edb>] serial8250_startup+0x18b/0x360 [agrserial] > [ 71.549843] [<c02797c9>] uart_startup+0x49/0x160 > [ 71.549864] [<c027b05a>] uart_open+0xfa/0x420 > [ 71.549881] [<c02615a4>] check_tty_count+0x14/0xb0 > [ 71.549890] [<c02154cf>] kobject_get+0xf/0x20 > [ 71.549916] [<c0265383>] tty_open+0x143/0x2f0 > [ 71.549936] [<c0265240>] tty_open+0x0/0x2f0 > [ 71.549948] [<c0194a33>] chrdev_open+0xa3/0x190 > [ 71.549969] [<c018fdef>] __dentry_open+0xbf/0x1c0 > [ 71.549988] [<c018ffa5>] nameidata_to_filp+0x35/0x40 > [ 71.550000] [<c0194990>] chrdev_open+0x0/0x190 > [ 71.550013] [<c0190000>] do_filp_open+0x50/0x60 > [ 71.550052] [<c018fca2>] get_unused_fd_flags+0x52/0xd0 > [ 71.550073] [<c019005c>] do_sys_open+0x4c/0xe0 > [ 71.550094] [<c019012c>] sys_open+0x1c/0x20 > [ 71.550105] [<c01043c2>] sysenter_past_esp+0x6b/0xa9 > [ 71.550144] ======================= > [ 71.550148] 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 28 7e 35 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 > [ 71.550220] EIP: [<f92d31e8>] ResumeCallBack+0x18/0x34 [agrmodem] SS:ESP > 0068:dd49dcfc > [ 71.550340] ---[ end trace 4bc4e4f871d8e6b7 ]--- > > > > > Marvin Stodolsky wrote: >> >> CG, >> >> Unfortunately there is likely nothing that can be done. >> The driver code has a precompiled component, wherein in cannot be >> explored as to what is wrong. >> >> MarvS >> >> On Fri, Oct 10, 2008 at 10:24 AM, cgomez.cu <cgomez.cu@xxxxxxxxx> wrote: >>> >>> Hi, >>> >>> After fresh reboot, i load the modules agrmodem and agrserial, and use a >>> modem fine. When finish to use it, I can unload modules (modprobe -r) and >>> load them without problem and wvdial detect it. If unload the modules and >>> hibernate, when i recover i can load the modules once again but when run >>> wvdial first time it say "Segmentation fault", if i run second time, it >>> don't respond. I think in dependencies problem. Maybe some module are >>> blocked after hibernate process. If i try upload module once again it >>> say: >>> >>> cgomez@grtau:~/Desktop$ sudo modprobe -r agrserial >>> FATAL: Module agrserial is in use. >>> >>> cgomez@grtau:~/Desktop$ sudo modprobe -r agrmodem >>> FATAL: Module agrmodem is in use. >>> >>> >>> After it, hibernate don't work and log the fallowing message: >>> /usr/lib/pm-utils/functions: line 162: echo: write error: Device or >>> resource >>> busy >>> >>> Sorry my English >>> >>> Regards >>> Carlos A >>> >>> >>> >>> >>> Bjorn Wielens wrote: >>>> >>>> Hello, >>>> What happens if you unload the two modules BEFORE hibernating, and then >>>> reload them after coming out of hibernation? >>>> >>>> Thanks, >>>> Bjorn. >>>> >>>> >>>> cgomez.cu wrote: >>>>> There are two unsolved problems after some hours of googling and >>>>> rebooting. >>>>> 1st) Resuming from an hibernation locks the device, so trying to unload >>>>> the >>>>> module retuns "FATAL: Module agrserial is in use." and the same for >>>>> agrmodem. Wvdialconf reports no modem, even when before hibernation it >>>>> make >>>>> a good summary, but it appears that it's locked (wvdialconf said: " Is >>>>> it >>>>> in >>>>> use by another program?"). The locked device make impossible a second >>>>> hibernation. A reboot sequence unlocks the device but I need to use >>>>> hibernation. >>>>> 2nd) After all the configurations the symlink /dev/ttySAGR doesn't come >>>>> up, >>>>> even from a fresh start (shutdown, start). >>>>> I will thank any help. >>>> >>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/agrsm-ubuntu8.04.1-2.6.24-19-generic-problems-tp19910921p19919359.html >>> Sent from the Linux Winmodem Support - Discussion mailing list archive at >>> Nabble.com. >>> >>> >> >> > > -- > View this message in context: http://www.nabble.com/agrsm-ubuntu8.04.1-2.6.24-19-generic-problems-tp19910921p19956432.html > Sent from the Linux Winmodem Support - Discussion mailing list archive at Nabble.com. > >