Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2006 11:25:42 +0100
From:      Florent Thoumie <flz@FreeBSD.org>
To:        Jeremie Le Hen <jeremie@le-hen.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: Cannot unload if_iwi module
Message-ID:  <1161512742.71755.9.camel@localhost>
In-Reply-To: <20061022064322.GU53114@obiwan.tataz.chchile.org>
References:  <20061022064322.GU53114@obiwan.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sun, 2006-10-22 at 08:43 +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):
> 
> % jarjarbinks:/<1>share/mk:137# kldstat
> % Id Refs Address    Size     Name
> %  1   20 0xc0400000 4ef910   kernel
> %  2    1 0xc08f0000 e5dc     if_bge.ko
> %  3    1 0xc08ff000 4ce4     ums.ko
> %  4    1 0xc0904000 b180     umass.ko
> %  5    2 0xc382e000 25000    linux.ko
> %  6    1 0xc38cb000 2000     rtc.ko
> %  9    1 0xc3acf000 e000     if_iwi.ko
> % 10    2 0xc3add000 3000     firmware.ko
> 
> % jarjarbinks:/<3>dev/iwi:122# kldstat
> % Id Refs Address    Size     Name
> %  1   19 0xc0400000 4ef910   kernel
> %  2    1 0xc08f0000 e5dc     if_bge.ko
> %  3    1 0xc08ff000 4ce4     ums.ko
> %  4    1 0xc0904000 b180     umass.ko
> %  5    2 0xc382e000 25000    linux.ko
> %  6    1 0xc38cb000 2000     rtc.ko
> % 11    1 0xc3acf000 e000     if_iwi.ko
> % 12    1 0xc3add000 3000     firmware.ko
> 
> Any clue how to disable this unwanted behaviour ?

No idea, but the same behavior can be seen with ipw(4) and experimental
wpi(4). I seem to recall this didn't happen before the the support for
firmware(9) was added.

-- 
Florent Thoumie
flz@FreeBSD.org
FreeBSD Committer

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQBFO0cmMxEkbVFH3PQRAkrLAJ4scrLIjKkc523xrhQ6/ULDwyO8VgCfVkag
Voxxf7WESUyyVvxSTUFQelE=
=g5z4
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1161512742.71755.9.camel>