Issue with loading a module

Sean Thomson psthomso at hotmail.com
Thu Sep 14 09:30:00 PDT 2006


Hey John,
 
thanks for responding :)> > In working with a device driver, sometimes> > after I rebuild it and reload it, I'll get> > system log errors like> >  > > 'link_elf: symbol yyz undefined'> > I assume that it fails to load when you get this message? yes. The thing to note, and i probably wasn't very clear,is that the module loaded initially without any problems,but in the process of debugging, I unload it, rebuiltit and try to load it again, which it then fails> > > Actually, I'll  get an entry for all my > > exported symbols. If I reboot, it clears> > up.> > exported from your kernel module? yes> > > I'm working on a stock 6.1 kernel.> >  > > Has anyone else seen this? I poked around> > the mailing lists but didn't find any> > like this?> > Usually this is due to depending upon symbols that another module> exports, but not having a MODULE_DEPEND line to let one module see> the other module's symbols... This particular module is not dependant on any other modules, thoughother modules are dependant on it. It's choking on the symbols I'mtrying to export. 
 
After the reboot, the module loads fine. I'm suspecting that a
symbol table is not being cleared properly, but that is only
SWAG
 
Pat
_________________________________________________________________
Search from any Web page with powerful protection. Get the FREE Windows Live Toolbar Today!
http://get.live.com/toolbar/overview


More information about the freebsd-hackers mailing list