From owner-freebsd-hackers@freebsd.org Sun Jul 26 08:50:02 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64EAC9A3E1A for ; Sun, 26 Jul 2015 08:50:02 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (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 F0E67C88 for ; Sun, 26 Jul 2015 08:50:01 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by wibxm9 with SMTP id xm9so79966027wib.1 for ; Sun, 26 Jul 2015 01:50:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=ke0DyEz+WRyNphF1h33azFjoyisnbbsNrmJQ2UOHU3g=; b=LbVq3oiFP/t0P/6rupKQBQwlUkzBCHYMnRYEGZCl8uCpkTNfz5rnOGCy5upGU//Wk8 BhCoXXJOoRopQUoDcD0JQ5OTFafDt7REpaWtEedB00/Dux65ZRiLnkxkslK0aouGK1J7 DQ8XbNZ8V7vfZEMHFWUW4CGcjlgJu7sHAkCmdvvWBelJtDrQV+2DHEQg2cPS4p7YM1k5 X2ItAB+yPhSNEyJIDelDFGO+/rceMbSSphbJOjVKdYOSk9OuZwbpxtYJfNvz2FyEz26V 1j91+nf8yF5xKo91QVO6NfJaqiVssFpwtP+rWlQRA18vRW72v2dxlks/khbCrN1eGB+s T5kw== X-Received: by 10.180.75.78 with SMTP id a14mr13110520wiw.43.1437900600435; Sun, 26 Jul 2015 01:50:00 -0700 (PDT) Received: from brick.home (abvt207.neoplus.adsl.tpnet.pl. [83.8.217.207]) by smtp.gmail.com with ESMTPSA id gc4sm7199914wib.23.2015.07.26.01.49.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Jul 2015 01:49:59 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Sun, 26 Jul 2015 10:49:56 +0200 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: HeTak Cc: freebsd-hackers Subject: Re: Kernel Debug Howto Message-ID: <20150726084956.GA2289@brick.home> Mail-Followup-To: HeTak , freebsd-hackers References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 08:50:02 -0000 On 0725T1324, HeTak wrote: [..] > 3- what is the fastest way to apply changes to FreeBSD kernel? > (For now, I just follow the normal build & install kernel & reboot.) I have this in my ~/.zshrc: mbir='make -j4 buildkernel installkernel KERNFAST=1 && reboot' Together with MODULES_OVERRIDE set to only build the modules I need (see make.conf manual page) it makes the process pretty quick.