Subject: Re: drm on amd64
To: Blair Sadewitz <blair.sadewitz@gmail.com>
From: Xning Lee <xning@soforge.com>
List: tech-x11
Date: 04/01/2007 03:58:04
"Blair Sadewitz" <blair.sadewitz@gmail.com> writes:

Hello,

> If anyone gets to try the new drm code on amd64, please let me know
> how it goes for you. I'm trying to rule out any problems with my X
> server, etc.
>
> It's probably some 64-bit issue, but it would be helpful to know if
> this problem is specific to me or not.
>

1. Xorg (v7.2.0) log
===================
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xffff8000367b0000
(II) RADEON(0): [drm] drmMap failed
(EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.


2. kernel log
=============
radeondrm0 at vga0
info: [drm] ATI Radeon AS 9550 (unit 0)
info: [drm] AGP at 0xf8000000 64MB
info: [drm] Initialized radeon 1.25.0 20060524
[drm:pid682:drm_open] open_count = 0
[drm:pid682:drm_open_helper] pid = 682, minor = 0
[drm:pid682:radeon_driver_open] 
[drm:pid682:drm_addmap] offset = 0x00000000, size = 0x00002000, type = 2
[drm:pid682:drm_addmap] Added map 2 0xffff80003674a000/0x2000
[drm:pid682:drm_addmap] offset = 0xfd400000, size = 0x00010000, type = 1
[drm:pid682:drm_ioremap] ioremap mem found: 0xffff8000368b0000
[drm:pid682:drm_addmap] Added map 1 0xfd400000/0x10000
[drm:pid682:drm_addmap] offset = 0xe8000000, size = 0x08000000, type = 0
[drm:pid682:drm_mtrr_add] offset=e8000000 size=134217728
[drm:pid682:drm_addmap] Added map 0 0xe8000000/0x8000000
[drm:pid682:drm_firstopen] 
[drm:pid682:drm_ioctl] pid=682, cmd=0xc0406400, nr=0x00, dev 0xffff8000018e2800, auth=1
[drm:pid682:drm_ioctl] pid=682, cmd=0xc0406400, nr=0x00, dev 0xffff8000018e2800, auth=1
[drm:pid682:drm_close] open_count = 1
[drm:pid682:drm_close] setting priv->refs 1 to 1
[drm:pid682:drm_close] setting open_count 1 to 1
[drm:pid682:drm_close_pid] pid = 682, device = 0xffff8000018e2800, open_count = 1
[drm:pid682:drm_lastclose] 
[drm:pid682:radeon_do_cleanup_cp] 
[drm:pid682:drm_mtrr_del] offset=e8000000 size=134217728
[drm:pid682:drm_rmmap] mtrr_del = 0
[drm:pid682:drm_lastclose] 
[drm:pid682:drm_open] open_count = 0
[drm:pid682:drm_open_helper] pid = 682, minor = 0
[drm:pid682:radeon_driver_open] 
[drm:pid682:drm_addmap] offset = 0x00000000, size = 0x00002000, type = 2
[drm:pid682:drm_addmap] Added map 2 0xffff80003674a000/0x2000
[drm:pid682:drm_addmap] offset = 0xfd400000, size = 0x00010000, type = 1
[drm:pid682:drm_ioremap] ioremap mem found: 0xffff8000368b0000
[drm:pid682:drm_addmap] Added map 1 0xfd400000/0x10000
[drm:pid682:drm_addmap] offset = 0xe8000000, size = 0x08000000, type = 0
[drm:pid682:drm_mtrr_add] offset=e8000000 size=134217728
[drm:pid682:drm_addmap] Added map 0 0xe8000000/0x8000000
[drm:pid682:drm_firstopen] 
[drm:pid682:drm_ioctl] pid=682, cmd=0xc0106407, nr=0x07, dev 0xffff8000018e2800, auth=1
[drm:pid682:drm_ioctl] pid=682, cmd=0xc0106401, nr=0x01, dev 0xffff8000018e2800, auth=1
[drm:pid682:drm_ioctl] pid=682, cmd=0xc0106401, nr=0x01, dev 0xffff8000018e2800, auth=1
[drm:pid682:drm_ioctl] pid=682, cmd=0xc0406400, nr=0x00, dev 0xffff8000018e2800, auth=1
[drm:pid682:drm_ioctl] pid=682, cmd=0xc0406400, nr=0x00, dev 0xffff8000018e2800, auth=1
[drm:pid682:drm_close] open_count = 1
[drm:pid682:drm_close] setting priv->refs 1 to 1
[drm:pid682:drm_close] setting open_count 1 to 1
[drm:pid682:drm_close_pid] pid = 682, device = 0xffff8000018e2800, open_count = 1
[drm:pid682:drm_lastclose] 
[drm:pid682:radeon_do_cleanup_cp] 
[drm:pid682:drm_mtrr_del] offset=e8000000 size=134217728
[drm:pid682:drm_rmmap] mtrr_del = 0
[drm:pid682:drm_lastclose] 
[drm:pid682:drm_open] open_count = 0
[drm:pid682:drm_open_helper] pid = 682, minor = 0
[drm:pid682:radeon_driver_open] 
[drm:pid682:drm_addmap] offset = 0x00000000, size = 0x00002000, type = 2
[drm:pid682:drm_addmap] Added map 2 0xffff80003674a000/0x2000
[drm:pid682:drm_addmap] offset = 0xfd400000, size = 0x00010000, type = 1
[drm:pid682:drm_ioremap] ioremap mem found: 0xffff8000368b0000
[drm:pid682:drm_addmap] Added map 1 0xfd400000/0x10000
[drm:pid682:drm_addmap] offset = 0xe8000000, size = 0x08000000, type = 0
[drm:pid682:drm_mtrr_add] offset=e8000000 size=134217728
[drm:pid682:drm_addmap] Added map 0 0xe8000000/0x8000000
[drm:pid682:drm_firstopen] 
[drm:pid682:drm_ioctl] pid=682, cmd=0xc0406400, nr=0x00, dev 0xffff8000018e2800, auth=1
[drm:pid682:drm_ioctl] pid=682, cmd=0xc0406400, nr=0x00, dev 0xffff8000018e2800, auth=1
[drm:pid682:drm_close] open_count = 1
[drm:pid682:drm_close] setting priv->refs 1 to 1
[drm:pid682:drm_close] setting open_count 1 to 1
[drm:pid682:drm_close_pid] pid = 682, device = 0xffff8000018e2800, open_count = 1
[drm:pid682:drm_lastclose] 
[drm:pid682:radeon_do_cleanup_cp] 
[drm:pid682:drm_lastclose] 
[drm:pid682:drm_open] open_count = 0
[drm:pid682:drm_open_helper] pid = 682, minor = 0
[drm:pid682:radeon_driver_open] 
[drm:pid682:drm_addmap] offset = 0x00000000, size = 0x00002000, type = 2
[drm:pid682:drm_addmap] Added map 2 0xffff80003674a000/0x2000
[drm:pid682:drm_addmap] offset = 0xfd400000, size = 0x00010000, type = 1
[drm:pid682:drm_ioremap] ioremap mem found: 0xffff8000368b0000
[drm:pid682:drm_addmap] Added map 1 0xfd400000/0x10000
[drm:pid682:drm_addmap] offset = 0xe8000000, size = 0x08000000, type = 0
[drm:pid682:drm_mtrr_add] offset=e8000000 size=134217728
[drm:pid682:drm_addmap] Added map 0 0xe8000000/0x8000000
[drm:pid682:drm_firstopen] 
[drm:pid682:drm_ioctl] pid=682, cmd=0xc0406400, nr=0x00, dev 0xffff8000018e2800, auth=1
[drm:pid682:drm_ioctl] pid=682, cmd=0xc0406400, nr=0x00, dev 0xffff8000018e2800, auth=1
[drm:pid682:drm_close] open_count = 1
[drm:pid682:drm_close] setting priv->refs 1 to 1
[drm:pid682:drm_close] setting open_count 1 to 1
[drm:pid682:drm_close_pid] pid = 682, device = 0xffff8000018e2800, open_count = 1
[drm:pid682:drm_lastclose] 
[drm:pid682:radeon_do_cleanup_cp] 
[drm:pid682:drm_lastclose] 
[drm:pid682:drm_open] open_count = 0
[drm:pid682:drm_open_helper] pid = 682, minor = 0
[drm:pid682:radeon_driver_open] 
[drm:pid682:drm_addmap] offset = 0x00000000, size = 0x00002000, type = 2
[drm:pid682:drm_addmap] Added map 2 0xffff80003674a000/0x2000
[drm:pid682:drm_addmap] offset = 0xfd400000, size = 0x00010000, type = 1
[drm:pid682:drm_ioremap] ioremap mem found: 0xffff8000368b0000
[drm:pid682:drm_addmap] Added map 1 0xfd400000/0x10000
[drm:pid682:drm_addmap] offset = 0xe8000000, size = 0x08000000, type = 0
[drm:pid682:drm_mtrr_add] offset=e8000000 size=134217728
[drm:pid682:drm_addmap] Added map 0 0xe8000000/0x8000000
[drm:pid682:drm_firstopen] 
[drm:pid682:drm_ioctl] pid=682, cmd=0xc0106407, nr=0x07, dev 0xffff8000018e2800, auth=1
[drm:pid682:drm_ioctl] pid=682, cmd=0xc0106401, nr=0x01, dev 0xffff8000018e2800, auth=1
[drm:pid682:drm_ioctl] pid=682, cmd=0xc0106401, nr=0x01, dev 0xffff8000018e2800, auth=1
[drm:pid682:drm_ioctl] pid=682, cmd=0xc0106407, nr=0x07, dev 0xffff8000018e2800, auth=1
[drm:pid682:drm_ioctl] pid=682, cmd=0xc0286415, nr=0x15, dev 0xffff8000018e2800, auth=1
[drm:pid682:drm_addmap] offset = 0x00000000, size = 0x00002000, type = 2
[drm:pid682:drm_addmap] Found kernel map 2
[drm:pid682:drm_addmap] Added map 2 0xffff80003674a000/0x2000
[drm:pid682:drm_close] open_count = 1
[drm:pid682:drm_close] setting priv->refs 1 to 1
[drm:pid682:drm_close] setting open_count 1 to 1
[drm:pid682:drm_close_pid] pid = 682, device = 0xffff8000018e2800, open_count = 1
[drm:pid682:drm_lastclose] 
[drm:pid682:radeon_do_cleanup_cp] 
[drm:pid682:drm_lastclose] 


Regards,

--Xning