How to rmmod hostap driver?

zhaoming zhaoming
Sun Dec 19 22:09:27 PST 2004


'cardctl  eject'  does  work fine.It can rmmod the hostap_cs and hostap module.
Thanks very much!

----- Original Message ----- 
From: "Jouni Malinen" <jkmaline at cc.hut.fi>
To: <hostap at shmoo.com>
Sent: Sunday, December 19, 2004 11:35 PM
Subject: Re: How to rmmod hostap driver?


> On Sun, Dec 19, 2004 at 12:01:48PM +0800, zhaoming wrote:
> 
> > So is there anyone know how to remove modules which is still working  from the kernel? 
> > I use hostap as a module in linux-2.6.2.
> 
> By setting the interfaces down first or in case of hostapd_cs, 'cardctl
> eject' works, too.
> 
> > Then I try to rmmod hostap_cs ,I encounter this:
> > [root at oracleas root]# rmmod hostap_cs
> > ERROR: Module hostap_cs is in use
> 
> If the network interfaces are up, the module cannot be unloaded for a
> reason..
> 
> > If I rmmod -f hostap_cs , the linux-2.6.2 will crash .After I
> > restart the box,I cannot load the hostap module.But the pcmcia card 
> > is OK.
> 
> See 'man rmmod' and comments about -f option being extremely dangerous..
> 
> -- 
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap



More information about the Hostap mailing list