Re: Cannot unload if_iwi module

From: Erik Norgaard <norgaard_at_locolomo.org>
Date: Sun, 22 Oct 2006 18:58:52 +0200
Jeremie Le Hen wrote:
> Hi,
> 
> when I try to unload if_iwi module, here is what happens:
> 
> % jarjarbinks:/<3>dev/iwi:118# kldunload if_iwi
> % iwi0: detached
> % jarjarbinks:/<3>dev/iwi:119# iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xc8218000-0xc8218fff irq 11 at device 3.0 on pci6
> % iwi0: Ethernet address: 00:12:f0:2c:f3:6e
> % iwi0: [GIANT-LOCKED]
> 
> The kld is reloaded automatically (I am sure it is reloaded because
> the id showed in kldstat(8) changes each time):
> Any clue how to disable this unwanted behaviour ?

Have you tried to bring down the interface first? A possible reason 
could be that the interface is "busy" or locked so the unload fails, are 
you running wpa_supplicant?

Try stop wpa_supplicant if you use it and bring down the interface 
first. Also, you may get more info if you set debug.iwi=1.

Cheers, Erik
-- 
Ph: +34.666334818                      web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
Received on Sun Oct 22 2006 - 15:00:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:01 UTC