Re: Kernel 2.3.5/PCMCIA 3.0.12 hot swap problem

David Hinds (dhinds@lahmed.stanford.edu)
Wed, 16 Jun 1999 20:51:19 -0700


Keith Owens wrote:
> Check your kernel messages, you will probably find an Oops from
> cardmgr. I get them on 2.2.9 with pcmcia-cs-12 when removing an
> active card, although it is intermittent. When it occurs, pcmcia is
> effectively dead until a reboot.

With what card(s)?

> There are known problems with pcmcia using services from interrupt
> context when it should not. AFAIK, they existed in 2.0 as well, 2.2
> changes seem to trigger them more often. Until pcmcia is fixed it
> looks like you will have to ifconfig eth0 down before popping the
> card.

They may be known, but not by me. I've fixed all the network drivers
to not call unregister_netdev() from timer context: I did that in
3.0.10. I am unaware of other such problems: if they exist, let me
know, because otherwise, I'm not likely to do anything to fix them.

In Derrick's case, it turned out that he had only verified the bug
with the Wavelan IEEE card with a post-3.0.10 PCMCIA distribution.
This driver is not included in the PCMCIA package and hasn't yet been
updated to work around the problem.

-- Dave Hinds

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/