Date: Wed, 29 May 2013 22:35:43 +0200 From: "Julian H. Stacey" <jhs@berklix.com> To: Olivier Nicole <Olivier.Nicole@cs.ait.ac.th> Cc: alexl@mellanox.com, freebsd-questions@freebsd.org Subject: Re: How can I unload/load modules that complied inside the kernel? Message-ID: <201305292036.r4TKZhUE072068@fire.js.berklix.net> In-Reply-To: Your message "Wed, 29 May 2013 17:54:59 %2B0700." <201305291054.r4TAsxF3074919@banyan.cs.ait.ac.th>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Reference: > From: Olivier Nicole <Olivier.Nicole@cs.ait.ac.th> > Date: Wed, 29 May 2013 17:54:59 +0700 (ICT) Olivier Nicole wrote: > > [root@h-qa-033 ~]# uname -a > > FreeBSD h-qa-033 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Tue May 28 11:26:45 IDT 2013 root@h-qa-033:/usr/obj/lab/odeds/freebsd/9.1.0/sys/MYKERNEL amd64 > > > > OFED and IB support are compiled in kernel. > > > > > > 1. How can I unload/load modules that complied inside the kernel? > > kldload and kldunload should be what you are looking for. [Unless things have got more flexible] I dont believe you can unload/load modules that complied inside the kernel. I think you need to compile a new kernel without the modules you want to toggle on & off, Then you can use kldload and kldunload. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. No quoted-printable, HTML, base64, multipart/alternative.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305292036.r4TKZhUE072068>