amd64 package of linux_kdump
Andriy Gapon
avg at icyb.net.ua
Wed Mar 21 18:40:58 UTC 2007
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
More information about the freebsd-amd64
mailing list