2.6.x kernels & PCI-to-PCMCIA bridges [again]

Russell King rmk+pcmcia at arm.linux.org.uk
Wed May 5 22:48:43 BST 2004


On Wed, May 05, 2004 at 09:48:10PM +0300, jar wrote:
> So I added 1 s delay before rmmods, and now the pcmcia script works
> correctly and the kernel doesn't panic. By doing service pcmcia restart,
> _all_ related modules are unloaded and thus no "cs: unable to map card
> memory!" messages.

If a 1s delay fixes the problem, this is fairly worrying - cardctl
eject is supposed to act synchronously as far as ejecting the card
is concerned, so when cardctl eject returns, the socket driver
should have a use count of zero.

Needs more investigation.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core



More information about the linux-pcmcia mailing list