NetBSD 5.0.1 and kmods

2010-01-30 Thread Hans Petter Selasky
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? I tried to edit boot.cfg and add load i4b. It prints out during boot: Loaded i4b But the callbacks in my code (see

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,

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

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