From owner-freebsd-stable@freebsd.org Wed Nov 7 00:47:37 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5844E110722A for ; Wed, 7 Nov 2018 00:47:37 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CDBDF78757 for ; Wed, 7 Nov 2018 00:47:36 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: by mailman.ysv.freebsd.org (Postfix) id 922E51107229; Wed, 7 Nov 2018 00:47:36 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80CAC1107228 for ; Wed, 7 Nov 2018 00:47:36 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [140.82.23.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3183678756 for ; Wed, 7 Nov 2018 00:47:34 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.190] (cpe-23-243-162-239.socal.res.rr.com [23.243.162.239]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id f60097c5 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Tue, 6 Nov 2018 16:40:53 -0800 (PST) Subject: Re: How do you boot the debug kernel installed from kernel-dbg.txz? To: Rainer Duffner , stable@freebsd.org References: From: Pete Wright Message-ID: <9f460694-5ce6-132e-e0cc-6b7d01e36f2d@nomadlogic.org> Date: Tue, 6 Nov 2018 16:40:52 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: CDBDF78757 X-Spamd-Result: default: False [-5.63 / 200.00]; ARC_NA(0.00)[]; R_SPF_FAIL(0.00)[-all]; RCVD_COUNT_FIVE(0.00)[5]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; FORWARDED(0.00)[stable@mailman.ysv.freebsd.org]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nomadlogic.org]; FORGED_RECIPIENTS_FORWARDING(0.00)[]; SPF_FAIL_FORWARDING(0.00)[]; IP_SCORE(-3.46)[ip: (-9.64), ipnet: 2001:1900:2254::/48(-4.34), asn: 10310(-3.25), country: US(-0.08)]; RCVD_IN_DNSWL_MED(-0.20)[5.0.0.0.0.5.0.0.0.0.0.0.0.0.0.0.a.6.0.2.4.5.2.2.0.0.9.1.1.0.0.2.list.dnswl.org : 127.0.9.2]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[cached: mail.nomadlogic.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.961,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; FORGED_RECIPIENTS(0.00)[rainer@ultra-secure.de ..,freebsd-stable@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2018 00:47:37 -0000 On 11/6/18 4:22 PM, Rainer Duffner wrote: > Hi, > > I need to install a debug-kernel. > > I didn’t install the debug-kernel when I installed the system (11.2), but I downloaded the archive. > > I can unpack it - but how do I then select the kernel at boot? I may be mistaken, but I don't think you actually need to boot the debug-kernel and modules (in fact I don't think you can), rather those files are intended for being read by kgdb while debugging a core that is generated by savecore(8) so that you have access to full symbol table etc.  this page section in the dev handbook debugging kernel core dumps: https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html hope this helps, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA