[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] AMD/ATI patch for xen 4.2-unstable
Hi,
I was busy too, but finally i get around to test the patch, i have compile it with just "make" inÂxen-unstable.hg/tools/qemu-xen-traditional-dir-remote/ and then copy it over, but it wont start withÂgfx_passthru=1,
....... IRQ type = INTx pt_iomem_map: e_phys=e0000000 maddr=b0000000 type=8 len=268435456 index=0 first_map=1 pt_iomem_map: e_phys=f1020000 maddr=fa4e0000 type=0 len=131072 index=2 first_map=1
pt_iomem_map: e_phys=f1060000 maddr=fa4bc000 type=0 len=16384 index=0 first_map=1 pt_iomem_map: e_phys=f1064000 maddr=fadfe000 type=0 len=8192 index=0 first_map=1 pt_iomem_map: e_phys=f1066000 maddr=fa3f6000 type=0 len=4096 index=0 first_map=1
pt_iomem_map: e_phys=f1067000 maddr=fa3fc000 type=0 len=4096 index=0 first_map=1 pt_ioport_map: e_phys=c100 pio_base=7000 len=256 index=4 first_map=1 pt_ioport_map: e_phys=c100 pio_base=7000 len=256 index=4 first_map=0
ati_legacy_io_write: ERROR: port 0x3c3 I/O write not handled ati_gfx_init: ATI GFX Guest Info: Â Â Â Âpio_index=0x00000004, Â Â Â guest_pio_bar=0x0000c100 Â Â Â Âmmio_bar1_index=0x00000000, guest_mmio_bar1=0xe0000000
   Âmmio_bar2_index=0x00000002, guest_mmio_bar2=0xf1020000 ati_legacy_io_write: ERROR: port 0x3c3 I/O write not handled ati_legacy_io_write: ERROR: port 0x3c3 I/O write not handled ati_legacy_io_write: ERROR: port 0x3c3 I/O write not handled
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. Â
Best Regards,
Kristijan Lecnik On Fri, Apr 13, 2012 at 5:33 PM, Huang2, Wei <Wei.Huang2@xxxxxxx> wrote:
Hi Kristijan,
Â
Sorry, was busy recently. Stub domain failure is OK. I think Ian (or someone else) reported it before. You can do the following steps:
Â
1.ÂÂÂÂÂ
Apply the patch
2.ÂÂÂÂÂ
Go to xen-unstable.hg/tools/qemu-xen-traditional-dir-remote/ and compile it
3.ÂÂÂÂÂ
You will get an un-stripped qemu-dm under i386-dm/
4.ÂÂÂÂÂ
Copy it to your destination to replace existing /usr/lib/xen/bin/qemu-dm file
Â
Â
-Wei
Â
From: Kristijan LeÄnik [mailto:janez3k@xxxxxxxxx]
Sent: Friday, April 13, 2012 6:57 AM
To: Huang2, Wei
Subject: Fwd: [Xen-devel] AMD/ATI patch for xen 4.2-unstable
Â
Hi,
i am sorry to bother you, but did you manage to see my errors, with the new patch?
Best Regards,
Kristijan Lecnik
---------- Forwarded message ----------
From: Kristijan LeÄnik <janez3k@xxxxxxxxx>
Date: Sun, Apr 8, 2012 at 3:37 PM
Subject: Re: [Xen-devel] AMD/ATI patch for xen 4.2-unstable
To: wei.huang2@xxxxxxx
Cc: xen-devel@xxxxxxxxxxxxx
Hi,
just try to compile with xen unstable 4.2 repo from 8.april 2012
make --directory=arch/x86 OBJ_DIR=/root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/arch/x86 || exit 1;
make[3]: Entering directory `/root/xen-unstable.hg/extras/mini-os/arch/x86'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/xen-unstable.hg/extras/mini-os/arch/x86'
ld -r -nostdlib -L/root/xen-unstable.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/lib Â-m elf_x86_64 /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/arch/x86/x86_64.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os_app.o Â/root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/blkfront.o
/root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/events.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/fbfront.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/gntmap.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/gnttab.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/hypervisor.o
/root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/kernel.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/lock.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/main.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mm.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/netfront.o
/root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/pcifront.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/sched.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/lib/ctype.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/lib/math.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/lib/printf.o
/root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/lib/stack_chk_fail.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/lib/string.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/lib/sys.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/lib/xmalloc.o
/root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/lib/xs.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/xenbus/xenbus.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/console/console.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/console/xencons_ring.o
/root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/console/xenbus.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/lwip.a -L/root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/arch/x86 -lx86_64 Â-lc -o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o
objcopy -w -G xenos_* -G _start /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o
ld -nostdlib -L/root/xen-unstable.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/lib Â-m elf_x86_64 -T arch/x86/minios-x86_64.lds /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o Â-o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os
ld: warning: section `.bss' type changed to PROGBITS
/root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o: In function `ati_hw_out':
/root/xen-unstable.hg/stubdom/ioemu/hw/pt-graphics.c:82: undefined reference to `ioperm'
/root/xen-unstable.hg/stubdom/ioemu/hw/pt-graphics.c:84: undefined reference to `ioperm'
/root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o: In function `ati_hw_in':
/root/xen-unstable.hg/stubdom/ioemu/hw/pt-graphics.c:72: undefined reference to `ioperm'
/root/xen-unstable.hg/stubdom/ioemu/hw/pt-graphics.c:74: undefined reference to `ioperm'
make[2]: *** [/root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os] Error 1
make[2]: Leaving directory `/root/xen-unstable.hg/extras/mini-os'
make[1]: *** [ioemu-stubdom] Error 2
make[1]: Leaving directory `/root/xen-unstable.hg/stubdom'
make: *** [install-stubdom] Error 2
nm /usr/lib/libc.a |grep -i ioperm
0000000000000000 T ioperm
Â
On Tue, Apr 3, 2012 at 11:07 PM, Wei Huang <wei.huang2@xxxxxxx> wrote:
I just re-spin the patch, but haven't tested it yet. You want to try it (attached)? Make sure you are using AMD GPU as the primary.
-Wei
On 04/01/2012 08:03 PM, Kristijan LeÄnik wrote:
Hi,
i am trying to apply AMD/ATI patch on xen4-2 unstable
and there was some changes in code and the patch is unusable, is there a new patch. or can somebody help me to update the patch?
make[4]: Entering directory `/root/xen-unstable.hg-IN_USE_PATCHED/tools/qemu-xen-traditional-dir-remote/i386-dm'
 CC  Âi386-dm/pt-graphics.o
/root/xen-unstable.hg-IN_USE_PATCHED/tools/qemu-xen-traditional-dir/hw/pt-graphics.c: In function âigd_register_vga_regionsâ:
/root/xen-unstable.hg-IN_USE_PATCHED/tools/qemu-xen-traditional-dir/hw/pt-graphics.c:373: error: too many arguments to function âpt_pci_host_readâ
/root/xen-unstable.hg-IN_USE_PATCHED/tools/qemu-xen-traditional-dir/hw/pt-graphics.c:374: error: too many arguments to function âpt_pci_host_readâ
/root/xen-unstable.hg-IN_USE_PATCHED/tools/qemu-xen-traditional-dir/hw/pt-graphics.c: In function âigd_unregister_vga_regionsâ:
/root/xen-unstable.hg-IN_USE_PATCHED/tools/qemu-xen-traditional-dir/hw/pt-graphics.c:396: error: too many arguments to function âpt_pci_host_readâ
/root/xen-unstable.hg-IN_USE_PATCHED/tools/qemu-xen-traditional-dir/hw/pt-graphics.c:397: error: too many arguments to function âpt_pci_host_readâ
make[4]: *** [pt-graphics.o] Error 1
make[4]: Leaving directory `/root/xen-unstable.hg-IN_USE_PATCHED/tools/qemu-xen-traditional-dir-remote/i386-dm'
make[3]: *** [subdir-i386-dm] Error 2
make[3]: Leaving directory `/root/xen-unstable.hg-IN_USE_PATCHED/tools/qemu-xen-traditional-dir-remote'
make[2]: *** [subdir-install-qemu-xen-traditional-dir] Error 2
make[2]: Leaving directory `/root/xen-unstable.hg-IN_USE_PATCHED/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/root/xen-unstable.hg-IN_USE_PATCHED/tools'
make: *** [install-tools] Error 2
vendor_id = pt_pci_host_read(0, 2, 0, 0, 2);
vid = pt_pci_host_read(pci_dev_1f, PCI_VENDOR_ID, 2);
Â
Â
Â
Attachment:
qemu-dm-win7.log.1
Description: Binary data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|