Skip site navigation (1)Skip section navigation (2)
Date:      02 Jun 2003 01:48:38 +0200
From:      arno@heho.snv.jussieu.fr
To:        Nicolai Petri <nicolai@catpipe.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Polishing touch
Message-ID:  <wpbrxh9x61.fsf@heho.snv.jussieu.fr>
In-Reply-To: <200306011930.26131.nicolai@catpipe.net>
References:  <wpadd1d9vm.fsf@heho.snv.jussieu.fr> <200306011930.26131.nicolai@catpipe.net>

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


> > > 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<BROADCAST,SIMPLEX,MULTICAST> 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<BROADCAST,SIMPLEX,MULTICAST> 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



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