From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 28 11:10:06 2015 Return-Path: Delivered-To: hackers@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 18689D8A; Sat, 28 Mar 2015 11:10:06 +0000 (UTC) Received: from dchagin.static.corbina.net (dchagin.static.corbina.ru [78.107.232.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dchagin.static.corbina.net", Issuer "dchagin.static.corbina.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D3740333; Sat, 28 Mar 2015 11:10:04 +0000 (UTC) Received: from dchagin.static.corbina.net (localhost [127.0.0.1]) by dchagin.static.corbina.net (8.14.9/8.14.9) with ESMTP id t2SBA09x097479 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 28 Mar 2015 14:10:00 +0300 (MSK) (envelope-from dchagin@dchagin.static.corbina.net) Received: (from dchagin@localhost) by dchagin.static.corbina.net (8.14.9/8.14.9/Submit) id t2SBA0PG097478; Sat, 28 Mar 2015 14:10:00 +0300 (MSK) (envelope-from dchagin) Date: Sat, 28 Mar 2015 14:10:00 +0300 From: Chagin Dmitry To: Edward Tomasz Napierala Subject: Re: Linux core under FreeBSD. Message-ID: <20150328111000.GA97431@dchagin.static.corbina.net> References: <20150327124058.GA3991@brick.home> <20150327154348.GA90856@dchagin.static.corbina.net> <20150328084750.GA6548@brick.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150328084750.GA6548@brick.home> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: hackers@FreeBSD.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 11:10:06 -0000 On Sat, Mar 28, 2015 at 09:47:50AM +0100, Edward Tomasz Napierala wrote: > On 0327T1843, Chagin Dmitry wrote: > > On Fri, Mar 27, 2015 at 01:40:58PM +0100, Edward Tomasz Napierala wrote: > > > Is there a way to debug a core generated by Linux process running > > > under Linuxulator on 11-CURRENT? Thanks! > > > > > ptrace implemented only for i386, so ktrace/kdump and > > machdep.uprintf_signal=1 > > Ok, but what about core files from Linux processes? Are they useless > at this moment? If so, perhaps they should just be disabled? I never debugged core from Linux procs. I can write sysctl to enable core of Linux procs. -- Have fun! chd