From owner-freebsd-questions@FreeBSD.ORG Wed May 29 10:55:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8C918495 for ; Wed, 29 May 2013 10:55:09 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 3CE54E89 for ; Wed, 29 May 2013 10:55:08 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id CBB9CFEBD4; Wed, 29 May 2013 17:55:00 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1369824900; x= 1371639301; bh=mMmsuVcMUlz7mP0rq7twlzdecmaNNU/sOX+qJgHMQp4=; b=i yy3ExsPiJdmCLua5V01M+NpcZBc6TdjnpkGF/yPrCDXR1cLE0PGeCVYtI//TTWyP 8Xvy+Y7U7vrx14N8xycsNJP/iYRJQ2LQ8pqgMfXtvRrRDYhUe7JN/KcnEM263T/i DDXTGtJXku63GbIoyVpXvV5C0Vz2F0WlYmWMEnni1M= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id oHATSw6VCtOp; Wed, 29 May 2013 17:55:00 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 784B3FEBCD; Wed, 29 May 2013 17:55:00 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.6/8.14.6/Submit) id r4TAsxF3074919; Wed, 29 May 2013 17:54:59 +0700 (ICT) (envelope-from on) Date: Wed, 29 May 2013 17:54:59 +0700 (ICT) Message-Id: <201305291054.r4TAsxF3074919@banyan.cs.ait.ac.th> From: Olivier Nicole To: alexl@mellanox.com In-reply-to: <64DAB3164E410447932305F50F896D8D6AF65F61@MTLDAG01.mtl.com> (message from Alex Liptsin on Wed, 29 May 2013 10:28:37 +0000) Subject: Re: How can I unload/load modules that complied inside the kernel? References: <64DAB3164E410447932305F50F896D8D6AF65F61@MTLDAG01.mtl.com> Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 10:55:09 -0000 > [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. Olivier