[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: Xen debug help
[back on list] > > How about one other thing to try first. Have you got a serial > > line connected to the machine? > > I can connect one if needed. Great -- probably easier than writing down the VGA text console. The user manual gives details of how to configure the serial line. > > Have you built from source before? > > Actually I'm building from xen-2.0-testing.bk (I thought it would be the > most stable release). [The testing tree is being used to trial a number of things to improve Xserver support. It's remained pretty stable, though] OK, please apply and build the the attached patch. It's a hack such that all domain's console will go via the main console e.g. serial port. When you do the resume, it should capture the domains death throws. Hopefully this will give us what we need, but you may need to make the -syms file available for your kernel too. Best, Ian --- # This is a BitKeeper generated diff -Nru style patch. # # ChangeSet # 2004/11/30 23:24:33+00:00 iap10@xxxxxxxxxxxxxxxxxxx # Route unprivileged domain's console to the main console (e.g. serial) # # xen/Rules.mk # 2004/11/30 23:24:31+00:00 iap10@xxxxxxxxxxxxxxxxxxx +2 -2 # Route unprivileged domain's console to the main console (e.g. serial) # # linux-2.6.9-xen-sparse/drivers/xen/console/console.c # 2004/11/30 23:24:31+00:00 iap10@xxxxxxxxxxxxxxxxxxx +1 -1 # Route unprivileged domain's console to the main console (e.g. serial) # diff -Nru a/linux-2.6.9-xen-sparse/drivers/xen/console/console.c b/linux-2.6.9-xen-sparse/drivers/xen/console/console.c --- a/linux-2.6.9-xen-sparse/drivers/xen/console/console.c Tue Nov 30 23:25:07 2004 +++ b/linux-2.6.9-xen-sparse/drivers/xen/console/console.c Tue Nov 30 23:25:07 2004 @@ -174,7 +174,7 @@ void xen_console_init(void) #endif { - if ( xen_start_info.flags & SIF_INITDOMAIN ) + if ( 1 || xen_start_info.flags & SIF_INITDOMAIN ) { if ( xc_mode == XC_DEFAULT ) xc_mode = XC_SERIAL; diff -Nru a/xen/Rules.mk b/xen/Rules.mk --- a/xen/Rules.mk Tue Nov 30 23:25:07 2004 +++ b/xen/Rules.mk Tue Nov 30 23:25:07 2004 @@ -1,6 +1,6 @@ -verbose ?= n -debug ?= n +verbose ?= y +debug ?= y debugger ?= n perfc ?= n trace ?= n ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |