From owner-freebsd-current@FreeBSD.ORG Sun Oct 22 06:42:34 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 F265916A40F for ; Sun, 22 Oct 2006 06:42:34 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F65043D45 for ; Sun, 22 Oct 2006 06:42:34 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp2-g19.free.fr (Postfix) with ESMTP id 7F5E5752E7 for ; Sun, 22 Oct 2006 08:42:33 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 64DD79E6C2 for ; Sun, 22 Oct 2006 06:43:22 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 2B44C405B; Sun, 22 Oct 2006 08:43:22 +0200 (CEST) Date: Sun, 22 Oct 2006 08:43:22 +0200 From: Jeremie Le Hen To: freebsd-current@FreeBSD.org Message-ID: <20061022064322.GU53114@obiwan.tataz.chchile.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: 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 06:42:35 -0000 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: 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 ? Thank you. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >