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

Re: [Xen-devel] AMD/ATI patch for xen 4.2-unstable


  • To: xen-devel@xxxxxxxxxxxxx
  • From: Pavel MatÄja <pavel@xxxxxxxxxx>
  • Date: Sun, 8 Apr 2012 16:01:17 +0200
  • Delivery-date: Sun, 08 Apr 2012 14:01:56 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

On Sun 8. of April 2012 15:37:49 Kristijan LeÄnik wrote:
> 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
> 
> using linux kernel 3.3
> 
> nm /usr/lib/libc.a |grep -i ioperm
> ioperm.o:
> 0000000000000000 T ioperm
> 
> Best Regards,
> Kristijan Lecnik
> 
> 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
> > 
> > http://old-list-archives.xen.org/archives/html/xen-devel/2010-12/txtNwRlN
> > 3jloS.txt
> > 
> >  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-remo
> > te/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-remo
> > te/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-remo
> > te' 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
> > 
> > 
> > http://xen.1045712.n5.nabble.com/PATCH-1-3-qemu-xen-Change-prototype-for-
> > pt-pci-host-read-write-td5016713.html
> > 
> >  example:
> > 
> >  old syle:
> > vendor_id = pt_pci_host_read(0, 2, 0, 0, 2);
> > 
> >  new syle:
> > vid = pt_pci_host_read(pci_dev_1f, PCI_VENDOR_ID, 2);
> > 
> >  Best Regards,
> > 
> > Kristijan LeÄnik

Hi,
still the same story
http://lists.xen.org/archives/html/xen-devel/2011-05/msg01734.html

But all my recent attempts failed anyway. My last working setup is with old 
2.6.32.x kernel.
-- 
Pavel Mateja

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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