Arvind R
2010-Apr-12 11:39 UTC
[Xen-devel] [Xen-4.0.0] domU screen corruption on switching consoles
Hi, Got a domU running 2.6.32.3 pvops kernel. This is perfectly fine on dom0 (2.6.32.10 pvops) witn xen-3.4rc3 hypervisor. But with xen-4.0.0 hypervisor, the domU screen is unreadably corrupt on switching to xm-console (ctrl-alt-2) and back. Blind commands work - like shutdown. The screen remains static and corrupt. Can swicth to xm-console which is fine. Nothing in logs. Arvind _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2010-Apr-12 12:39 UTC
Re: [Xen-devel] [Xen-4.0.0] domU screen corruption on switching consoles
On Mon, Apr 12, 2010 at 05:09:29PM +0530, Arvind R wrote:> Hi, > Got a domU running 2.6.32.3 pvops kernel. This is perfectly fine on dom0 > (2.6.32.10 pvops) witn xen-3.4rc3 hypervisor. >So the domU is PV (paravirtualized?> But with xen-4.0.0 hypervisor, the domU screen is unreadably corrupt > on switching > to xm-console (ctrl-alt-2) and back.Switching between what? Do you have X running on dom0? It''s not clear between what you''re switching.. Does the domU have pvfb (vfb) graphical framebuffer?> Blind commands work - like > shutdown. The screen > remains static and corrupt. Can swicth to xm-console which is fine. > Nothing in logs. >-- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Arvind R
2010-Apr-13 05:58 UTC
Re: [Xen-devel] [Xen-4.0.0] domU screen corruption on switching consoles
On Mon, Apr 12, 2010 at 6:09 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Mon, Apr 12, 2010 at 05:09:29PM +0530, Arvind R wrote: >> Hi, >> Got a domU running 2.6.32.3 pvops kernel. This is perfectly fine on dom0 >> (2.6.32.10 pvops) witn xen-3.4rc3 hypervisor. >> > > So the domU is PV (paravirtualized? > >> But with xen-4.0.0 hypervisor, the domU screen is unreadably corrupt >> on switching >> to xm-console (ctrl-alt-2) and back. > > Switching between what? Do you have X running on dom0?Yes. Accelerated nouveau running fine. domU has no X - just minimal console based debian-etch with non-graphical browser and some utilities.> It''s not clear between what you''re switching.. >Switching between the domU VT-console to qemu console (focus on domU console, ctrl-alt-2(for xm commands to eject, ...)) and back (ctrl-alt-1)>From corrupt screen, ctrl-alt-2 goes back to xm-console fine as many timesas you want. Using sendkey ctrl-alt-F2 switches to corrupt login screen on VT-2 of domU. On xen-3.4rc3, all of these work fine.> Does the domU have pvfb (vfb) graphical framebuffer? >Yes. This is what gets corrupted.>> Blind commands work - like >> shutdown. The screen >> remains static and corrupt. Can swicth to xm-console which is fine. >> Nothing in logs. >> > > -- Pasi > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Arvind R
2010-Apr-13 06:40 UTC
Re: [Xen-devel] [Xen-4.0.0] domU screen corruption on switching consoles
On Tue, Apr 13, 2010 at 11:28 AM, Arvind R <arvino55@gmail.com> wrote:> On Mon, Apr 12, 2010 at 6:09 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote: >> On Mon, Apr 12, 2010 at 05:09:29PM +0530, Arvind R wrote: >>> Hi, >>> Got a domU running 2.6.32.3 pvops kernel. This is perfectly fine on dom0 >>> (2.6.32.10 pvops) witn xen-3.4rc3 hypervisor. >>> >> >> So the domU is PV (paravirtualized? >> >>> But with xen-4.0.0 hypervisor, the domU screen is unreadably corrupt >>> on switching >>> to xm-console (ctrl-alt-2) and back. >> >> Switching between what? Do you have X running on dom0? > Yes. Accelerated nouveau running fine. > > domU has no X - just minimal console based debian-etch with > non-graphical browser and some utilities. > >> It''s not clear between what you''re switching.. >> > Switching between the domU VT-console to qemu console (focus on > domU console, ctrl-alt-2(for xm commands to eject, ...)) and back (ctrl-alt-1) > From corrupt screen, ctrl-alt-2 goes back to xm-console fine as many times > as you want. Using sendkey ctrl-alt-F2 switches to corrupt login screen on > VT-2 of domU. On xen-3.4rc3, all of these work fine. > >> Does the domU have pvfb (vfb) graphical framebuffer? >> > Yes. This is what gets corrupted. > >>> Blind commands work - like >>> shutdown. The screen >>> remains static and corrupt. Can swicth to xm-console which is fine. >>> Nothing in logs. >>> >> >> -- Pasi >> >> >Something in the logs (qemu-dm) now, a continuous string of foll. line. xen_be: vfb-0: xenfb_guest_copy: oops: convert 32 -> 32 bpp? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Arvind R
2010-Apr-13 08:37 UTC
Re: [Xen-devel] [Xen-4.0.0] domU screen corruption on switching consoles
On Tue, Apr 13, 2010 at 12:10 PM, Arvind R <arvino55@gmail.com> wrote:> On Tue, Apr 13, 2010 at 11:28 AM, Arvind R <arvino55@gmail.com> wrote: >> On Mon, Apr 12, 2010 at 6:09 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote: >>> On Mon, Apr 12, 2010 at 05:09:29PM +0530, Arvind R wrote: >>>> Hi, >>>> Got a domU running 2.6.32.3 pvops kernel. This is perfectly fine on dom0 >>>> (2.6.32.10 pvops) witn xen-3.4rc3 hypervisor. >>>> >>> >>> So the domU is PV (paravirtualized? >>> >>>> But with xen-4.0.0 hypervisor, the domU screen is unreadably corrupt >>>> on switching >>>> to xm-console (ctrl-alt-2) and back. >>> >>> Switching between what? Do you have X running on dom0? >> Yes. Accelerated nouveau running fine. >> >> domU has no X - just minimal console based debian-etch with >> non-graphical browser and some utilities. >> >>> It''s not clear between what you''re switching.. >>> >> Switching between the domU VT-console to qemu console (focus on >> domU console, ctrl-alt-2(for xm commands to eject, ...)) and back (ctrl-alt-1) >> From corrupt screen, ctrl-alt-2 goes back to xm-console fine as many times >> as you want. Using sendkey ctrl-alt-F2 switches to corrupt login screen on >> VT-2 of domU. On xen-3.4rc3, all of these work fine. >> >>> Does the domU have pvfb (vfb) graphical framebuffer? >>> >> Yes. This is what gets corrupted. >> >>>> Blind commands work - like >>>> shutdown. The screen >>>> remains static and corrupt. Can swicth to xm-console which is fine. >>>> Nothing in logs. >>>> >>> >>> -- Pasi >>> >>> >> > Something in the logs (qemu-dm) now, a continuous string of foll. line. > xen_be: vfb-0: xenfb_guest_copy: oops: convert 32 -> 32 bpp? >In hw/xenfb.c, xenfb_guest_copy(), the case of xenfb->depth == bpp is not handled. Attached patch corrects the screen corruption. Now, after switching back, the screen is OK; but further key-strokes are NOT echoed to screen. Blind typing produces proper output. e.g. blindly typing ''ls'' shows directory listing; but the ''ls'' is not echoed. Arvind _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Arvind R
2010-Apr-22 08:31 UTC
Re: [Xen-devel] [Xen-4.0.0] domU screen corruption on switching consoles
On Tue, Apr 13, 2010 at 2:07 PM, Arvind R <arvino55@gmail.com> wrote:> On Tue, Apr 13, 2010 at 12:10 PM, Arvind R <arvino55@gmail.com> wrote: >> On Tue, Apr 13, 2010 at 11:28 AM, Arvind R <arvino55@gmail.com> wrote: >>> On Mon, Apr 12, 2010 at 6:09 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote: >>>> On Mon, Apr 12, 2010 at 05:09:29PM +0530, Arvind R wrote: >>>>> Hi, >>>>> Got a domU running 2.6.32.3 pvops kernel. This is perfectly fine on dom0 >>>>> (2.6.32.10 pvops) witn xen-3.4rc3 hypervisor. >>>>> >>>> >>>> So the domU is PV (paravirtualized? >>>> >>>>> But with xen-4.0.0 hypervisor, the domU screen is unreadably corrupt >>>>> on switching >>>>> to xm-console (ctrl-alt-2) and back. >>>> >>>> Switching between what? Do you have X running on dom0? >>> Yes. Accelerated nouveau running fine. >>> >>> domU has no X - just minimal console based debian-etch with >>> non-graphical browser and some utilities. >>> >>>> It''s not clear between what you''re switching.. >>>> >>> Switching between the domU VT-console to qemu console (focus on >>> domU console, ctrl-alt-2(for xm commands to eject, ...)) and back (ctrl-alt-1) >>> From corrupt screen, ctrl-alt-2 goes back to xm-console fine as many times >>> as you want. Using sendkey ctrl-alt-F2 switches to corrupt login screen on >>> VT-2 of domU. On xen-3.4rc3, all of these work fine. >>> >>>> Does the domU have pvfb (vfb) graphical framebuffer? >>>> >>> Yes. This is what gets corrupted. >>> >>>>> Blind commands work - like >>>>> shutdown. The screen >>>>> remains static and corrupt. Can swicth to xm-console which is fine. >>>>> Nothing in logs. >>>>> >>>> >>>> -- Pasi >>>> >>>> >>> >> Something in the logs (qemu-dm) now, a continuous string of foll. line. >> xen_be: vfb-0: xenfb_guest_copy: oops: convert 32 -> 32 bpp? >> > In hw/xenfb.c, xenfb_guest_copy(), the case of xenfb->depth == bpp > is not handled. Attached patch corrects the screen corruption. > > Now, after switching back, the screen is OK; but further key-strokes > are NOT echoed to screen. Blind typing produces proper output. > e.g. blindly typing ''ls'' shows directory listing; but the ''ls'' is not echoed. >The console I refer to is the qemu-console. Just discovered that HVMs are OK. PV-domU has the problem. Am I on the right mailing-list for this? - arvind. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel