From owner-cvs-all Tue Apr 9 19: 0:24 2002 Delivered-To: cvs-all@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id A3E3337B416; Tue, 9 Apr 2002 19:00:08 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020410020008.ZRCL15826.rwcrmhc54.attbi.com@InterJet.elischer.org>; Wed, 10 Apr 2002 02:00:08 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id SAA59116; Tue, 9 Apr 2002 18:52:25 -0700 (PDT) Date: Tue, 9 Apr 2002 18:52:24 -0700 (PDT) From: Julian Elischer To: Brian Somers Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_linker.c In-Reply-To: <200204100114.g3A1Ejb02730@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message