From owner-freebsd-current@FreeBSD.ORG Sun Oct 22 10:25:55 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F99416A40F for ; Sun, 22 Oct 2006 10:25:55 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E62543D46 for ; Sun, 22 Oct 2006 10:25:54 +0000 (GMT) (envelope-from flz@FreeBSD.org) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp6-g19.free.fr (Postfix) with ESMTP id 6CF05423E6; Sun, 22 Oct 2006 12:25:53 +0200 (CEST) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id D606011A13; Sun, 22 Oct 2006 12:25:50 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 38417-08; Sun, 22 Oct 2006 12:25:46 +0200 (CEST) Received: from [193.120.13.130] (cream.xbsd.org [193.120.13.130]) by smtp.xbsd.org (Postfix) with ESMTP id 13D2611994; Sun, 22 Oct 2006 12:25:44 +0200 (CEST) From: Florent Thoumie To: Jeremie Le Hen In-Reply-To: <20061022064322.GU53114@obiwan.tataz.chchile.org> References: <20061022064322.GU53114@obiwan.tataz.chchile.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-eAQu19W7DTwj0azwYV2o" Date: Sun, 22 Oct 2006 11:25:42 +0100 Message-Id: <1161512742.71755.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: freebsd-current@FreeBSD.org Subject: Re: Cannot unload if_iwi module X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Oct 2006 10:25:55 -0000 --=-eAQu19W7DTwj0azwYV2o Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2006-10-22 at 08:43 +0200, Jeremie Le Hen wrote: > Hi, >=20 > when I try to unload if_iwi module, here is what happens: >=20 > % jarjarbinks:/<3>dev/iwi:118# kldunload if_iwi > % iwi0: detached > % jarjarbinks:/<3>dev/iwi:119# iwi0: mem 0= xc8218000-0xc8218fff irq 11 at device 3.0 on pci6 > % iwi0: Ethernet address: 00:12:f0:2c:f3:6e > % iwi0: [GIANT-LOCKED] >=20 > The kld is reloaded automatically (I am sure it is reloaded because > the id showed in kldstat(8) changes each time): >=20 > % 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 >=20 > % 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 >=20 > 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. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --=-eAQu19W7DTwj0azwYV2o Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFO0cmMxEkbVFH3PQRAkrLAJ4scrLIjKkc523xrhQ6/ULDwyO8VgCfVkag Voxxf7WESUyyVvxSTUFQelE= =g5z4 -----END PGP SIGNATURE----- --=-eAQu19W7DTwj0azwYV2o--