suguestions/tools to trace un-unloadable driver.

David H. Lynch Jr. dhlii at dlasys.net
Sun Aug 31 05:41:30 EDT 2008


    I am working on a PCMCIA driver for one of our cards.
    this driver currently works, but I can not unload(rmmod) it once it
ha loaded.
    I have tried matching all the resource creation/allocations against
destruction/deallocations,
    and can't find a mismatch.  I get no messages hinting at a problem
in dmesg. 

    Are there any tools, suggestions things to look at, to how to figure
out what I might have left undone
    when exiting the driver ?

    I have a PCI version of the same driver (just different defines when
compiling) an that does not exhibit this problem,
    so it is very likely I missed something PCMCIA specific.
    I have compared to several other drivers without seeing anything
obvious.


    Thank you.



-- 
Dave Lynch 					  	    DLA Systems
Software Development:  				         Embedded Linux
717.627.3770 	       dhlii at dlasys.net 	  http://www.dlasys.net
fax: 1.253.369.9244 			           Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.

"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein




More information about the linux-pcmcia mailing list