Skip to contentSkip to conversation

Test report for xen-unstable and qemu-xen

DISCUSSION Fabio Fantoni 4 participants 15 messages Aug 12, 2013 – Aug 16, 2013

lore
Share & tools
lore
#0 lore raw

Dom0:
Wheezy 64 bit with kernel from package linux-image-3.2.0-4-amd64 version 3.2.46-1 and all dependency packages for xen, spice and usb redirection. Seabios 1.7.3-1, qemu 1.5.0+dfsg-5 (1.5.1), spice 0.12.4-0nocelt1 and usbredir 0.6-2 compiled from debian unstable sources.
-------------------------
git clone git://xenbits.xen.org/xen.git (in this build commit is 73f18583dd824f0e49f65149ef603600ce31b8ee)
-------------------------
Added some patches:
- tools-configure-qemu-for-spice-and-usbredir
- libxl-Add-spice-vdagent-support-for-upstream-qemu v3
- libxl: usb2 and usb3 controller support for upstream qemu v4
- tools-firmware-seabios-packaged
- tools: Improve make deb v3
- tools: remove or disable old/useless/unused/unmainted stuff (the whole series of 9 patches)
-------------------------
./configure --prefix=/usr --disable-xend
-------------------------
make debball

-------------------------
New issue:
- domU not start with qemu 1.5.1 and more that 2 gb of ram:
tested on w7 64 bit domU with 4 gb of ram, with built-in qemu 1.3 it
works,
while with qemu 1.5.1 doesn't (stops at the beginning, spice client
show only the lines of seabios version and machine UUID;
qemu log show nothing more that 2 gb test), while with 2 gb of ram
works also with qemu 1.5.1
-------------------------

-------------------------
Old issue:
- Network is not working after restore on Windows domU with qemu-xen and gplpv
Workaround: fixed mac address
-------------
- Starting xendomain with "xl create" show some debug options:
Starting auto Xen domains: W7.cfgxc: info: VIRTUAL MEMORY ARRANGEMENT:

  Loader:        0000000000100000->000000000019eb68
  Modules:       0000000000000000->0000000000000000
  TOTAL:         0000000000000000->000000007f000000

ENTRY ADDRESS: 0000000000100000
xc: info: PHYSICAL MEMORY ALLOCATION:
4KB PAGES: 0x0000000000000200
2MB PAGES: 0x00000000000003f7
1GB PAGES: 0x0000000000000000
[done].
I think it is would be better hiding them here
-------------
- on W7 pro 64 bit domU error in the begin of qemu log, while domU seem to work:
xc: error: linux_gnttab_set_max_grants: ioctl SET_MAX_GRANTS failed (22 = Invalid argument): Internal error xen be: qdisk-832: xc_gnttab_set_max_grants failed: Invalid argument
-------------
- nested hvm was bugged: started test it on windows 7 pro 64 domU on qemu-xen,
xpmode crashed on install without show error, no error on logs and
havdetection works
Now xpmode install and start correctly except integration features (disks,printers,clipboard sharing) and usb passthrough (of xpmode)
-------------------------

#1 lore raw

Il 12/08/2013 17:04, Fabio Fantoni ha scritto:

Quoted 19 lines

Dom0:
Wheezy 64 bit with kernel from package linux-image-3.2.0-4-amd64 version 3.2.46-1 and all dependency packages for xen, spice and usb redirection. Seabios 1.7.3-1, qemu 1.5.0+dfsg-5 (1.5.1), spice 0.12.4-0nocelt1 and usbredir 0.6-2 compiled from debian unstable sources.
-------------------------
git clone git://xenbits.xen.org/xen.git (in this build commit is 73f18583dd824f0e49f65149ef603600ce31b8ee)
-------------------------
Added some patches:
- tools-configure-qemu-for-spice-and-usbredir
- libxl-Add-spice-vdagent-support-for-upstream-qemu v3
- libxl: usb2 and usb3 controller support for upstream qemu v4
- tools-firmware-seabios-packaged
- tools: Improve make deb v3
- tools: remove or disable old/useless/unused/unmainted stuff (the
whole series of 9 patches)
-------------------------
./configure --prefix=/usr --disable-xend
-------------------------
make debball

Quoted 10 lines

-------------------------
New issue:
- domU not start with qemu 1.5.1 and more that 2 gb of ram:
tested on w7 64 bit domU with 4 gb of ram, with built-in qemu 1.3 it
works,
while with qemu 1.5.1 doesn't (stops at the beginning, spice client
show only the lines of seabios version and machine UUID;
qemu log show nothing more that 2 gb test), while with 2 gb of ram
works also with qemu 1.5.1
-------------------------

Added qemu-devel and debian maintainers to cc for this regression about upstream qemu. If you need more details and tests tell me and I'll do/post them.

Quoted 32 lines

-------------------------
Old issue:
- Network is not working after restore on Windows domU with qemu-xen and gplpv
Workaround: fixed mac address
-------------
- Starting xendomain with "xl create" show some debug options:
Starting auto Xen domains: W7.cfgxc: info: VIRTUAL MEMORY ARRANGEMENT:

  Loader:        0000000000100000->000000000019eb68
  Modules:       0000000000000000->0000000000000000
  TOTAL:         0000000000000000->000000007f000000

ENTRY ADDRESS: 0000000000100000
xc: info: PHYSICAL MEMORY ALLOCATION:
4KB PAGES: 0x0000000000000200
2MB PAGES: 0x00000000000003f7
1GB PAGES: 0x0000000000000000
[done].
I think it is would be better hiding them here
-------------
- on W7 pro 64 bit domU error in the begin of qemu log, while domU
seem to work:
xc: error: linux_gnttab_set_max_grants: ioctl SET_MAX_GRANTS failed (22 = Invalid argument): Internal error xen be: qdisk-832: xc_gnttab_set_max_grants failed: Invalid argument
-------------
- nested hvm was bugged: started test it on windows 7 pro 64 domU on
qemu-xen,
xpmode crashed on install without show error, no error on logs and
havdetection works
Now xpmode install and start correctly except integration features (disks,printers,clipboard sharing) and usb passthrough (of xpmode)
-------------------------

#2 lore raw

CC'ing Gerd and the seabios list:

Quoted 35 lines · Fabio Fantoni

Il 12/08/2013 17:04, Fabio Fantoni ha scritto:

Quoted 23 lines

Dom0:
Wheezy 64 bit with kernel from package linux-image-3.2.0-4-amd64 version 3.2.46-1 and all dependency packages for xen, spice and usb redirection.
Seabios 1.7.3-1, qemu 1.5.0+dfsg-5 (1.5.1), spice 0.12.4-0nocelt1 and usbredir 0.6-2 compiled from debian unstable sources.
-------------------------
git clone git://xenbits.xen.org/xen.git (in this build commit is 73f18583dd824f0e49f65149ef603600ce31b8ee)
-------------------------
Added some patches:
- tools-configure-qemu-for-spice-and-usbredir
- libxl-Add-spice-vdagent-support-for-upstream-qemu v3
- libxl: usb2 and usb3 controller support for upstream qemu v4
- tools-firmware-seabios-packaged
- tools: Improve make deb v3
- tools: remove or disable old/useless/unused/unmainted stuff (the whole series of 9 patches)
-------------------------
./configure --prefix=/usr --disable-xend
-------------------------
make debball

Quoted 10 lines

-------------------------
New issue:
- domU not start with qemu 1.5.1 and more that 2 gb of ram:
tested on w7 64 bit domU with 4 gb of ram, with built-in qemu 1.3 it
works,
while with qemu 1.5.1 doesn't (stops at the beginning, spice client
show only the lines of seabios version and machine UUID;
qemu log show nothing more that 2 gb test), while with 2 gb of ram
works also with qemu 1.5.1
-------------------------

Quoted 3 lines

Added qemu-devel and debian maintainers to cc for this regression about upstream qemu.
If you need more details and tests tell me and I'll do/post them.

As a superficial guess, this could be fixed by the seabios-1.7.3.1 release:

