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

[Xen-users] NVidia in dom0


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "David Goodlad" <dgoodlad@xxxxxxxxx>
  • Date: Sun, 26 Mar 2006 22:27:13 -0800
  • Delivery-date: Mon, 27 Mar 2006 06:28:51 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Hmb2lbiQ900kb8vqhXbFnjVBZUGXlM8auSDPMCTX87yFNChC2v8PQviObvVJkivygvvboKpFwwB/eXfb1rZ6WeKHSfMY/0JZEUDYm0e7MwB5gLMu8OHB7s3fjYpurrWNmZKjTEA6F81fRxnzruVTE2mKoXHApcDx3tuUK6fNq88=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi all

I'm playing around with the prospect of getting the binary nvidia
drivers going on in my dom0 machine, based on the patch supplied by
Yong Liu in 
http://lists.xensource.com/archives/html/xen-devel/2006-03/msg00615.html
.  I am running xen-unstable pulled from hg this afternoon.  My system
is an x86_64 (p-d 920), with a pci-e nvidia geforce 6200te card.

In the patch, I changed the io_remap_page_range calls to
io_remap_pnf_range; this seemed to be appropriate based on various
postings that I've read on the xen-devel ml.  However, phys_to_machine
was still being reported as not exported from the kernel, so I added
an EXPORT_SYMBOL call in the kernel.  This seems to have worked, but I
am rather inexperienced when it comes to kernel hacking so I don't
really know if this was the right hting to do :)

Now, it compiles just fine, but kills the dom0 system as soon as I try
to insmod it.  The register dump and stacktrace from the hypervisor
follows:

(XEN) domain_crash called from mm.c:3050
(XEN) Domain 0 (vcpu#0) crashed on cpu#0:
(XEN) ----[ Xen-3.0-unstable    Not tainted ]----
(XEN) CPU:    0
(XEN) RIP:    e033:[<ffffffff801071ca>]
(XEN) RFLAGS: 0000000000000206   CONTEXT: guest
(XEN) rax: 000000000000000e   rbx: ffffc200002a6000   rcx: ffffffff801071ca
(XEN) rdx: 0000000000000000   rsi: 00000000398ef163   rdi: ffffc200002a6000
(XEN) rbp: ffff88000dd57c28   rsp: ffff88000dd57b90   r8:  0000000000000000
(XEN) r9:  000000000000ae54   r10: 0000000000000000   r11: 0000000000000206
(XEN) r12: ffff8800012b8448   r13: ffff88000fed8530   r14: ffff88000dd57c58
(XEN) r15: 6db6db6db6db6db7   cr0: 000000008005003b   cr3: 000000003813e000
(XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: e02b   cs: e033
(XEN) Guest stack trace from rsp=ffff88000dd57b90:
(XEN)    0000000000000000 ffff880000000000 ffffffff801656b4 ffffc200002e5fff
(XEN)    ffffc200002e5fff ffffc200002e5fff ffffc200002e6000 ffff8800008b0008
(XEN)    ffffc200002e6000 ffff8800008b1000 ffffc200002e6000 ffffc200002e6000
(XEN)    ffffffff80101c20 8000000000000163 ffff88000eae0800 0000000000000040
(XEN)    ffff88000d9f98c0 0000000000000041 0000000000000000 ffff88000dd57c88
(XEN)    ffffffff80165cc7 0000000000000040 ffffffff00000000 8000000000000163
(XEN)    000000d0ffffffff ffff88000eae0808 00000000ffffffff 8000000000000163
(XEN)    00000000000000d0 ffffffff88510780 ffffffff8850e6a0 ffff88000dd57cb8
(XEN)    ffffffff80165d55 ffff88000dd57cd8 0000000000040c30 ffff88000dd57d00
(XEN)    ffffffff88510780 ffff88000dd57cc8 ffffffff80165d84 ffff88000dd57ce8
(XEN)    ffffffff882b9f08 ffffffff88510780 0000000000000004 ffff88000dd57d68
(XEN)    ffffffff88099ce3 ffff88000dd57d18 ffffffff80243369 ffff88000090c800
(XEN)    ffffffff8809e08b ffff88000dd57d68 ffffffff882b7e5c ffff88000dd57da8
(XEN)    ffff88000090c800 ffff88000dd57d48 ffffffff802810d6 ffff88000090c870
(XEN)    ffffffff8850e6f8 ffff88000090c800 00000000ffffffed ffff88000dd57da8
(XEN)    ffffffff80244e3a ffff88000dd57d98 ffff88000090c870 ffffffff8850e6f8
(XEN)    0000000000000000 ffffffff8850e6f8 0000000000000000 ffff88000dd57dd8
(XEN)    ffffffff80282af1 ffff88000dd57de8 ffff88000090c870 ffff88000090c9f0
(XEN)    ffffffff80282bdf ffff88000dd57df8 ffffffff80282c43 0000000000000000
(XEN)    ffff88000dd57e08 ffff88000dd57e48 ffffffff80281f64 ffffffff804860c0
(XEN) Domain 0 shutdown: rebooting machine.

>From the sounds of the message that I linked above, and from his
posting on the nvnews forums, he was indeed able to get the driver to
load and to allow 3d accel.  So, I know this _should_ work, but it's a
matter of figuring out what's causing it to crash!  I suspect that
it's trying to read from memory not allocated to the dom0 machine, but
I really don't know.  Does anyone have any advice?

Thanks!
Dave

--
Dave Goodlad
dgoodlad@xxxxxxxxx or dave@xxxxxxxxxx
http://david.goodlad.ca/

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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