All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fantu <fantonifabio@tiscali.it>
To: xen-devel@lists.xensource.com
Subject: Re: Unable to get QXL vga working / videomem over 4MB issue
Date: Mon, 7 May 2012 08:01:19 -0700 (PDT)	[thread overview]
Message-ID: <1336402879103-5691285.post@n5.nabble.com> (raw)
In-Reply-To: <1336132976402-5685659.post@n5.nabble.com>


Fantu wrote
> 
> 
> Anthony PERARD-2 wrote
>> 
>> On Fri, May 4, 2012 at 9:28 AM, Ian Campbell &lt;Ian.Campbell@&gt; wrote:
>>> Anthony -- any idea why the videoram setting doesn't work with upstream
>>> qemu?
>> 
>> Well, the parameter could be pass to qemu qxl, but it's not yet. But
>> then, it seams you have to have this value of at least 32MB, otherwise
>> the value is increase in qemu.
>> 
>> For cirrus/stdvga, there is no way to pass the parameter to qemu, the
>> size in qemu is fixed to 8MB.
>> 
>> -- 
>> Anthony PERARD
>> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@.xen
>> http://lists.xen.org/xen-devel
>> 
> I have already tried -global qxl-vga.vram_size for setting more videoram
> on qxl but not work,have always 4 mb, also with qemu-upstream unstable,
> the default code in qemu should have 64 mb and minimum 16 mb, why and
> where it sets 4 mb?
> Now I will try also with 1.1-rc0 and seabios 1.7.0.
> 
I did other tests with new build (see 
http://xen.1045712.n5.nabble.com/Test-result-of-xen-unstable-changeset-25259-td5691153.html
here  for detail)

Precise domU start but X crash, same error also with Wheezy with more update
package include qxl driver
Here some details:
-------------------------------
PRECISEHVM.cfg
--------
name='PRECISEHVM'
builder="hvm"
memory=1024
#maxmem=1536
vcpus=2
hap=1
pae=1
acpi=1
apic=1
nx=1
vif=['bridge=xenbr0']
#vfb=['vnc=1,vncunused=1,vnclisten="0.0.0.0",keymap="it"']
#disk=['/mnt/vm/disks/PRECISEHVM.disk1.xm,raw,hda,rw',
'/dev/sr0,raw,hdb,ro,cdrom']
disk=['/mnt/vm/disks/PRECISEHVM.disk1.xm,raw,hda,rw']
boot='c'
xen_platform_pci=1
device_model_version='qemu-xen'
#vnc=1
#vncunused=1
#vnclisten="0.0.0.0"
#keymap="it"
stdvga=0
spice=1
spicehost='0.0.0.0'
spiceport=6000
spicedisable_ticketing=1
#device_model_args=["-device","qxl-vga","-global","qxl-vga.vram_size=33554432"]
device_model_args=["-vga","qxl"]
videoram=128
-------------------------------
Full X log:  http://xen.1045712.n5.nabble.com/file/n5691285/Xorg.0.log
Xorg.0.log 

I also tried to remove videoram parameter but not start
-------------------------------
xl create /etc/xen/PRECISEHVM.cfg
Parsing config file /etc/xen/PRECISEHVM.cfg
xc: info: VIRTUAL MEMORY ARRANGEMENT:
  Loader:        0000000000100000->000000000019dc88
  TOTAL:         0000000000000000->000000003f800000
  ENTRY ADDRESS: 0000000000100000
xc: info: PHYSICAL MEMORY ALLOCATION:
  4KB PAGES: 0x0000000000000200
  2MB PAGES: 0x00000000000001fb
  1GB PAGES: 0x0000000000000000
libxl: error: libxl_qmp.c:687:libxl__qmp_initialize: Connection error:
Connection refused
libxl: error: libxl_exec.c:200:libxl__wait_for_offspring: Device Model died
during startup
libxl: error: libxl_create.c:709:do_domain_create: device model did not
start: -1
-------------------------------
/var/log/xen/qemu-dm-PRECISEHVM.log
-------------------------
do_spice_init: starting 0.10.1
spice_server_add_interface: SPICE_INTERFACE_MIGRATION
spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
spice_server_add_interface: SPICE_INTERFACE_MOUSE
qemu: hardware error: xen: failed to populate ram at 3f800000
CPU #0:
EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000633
ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000
EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0000 00000000 0000ffff 00009300
CS =f000 ffff0000 0000ffff 00009b00
SS =0000 00000000 0000ffff 00009300
DS =0000 00000000 0000ffff 00009300
FS =0000 00000000 0000ffff 00009300
GS =0000 00000000 0000ffff 00009300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT=     00000000 0000ffff
IDT=     00000000 0000ffff
CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000
DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000
DR6=ffff0ff0 DR7=00000400
EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000
XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000
XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000
XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000
XMM07=00000000000000000000000000000000
CPU #1:
EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000633
ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000
EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=1
ES =0000 00000000 0000ffff 00009300
CS =f000 ffff0000 0000ffff 00009b00
SS =0000 00000000 0000ffff 00009300
DS =0000 00000000 0000ffff 00009300
FS =0000 00000000 0000ffff 00009300
GS =0000 00000000 0000ffff 00009300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT=     00000000 0000ffff
IDT=     00000000 0000ffff
CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000
DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000
DR6=ffff0ff0 DR7=00000400
EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000
XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000
XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000
XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000
XMM07=00000000000000000000000000000000
-------------------------------

videoram seems reserve the ram and from X log QXL videoram seems to be at
correct size but probably qemu can't use it.

--
View this message in context: http://xen.1045712.n5.nabble.com/Unable-to-get-QXL-vga-working-tp5667919p5691285.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

  reply	other threads:[~2012-05-07 15:01 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26 15:23 Unable to get QXL vga working Fantu
2012-04-26 15:39 ` Ian Campbell
2012-04-27  5:15   ` ZhouPeng
2012-04-27  9:23     ` Fantu
2012-05-02  8:21     ` Fantu
2012-05-03 11:31       ` ZhouPeng
2012-05-03 12:28         ` Fantu
2012-05-03 14:00           ` Unable to get QXL vga working / videomem over 4MB issue Pasi Kärkkäinen
2012-05-03 14:27             ` Fantu
2012-05-03 16:02               ` Pasi Kärkkäinen
2012-05-04  8:23                 ` Fantu
2012-05-04  8:28                   ` Ian Campbell
2012-05-04  8:56                     ` Fantu
2012-05-04 11:21                     ` Anthony PERARD
2012-05-04 11:32                       ` Ian Campbell
2012-05-08 16:24                         ` Pasi Kärkkäinen
2012-05-08 19:15                           ` Ian Campbell
2012-05-09 14:07                             ` Fantu
2012-05-09 16:01                               ` Anthony PERARD
2012-05-04 12:02                       ` Fantu
2012-05-07 15:01                         ` Fantu [this message]
2012-05-11 12:19                       ` Geraldes
2012-05-11 13:00                         ` Anthony PERARD
2012-05-03 12:46         ` Unable to get QXL vga working Stefano Stabellini
2012-05-03 12:56           ` ZhouPeng
2012-05-03 13:05             ` Stefano Stabellini
2012-05-03 13:05               ` ZhouPeng
2012-05-03 13:13                 ` Ian Campbell
2012-05-03 13:27                   ` ZhouPeng
2012-05-03 13:56                 ` Stefano Stabellini
2012-05-04  1:15                   ` ZhouPeng
2012-05-04  8:30                     ` Ian Campbell
2012-05-24  3:13                       ` ZhouPeng
2012-05-24 10:13                         ` Stefano Stabellini
2012-05-24 11:28                           ` ZhouPeng
2012-06-11 11:56                             ` Fabio Fantoni
2012-06-13  9:02                               ` ZhouPeng
2012-06-13  9:38                                 ` Fabio Fantoni
2012-06-13 11:40                                   ` ZhouPeng
2012-06-14 13:51                                     ` Fabio Fantoni
2012-06-15  7:36                                       ` ZhouPeng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1336402879103-5691285.post@n5.nabble.com \
    --to=fantonifabio@tiscali.it \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.