Kernel panic when re-inserting Adaptec PCMCIA card

Randy.Dunlap rdunlap at xenotime.net
Mon Jul 3 17:44:57 EDT 2006


On Sun, 2 Jul 2006 20:48:42 +0200 Dominik Brodowski wrote:

> Hi,
> 
> On Thu, Jun 15, 2006 at 04:29:12PM -0700, Randy.Dunlap wrote:
> > It gets even worse for me.  Card ejection does not cause
> > aha152x_detach() to be called. but I don't see why not.
> > Dominik, can you give me a clue here, please?
> 
> Is aha152x bound to it in between? Also, does its ->probe() function return
> zero or not?

Hi,

What does that first question mean?
I typically remove the card and then unload the driver in my
testing.

Anyway, I upgraded to a "new" distro (open SUSE Linux 10.1).

Unfortunately, I am still seeing:
pcmcia: Detected deprecated PCMCIA ioctl usage from process: hald.

aha152x_cs ->probe() is returning 0.

I notice that when I remove the card and then rmmod the driver,
the usage count on module "pcmcia" (in lsmod) is increasing by 2
for each load/unload of aha152x_cs.  Is this due to the deprecated
ioctl usage or something else?  Actually the usage count goes up
by 3 each time that I insert the card and load the driver,
then it goes down by 1 when I remvoe the card and rmmod the driver.

Thanks,
---
~Randy



More information about the linux-pcmcia mailing list