Subject: using a domU for development - some questions
To: None <port-xen@netbsd.org>
From: Jeff Rizzo <riz@tastylime.net>
List: port-xen
Date: 11/09/2005 11:03:44
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig4CA88C49A586A2BA276A599A
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
With as fast as my NetBSD domU is at rebooting, it seems like an ideal
environment for kernel development - but I'm running into some snags I
hope someone can help me with.
First, dropping into DDB - setting hw.cnmagic seems to work, but is
there a way to get into DDB with default settings?
Second, I was able to successfully hide my PCI device from dom0, but the
domU kernel crashes when I load the driver. Not too surprising - I'm
certain there are quite a few bugs lurking in this driver. However, I
was unable to force a crash dump:
db> reboot 0x0104
dumping to dev 142,1 offset 9263
dump device bad
... my swap device is xbd0b. Would it work with an actual disk partition?
If anyone else is trying to develop this way, I'd appreciate any pointers...
+j
--------------enig4CA88C49A586A2BA276A599A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQCVAwUBQ3JIELOuUtxCgar5AQNElAP8DxP1o2USNEV9wzSbEIauiG3mCGHOGmvg
M3XZKnjiksOYDDxRTfu08ajnLgVJF1dMiGranCD1V6dVA6AYcgna3VrHGGcvGZh1
LyQ8Le52S/iAWLC2EzbJ6S9jF611BQQL8qun/W5PaLWOGHAcItaDQrvmyKvKkzbQ
KFIIu55A1zc=
=ZJkZ
-----END PGP SIGNATURE-----
--------------enig4CA88C49A586A2BA276A599A--