Date: Wed, 10 Apr 2002 02:16:35 +0100 From: Brian Somers <brian@freebsd-services.com> To: Brian Somers <brian@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@freebsd-services.com Subject: Re: cvs commit: src/sys/kern kern_linker.c Message-ID: <200204100116.g3A1GZOF004892@hak.lan.Awfulhak.org> In-Reply-To: Message from Brian Somers <brian@FreeBSD.org> of "Tue, 09 Apr 2002 18:14:45 PDT." <200204100114.g3A1Ejb02730@freefall.freebsd.org>
index | next in thread | previous in thread | raw e-mail
> 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
After these changes, it's possible for digi to find it's BIOS/FEPOS
from one of the digi_* modules at boot time - as long as that
digi_* module is already available (either built into the kernel or
``loaded'' at boot time). However, digi fails to initialise the
card - I think due to tsleep failing... but I'm not sure yet.
--
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204100116.g3A1GZOF004892>
