Reload linux.ko while system is running

Martin Laabs mailinglists at martinlaabs.de
Thu Jan 3 20:37:44 UTC 2013


Hi,

is it possible to reload the linux.ko module without restarting?
At the moment I try to trace bug 174933
(http://www.freebsd.org/cgi/query-pr.cgi?pr=174933)
Therefore I'd like to put some debugging output message into the
linuxulator module.

I tired the following:

umount /compat/linux/sys
umount /compat/linux/proc
kldunload linprocfs
kldunload linsysfs
kldunload linux

Unfortunately the last command fails. kldunload itself tells me
kldunload: can't unload file: Device busy and dmesg say
kldunload: attempt to unload file that was loaded by the kernel

The latter (dmesg) error seems to be more appropriate. Anyway - is there a
way to reload the linux.ko module without restarting?

Thank you,
 Martin Laabs




More information about the freebsd-emulation mailing list