NetBSD-Bugs archive

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

Re: port-i386/42313: drm problems with intel Q35



matthew green wrote:
The following reply was made to PR port-i386/42313; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: port-i386-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
    netbsd-bugs%netbsd.org@localhost
Subject: re: port-i386/42313: drm problems with intel Q35
Date: Sat, 14 Nov 2009 13:10:02 +1100

 i also wonder if you could try the two patches posted against
 xsrc/42262: Thinkpad T500 Intel GM45 Express X doesn't like i915drm
 from jeremy morse.
Patch applied, but it didn't help. A kernel log with hw.dri.debug=1 (and with the patch applied) is attached.

regards, Matthias
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_open] [drm:pid443:drm_open] 
open_count = 0
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_open_helper] 
[drm:pid443:drm_open_helper] pid = 443, minor = 0
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
offset = 0x00000000, size = 0x00002000, type = 2
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
8192 13 0xc2f66000
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
Added map 2 0xc2f66000/0x2000
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_firstopen] 
[drm:pid443:drm_firstopen] 
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0246400, nr=0x00, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0246400, nr=0x00, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_close] [drm:pid443:drm_close] 
open_count = 1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_close] [drm:pid443:drm_close] pid 
= 443, device = 0x0xcc472e00, open_count = 1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_close] [drm:pid443:drm_close] 
setting open_count 1 to 1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_lastclose] 
[drm:pid443:drm_lastclose] 
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_open] [drm:pid443:drm_open] 
open_count = 0
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_open_helper] 
[drm:pid443:drm_open_helper] pid = 443, minor = 0
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
offset = 0x00000000, size = 0x00002000, type = 2
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
8192 13 0xc2f66000
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
Added map 2 0xc2f66000/0x2000
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_firstopen] 
[drm:pid443:drm_firstopen] 
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0246400, nr=0x00, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0246400, nr=0x00, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_close] [drm:pid443:drm_close] 
open_count = 1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_close] [drm:pid443:drm_close] pid 
= 443, device = 0x0xcc472e00, open_count = 1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_close] [drm:pid443:drm_close] 
setting open_count 1 to 1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_lastclose] 
[drm:pid443:drm_lastclose] 
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_open] [drm:pid443:drm_open] 
open_count = 0
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_open_helper] 
[drm:pid443:drm_open_helper] pid = 443, minor = 0
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
offset = 0x00000000, size = 0x00002000, type = 2
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
8192 13 0xc2f66000
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
Added map 2 0xc2f66000/0x2000
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_firstopen] 
[drm:pid443:drm_firstopen] 
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0106407, nr=0x07, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0086401, nr=0x01, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0086401, nr=0x01, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0106407, nr=0x07, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0186415, nr=0x15, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
offset = 0x00000000, size = 0x00002000, type = 2
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
Found kernel map 2
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
Added map 2 0xc2f66000/0x2000
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0086426, nr=0x26, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0086426, nr=0x26, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0086420, nr=0x20, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ctxbitmap_next] 
[drm:pid443:drm_ctxbitmap_next] drm_ctxbitmap_next bit : 1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addctx] [drm:pid443:drm_addctx] 1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0x80086422, nr=0x22, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0x8008642a, nr=0x2a, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_lock] [drm:pid443:drm_lock] 1 
(pid 443) requests lock (0x00000000), flags = 0x00000000
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_lock] [drm:pid443:drm_lock] 1 has 
lock
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0x8004667d, nr=0x7d, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0x8004667c, nr=0x7c, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0246400, nr=0x00, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0246400, nr=0x00, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0086446, nr=0x46, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0186415, nr=0x15, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
offset = 0xfea00000, size = 0x00080000, type = 1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
Found kernel map 1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
Added map 1 0xfea00000/0x80000
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0186415, nr=0x15, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
offset = 0xd0000000, size = 0x00020000, type = 3
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
Added map 3 0xd0000000/0x20000
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0x80446440, nr=0x40, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_netbsd_ioremap] 
[drm:pid443:drm_netbsd_ioremap] ioremap: flags 6
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_netbsd_ioremap] 
[drm:pid443:drm_netbsd_ioremap] ioremap mem found for d0000000, 20000: 0x0
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0186415, nr=0x15, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
offset = 0xd4000000, size = 0x00d20000, type = 3
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
Added map 3 0xd4000000/0xd20000
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0186415, nr=0x15, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
offset = 0xd1000000, size = 0x01000000, type = 3
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
Added map 3 0xd1000000/0x1000000
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0186415, nr=0x15, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
offset = 0xd2000000, size = 0x01000000, type = 3
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
Added map 3 0xd2000000/0x1000000
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0186415, nr=0x15, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
offset = 0xd8000000, size = 0x02000000, type = 3
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_addmap] [drm:pid443:drm_addmap] 
Added map 3 0xd8000000/0x2000000
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0x800c644a, nr=0x4a, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0x80086447, nr=0x47, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0x80086447, nr=0x47, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0x2000641e, nr=0x1e, dev 0xcc472e00, auth=1
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] no 
function
Nov 14 19:43:10 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0x8004644d, nr=0x4d, dev 0xcc472e00, auth=1
Nov 14 19:43:11 slug syslogd[146]: last message repeated 3 times
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0x80086408, nr=0x08, dev 0xcc472e00, auth=1
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_modeset_ctl] 
[drm:pid443:drm_modeset_ctl] num_crtcs=2
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_modeset_ctl] 
[drm:pid443:drm_modeset_ctl] crtc=0
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_modeset_ctl] 
[drm:pid443:drm_modeset_ctl] post-modeset
Nov 14 19:43:11 slug /netbsd: [drm:pid
Nov 14 19:43:11 slug /netbsd: 443:drm_ioctl] pid=443, cmd=0x8004644d, nr=0x4d, 
dev 0xcc472e00, auth=1
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0x8004644d, nr=0x4d, dev 0xcc472e00, auth=1
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0x80086451, nr=0x51, dev 0xcc472e00, auth=1
Nov 14 19:43:11 slug /netbsd: [drm:pid443:i915_set_status_page] 
[drm:pid443:i915_set_status_page] set status page addr 0x0083b000
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_netbsd_ioremap] 
[drm:pid443:drm_netbsd_ioremap] ioremap: flags 2
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_netbsd_ioremap] 
[drm:pid443:drm_netbsd_ioremap] ioremap: failed to map (35)
Nov 14 19:43:11 slug /netbsd: error: [drm:pid443:i915_set_status_page] *ERROR* 
can not ioremap virtual address for G33 hw status page
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl]     
returning 12
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0x80446440, nr=0x40, dev 0xcc472e00, auth=1
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0x8004667d, nr=0x7d, dev 0xcc472e00, auth=1
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0086421, nr=0x21, dev 0xcc472e00, auth=1
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_rmctx] [drm:pid443:drm_rmctx] 1
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0xc0086426, nr=0x26, dev 0xcc472e00, auth=1
Nov 14 19:43:11 slug /netbsd: [drm:pid
Nov 14 19:43:11 slug /netbsd: 443:drm_ioctl] pid=443, cmd=0xc0086426, nr=0x26, 
dev 0xcc472e00, auth=1
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_ioctl] [drm:pid443:drm_ioctl] 
pid=443, cmd=0x8008642b, nr=0x2b, dev 0xcc472e00, auth=1
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_unlock] [drm:pid443:drm_unlock] 1 
(pid 443) requests unlock (0x80000001), flags = 0x00000000
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_close] [drm:pid443:drm_close] 
open_count = 1
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_close] [drm:pid443:drm_close] pid 
= 443, device = 0x0xcc472e00, open_count = 1
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_close] [drm:pid443:drm_close] 
setting open_count 1 to 1
Nov 14 19:43:11 slug /netbsd: [drm:pid443:drm_lastclose] 
[drm:pid443:drm_lastclose] 
Nov 14 19:43:11 slug /netbsd: agpclose: mem 0 is bound
Nov 14 19:43:11 slug /netbsd: agpclose: mem 1 is bound
Nov 14 19:43:11 slug /netbsd: agpclose: mem 2 is bound
Nov 14 19:43:11 slug /netbsd: agpclose: mem 3 is bound
Nov 14 19:43:11 slug /netbsd: agpclose: mem 4 is bound
Nov 14 19:43:11 slug /netbsd: agpclose: mem 5 is bound
Nov 14 19:43:11 slug /netbsd: agpclose: mem 6 is bound
Nov 14 19:43:11 slug /netbsd: agpclose: mem 7 is bound
Nov 14 19:43:11 slug kdm[581]: X server died during startup
Nov 14 19:43:11 slug kdm[581]: X server for display :0 cannot be started, 
session disabled


Home | Main Index | Thread Index | Old Index