From owner-freebsd-current@FreeBSD.ORG Sun Jun 1 16:48:42 2003 Return-Path: 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 A7EDA37B401 for ; Sun, 1 Jun 2003 16:48:42 -0700 (PDT) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BF4F43F85 for ; Sun, 1 Jun 2003 16:48:41 -0700 (PDT) (envelope-from arno@heho.snv.jussieu.fr) Received: from heho.snv.jussieu.fr (heho.snv.jussieu.fr [134.157.184.22]) by shiva.jussieu.fr (8.12.9/jtpda-5.4) with ESMTP id h51NmdDp063988 ; Mon, 2 Jun 2003 01:48:39 +0200 (CEST) Received: from heho.snv.jussieu.fr (localhost [127.0.0.1]) h51NmdO3046410 ; Mon, 2 Jun 2003 01:48:39 +0200 (MEST) Received: (from arno@localhost) by heho.snv.jussieu.fr (8.12.9/8.12.9/Submit) id h51NmcUm046407; Mon, 2 Jun 2003 01:48:38 +0200 (MEST) To: Nicolai Petri References: <200306011930.26131.nicolai@catpipe.net> From: arno@heho.snv.jussieu.fr Date: 02 Jun 2003 01:48:38 +0200 In-Reply-To: <200306011930.26131.nicolai@catpipe.net> Message-ID: Lines: 40 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Antivirus: scanned by sophie at shiva.jussieu.fr cc: freebsd-current@freebsd.org Subject: Re: Polishing touch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 01 Jun 2003 23:48:42 -0000 > > > module_register: module if_tap already exists! > > > Module if_tap failed to register: 17 > > > can't re-use a leaf (if_tap_debug)! > > > > tap0: flags=8802 mtu 1500 > > ether 00:90:27:3f:12:9f > > > > bit I just compiled if_tap into my kernel, and I nowehere asked > > explicitly for kldloading "if_tap" (IIRC) > > > > I don't exactly know why it tries to load if_tap when it is already present, > but FreeBSD should not allow it to be double-linked into the kernel. I > created a patch that (hopefully ;) disallows this. You can find it at : > http://hobbes.bsd-dk.dk/~npp/kern_linker.patch > > I would appreciate if you have the time to test this to see if it aborts the > loading correctly. I know it's not exactly the real fix but it should stop > some panics. more or less : Setting hostname: M. > linker_file_register_modules: Cannot load module if_tap.ko. > linker_file_register_modules: Module if_tap is already loaded. > linker_load_file: register_modules_failed > linker_file_register_modules: Cannot load module if_tap.ko. > linker_file_register_modules: Module if_tap is already loaded. > linker_load_file: register_modules_failed tap0: flags=8802 mtu 1500 > Could you also test if unloading the if_tap module panic's the system ? This > should ofcourse be tested without my patch and preferably when a tap device > is in use. no more panic. thanx, Arno