Date: Wed, 10 Apr 2002 03:46:14 +0100 From: Brian Somers <brian@freebsd-services.com> To: Julian Elischer <julian@elischer.org> Cc: Brian Somers <brian@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_linker.c Message-ID: <200204100246.g3A2kEOF006117@hak.lan.Awfulhak.org> In-Reply-To: Message from Julian Elischer <julian@elischer.org> of "Tue, 09 Apr 2002 18:52:24 PDT." <Pine.BSF.4.21.0204091850420.57350-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hmm, This seems to work ok. For example, if I kldload ng_ether or ng_pppoe when nothing is loaded, netgraph is auto-loaded. I can even run ngctl(1), and ng_socket & netgraph are magically loaded. I'm running with an April 3 kernel (I reverted it because kernels over the past few days have dysfunctional shared library support). Perhaps the problem is only in -stable (I know there are some funny problems in -stable when for example options NETGRAPH is in the kernel and you try to kldload ng_xxx) ? > if you are in there, you may find out why loading ng_??? no longer forces > teh loading of module "netgraph" (there is a deopendency > and it USED to work.... > at one stage if you tried to make a node of type xxx it would try load > modul ng_xxx. (the code is in ng_base.c) but it stopped working a while > ago.. > > > On Tue, 9 Apr 2002, Brian Somers wrote: > > > brian 2002/04/09 18:14:45 PDT > > > > Modified files: > > sys/kern kern_linker.c > > Log: > > In linker_load_module(), check that rootdev != NODEV before calling > > linker_search_module(). > > > > Without this, modules loaded from loader.conf that then try to load > > in additional modules (such as digi.ko loading a card's BIOS) die > > badly in the vn_open() called from linker_search_module(). > > > > It may be worth checking (KASSERTing?) that rootdev != NODEV in > > vn_open() too. > > > > Revision Changes Path > > 1.88 +5 -3 src/sys/kern/kern_linker.c -- Brian <brian@freebsd-services.com> <brian@Awfulhak.org> http://www.freebsd-services.com/ <brian@[uk.]FreeBSD.org> Don't _EVER_ lose your sense of humour ! <brian@[uk.]OpenBSD.org> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204100246.g3A2kEOF006117>