Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jan 2013 21:37:33 +0100
From:      Martin Laabs <mailinglists@martinlaabs.de>
To:        freebsd-emulation@freebsd.org
Subject:   Reload linux.ko while system is running
Message-ID:  <50E5EC0D.8040904@martinlaabs.de>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50E5EC0D.8040904>