Skip to contentSkip to conversation

Upstream qemu not working with latest Xen staging unstable

DISCUSSION Wei Liu 3 participants 6 messages Jun 17, 2011 – Jun 19, 2011

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

Hi, all

This problem has been brought up once by Daniel Castro.

http://marc.info/?l=xen-devel&m=130795535706323&w=2

But he didn't post the complete log.

Now I'm able to reproduce this problem. I have my qemu log below.

I think this is a Xen problem. I use Anthony's candidate/xenpv-support branch and test with several Xen reversions.

Xen staging unstable r23546, fail
Xen staging unstable r23475 (I want to work with IanJ's libxl patch, that's why I choose this reversion), fail
Xen unstable r23369, succeed

This is not a thorough regression test though. FYI.

Wei.

-----qemu log-----
char device redirected to /dev/pts/1
Warning: more nics requested than this machine supports; some have been ignored
VNC server running on `127.0.0.1:5900'
qemu: hardware error: register_ioport_write: invalid opaque for address 0xc000
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=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

author
#1 lore raw
Quoted 22 lines · Wei Liu

Hi, all

This problem has been brought up once by Daniel Castro.

http://marc.info/?l=xen-devel&m=130795535706323&w=2

But he didn't post the complete log.

Now I'm able to reproduce this problem. I have my qemu log below.

I think this is a Xen problem. I use Anthony's candidate/xenpv-support branch and test with several Xen reversions.

Xen staging unstable r23546, fail
Xen staging unstable r23475 (I want to work with IanJ's libxl patch, that's why I choose this reversion), fail
Xen unstable r23369, succeed

This is not a thorough regression test though. FYI.

Wei.

Quoted 7 lines

-----qemu log-----
char device redirected to /dev/pts/1
Warning: more nics requested than this machine supports; some have been ignored
VNC server running on `127.0.0.1:5900'
qemu: hardware error: register_ioport_write: invalid opaque for address 0xc000

http://lists.gnu.org/archive/html/qemu-devel/2006-09/msg00059.html

This mail shows it has something to do with pci init...

Wei.

#2 lore raw
In reply to Wei Liu
Quoted 1 line · Wei Liu

Hi, all

Hi,

Quoted 20 lines

This problem has been brought up once by Daniel Castro.

http://marc.info/?l=xen-devel&m=130795535706323&w=2

But he didn't post the complete log.

Now I'm able to reproduce this problem. I have my qemu log below.

I think this is a Xen problem. I use Anthony's candidate/xenpv-support branch and test with several Xen reversions.

Xen staging unstable r23546, fail
Xen staging unstable r23475 (I want to work with IanJ's libxl patch, that's why I choose this reversion), fail
Xen unstable r23369, succeed

This is not a thorough regression test though. FYI.

Wei.

Quoted 11 lines

-----qemu log-----
char device redirected to /dev/pts/1
Warning: more nics requested than this machine supports; some have been ignored
VNC server running on `127.0.0.1:5900'
qemu: hardware error: register_ioport_write: invalid opaque for address 0xc000
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=1

[...]

So, the branch candidate/xenpv-support is a little bit old. I did not update this branch since a while.

But if you just want to run HVM guest, you could use "my" branch "xen-next", as it will be merge (soon I hope) in qemu-uptream.

If you need the patches in candidates/xenpv-support, eithier merge it or cherry-pick the patch ;).

Regards,

Signature · 1 line
Anthony PERARD
#3 lore raw
Quoted 38 lines · Anthony PERARD
Quoted 1 line · Wei Liu

Hi, all

Hi,

Quoted 31 lines

This problem has been brought up once by Daniel Castro.

http://marc.info/?l=xen-devel&m=130795535706323&w=2

But he didn't post the complete log.

Now I'm able to reproduce this problem. I have my qemu log below.

I think this is a Xen problem. I use Anthony's candidate/xenpv-support branch and test with several Xen reversions.

Xen staging unstable r23546, fail
Xen staging unstable r23475 (I want to work with IanJ's libxl patch, that's why I choose this reversion), fail
Xen unstable r23369, succeed

This is not a thorough regression test though. FYI.

Wei.

-----qemu log-----
char device redirected to /dev/pts/1
Warning: more nics requested than this machine supports; some have been ignored
VNC server running on `127.0.0.1:5900'
qemu: hardware error: register_ioport_write: invalid opaque for address 0xc000
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=1

[...]

Quoted 8 lines

So, the branch candidate/xenpv-support is a little bit old. I did not update this branch since a while.

But if you just want to run HVM guest, you could use "my" branch "xen-next", as it will be merge (soon I hope) in qemu-uptream.

If you need the patches in candidates/xenpv-support, eithier merge it or cherry-pick the patch ;).

We are in the process of setting up a properly maintained qemu xen branch, so that we don't loose any of the qemu patches we are working on and sending to the lists.
Hopefully it will also help everybody that is trying to setup the new qemu on xen.

author
#4 lore raw
Quoted 7 lines · Stefano Stabellini

We are in the process of setting up a properly maintained qemu xen branch, so that we don't loose any of the qemu patches we are working on and sending to the lists.
Hopefully it will also help everybody that is trying to setup the new qemu on xen.

That's great.

author
#5 lore raw
In reply to Anthony PERARD
Quoted 36 lines · Anthony PERARD
Quoted 1 line · Wei Liu

Hi, all

Hi,

Quoted 20 lines

This problem has been brought up once by Daniel Castro.

http://marc.info/?l=xen-devel&m=130795535706323&w=2

But he didn't post the complete log.

Now I'm able to reproduce this problem. I have my qemu log below.

I think this is a Xen problem. I use Anthony's candidate/xenpv-support branch and test with several Xen reversions.

Xen staging unstable r23546, fail
Xen staging unstable r23475 (I want to work with IanJ's libxl patch, that's why I choose this reversion), fail
Xen unstable r23369, succeed

This is not a thorough regression test though. FYI.

Wei.

Quoted 11 lines

-----qemu log-----
char device redirected to /dev/pts/1
Warning: more nics requested than this machine supports; some have been ignored
VNC server running on `127.0.0.1:5900'
qemu: hardware error: register_ioport_write: invalid opaque for address 0xc000
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=1

Quoted 8 lines

[...]

So, the branch candidate/xenpv-support is a little bit old. I did not update this branch since a while.

But if you just want to run HVM guest, you could use "my" branch "xen-next", as it will be merge (soon I hope) in qemu-uptream.

No, I'm not running HVM guest. I'm doing pv development. That's why I'm not debugging this problem.

Quoted 3 lines

If you need the patches in candidates/xenpv-support, eithier merge it or cherry-pick the patch ;).

Got it.

Quoted 5 lines

Regards,

--
Anthony PERARD