Bug : Can't read CIS (2.6.0-test4)

Pavel Roskin proski at gnu.org
Mon Sep 15 00:36:10 BST 2003

On Tue, 9 Sep 2003, Russell King wrote:

> This means the correct way to remove the modules is:
> 	cardctl eject
> 	rmmod ds
> 	rmmod i82365
> 	rmmod pcmcia_core
> or
> 	cardctl eject
> 	rmmod i82365
> 	rmmod ds
> 	rmmod pcmcia_core

Not sure about i82365, but the later would crash with yenta_socket and
plx9052, as described here:

Still true with 2.6.0-test5-bk3.  New backtrace is attached.

Pavel Roskin
-------------- next part --------------
Unable to handle kernel paging request at virtual address f5e41004
 printing eip:
*pde = 00508067
*pte = 35e41000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<f88d0ee0>]    Not tainted
EFLAGS: 00010282
EIP is at pcmcia_deregister_client+0x10/0x2f0 [pcmcia_core]
eax: f5e41004   ebx: f6d7c048   ecx: 00000001   edx: f3104000
esi: f5e41004   edi: f88d8da0   ebp: f3105e2c   esp: f3105e04
ds: 007b   es: 007b   ss: 0068
Process rmmod (pid: 832, threadinfo=f3104000 task=f6d32000)
Stack: f6d32000 c011f170 f3105e0c f3105e0c 1d244b3c 00000000 0000000a f6d7c048 
       f6d7c284 f88d8da0 f3105e3c f88c63e7 f5e41004 f88c7978 f3105e60 c026f6da 
       f6d7c284 00000042 f88d8e18 f88d8dec f6d7c284 f6d7c1a8 f6d7c048 f3105e70 
Call Trace:
 [<c011f170>] autoremove_wake_function+0x0/0x50
 [<f88c63e7>] pcmcia_bus_remove_socket+0x37/0x60 [ds]
 [<c026f6da>] class_device_del+0xda/0xf0
 [<c026f704>] class_device_unregister+0x14/0x20
 [<f88cfa86>] pcmcia_unregister_socket+0xa6/0x120 [pcmcia_core]
 [<c0190a23>] dput+0x23/0x700
 [<f88c027d>] yenta_close+0x1d/0xc0 [yenta_socket]
 [<c0203689>] pci_device_remove+0x39/0x40
 [<c026e8e0>] device_release_driver+0x60/0x70
 [<c026e912>] driver_detach+0x22/0x40
 [<c026ebb5>] bus_remove_driver+0x55/0x90
 [<c026f00a>] driver_unregister+0x1a/0x42
 [<c0203877>] pci_unregister_driver+0x17/0x30
 [<f88c1672>] yenta_socket_exit+0x12/0x14 [yenta_socket]
 [<c01409f6>] sys_delete_module+0x136/0x1b0
 [<c015f877>] sys_munmap+0x57/0x80
 [<c010a38f>] syscall_call+0x7/0xb

Code: 66 81 3e e6 51 74 0f ba 21 00 00 00 83 c4 1c 89 d0 5b 5e 5f 

More information about the linux-pcmcia mailing list