From owner-freebsd-questions@FreeBSD.ORG Mon Jun 22 05:24:00 2015 Return-Path: Delivered-To: freebsd-questions@nevdull.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D895DD2 for ; Mon, 22 Jun 2015 05:24:00 +0000 (UTC) (envelope-from talayeh.asadi@gmail.com) Received: from mail-qg0-x236.google.com (mail-qg0-x236.google.com [IPv6:2607:f8b0:400d:c04::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 24A2A3A0 for ; Mon, 22 Jun 2015 05:24:00 +0000 (UTC) (envelope-from talayeh.asadi@gmail.com) Received: by qged89 with SMTP id d89so49528991qge.0 for ; Sun, 21 Jun 2015 22:23:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=eaXu+GNZTttTPEZrs8yLKlqYP14/V4pLh7p7wwKIwbw=; b=p2MVXQwBNwbt7yWy7Mmg8dOBWx+3YsbPN9IQXJncK2H24R/jnMTFxvbXTuwH3nttzu Y0z/ZI+mP6WBG5pibZghYpxsYypvZ9ldGyYsSE5jdT34/tCP0me9E6ot6Sqf5LakcA0w 1OrtIvUoMlcTOewKHaZDXPn00KQ7H4wYyybW4gLdvId9/JnhlcBLsb5QRPe+2IgzMMJI oVVK7BSMBdzBG99gwTTLFqnmcvDaNPmg4DlZkVHiiSXp7DCMslVQhIW7M4lbQxl/9wZw t5CrLhbxGrQnoTQuvuass7MroD/zcFM4ZR80ceRT1wiYJxkDrxsSHS2NZBD14K4h1jvy pzrQ== X-Received: by 10.140.233.140 with SMTP id e134mr37461397qhc.63.1434950639130; Sun, 21 Jun 2015 22:23:59 -0700 (PDT) MIME-Version: 1.0 Reply-To: tak.official@gmail.com Sender: talayeh.asadi@gmail.com Received: by 10.140.93.134 with HTTP; Sun, 21 Jun 2015 22:23:39 -0700 (PDT) In-Reply-To: <20150615170657.8106edd0.freebsd@edvax.de> References: <20150614182418.56857acc.freebsd@edvax.de> <44wpz56pxr.fsf@lowell-desk.lan> <20150615170657.8106edd0.freebsd@edvax.de> From: takCoder Date: Mon, 22 Jun 2015 09:53:39 +0430 X-Google-Sender-Auth: lEeKfZ8zYI5nO7SYaWTcQy3Yfcg Message-ID: Subject: Re: reload kernel without reboot? To: Polytropon Cc: FreeBSD Questions , Lowell Gilbert Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2015 05:24:00 -0000 Hi all, Thank you all for the hints and notes there. Actually I decided to use MODULES_OVERRIDE in make.conf and -DKERNFAST for fast kernel compile to save time during my task and let the reboot happen as not doing so seems to be that tricky. Thank you takcoder On Mon, Jun 15, 2015 at 7:36 PM, Polytropon wrote: > On Mon, 15 Jun 2015 09:50:40 -0400, Lowell Gilbert wrote: > > A standard kernel comes with many hundreds of kernel modules. We don't > > know what you're working on specifically, but the building and loading > > and unloading of modules is not tricky. > > If I remember correctly, there's even some example code of > how to create a kernel module somewhere in the source tree. > It should be a good starting point for moving the "moving > parts" into a kernel module that can be dealt with using > kldload and kldunload. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >