From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 21 11:54:50 2007 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7350116A400; Wed, 21 Mar 2007 11:54:50 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from gateway.cybervisiontech.com.ua (gateway.cybervisiontech.com.ua [88.81.251.18]) by mx1.freebsd.org (Postfix) with ESMTP id 1D50713C46A; Wed, 21 Mar 2007 11:54:49 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (hq.cybervisiontech.com [127.0.0.1]) by gateway.cybervisiontech.com.ua (Postfix) with ESMTP id 15863ED4A9B; Wed, 21 Mar 2007 13:54:45 +0200 (EET) X-Virus-Scanned: amavisd-new at cybervisiontech.com Received: from gateway.cybervisiontech.com.ua ([127.0.0.1]) by localhost (hq.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GEu+giEne6h4; Wed, 21 Mar 2007 13:54:41 +0200 (EET) Received: from [10.2.1.87] (rein.cybervisiontech.com.ua [10.2.1.87]) by gateway.cybervisiontech.com.ua (Postfix) with ESMTP id 103EEED4A92; Wed, 21 Mar 2007 13:54:41 +0200 (EET) Message-ID: <46011D03.8070706@icyb.net.ua> Date: Wed, 21 Mar 2007 13:54:43 +0200 From: Andriy Gapon User-Agent: Thunderbird 1.5.0.10 (X11/20070315) MIME-Version: 1.0 To: Alexander Leidinger References: <45FFB7F0.5030107@icyb.net.ua> <790a9fff0703201249n46b29b50mf050563b61ab89c0@mail.gmail.com> <20070320215436.70f11d43@Magellan.Leidinger.net> In-Reply-To: <20070320215436.70f11d43@Magellan.Leidinger.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: amd64 package of linux_kdump X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2007 11:54:50 -0000 on 20/03/2007 22:54 Alexander Leidinger said the following: > Quoting "Scot Hetzel" (Tue, 20 Mar 2007 14:49:04 -0500): > >> On 3/20/07, Andriy Gapon wrote: >>> Does anybody have an amd64 package of linux_kdump (for 6.2) ? >>> Could you please share ? >>> >>> i386 linux_kdump as well as i386 FreeBSD kdump fail with the same >>> diagnostics: >>> $ kdump > kdump.out >>> kdump: Cannot allocate memory >>> Exit 1 >>> $ cat kdump.out >>> 71072 ktrace RET syscall -1 errno 100137 Unknown error: 100137 >>> >>> P.S. there doesn't seem to exist neither i386 nor amd64 package of >>> linux_kdump for 6.2. >>> >> Alexandar Leidinger has linux_kdump on his web site: >> >> http://www.leidinger.net/FreeBSD/linux_kdump-1.5_2.tbz > > Compiled on 7-current i386. Extracting it on amd64 and using it > directly should be possible (not on FreeBSD 6.x). Linux on amd64 is > 32bit, so the 32bit executable should work on the ktrace. This is not my experience. linux_kdump is a FreeBSD, not Linux program. As I said, i386 linux_kdump fails for me with the same diagnostics as i386 kdump. > To compile it on your own: mv /compat/linux to somewhere else, install > the gentoo linux_base (you have to ingnore the conflict), build the > linux_kdump port (maybe also a "make package"), deinstall the gentoo > linux_base and move /compat/linux back. I hoped to find a shortcut. -- Andriy Gapon