Nicholas W
2009-Apr-27 14:39 UTC
[Xen-users] Problem with Kernel Hard Panic at Boot on Dom0 Kernel
I am currently trying to make a usable Xen Dom0 kernel which I can use with Ubuntu 9.04 . I have compiled a kernel and made an initial ramdisk using gcc 4.2 along the lines described on the posting here: http://cwshep.blogspot.com/2008/12/howto-ubuntu-intrepid-ibex-810-xen-dom0.html However... When I try and boot the kernel it gets passed the disk initialization and about as far as the USB initialization and then crashes with a hard kernel panic, the stack trace is so long it scrolls of the top, and I cannot see which module or part of the code that caused the crash. Could someone tell me how I can capture this information. Perhaps its not really a Xen specific question, but then again there maybe things I can or cannot do with the Hypervisor already loaded - I don''t know. Thanks very much for your help, Regards, _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Paul Schulze
2009-Apr-27 16:00 UTC
Re: [Xen-users] Problem with Kernel Hard Panic at Boot on Dom0 Kernel
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Nicholas, On 27 Apr 2009, at 16:39, Nicholas W wrote:> I am currently trying to make a usable Xen Dom0 kernel which I can use > with Ubuntu 9.04 . I have compiled a kernel and made an initial > ramdisk using gcc 4.2 along the lines described on the posting here: > http://cwshep.blogspot.com/2008/12/howto-ubuntu-intrepid-ibex-810-xen-dom0.html > > However... When I try and boot the kernel it gets passed the disk > initialization and about as far as the USB initialization and then > crashes with a hard kernel panic, the stack trace is so long it > scrolls of the top, and I cannot see which module or part of the code > that caused the crash. Could someone tell me how I can capture this > information. Perhaps its not really a Xen specific question, but then > again there maybe things I can or cannot do with the Hypervisor > already loaded - I don''t know.I can''t tell you how you can capture the output, but what I can tell you is, that I have experienced quite a few problems with that particular kernel myself. Even if you get the kernel itself working, there are things, it has massive problems with, PCI passthrough for example is a total drag (devices can be visible, but not really working). And since you are going for a lower kernel version than the original Ubuntu 9.04 anyways, I suggest you check out the Debian Dom0/U kernel (source/binary packages on: http://packages.debian.org/search?keywords=linux+2.6.26+xen&searchon=names&suite=stable§ion=all) . It''s 2.6.26, but it works quite well here (I''m on Hardy though). If you''re lucky, it will even install from the original debian package, so definitely worth a try, if you don''t know how to build your own package. Other than that, there is always the option of getting the vanilla kernel 2.6.29 and patching it with the gentoo patchset (from: http://code.google.com/p/gentoo-xen-kernel/downloads/list) , but I haven''t been able to test that one for a prolonged period of time, so no guarantees there, other than that building a Dom0/U kernel that actually boots is possible. I hope this helps you a little bit, Paul. - -- Paul Schulze Mail: avlex82@gmail.com Why can''t a programmer tell the difference between Halloween and Christmas? Because OCT31 = DEC25. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (Darwin) iEYEARECAAYFAkn11pIACgkQj2zIQLJNnKN2MgCeMuaoRQW9zAv1snfk4ESV0Pwj yYcAoJgnV0i1pqXxm0NOzRHwrjwWGS2t =tymK -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users