Li, Haicheng
2008-Mar-21 06:27 UTC
[Xen-devel] VMX nightly testing for Xen:#17269 is blocked
Since 76 changesets are added to Xen-unsable tree today (c/s 17194 ~ c/s 17269), regression is introduced accordingly. Today''s nightly testing for Xen:#17269 is blocked by following issue: Bug #1194, both Linux and Windows HVM guest can not boot up, http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1194. -- haicheng _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Mar-21 09:19 UTC
Re: [Xen-devel] VMX nightly testing for Xen:#17269 is blocked
Interesting. I managed to install a Windows XP guest, but it took *ages* (at least twice as long as usual, and actually probably more than that). The changeset referenced in the bug ticket might well be a red herring. Probably it is best to binary-chop on the Linux boot failure to find the offending changeset for that. -- Keir On 21/3/08 06:27, "Li, Haicheng" <haicheng.li@intel.com> wrote:> Since 76 changesets are added to Xen-unsable tree today (c/s 17194 ~ c/s > 17269), regression is introduced accordingly. > > Today''s nightly testing for Xen:#17269 is blocked by following issue: > > Bug #1194, both Linux and Windows HVM guest can not boot up, > http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1194. > > > > -- haicheng > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Mar-21 09:24 UTC
Re: [Xen-devel] VMX nightly testing for Xen:#17269 is blocked
Actually your ttyS0 logging is also interesting. MMIO emulation is failing on an instruction with prefix "0f 6f", which is MOVQ. It''s not clear, though, whether MOVQ is *really* supposed to be emulated -- I don''t think the old MMIO emulator emulated MOVQ either, so this may indicate that execution went wrong sometime earlier. -- Keir On 21/3/08 09:19, "Keir Fraser" <keir.fraser@eu.citrix.com> wrote:> Interesting. I managed to install a Windows XP guest, but it took *ages* (at > least twice as long as usual, and actually probably more than that). > > The changeset referenced in the bug ticket might well be a red herring. > Probably it is best to binary-chop on the Linux boot failure to find the > offending changeset for that. > > -- Keir > > On 21/3/08 06:27, "Li, Haicheng" <haicheng.li@intel.com> wrote: > >> Since 76 changesets are added to Xen-unsable tree today (c/s 17194 ~ c/s >> 17269), regression is introduced accordingly. >> >> Today''s nightly testing for Xen:#17269 is blocked by following issue: >> >> Bug #1194, both Linux and Windows HVM guest can not boot up, >> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1194. >> >> >> >> -- haicheng >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Li, Haicheng
2008-Mar-21 09:46 UTC
RE: [Xen-devel] VMX nightly testing for Xen:#17269 is blocked
Keir, we double checked this bug and found there should be two different bugs in c/s 17269: Bug 1: SDL library related issue: Linux X window and Windows OS failed to initialize: a. if using SDL lib, Windows / Linux X will stop and then qemu window will disappear. b. if using VNC lib, Windows / Linux X can boot successfully. Bug 2: Linux booting hang with "hda: dma..." errors. Dexuan Cui has found the root cause and he will give more updates for this bug. Keir Fraser wrote:> Interesting. I managed to install a Windows XP guest, but it took > *ages* (at least twice as long as usual, and actually probably more > than that). > > The changeset referenced in the bug ticket might well be a red > herring. Probably it is best to binary-chop on the Linux boot failure > to find the offending changeset for that. > > -- Keir > > On 21/3/08 06:27, "Li, Haicheng" <haicheng.li@intel.com> wrote: > >> Since 76 changesets are added to Xen-unsable tree today (c/s 17194 ~ >> c/s 17269), regression is introduced accordingly. >> >> Today''s nightly testing for Xen:#17269 is blocked by following issue: >> >> Bug #1194, both Linux and Windows HVM guest can not boot up, >> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1194. >> >> >> >> -- haicheng >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel-- haicheng _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Mar-21 09:49 UTC
Re: [Xen-devel] VMX nightly testing for Xen:#17269 is blocked
Dexuan''s hvm_io_bitmap fix could account for any amount of HVM guest weirdness. I pushed it straight through to the public tree, and let''s hope your next round of testing is unblocked. -- Keir On 21/3/08 06:27, "Li, Haicheng" <haicheng.li@intel.com> wrote:> Since 76 changesets are added to Xen-unsable tree today (c/s 17194 ~ c/s > 17269), regression is introduced accordingly. > > Today''s nightly testing for Xen:#17269 is blocked by following issue: > > Bug #1194, both Linux and Windows HVM guest can not boot up, > http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1194. > > > > -- haicheng > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Mar-21 09:54 UTC
Re: [Xen-devel] VMX nightly testing for Xen:#17269 is blocked
Bug #1 is almost certainly due to one of Stefano''s patches. He''s now cc''ed. Obvious suspect is the SDL OpenGL rendering patches. You could try adding opengl=0 to your guest config file, or reverting the changesets relating to sdl/opengl (there are 3 or 4 of them). -- Keir On 21/3/08 09:46, "Li, Haicheng" <haicheng.li@intel.com> wrote:> Keir, we double checked this bug and found there should be two different > bugs in c/s 17269: > > Bug 1: SDL library related issue: Linux X window and Windows OS failed > to initialize: > a. if using SDL lib, Windows / Linux X will stop and then qemu > window will disappear. > b. if using VNC lib, Windows / Linux X can boot successfully. > > Bug 2: Linux booting hang with "hda: dma..." errors. Dexuan Cui has > found the root cause and he will give more updates for this bug. > > > Keir Fraser wrote: >> Interesting. I managed to install a Windows XP guest, but it took >> *ages* (at least twice as long as usual, and actually probably more >> than that). >> >> The changeset referenced in the bug ticket might well be a red >> herring. Probably it is best to binary-chop on the Linux boot failure >> to find the offending changeset for that. >> >> -- Keir >> >> On 21/3/08 06:27, "Li, Haicheng" <haicheng.li@intel.com> wrote: >> >>> Since 76 changesets are added to Xen-unsable tree today (c/s 17194 ~ >>> c/s 17269), regression is introduced accordingly. >>> >>> Today''s nightly testing for Xen:#17269 is blocked by following issue: >>> >>> Bug #1194, both Linux and Windows HVM guest can not boot up, >>> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1194. >>> >>> >>> >>> -- haicheng >>> >>> >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel > > > > -- haicheng_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Li, Haicheng
2008-Mar-21 09:58 UTC
RE: [Xen-devel] VMX nightly testing for Xen:#17269 is blocked
Seems with Dexuan''s patch, Windows guest with sdl=1 still fails to boot up. I will double check it in next round testing. Keir Fraser wrote:> Dexuan''s hvm_io_bitmap fix could account for any amount of HVM guest > weirdness. I pushed it straight through to the public tree, and let''s > hope your next round of testing is unblocked. > > -- Keir > > On 21/3/08 06:27, "Li, Haicheng" <haicheng.li@intel.com> wrote: > >> Since 76 changesets are added to Xen-unsable tree today (c/s 17194 ~ >> c/s 17269), regression is introduced accordingly. >> >> Today''s nightly testing for Xen:#17269 is blocked by following issue: >> >> Bug #1194, both Linux and Windows HVM guest can not boot up, >> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1194. >> >> >> >> -- haicheng >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-- haicheng _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Samuel Thibault
2008-Mar-21 11:53 UTC
Re: [Xen-devel] VMX nightly testing for Xen:#17269 is blocked
Li, Haicheng, le Fri 21 Mar 2008 17:46:32 +0800, a écrit :> Keir, we double checked this bug and found there should be two different > bugs in c/s 17269: > > Bug 1: SDL library related issue: Linux X window and Windows OS failed > to initialize: > a. if using SDL lib, Windows / Linux X will stop and then qemu > window will disappear.Mmm, I can''t reproduce that. At which step of boot does it stop? Could you tell the exact configuration of Windows/Linux? Are there useful information in /var/log/xen/qemu-dm-yourdomain.log? Samuel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Li, Haicheng
2008-Mar-21 13:01 UTC
RE: [Xen-devel] VMX nightly testing for Xen:#17269 is blocked
Yes, with opengl=0 added in guest config, bug1 disappears, both Linux X and Windows can boot up with SDL lib. Thanks. Keir Fraser wrote:> Bug #1 is almost certainly due to one of Stefano''s patches. He''s now > cc''ed. > > Obvious suspect is the SDL OpenGL rendering patches. You could try > adding opengl=0 to your guest config file, or reverting the > changesets relating to sdl/opengl (there are 3 or 4 of them). > > -- Keir > > On 21/3/08 09:46, "Li, Haicheng" <haicheng.li@intel.com> wrote: > >> Keir, we double checked this bug and found there should be two >> different bugs in c/s 17269: >> >> Bug 1: SDL library related issue: Linux X window and Windows OS >> failed to initialize: a. if using SDL lib, Windows / Linux X will >> stop and then qemu >> window will disappear. >> b. if using VNC lib, Windows / Linux X can boot successfully. >> >> Bug 2: Linux booting hang with "hda: dma..." errors. Dexuan Cui has >> found the root cause and he will give more updates for this bug. >> >> >> Keir Fraser wrote: >>> Interesting. I managed to install a Windows XP guest, but it took >>> *ages* (at least twice as long as usual, and actually probably more >>> than that). >>> >>> The changeset referenced in the bug ticket might well be a red >>> herring. Probably it is best to binary-chop on the Linux boot >>> failure to find the offending changeset for that. >>> >>> -- Keir >>> >>> On 21/3/08 06:27, "Li, Haicheng" <haicheng.li@intel.com> wrote: >>> >>>> Since 76 changesets are added to Xen-unsable tree today (c/s 17194 >>>> ~ c/s 17269), regression is introduced accordingly. >>>> >>>> Today''s nightly testing for Xen:#17269 is blocked by following >>>> issue: >>>> >>>> Bug #1194, both Linux and Windows HVM guest can not boot up, >>>> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1194. >>>> >>>> >>>> >>>> -- haicheng >>>> >>>> >>>> _______________________________________________ >>>> Xen-devel mailing list >>>> Xen-devel@lists.xensource.com >>>> http://lists.xensource.com/xen-devel >> >> >> >> -- haicheng-- haicheng _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Li, Haicheng
2008-Mar-21 13:02 UTC
RE: [Xen-devel] VMX nightly testing for Xen:#17269 is blocked
Samuel Thibault wrote:> Li, Haicheng, le Fri 21 Mar 2008 17:46:32 +0800, a écrit : >> Keir, we double checked this bug and found there should be two >> different bugs in c/s 17269: >> >> Bug 1: SDL library related issue: Linux X window and Windows OS >> failed to initialize: a. if using SDL lib, Windows / Linux X will >> stop and then qemu >> window will disappear.with opengl=0 added in guest config, bug1 disappears, both Linux X and Windows can boot up with SDL lib.> Mmm, I can''t reproduce that. At which step of boot does it stop?Actually since qemu window disappears immediately after OS enters graphic mode, it''s hard to locate the exact step. Only can say it is just after `startx &` on Linux and "driver loading progress bar" on Windows.> Could you tell the exact configuration of Windows/Linux?Guest config file is attached.> Are there useful information in /var/log/xen/qemu-dm-yourdomain.log?Seems no useful info for this bug in qemu log. The log is attached too. -- haicheng _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Samuel Thibault
2008-Mar-21 13:53 UTC
Re: [Xen-devel] VMX nightly testing for Xen:#17269 is blocked
Li, Haicheng, le Fri 21 Mar 2008 21:02:30 +0800, a écrit :> Actually since qemu window disappears immediately after OS enters graphic mode, it''s hard to locate the exact step. > Only can say it is just after `startx &` on Linux and "driver loading progress bar" on Windows.Ok, so that''s when we switch to OpenGL rendering.> > Could you tell the exact configuration of Windows/Linux? > Guest config file is attached.Well, I meant the guest configuration actually (resolution/color depth).> > Are there useful information in /var/log/xen/qemu-dm-yourdomain.log? > Seems no useful info for this bug in qemu log.Indeed :/ Could you try to use the attached qemu-dm.gdb script for the device model? It is just a gdb wrapper around the actual qemu-dm, which should let get a backtrace. Samuel --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="qemu-dm.gdb" #!/bin/sh if [ "`arch`" = "x86_64" ]; then LIBDIR="lib64" else LIBDIR="lib" fi xterm -e /bin/sh -c "gdb --args /usr/$LIBDIR/xen/bin/qemu-dm $*" --FCuugMFkClbJLl1L Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --FCuugMFkClbJLl1L--
Li, Haicheng
2008-Mar-24 09:26 UTC
RE: [Xen-devel] VMX nightly testing for Xen:#17269 is blocked
Samuel Thibault wrote:> Li, Haicheng, le Fri 21 Mar 2008 21:02:30 +0800, a écrit : >> Actually since qemu window disappears immediately after OS enters >> graphic mode, it''s hard to locate the exact step. Only can say it is >> just after `startx &` on Linux and "driver loading progress bar" on >> Windows. > > Ok, so that''s when we switch to OpenGL rendering. > >>> Could you tell the exact configuration of Windows/Linux? Guest >>> config file is attached. > > Well, I meant the guest configuration actually (resolution/color > depth).Resolution: 800 * 600, color: 24 bit.>>> Are there useful information in /var/log/xen/qemu-dm-yourdomain.log? >> Seems no useful info for this bug in qemu log. > > Indeed :/ > > Could you try to use the attached qemu-dm.gdb script for the device > model? It is just a gdb wrapper around the actual qemu-dm, which > should let get a backtrace.There is a segment fault caused by sdl_resize() in tools/ioemu/sdl.c. I changed a few code as below and found SDL_SetVideoMode() failed with error:Couldn''t find matching GLX visual. And detailed qemu log is attached. = diff -r 76c9cf11ce23 tools/ioemu/sdl.c --- a/tools/ioemu/sdl.c Fri Mar 21 09:45:34 2008 +0000 +++ b/tools/ioemu/sdl.c Mon Mar 24 16:49:09 2008 +0800 @@ -191,15 +191,18 @@ static void sdl_resize(DisplayState *ds, { int flags; - // printf("resizing to %d %d\n", w, h); + printf("resizing to %d %d\n", w, h); #ifdef CONFIG_OPENGL if (ds->shared_buf && opengl_enabled) flags = SDL_OPENGL|SDL_RESIZABLE; else #endif - flags = SDL_HWSURFACE|SDL_ASYNCBLIT|SDL_HWACCEL|SDL_DOUBLEBUF|SDL_HWPALETTE; - + flags = SDL_HWSURFACE|SDL_ASYNCBLIT|SDL_HWACCEL|SDL_DOUBLEBUF|SDL_HWPALETTE; + +#ifdef CONFIG_OPENGL + printf("opengl is defined\n"); +#endif if (gui_fullscreen) { flags |= SDL_FULLSCREEN; flags &= ~SDL_RESIZABLE; @@ -210,11 +213,11 @@ static void sdl_resize(DisplayState *ds, again: screen = SDL_SetVideoMode(w, h, 0, flags); -#ifndef CONFIG_OPENGL if (!screen) { fprintf(stderr, "Could not open SDL display: %s\n", SDL_GetError()); exit(1); } +#ifndef CONFIG_OPENGL if (!screen->pixels && (flags & SDL_HWSURFACE) && (flags & SDL_FULLSCREEN)) { flags &= ~SDL_HWSURFACE; goto again; -- haicheng _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel