[Prism54-devel] [Bug 86] New: Kernel Oops with apmd from suspend to resume state

bugzilla-daemon at mcgrof.com bugzilla-daemon@mcgrof.com
Thu Jun 3 19:12:32 UTC 2004


http://prism54.org/cgi-bin/bugzilla/show_bug.cgi?id=86

           Summary: Kernel Oops with apmd from suspend to resume state
           Product: prim54
           Version: 1.0.2.2
          Platform: ia32
        OS/Version: Linux 2.4
            Status: NEW
          Severity: critical
          Priority: P3
         Component: Device Driver
        AssignedTo: prism54-devel@prism54.org
        ReportedBy: enico@free.fr
                CC: enico@free.fr


My dell laptop with redhat 7.3 and kernel 2.4.25 have multiple Oops since a 
couple of weeks now. And it's getting more and more frequent.

Here how do apmd manage my prism :
My Netgear WG511 is "ejected" by cardctl before running to suspend state. And it 
is reactivated in the same way by the resume process.

Frequently now, around 1/5 the resume is going into kernel Oops :
Here my /var/log/messages:
Jun  1 23:56:23 handy apmd[697]: System Suspend
Jun  1 23:56:23 handy kernel: eth0: got suspend request (state 3)
Jun  2 21:52:13 handy cardmgr[641]: shutting down socket 0
Jun  2 21:52:13 handy kernel: cs: cb_free(bus 2)
Jun  2 21:52:13 handy kernel: cs: cb_alloc(bus 2): vendor 0x1260, device 0x3890
Jun  2 21:52:13 handy kernel: PCI: Enabling device 02:00.0 (0000 -> 0002)
Jun  2 21:52:14 handy /etc/hotplug/pci.agent: PCI remove event not supported
Jun  2 21:52:14 handy cardmgr[641]: initializing socket 0
Jun  2 21:52:14 handy kernel: eth0: got resume request
Jun  2 21:52:14 handy kernel: Unloaded prism54 driver
Jun  2 21:52:14 handy kernel: Unable to handle kernel paging request at virtual 
address c88b61ef
Jun  2 21:52:14 handy kernel:  printing eip:
Jun  2 21:52:14 handy kernel: c88b61ef
Jun  2 21:52:14 handy kernel: *pde = 07f90067
Jun  2 21:52:14 handy kernel: *pte = 00000000
Jun  2 21:52:14 handy kernel: Oops: 0000
Jun  2 21:52:14 handy kernel: CPU:    0
Jun  2 21:52:14 handy kernel: EIP:    0010:[<c88b61ef>]    Not tainted
Jun  2 21:52:14 handy kernel: EFLAGS: 00010292
Jun  2 21:52:14 handy kernel: eax: fffffff2   ebx: c37121ac   ecx: 00000000   
edx: c2e95df0
Jun  2 21:52:14 handy kernel: esi: c19f8f40   edi: 00000005   ebp: c3712180   
esp: c2e95e08
Jun  2 21:52:14 handy kernel: ds: 0018   es: 0018   ss: 0018
Jun  2 21:52:14 handy cardmgr[641]: unsupported card in socket 0
Jun  2 21:52:14 handy kernel: Process apmd (pid: 697, stackpage=c2e95000)
Jun  2 21:52:14 handy kernel: Stack: c02a4de0 c2e95e18 c19f8f40 c38efa68 
c02a4de0 c88b6c47 00000000 00058930
Jun  2 21:52:14 handy cardmgr[641]:   no product info available
Jun  2 21:52:14 handy /etc/hotplug/pci.agent: Setup prism54 for PCI slot 02:00.0
Jun  2 21:52:14 handy kernel:        c3313676 c38efa68 00000000 c2e95e70 
c88b6854 c88b6cfd c38efa68 c3313676
Jun  2 21:52:14 handy cardmgr[641]:   PCI id: 0x1260, 0x3890
Jun  2 21:52:15 handy kernel:        c220aa20 ffffffff c38efa68 cfffffff 
c88ad000 c88b93c6 c2e95e70 c38efa68
Jun  2 21:52:15 handy logger: pcmcia wireless network
Jun  2 21:52:15 handy kernel: Call Trace:    [<c01e67b6>] [<c01e68eb>] 
[<c01e6918>] [<c01e6a33>] [<c01e6a95>]
Jun  2 21:52:15 handy insmod: /lib/modules/2.4.
25-handy/kernel/drivers/net/wireless/prism54/prism54.o: init_module: No such 
device
Jun  2 21:52:15 handy kernel:   [<c01c5186>] [<c0124962>] [<c0124a64>] 
[<c0111813>] [<c0111f2c>] [<c0146b69>]
Jun  2 21:52:15 handy kernel:   [<c01395a4>] [<c010732f>]
Jun  2 21:52:15 handy kernel:
Jun  2 21:52:15 handy kernel: Code:  Bad EIP value.
Jun  2 21:52:15 handy kernel:  <6>Loaded prism54 driver, version 1.0.2.2
Jun  2 21:52:16 handy kernel: PCI: Enabling device 02:00.0 (0000 -> 0002)
Jun  2 21:52:16 handy kernel: prism54: PCI device memory region not configured; 
fix your BIOS or CardBus bridge/drivers
Jun  2 21:52:16 handy /etc/hotplug/net.agent: invoke ifup eth0
Jun  2 21:52:15 handy insmod: Hint: insmod errors can be caused by incorrect 
module parameters, including invalid IO or IRQ parameters
Jun  2 21:52:16 handy insmod: /lib/modules/2.4.
25-handy/kernel/drivers/net/wireless/prism54/prism54.o: insmod /lib/modules/2.4.
25-handy/kernel/drivers/net/wireless/prism54/prism54.o failed
Jun  2 21:52:16 handy insmod: /lib/modules/2.4.
25-handy/kernel/drivers/net/wireless/prism54/prism54.o: insmod prism54 failed
Jun  2 21:52:16 handy /etc/hotplug/pci.agent: ... can't load module prism54
Jun  2 21:52:16 handy /etc/hotplug/pci.agent: missing kernel or user mode driver 
prism54

This is the first time I am lucky. But I was patient, waiting a long time to get 
my keyboard and X11 working again.Can't wait anymore. Let's try it : the 
physical eject don't hang my laptop ! Focus ! OK sync my filesystem !


I'll have to reboot because of instability. But before rebooting, let's insert 
my prism again. My card seems to work again :

Jun  2 21:55:58 handy kernel: cs: cb_free(bus 2)
Jun  2 21:55:58 handy /etc/hotplug/pci.agent: PCI remove event not supported
Jun  2 21:56:02 handy kernel: cs: cb_alloc(bus 2): vendor 0x1260, device 0x3890
Jun  2 21:56:02 handy kernel: PCI: Enabling device 02:00.0 (0000 -> 0002)
Jun  2 21:56:02 handy cardmgr[641]: initializing socket 0
Jun  2 21:56:02 handy cardmgr[641]: socket 0: NetGear WG511 prism54
Jun  2 21:56:02 handy /etc/hotplug/pci.agent: Setup prism54 for PCI slot 02:00.0
Jun  2 21:56:02 handy kernel: Loaded prism54 driver, version 1.0.2.2
Jun  2 21:56:03 handy logger: pcmcia wireless network
Jun  2 21:56:03 handy /etc/hotplug/net.agent: invoke ifup eth0


*******
Here the ksymoops analysis :
Warning (compare_maps): ksyms_base symbol default_idle_R__ver_default_idle not 
found in System.map.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol 
machine_real_restart_R__ver_machine_real_restart not found in System.map.  
Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol 
pcmcia_lookup_bus_R__ver_pcmcia_lookup_bus not found in System.map.  Ignoring 
ksyms_base entry
Jun  2 21:52:14 handy kernel: Unable to handle kernel paging request at virtual 
address c88b61ef
Jun  2 21:52:14 handy kernel: c88b61ef
Jun  2 21:52:14 handy kernel: *pde = 07f90067
Jun  2 21:52:14 handy kernel: Oops: 0000
Jun  2 21:52:14 handy kernel: CPU:    0
Jun  2 21:52:14 handy kernel: EIP:    0010:[<c88b61ef>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
Jun  2 21:52:14 handy kernel: EFLAGS: 00010292
Jun  2 21:52:14 handy kernel: eax: fffffff2   ebx: c37121ac   ecx: 00000000   
edx: c2e95df0
Jun  2 21:52:14 handy kernel: esi: c19f8f40   edi: 00000005   ebp: c3712180   
esp: c2e95e08
Jun  2 21:52:14 handy kernel: ds: 0018   es: 0018   ss: 0018
Jun  2 21:52:14 handy kernel: Process apmd (pid: 697, stackpage=c2e95000)
Jun  2 21:52:14 handy kernel: Stack: c02a4de0 c2e95e18 c19f8f40 c38efa68 
c02a4de0 c88b6c47 00000000 00058930
Jun  2 21:52:14 handy kernel:        c3313676 c38efa68 00000000 c2e95e70 
c88b6854 c88b6cfd c38efa68 c3313676
Jun  2 21:52:15 handy kernel:        c220aa20 ffffffff c38efa68 cfffffff 
c88ad000 c88b93c6 c2e95e70 c38efa68
Jun  2 21:52:15 handy kernel: Call Trace:    [<c01e67b6>] [<c01e68eb>] 
[<c01e6918>] [<c01e6a33>] [<c01e6a95>]
Jun  2 21:52:15 handy kernel:   [<c01c5186>] [<c0124962>] [<c0124a64>] 
[<c0111813>] [<c0111f2c>] [<c0146b69>]
Jun  2 21:52:15 handy kernel:   [<c01395a4>] [<c010732f>]
Jun  2 21:52:15 handy kernel: Code:  Bad EIP value.

>>EIP; c88b61ef <[fat].bss.end+818/1629>   <=====
Trace; c01e67b6 <pci_pm_resume_device+26/30>
Trace; c01e68eb <pci_pm_resume_bus+2b/70>
Trace; c01e6918 <pci_pm_resume_bus+58/70>
Trace; c01e6a33 <pci_pm_resume+33/50>
Trace; c01e6a95 <pci_pm_callback+45/50>
Trace; c01c5186 <agp_power+16/20>
Trace; c0124962 <pm_send+72/a0>
Trace; c0124a64 <pm_send_all+74/b0>
Trace; c0111813 <suspend+e3/120>
Trace; c0111f2c <do_ioctl+10c/180>
Trace; c0146b69 <sys_ioctl+c9/250>
Trace; c01395a4 <fsync_dev+44/50>
Trace; c010732f <system_call+33/38>


4 warnings issued.  Results may not be reliable.

Many Thanks for Reading



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Prism54-devel mailing list