Re: NetBSD 5.0.1 and kmods

2010-01-30 Thread Matthew Mondor
On Sat, 30 Jan 2010 17:44:43 +0100
Hans Petter Selasky hsela...@c2i.net wrote:

 Hi,
 
 I'm having some minor trouble upgrading my I4B software to use the new 
 bsd.kmodule.mk and associated i4b.kmod output.
 
 1) How can I dynamically load such a module at runtime?

Unless this recently changed, I think that netbsd-5 modload(8)
currently only supports the dynamic loading of LKMs (old-style modules
from /usr/lkm/).
-- 
Matt


Re: NetBSD 5.0.1 and kmods

2010-01-30 Thread Matthew Mondor
On Sat, 30 Jan 2010 13:11:09 -0500
Matthew Mondor mm_li...@pulsar-zone.net wrote:

 Unless this recently changed, I think that netbsd-5 modload(8)
 currently only supports the dynamic loading of LKMs (old-style modules
 from /usr/lkm/).

I think that I misread though, I'm not sure if the netbsd-5 boot loader
can load such modules (it doesn't need to, however, considering netbsd-5
still uses LKMs and that ffs support is monolithically compiled)...
-- 
Matt


Re: NetBSD 5.0.1 and kmods

2010-01-30 Thread Stephen Borrill

On Sat, 30 Jan 2010, Matthew Mondor wrote:


On Sat, 30 Jan 2010 13:11:09 -0500
Matthew Mondor mm_li...@pulsar-zone.net wrote:


Unless this recently changed, I think that netbsd-5 modload(8)
currently only supports the dynamic loading of LKMs (old-style modules
from /usr/lkm/).


I think that I misread though, I'm not sure if the netbsd-5 boot loader
can load such modules (it doesn't need to, however, considering netbsd-5
still uses LKMs and that ffs support is monolithically compiled)...


The bootloader can read such modules - that's how miniroot.kmod is loaded 
for you to install with.


--
Stephen