Michael van Elst a écrit : > On Sat, Nov 19, 2022 at 08:41:49AM +0100, BERTRAND Joël wrote: >> >> Just with a -current kernel and not all userland ? I can try, but it's >> a critical server and I cannot reboot this server without rebooting all >> workstation on network... > > Current kernel with -9 userland will work mostly, so it's maybe better to > use a patched -9 kernel. > > http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/iscsi-9-current.diff > > will bring the netbsd-9 iscsi driver to -current. For a regular kernel > you need to build the module and install it. > > http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/iscsi.kmod is built > for a GENERIC netbsd-9 amd64 kernel and might be sufficient.
Patched and system is rebooted. I don't understand how modules really work. For example : legendre# modstat | grep iscsi iscsi driver builtin - 0 - - If I understand, this module is loaded from kernel, not from filesystem. Thus, i have rebuilt whole kernel. How can I force kernel to switch to a module in /stand tree ? Regards, JB