[DragonFlyBSD - Bug #2635] Stablize drm/radeon KMS drivers for new xorg

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Mon Feb 24 10:00:13 PST 2014


Issue #2635 has been updated by jorisgio.

File core.txt.8 added
File dmesg added

Hi,

With kernel v3.7.1.747.g4fd11-DEVELOPMENT, I have a new panic. See core files :

http://leaf.dragonflybsd.org/~joris/vmcore.ttm
http://leaf.dragonflybsd.org/~joris/kern.ttm

The radeonkms module loads and initialize.

Laters xorg calls mmap to get a shared mapping of the card0 device.

  * vm_mmap in vm/vm_mmap.c is called to obtain a shared mapping. This is a device mapping, type is VCHR

  * enters dev_dmmap_single -> drm_mmap_single -> ttm_bo_mmap_single

  * ttm_bo_mmap_single looks up the pair (offset/size) in the buffer object red/black tree. bdev address in the core is 0xffffffe0e89f73a8

  * offset is 4299227136>>12, and size is 8192>>12

  * The lookup fails. Here are some informations from the core. There are only two elements in the tree, the second being the right child of the first. First element is at address  0xffffffe0e64b85a0 and second element is at address 0xffffffe0e64b81c8.

  * at the end of the while loop, the condition (best_bo->vm_node->start + best_bo->num_pages) < (page_start + num_pages) is false

  * ttm_bo_mmap_single returns EINVAL

  * vm_mmap only check error code against ENODEV. object is unitiliazed, and hence the panic.

Now the real question is "why does the lookup fail ?" That, i don't know.




----------------------------------------
Bug #2635: Stablize drm/radeon KMS drivers for new xorg
http://bugs.dragonflybsd.org/issues/2635#change-11850

* Author: tuxillo
* Status: New
* Priority: Normal
* Assignee: 
* Category: Driver
* Target version: 3.8.0
----------------------------------------
Stablize drm/radeon KMS drivers for new xorg



---Files--------------------------------
patch-ttm_bo.c (422 Bytes)
core.txt.8 (34.4 KB)
dmesg (5.19 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list