Re: Revision 1.88 of kern_linker.c breaks module loading for diskless

2002-04-26 Thread Brian Somers
> On Fri, 26 Apr 2002, Brian Somers wrote: > > BS>The intent is to discover whether there's a filesystem yet (vn_open() > BS>will die horribly otherwise). > BS> > BS>My use of rootdev is (obviously) flawed. AFAICT, either rootvp > BS>or rootvnode should be used, but I can't tell the difference b

Re: Revision 1.88 of kern_linker.c breaks module loading for diskless

2002-04-26 Thread Harti Brandt
On Fri, 26 Apr 2002, Brian Somers wrote: BS>The intent is to discover whether there's a filesystem yet (vn_open() BS>will die horribly otherwise). BS> BS>My use of rootdev is (obviously) flawed. AFAICT, either rootvp BS>or rootvnode should be used, but I can't tell the difference between BS>the

Re: Revision 1.88 of kern_linker.c breaks module loading for diskless

2002-04-25 Thread Brian Somers
> In message <[EMAIL PROTECTED]>, Harti Brandt write > s: > >the check for rootdev != NODEV introduced in rev 1.88 breaks loading of > >kernel modules from an NFS mounted root in diskless configurations. > >Dropping in gdb and printing rootdev shows -1 which is, I assume, NODEV. > > Ah, that woul

Re: Revision 1.88 of kern_linker.c breaks module loading for diskless

2002-04-25 Thread Ian Dowse
In message <[EMAIL PROTECTED]>, Harti Brandt write s: >the check for rootdev != NODEV introduced in rev 1.88 breaks loading of >kernel modules from an NFS mounted root in diskless configurations. >Dropping in gdb and printing rootdev shows -1 which is, I assume, NODEV. Ah, that would explain a pr

Revision 1.88 of kern_linker.c breaks module loading for diskless

2002-04-25 Thread Harti Brandt
Hello, the check for rootdev != NODEV introduced in rev 1.88 breaks loading of kernel modules from an NFS mounted root in diskless configurations. Dropping in gdb and printing rootdev shows -1 which is, I assume, NODEV. This worked before without problems. harti -- harti brandt, http://www.fok