[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dragonfly-bugs
Subject:    [DragonFlyBSD - Bug #2635] Stablize drm/radeon KMS drivers for new xorg
From:       bugtracker-admin () leaf ! dragonflybsd ! org
Date:       2014-02-24 18:00:13
Message-ID: redmine.journal-11850.20140224180013.768dbc86608f2eae () leaf ! dragonflybsd ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic