Subject: Re: Daily cron jobs dumps core
To: Jason Thorpe <thorpej@shagadelic.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 04/09/2005 20:27:23
On Sat, Apr 09, 2005 at 11:18:35AM -0700, Jason Thorpe wrote:
>
> On Apr 9, 2005, at 10:46 AM, Manuel Bouyer wrote:
>
> >The are really strange, it looks like it doesn't get the right result.
> >netstat uses libkvm. Do you have the running kernel as /netbsd ?
> >If not this may explain the problem.
> >On my system, I have the XEN0 kernel as /netbsd, and a regular i386
> >kernel
> >as /netbsd-GENERIC (which I boot using the netbsd bootloader)
>
> This is why you want to have /dev/ksyms!
Yes, but the stock ELF loader from the xen kernel won't load the NetBSD symbol
table. This has been fixed in xen-2.0-testing (thanks to yamt@ who posted a
patch here, and Christian who commited it to xen), but is not yet in any
xen2 release.
pseudo-device ksym is already in XEN0, so booting with a fixed /xen.gz
kernel (built from -testing, or the 2.0.5 one I've uploaded to NetBSD/arch/xen/
yesterday) should fix it too.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--