From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 30 20:52:27 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 00EB1413; Mon, 30 Mar 2015 20:52:26 +0000 (UTC) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (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 84CEF3C8; Mon, 30 Mar 2015 20:52:26 +0000 (UTC) Received: by wibg7 with SMTP id g7so790011wib.1; Mon, 30 Mar 2015 13:52:25 -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:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=ngPMcVmOEAB/iUVaquIP2j2jMWUJqtLw5IhNsUQBgwM=; b=Hn+Y4mb2cifRA7Zi24jO8+P3LbMDKbsnG+AnLqBFBmN5l2MD4dc+MzT0tkZHBHbdcg o3Slwi93aCP/KO4Oi06bSOnqDuRkc7/IBXjDxn9o1oV47puZmnXWtLuPcX0zIb8unGJa 2Snh0Xc325kehjOJE+N8C0SZQ12ezQgQdULrFWzAHCv1kVPWmcDoHdDiexO/UlMT+eDo /eBXaNQj4xA9VbKMcj9Xq7JeuDgvbxkW9oxWi3v6wPFAW/0+3SeGXEv93SwkID3aAowk Ap5g3rQtB3pxweG8+UrTaXs2C6Ysz9/Lg41Y+MARYGPRwZebVmmYDQaTvL3GiEqX5G7a EzKA== X-Received: by 10.194.201.164 with SMTP id kb4mr66732244wjc.32.1427748745021; Mon, 30 Mar 2015 13:52:25 -0700 (PDT) Received: from brick.home (abvb139.neoplus.adsl.tpnet.pl. [83.8.199.139]) by mx.google.com with ESMTPSA id hq4sm12097396wib.0.2015.03.30.13.52.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2015 13:52:24 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Mon, 30 Mar 2015 22:52:22 +0200 From: Edward Tomasz Napierala To: Chagin Dmitry Subject: Re: Linux core under FreeBSD. Message-ID: <20150330205222.GC12290@brick.home> References: <20150327124058.GA3991@brick.home> <20150327154348.GA90856@dchagin.static.corbina.net> <20150328084750.GA6548@brick.home> <20150328111000.GA97431@dchagin.static.corbina.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150328111000.GA97431@dchagin.static.corbina.net> 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: Mon, 30 Mar 2015 20:52:27 -0000 On 0328T1410, Chagin Dmitry wrote: > 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. Erm, the core _gets_ dumped. I'm just suggesting to disable dumping it, if there is no way to make use of it.