Date: Wed, 21 Mar 2007 20:40:47 +0200 From: Andriy Gapon <avg@icyb.net.ua> To: John Baldwin <jhb@freebsd.org> Cc: Alexander Leidinger <Alexander@leidinger.net>, freebsd-emulation@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: amd64 package of linux_kdump Message-ID: <46017C2F.5060208@icyb.net.ua> In-Reply-To: <200703211054.43466.jhb@freebsd.org> References: <45FFB7F0.5030107@icyb.net.ua> <20070320215436.70f11d43@Magellan.Leidinger.net> <46011D03.8070706@icyb.net.ua> <200703211054.43466.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
on 21/03/2007 16:54 John Baldwin said the following: > > The problem is that the kdump records aren't 32-bit, but 64-bit. You can try > using www.freebsd.org/~jhb/ktrace64.c to convert a 64-bit ktrace.out file to > a 32-bit ktrace.out file and then run linux_kdump on the 32-bit file. I cant > recall if I fully tested ktrace64.c though, so YMMV. John, thank you very much! This was something that I haven't thought about. The tool works very well, the only obvious/visible bug was in copy_sysret(): 125 assert(h32->ktr_len == sizeof(k64)); 126 127 memcpy(&k64, buf, sizeof(k64)); <--- this was missing 128 129 /* Translate the data. */ -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46017C2F.5060208>