John Murphy
06/28/2010 8:59 AM
post57965
|
I'm working on a new io-pkt Ethernet driver under 6.4.1, and am
experiencing some strange behavior. If I unload the driver (ifconfig
destroy) and then try to load (mount) a new version, the driver that
gets "loaded" is frequently the old driver, the one I just unloaded and
which no longer exists on the disk; i.e., it's as if the unloaded driver
is still in memory, and an attempt to load a new version simply
"reactivates" the version still in memory, instead of loading a copy
from disk. I realize that this would be the expected action if I had
multiple interfaces using the one driver and didn't unload all of them,
but that is not the case. Even stranger, static variables that should
be initialized at startup are NOT initialized, but have the same values
that had just before the driver was unloaded. All the symptoms seem to
suggest that for some reason the driver never completely unloaded, but
I've looked through all the relevant code and can't find anything that
would explain such behavior.
Anyone has any ideas about what I should look for?
Murf
|
|
|