Date: Wed, 29 May 2013 10:28:37 +0000 From: Alex Liptsin <alexl@mellanox.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: How can I unload/load modules that complied inside the kernel? Message-ID: <64DAB3164E410447932305F50F896D8D6AF65F61@MTLDAG01.mtl.com>
next in thread | raw e-mail | index | archive | help
Hello.
I am using FreeBSD9.1
[root@h-qa-033 ~]# uname -a
FreeBSD h-qa-033 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Tue May 28 11:26:45 ID=
T 2013 root@h-qa-033:/usr/obj/lab/odeds/freebsd/9.1.0/sys/MYKERNEL amd=
64
OFED and IB support are compiled in kernel.
1. How can I unload/load modules that complied inside the kernel?
[root@h-qa-033 ~]# kldstat -v | grep mlx4 -B 5
Id Refs Address Size Name
1 10 0xffffffff80200000 13dcbf8 kernel (/boot/kernel/kernel)
Contains modules:
Id Name
420 mlxen
418 mlx4ib
419 mlx4
I want to unload/load mlx4ib.
2. Is there any way to take it out of kernel and load manually?
Like if_lagg for example:
[root@h-qa-033 ~]# kldstat
Id Refs Address Size Name
1 10 0xffffffff80200000 13dcbf8 kernel
3 1 0xffffffff81812000 2197 if_mos.ko
4 1 0xffffffff81815000 690a if_lagg.ko
Thanks a lot.
Alex.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64DAB3164E410447932305F50F896D8D6AF65F61>
