[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [Xen-4.0.0] domU screen corruption on switching consoles


  • To: Pasi Kärkkäinen <pasik@xxxxxx>
  • From: Arvind R <arvino55@xxxxxxxxx>
  • Date: Tue, 13 Apr 2010 14:07:45 +0530
  • Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 13 Apr 2010 01:38:24 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ZxSSPcmyjKgcAsPX77sWfE7bdeiTMbtWt8S+NkgcD99oWkQmMdTg1/t1bvGjVbijvZ pYfo/oLsYEwHAS4vZWUgxTHCmnHkgWxTa/UWN+LMihKiPflCBY8NVo6aPdVyNETfVBAt 6Zxs36r3zXqRFzq5f/0q/HiBxmMyVh23Qr5cE=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On Tue, Apr 13, 2010 at 12:10 PM, Arvind R <arvino55@xxxxxxxxx> wrote:
> On Tue, Apr 13, 2010 at 11:28 AM, Arvind R <arvino55@xxxxxxxxx> wrote:
>> On Mon, Apr 12, 2010 at 6:09 PM, Pasi Kärkkäinen <pasik@xxxxxx> 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

Attachment: xenfb_bpp_match_case.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.