http://thread.gmane.org/gmane.comp.emulators.qemu/227536

http://code.coreboot.org/p/seabios/source/commit/2a9aeabdfb34374ecac25e7a8d21c9e368618cd4/

Laszlo

Quoted 34 lines
Quoted 34 lines

-------------------------
Old issue:
- Network is not working after restore on Windows domU with qemu-xen and gplpv
Workaround: fixed mac address
-------------
- Starting xendomain with "xl create" show some debug options:
Starting auto Xen domains: W7.cfgxc: info: VIRTUAL MEMORY ARRANGEMENT:

  Loader:        0000000000100000->000000000019eb68
  Modules:       0000000000000000->0000000000000000
  TOTAL:         0000000000000000->000000007f000000

ENTRY ADDRESS: 0000000000100000
xc: info: PHYSICAL MEMORY ALLOCATION:
4KB PAGES: 0x0000000000000200
2MB PAGES: 0x00000000000003f7
1GB PAGES: 0x0000000000000000
[done].
I think it is would be better hiding them here
-------------
- on W7 pro 64 bit domU error in the begin of qemu log, while domU seem to work:
xc: error: linux_gnttab_set_max_grants: ioctl SET_MAX_GRANTS failed (22 = Invalid argument): Internal error
xen be: qdisk-832: xc_gnttab_set_max_grants failed: Invalid argument
-------------
- nested hvm was bugged: started test it on windows 7 pro 64 domU on qemu-xen,
xpmode crashed on install without show error, no error on logs and
havdetection works
Now xpmode install and start correctly except integration features (disks,printers,clipboard sharing) and usb passthrough (of xpmode)
-------------------------

#3 lore raw

Il 13/08/2013 12:04, Laszlo Ersek ha scritto:

Quoted 40 lines

CC'ing Gerd and the seabios list:

Quoted 34 lines · Fabio Fantoni

Il 12/08/2013 17:04, Fabio Fantoni ha scritto:

Quoted 23 lines

Dom0:
Wheezy 64 bit with kernel from package linux-image-3.2.0-4-amd64 version 3.2.46-1 and all dependency packages for xen, spice and usb redirection.
Seabios 1.7.3-1, qemu 1.5.0+dfsg-5 (1.5.1), spice 0.12.4-0nocelt1 and usbredir 0.6-2 compiled from debian unstable sources.
-------------------------
git clone git://xenbits.xen.org/xen.git (in this build commit is 73f18583dd824f0e49f65149ef603600ce31b8ee)
-------------------------
Added some patches:
- tools-configure-qemu-for-spice-and-usbredir
- libxl-Add-spice-vdagent-support-for-upstream-qemu v3
- libxl: usb2 and usb3 controller support for upstream qemu v4
- tools-firmware-seabios-packaged
- tools: Improve make deb v3
- tools: remove or disable old/useless/unused/unmainted stuff (the whole series of 9 patches)
-------------------------
./configure --prefix=/usr --disable-xend
-------------------------
make debball

Quoted 10 lines

-------------------------
New issue:
- domU not start with qemu 1.5.1 and more that 2 gb of ram:
tested on w7 64 bit domU with 4 gb of ram, with built-in qemu 1.3 it
works,
while with qemu 1.5.1 doesn't (stops at the beginning, spice client
show only the lines of seabios version and machine UUID;
qemu log show nothing more that 2 gb test), while with 2 gb of ram
works also with qemu 1.5.1
-------------------------

Quoted 3 lines

Added qemu-devel and debian maintainers to cc for this regression about upstream qemu.
If you need more details and tests tell me and I'll do/post them.

Quoted 7 lines

As a superficial guess, this could be fixed by the seabios-1.7.3.1 release:

http://thread.gmane.org/gmane.comp.emulators.qemu/227536

http://code.coreboot.org/p/seabios/source/commit/2a9aeabdfb34374ecac25e7a8d21c9e368618cd4/

Laszlo

Thanks for reply, i did fast test adding this patch that you linked:
http://code.coreboot.org/p/seabios/source/commit/2a9aeabdfb34374ecac25e7a8d21c9e368618cd4/
Same result, the problem remains, should I test full seabios 1.7.3.1?

Quoted 33 lines
Quoted 33 lines
Quoted 33 lines

-------------------------
Old issue:
- Network is not working after restore on Windows domU with qemu-xen and gplpv
Workaround: fixed mac address
-------------
- Starting xendomain with "xl create" show some debug options:

   Starting auto Xen domains: W7.cfgxc: info: VIRTUAL MEMORY ARRANGEMENT:
   Loader:        0000000000100000->000000000019eb68
   Modules:       0000000000000000->0000000000000000
   TOTAL:         0000000000000000->000000007f000000
   ENTRY ADDRESS: 0000000000100000
xc: info: PHYSICAL MEMORY ALLOCATION:
   4KB PAGES: 0x0000000000000200
   2MB PAGES: 0x00000000000003f7
   1GB PAGES: 0x0000000000000000

[done].
I think it is would be better hiding them here
-------------
- on W7 pro 64 bit domU error in the begin of qemu log, while domU seem to work:
xc: error: linux_gnttab_set_max_grants: ioctl SET_MAX_GRANTS failed (22 = Invalid argument): Internal error
xen be: qdisk-832: xc_gnttab_set_max_grants failed: Invalid argument
-------------
- nested hvm was bugged: started test it on windows 7 pro 64 domU on qemu-xen,
xpmode crashed on install without show error, no error on logs and
havdetection works
Now xpmode install and start correctly except integration features (disks,printers,clipboard sharing) and usb passthrough (of xpmode)
-------------------------

#4 lore raw
Quoted 26 lines · Fabio Fantoni

Il 13/08/2013 12:04, Laszlo Ersek ha scritto:

Quoted 25 lines

CC'ing Gerd and the seabios list:

Quoted 11 lines · Fabio Fantoni

Il 12/08/2013 17:04, Fabio Fantoni ha scritto:

Quoted 9 lines

New issue:
- domU not start with qemu 1.5.1 and more that 2 gb of ram:
tested on w7 64 bit domU with 4 gb of ram, with built-in qemu 1.3 it
works,
while with qemu 1.5.1 doesn't (stops at the beginning, spice client
show only the lines of seabios version and machine UUID;
qemu log show nothing more that 2 gb test), while with 2 gb of ram
works also with qemu 1.5.1
-------------------------

Quoted 3 lines

Added qemu-devel and debian maintainers to cc for this regression about upstream qemu.
If you need more details and tests tell me and I'll do/post them.

As a superficial guess, this could be fixed by the seabios-1.7.3.1 release:

http://thread.gmane.org/gmane.comp.emulators.qemu/227536

http://code.coreboot.org/p/seabios/source/commit/2a9aeabdfb34374ecac25e7a8d21c9e368618cd4/

Quoted 6 lines
Quoted 1 line

Laszlo

Thanks for reply, i did fast test adding this patch that you linked:
http://code.coreboot.org/p/seabios/source/commit/2a9aeabdfb34374ecac25e7a8d21c9e368618cd4/

Same result, the problem remains, should I test full seabios 1.7.3.1?

No idea, it was just a random shot, sorry... You're probably down to bisecting qemu :(

Laszlo

#5 lore raw

Il 13/08/2013 13:09, Laszlo Ersek ha scritto:

Quoted 27 lines · Fabio Fantoni
Quoted 26 lines

Il 13/08/2013 12:04, Laszlo Ersek ha scritto:

Quoted 25 lines

CC'ing Gerd and the seabios list:

Quoted 10 lines · Fabio Fantoni

Il 12/08/2013 17:04, Fabio Fantoni ha scritto:

Quoted 9 lines

New issue:
- domU not start with qemu 1.5.1 and more that 2 gb of ram:
tested on w7 64 bit domU with 4 gb of ram, with built-in qemu 1.3 it
works,
while with qemu 1.5.1 doesn't (stops at the beginning, spice client
show only the lines of seabios version and machine UUID;
qemu log show nothing more that 2 gb test), while with 2 gb of ram
works also with qemu 1.5.1
-------------------------

Quoted 3 lines

Added qemu-devel and debian maintainers to cc for this regression about upstream qemu.
If you need more details and tests tell me and I'll do/post them.

As a superficial guess, this could be fixed by the seabios-1.7.3.1 release:

http://thread.gmane.org/gmane.comp.emulators.qemu/227536

http://code.coreboot.org/p/seabios/source/commit/2a9aeabdfb34374ecac25e7a8d21c9e368618cd4/

Laszlo

Quoted 8 lines
Quoted 4 lines

Thanks for reply, i did fast test adding this patch that you linked:
http://code.coreboot.org/p/seabios/source/commit/2a9aeabdfb34374ecac25e7a8d21c9e368618cd4/

Same result, the problem remains, should I test full seabios 1.7.3.1?

No idea, it was just a random shot, sorry... You're probably down to bisecting qemu :(

Laszlo

I did another test disabling the usb controller: it didn't find any bootable disk and tried to boot with pxe. I also tried F12 and it reported an hard-disk size of 0 MB. Configuration is correct because if I change the ram size to 2 GB instead of 4, it starts correctly.
No additional information from qemu log.
I tried also seabios 1.7.2.2 and master from git, both with same result.

#6 lore raw
Quoted 14 lines · Fabio Fantoni

Il 13/08/2013 13:09, Laszlo Ersek ha scritto:

Quoted 13 lines · Fabio Fantoni
Quoted 12 lines

Il 13/08/2013 12:04, Laszlo Ersek ha scritto:

Quoted 11 lines · Fabio Fantoni
Quoted 10 lines

Il 12/08/2013 17:04, Fabio Fantoni ha scritto:

Quoted 9 lines

New issue:
- domU not start with qemu 1.5.1 and more that 2 gb of ram:
tested on w7 64 bit domU with 4 gb of ram, with built-in qemu 1.3 it
works,
while with qemu 1.5.1 doesn't (stops at the beginning, spice client
show only the lines of seabios version and machine UUID;
qemu log show nothing more that 2 gb test), while with 2 gb of ram
works also with qemu 1.5.1
-------------------------

[...]

Quoted 7 lines

I did another test disabling the usb controller: it didn't find any bootable disk and tried to boot with pxe. I also tried F12 and it reported an hard-disk size of 0 MB.
Configuration is correct because if I change the ram size to 2 GB instead of 4, it starts correctly.
No additional information from qemu log.
I tried also seabios 1.7.2.2 and master from git, both with same result.

It's not clear to me if this is a QEMU issue or SeaBIOS issue. Can you arrange to run qemu with the following added to the command line:

-chardev stdio,id=seabios -device isa-debugcon,iobase=0x402,chardev=seabios

and post the full log from a successful (2G) boot as well as the unsuccessful (4G) boot?

-Kevin

#7 lore raw

Il 14/08/2013 01:58, Kevin O'Connor ha scritto:

Quoted 26 lines · Fabio Fantoni
Quoted 14 lines

Il 13/08/2013 13:09, Laszlo Ersek ha scritto:

Quoted 13 lines · Fabio Fantoni
Quoted 12 lines

Il 13/08/2013 12:04, Laszlo Ersek ha scritto:

Quoted 11 lines · Fabio Fantoni
Quoted 10 lines

Il 12/08/2013 17:04, Fabio Fantoni ha scritto:

Quoted 9 lines

New issue:
- domU not start with qemu 1.5.1 and more that 2 gb of ram:
tested on w7 64 bit domU with 4 gb of ram, with built-in qemu 1.3 it
works,
while with qemu 1.5.1 doesn't (stops at the beginning, spice client
show only the lines of seabios version and machine UUID;
qemu log show nothing more that 2 gb test), while with 2 gb of ram
works also with qemu 1.5.1
-------------------------

[...]

Quoted 7 lines

I did another test disabling the usb controller: it didn't find any bootable disk and tried to boot with pxe. I also tried F12 and it reported an hard-disk size of 0 MB.
Configuration is correct because if I change the ram size to 2 GB instead of 4, it starts correctly.
No additional information from qemu log.
I tried also seabios 1.7.2.2 and master from git, both with same result.

It's not clear to me if this is a QEMU issue or SeaBIOS issue. Can you arrange to run qemu with the following added to the command line:

Quoted 6 lines

-chardev stdio,id=seabios -device isa-debugcon,iobase=0x402,chardev=seabios

and post the full log from a successful (2G) boot as well as the unsuccessful (4G) boot?

-Kevin

Tried qemu 1.6.0-rc3, hvm domU does not start in any case because qemu crashes on start

------------------------------------
xl create /etc/xen/W7.cfg
------------------------------------
Parsing config from /etc/xen/W7.cfg
xc: info: VIRTUAL MEMORY ARRANGEMENT:

  Loader:        0000000000100000->000000000019ee88
  Modules:       0000000000000000->0000000000000000
  TOTAL:         0000000000000000->000000007f000000

ENTRY ADDRESS: 0000000000100000
xc: info: PHYSICAL MEMORY ALLOCATION:
4KB PAGES: 0x0000000000000200
2MB PAGES: 0x00000000000003f7
1GB PAGES: 0x0000000000000000
libxl: error: libxl_dm.c:1313:device_model_spawn_outcome: domain 1 device model: spawn failed (rc=-3)
libxl: error: libxl_create.c:1079:domcreate_devmodel_started: device model did not start: -3
libxl: error: libxl_dm.c:1344:libxl__destroy_device_model: Device Model already exited
------------------------------------

------------------------------------
/var/log/xen/qemu-dm-W7.log
------------------------------------
xc: error: linux_gnttab_set_max_grants: ioctl SET_MAX_GRANTS failed (22 = Invalid argument): Internal error xen be: qdisk-768: xc_gnttab_set_max_grants failed: Invalid argument
xc: error: linux_gnttab_set_max_grants: ioctl SET_MAX_GRANTS failed (22 = Invalid argument): Internal error xen be: qdisk-832: xc_gnttab_set_max_grants failed: Invalid argument
------------------------------------

Tried with qemu 1.4.2 and it works also with 4 gb of ram.
This ram regression seems to be introduced with qemu 1.5, and there is another regression more critical with qemu 1.6.

Tried to add seabios debug options to domU xl configuration file...

device_model_args=["-chardev stdio,id=seabios","-device","isa-debugcon,iobase=0x402,chardev=seabios"]

But it doesn't boot

/var/log/xen/qemu-dm-W7.log
qemu-system-x86_64: -chardev stdio,id=seabios: invalid option

#8 lore raw
Quoted 3 lines · Fabio Fantoni

Tried with qemu 1.4.2 and it works also with 4 gb of ram. This ram regression seems to be introduced with qemu 1.5, and there is another regression more critical with qemu 1.6.

Can you save qemu's stderr for the 1.5->1.6 regression?

Quoted 9 lines

Tried to add seabios debug options to domU xl configuration file...

device_model_args=["-chardev stdio,id=seabios","-device","isa-debugcon,iobase=0x402,chardev=seabios"]

But it doesn't boot

/var/log/xen/qemu-dm-W7.log
qemu-system-x86_64: -chardev stdio,id=seabios: invalid option

That's probably because you forgot to break up this option into separate python list entries:

device_model_args=["-chardev", "stdio,id=seabios", "-device", "isa-debugcon,iobase=0x402,chardev=seabios"]

Laszlo

#9 lore raw

Il 14/08/2013 11:56, Laszlo Ersek ha scritto:

Quoted 14 lines · Fabio Fantoni
Quoted 4 lines

Tried with qemu 1.4.2 and it works also with 4 gb of ram. This ram regression seems to be introduced with qemu 1.5, and there is another regression more critical with qemu 1.6.

Can you save qemu's stderr for the 1.5->1.6 regression?

Quoted 7 lines

Tried to add seabios debug options to domU xl configuration file...

device_model_args=["-chardev stdio,id=seabios","-device","isa-debugcon,iobase=0x402,chardev=seabios"]

But it doesn't boot

Quoted 9 lines
Quoted 2 lines

/var/log/xen/qemu-dm-W7.log
qemu-system-x86_64: -chardev stdio,id=seabios: invalid option

That's probably because you forgot to break up this option into separate python list entries:

device_model_args=["-chardev", "stdio,id=seabios", "-device", "isa-debugcon,iobase=0x402,chardev=seabios"]

Laszlo

Thanks for your reply and sorry for my very stupid error.
I retried with the correct parameters and on both cases (2 gb of ram working and 4gb of ram not working) I get only this one more line on qemu log:
Start bios (version debian/1.7.3-1-1-ga76c6f1-dirty-20130813_122010-test)

The probable cause is that on xen, seabios doesn't generate some tables but it takes the static ones from hvmloader.

#10 lore raw
Quoted 26 lines · Fabio Fantoni

Il 14/08/2013 11:56, Laszlo Ersek ha scritto:

Quoted 16 lines · Fabio Fantoni
Quoted 4 lines

Tried with qemu 1.4.2 and it works also with 4 gb of ram. This ram regression seems to be introduced with qemu 1.5, and there is another regression more critical with qemu 1.6.

Can you save qemu's stderr for the 1.5->1.6 regression?

Quoted 9 lines

Tried to add seabios debug options to domU xl configuration file...

device_model_args=["-chardev stdio,id=seabios","-device","isa-debugcon,iobase=0x402,chardev=seabios"]

But it doesn't boot

/var/log/xen/qemu-dm-W7.log
qemu-system-x86_64: -chardev stdio,id=seabios: invalid option

Quoted 8 lines

That's probably because you forgot to break up this option into separate python list entries:

device_model_args=["-chardev", "stdio,id=seabios", "-device", "isa-debugcon,iobase=0x402,chardev=seabios"]

Laszlo

Quoted 8 lines

Thanks for your reply and sorry for my very stupid error.
I retried with the correct parameters and on both cases (2 gb of ram working and 4gb of ram not working) I get only this one more line on qemu log:
Start bios (version debian/1.7.3-1-1-ga76c6f1-dirty-20130813_122010-test)

The probable cause is that on xen, seabios doesn't generate some tables but it takes the static ones from hvmloader.

Without having any specifics in mind, maybe this can be attributed to the ACPI table move that affects both qemu and seabios, and hvmloader is the collateral damage. Probably stuff should be updated in qemu/seabios so that hvmloader be happy again. CC'ing Michael...

Of course I might as well be completely off.

Laszlo

#11 lore raw
Quoted 36 lines · Laszlo Ersek
Quoted 26 lines · Fabio Fantoni

Il 14/08/2013 11:56, Laszlo Ersek ha scritto:

Quoted 16 lines · Fabio Fantoni
Quoted 4 lines

Tried with qemu 1.4.2 and it works also with 4 gb of ram. This ram regression seems to be introduced with qemu 1.5, and there is another regression more critical with qemu 1.6.

Can you save qemu's stderr for the 1.5->1.6 regression?

Quoted 9 lines

Tried to add seabios debug options to domU xl configuration file...

device_model_args=["-chardev stdio,id=seabios","-device","isa-debugcon,iobase=0x402,chardev=seabios"]

But it doesn't boot

/var/log/xen/qemu-dm-W7.log
qemu-system-x86_64: -chardev stdio,id=seabios: invalid option

Quoted 8 lines

That's probably because you forgot to break up this option into separate python list entries:

device_model_args=["-chardev", "stdio,id=seabios", "-device", "isa-debugcon,iobase=0x402,chardev=seabios"]

Laszlo

Quoted 8 lines

Thanks for your reply and sorry for my very stupid error.
I retried with the correct parameters and on both cases (2 gb of ram working and 4gb of ram not working) I get only this one more line on qemu log:
Start bios (version debian/1.7.3-1-1-ga76c6f1-dirty-20130813_122010-test)

The probable cause is that on xen, seabios doesn't generate some tables but it takes the static ones from hvmloader.

Quoted 8 lines

Without having any specifics in mind, maybe this can be attributed to the ACPI table move that affects both qemu and seabios, and hvmloader is the collateral damage. Probably stuff should be updated in qemu/seabios so that hvmloader be happy again. CC'ing Michael...

Of course I might as well be completely off.

Laszlo

Seems unlikely - the ACPI table move code is still in my tree.

Signature · 1 line
MST
#13 lore raw
In reply to Fabio Fantoni
Quoted 4 lines · Fabio Fantoni

I retried with the correct parameters and on both cases (2 gb of ram working and 4gb of ram not working) I get only this one more line on qemu log:
Start bios (version debian/1.7.3-1-1-ga76c6f1-dirty-20130813_122010-test)

Xen moves the debug port to 0xe9 - can you try again with iobase=0xe9. (There should be some way to tell xen to log 0xe9 on its own, but I'm not familiar with xen.)

-Kevin

#14 lore raw

Il 14/08/2013 14:29, Kevin O'Connor ha scritto:

Quoted 10 lines · Fabio Fantoni
Quoted 4 lines

I retried with the correct parameters and on both cases (2 gb of ram working and 4gb of ram not working) I get only this one more line on qemu log:
Start bios (version debian/1.7.3-1-1-ga76c6f1-dirty-20130813_122010-test)

Xen moves the debug port to 0xe9 - can you try again with iobase=0xe9. (There should be some way to tell xen to log 0xe9 on its own, but I'm not familiar with xen.)

-Kevin

Thanks for reply.
I tried with this:
device_model_args=["-chardev","stdio,id=seabios","-device","isa-debugcon,iobase=0xe9,chardev=seabios"]

No more lines in qemu log are written and also "Start bios" line does not appair any more.

#12 lore raw
In reply to Michael S. Tsirkin

Il 14/08/2013 13:21, Michael S. Tsirkin ha scritto:

Quoted 40 lines · Laszlo Ersek
Quoted 39 lines · Fabio Fantoni
Quoted 25 lines

Il 14/08/2013 11:56, Laszlo Ersek ha scritto:

Quoted 16 lines · Fabio Fantoni
Quoted 4 lines

Tried with qemu 1.4.2 and it works also with 4 gb of ram. This ram regression seems to be introduced with qemu 1.5, and there is another regression more critical with qemu 1.6.

Can you save qemu's stderr for the 1.5->1.6 regression?

Quoted 9 lines

Tried to add seabios debug options to domU xl configuration file...

device_model_args=["-chardev stdio,id=seabios","-device","isa-debugcon,iobase=0x402,chardev=seabios"]

But it doesn't boot

/var/log/xen/qemu-dm-W7.log
qemu-system-x86_64: -chardev stdio,id=seabios: invalid option

Quoted 8 lines

That's probably because you forgot to break up this option into separate python list entries:

device_model_args=["-chardev", "stdio,id=seabios", "-device", "isa-debugcon,iobase=0x402,chardev=seabios"]

Laszlo

Quoted 8 lines

Thanks for your reply and sorry for my very stupid error.
I retried with the correct parameters and on both cases (2 gb of ram working and 4gb of ram not working) I get only this one more line on qemu log:
Start bios (version debian/1.7.3-1-1-ga76c6f1-dirty-20130813_122010-test)

The probable cause is that on xen, seabios doesn't generate some tables but it takes the static ones from hvmloader.

Without having any specifics in mind, maybe this can be attributed to the ACPI table move that affects both qemu and seabios, and hvmloader is the collateral damage. Probably stuff should be updated in qemu/seabios so that hvmloader be happy again. CC'ing Michael...

Quoted 5 lines
Quoted 3 lines

Of course I might as well be completely off.

Laszlo

Seems unlikely - the ACPI table move code is still in my tree.

I see on 1.6 changelog:

...
QEMU can expose the full set of ACPI tables to the guest: See Features/ACPITableGeneration <http://wiki.qemu.org/Features/ACPITableGeneration>
...

Could be this the regression problem of 1.6?

_______________________________________________
SeaBIOS mailing list
[email protected]
http://www.seabios.org/mailman/listinfo/seabios