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

Re: [Xen-devel] ATI Radeon 9600SE and intel-agp, again



Ian Pratt wrote:
if (direct_remap_area_pages(&init_mm, (unsigned long)

addr, phys_addr,

                   size, __pgprot(_PAGE_PRESENT | _PAGE_RW |
                          _PAGE_DIRTY | _PAGE_ACCESSED
                          | flags), DOMID_IO)) {


The previous patch was trivially broken - it calculated the domid to use
then always passed in a constant (as above).

Thanks, I should have spotted that. This is equal to my own hacked version (using DOMID_LOCAL or remming out the owner check in Xen), so I can now load intel-agp without that bad taste in my mouth :-)

Anyway, I now encounter the following crash in the r300-supplied drm-module:

Oops: 0000 [#1]
DEBUG_PAGEALLOC
Modules linked in: radeon drm intel_agp agpgart
CPU:    0
EIP:    0061:[<c0143546>]    Not tainted VLI
EFLAGS: 00013206   (2.6.10-xen0)
EIP is at remap_pfn_range+0x176/0x220
eax: c0527000   ebx: 000e0000   ecx: 00000027   edx: 000e0000
esi: 003ee000   edi: c9b48fb8   ebp: 00400000   esp: c9917eac
ds: 007b   es: 007b   ss: 0069
Process X (pid: 6673, threadinfo=c9916000 task=c9977b20)
Stack: 00400000 af400000 000dfc12 003ee000 c994eaf4 c994fddc af8ef000 c994eaf4 00000000 c7a10804 c9c6a5b0 ce4c67f8 d087c2b6 c9c6a5b0 af7ee000 00030812 00101000 00000027 c9c6a5ac c9b4af6c c9c6a5b0 af7ee000 ffffffea c9b4af6c
Call Trace:
 [<d087c2b6>] drm_mmap+0x1c6/0x2b9 [drm]
 [<c014624f>] do_mmap_pgoff+0x35f/0x730
 [<c0110e76>] old_mmap+0xd6/0x110
 [<c0109530>] syscall_call+0x7/0xb
Code: e0 05 01 d0 8b 00 f6 c4 08 74 2a 8b 44 24 44 89 d9 c1 e1 0c 09 c1 f6 c1 01 74 18 a1 80 08 4f c0 89 ca c1 ea 0 c 81 e1 ff 0f 00 00 <8b> 04 90 c1 e0 0c 09 c1 89 0f 43 83 c7 04 81 c6 00 10 00 00 74

I have seen some mention of a drm-patch earlier, but it is no longer in the tree. What happened to that / is it likely that I need to apply something similar to the r300 drm module?

thanks,
Jacob


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

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