From owner-freebsd-amd64@FreeBSD.ORG Tue Mar 20 21:21:04 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 3236516A403 for ; Tue, 20 Mar 2007 21:21:04 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id D4A2E13C484 for ; Tue, 20 Mar 2007 21:21:03 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5FBC6.dip.t-dialin.net [84.165.251.198]) by redbull.bpaserver.net (Postfix) with ESMTP id 9FB952E0A8; Tue, 20 Mar 2007 21:54:39 +0100 (CET) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by outgoing.leidinger.net (Postfix) with ESMTP id D45A45B4817; Tue, 20 Mar 2007 21:54:36 +0100 (CET) Date: Tue, 20 Mar 2007 21:54:36 +0100 From: Alexander Leidinger To: "Scot Hetzel" Message-ID: <20070320215436.70f11d43@Magellan.Leidinger.net> In-Reply-To: <790a9fff0703201249n46b29b50mf050563b61ab89c0@mail.gmail.com> References: <45FFB7F0.5030107@icyb.net.ua> <790a9fff0703201249n46b29b50mf050563b61ab89c0@mail.gmail.com> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.9; i686-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.264, required 8, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14, J_CHICKENPOX_53 0.60) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org, Andriy Gapon , 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: Tue, 20 Mar 2007 21:21:04 -0000 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. 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. Bye, Alexander. -- Once upon a time the plural of 'wizard' was 'war'. (The Last Continent) http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137