ANN: New kernel in Th - 2.6.27.4

Lukasz Kies kiesiu at kiesiu.com
Tue Nov 4 23:08:24 CET 2008


2008/11/4 Arkadiusz Miskiewicz <arekm at maven.pl>:
> On Tuesday 04 of November 2008, Arkadiusz Miskiewicz wrote:
>> On Tuesday 04 of November 2008, Lukasz Kies wrote:
>> > [22179.690085] [drm:i915_initialize] *ERROR* can not ioremap virtual
>> > address for ring buffer
>
> That's real problem and google finds no solution and only 3-4 reports. Uh.
> Even freedesktop bugzilla has nothing about this.
>

Arek, here's debug dmesg output:

[29186.889620] [drm] Initialized drm 1.1.0 20060810
[29194.544936] [drm:drm_init]
[29194.545033] [drm:drm_get_dev]
[29194.545102] pci 0000:00:02.0: setting latency timer to 64
[29194.545187] [drm:drm_addmap_core] offset = 0xfc000000, size =
0x00100000, type = 1
[29194.545297] [drm:drm_get_minor]
[29194.549906] [drm:drm_get_minor] new minor assigned 0
[29194.549982] [drm] Initialized i915 1.6.0 20060119 on minor 0
[29202.274039] [drm:drm_stub_open]
[29202.274051] [drm:drm_open_helper] pid = 15999, minor = 0
[29202.274232] [drm:drm_addmap_core] offset = 0x00000000, size =
0x00002000, type = 2
[29202.274338] [drm:drm_addmap_core] 8192 13 f8c6b000
[29202.274413] [drm:drm_setup]
[29202.274503] [drm:drm_ioctl] pid=15999, cmd=0xc0246400, nr=0x00, dev
0xe200, auth=1
[29202.274585] [drm:drm_ioctl] pid=15999, cmd=0xc0246400, nr=0x00, dev
0xe200, auth=1
[29202.274670] [drm:drm_release] open_count = 1
[29202.274677] [drm:drm_release] pid = 15999, device = 0xe200, open_count = 1
[29202.274680] [drm:drm_fasync] fd = -1, device = 0xe200
[29202.274819] [drm:drm_lastclose]
[29202.274888] [drm:drm_lastclose] driver lastclose completed
[29202.274966] [drm:drm_lastclose] lastclose completed
[29202.275073] [drm:drm_stub_open]
[29202.275080] [drm:drm_open_helper] pid = 15999, minor = 0
[29202.275185] [drm:drm_addmap_core] offset = 0x00000000, size =
0x00002000, type = 2
[29202.275270] [drm:drm_addmap_core] 8192 13 f8c6b000
[29202.275341] [drm:drm_setup]
[29202.275419] [drm:drm_ioctl] pid=15999, cmd=0xc0246400, nr=0x00, dev
0xe200, auth=1
[29202.275497] [drm:drm_ioctl] pid=15999, cmd=0xc0246400, nr=0x00, dev
0xe200, auth=1
[29202.275596] [drm:drm_release] open_count = 1
[29202.275602] [drm:drm_release] pid = 15999, device = 0xe200, open_count = 1
[29202.275605] [drm:drm_fasync] fd = -1, device = 0xe200
[29202.275759] [drm:drm_lastclose]
[29202.275830] [drm:drm_lastclose] driver lastclose completed
[29202.275907] [drm:drm_lastclose] lastclose completed
[29202.276007] [drm:drm_stub_open]
[29202.276012] [drm:drm_open_helper] pid = 15999, minor = 0
[29202.276117] [drm:drm_addmap_core] offset = 0x00000000, size =
0x00002000, type = 2
[29202.276201] [drm:drm_addmap_core] 8192 13 f8c6b000
[29202.276273] [drm:drm_setup]
[29202.276362] [drm:drm_ioctl] pid=15999, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[29202.276446] [drm:drm_ioctl] pid=15999, cmd=0xc0086401, nr=0x01, dev
0xe200, auth=1
[29202.276522] [drm:drm_ioctl] pid=15999, cmd=0xc0086401, nr=0x01, dev
0xe200, auth=1
[29202.276609] [drm:drm_ioctl] pid=15999, cmd=0xc0106407, nr=0x07, dev
0xe200, auth=1
[29202.276698] [drm:drm_ioctl] pid=15999, cmd=0xc0186415, nr=0x15, dev
0xe200, auth=1
[29202.276775] [drm:drm_addmap_core] offset = 0x00000000, size =
0x00002000, type = 2
[29202.276859] [drm:drm_mmap_locked] start = 0xb7a26000, end =
0xb7a28000, page offset = 0xf8c6b
[29202.276865] [drm:drm_vm_open_locked] 0xb7a26000,0x00002000
[29202.276979] [drm:drm_do_vm_shm_fault] shm_fault 0x0
[29202.277057] [drm:drm_do_vm_shm_fault] shm_fault 0x1000
[29202.277179] [drm:drm_ioctl] pid=15999, cmd=0xc0086426, nr=0x26, dev
0xe200, auth=1
[29202.277260] [drm:drm_ioctl] pid=15999, cmd=0xc0086426, nr=0x26, dev
0xe200, auth=1
[29202.277384] [drm:drm_ioctl] pid=15999, cmd=0xc0086420, nr=0x20, dev
0xe200, auth=1
[29202.277468] [drm:drm_addctx] 1
[29202.277543] [drm:drm_ioctl] pid=15999, cmd=0x40086422, nr=0x22, dev
0xe200, auth=1
[29202.277632] [drm:drm_ioctl] pid=15999, cmd=0x4008642a, nr=0x2a, dev
0xe200, auth=1
[29202.277709] [drm:drm_lock] 1 (pid 15999) requests lock
(0x00000000), flags = 0x00000000
[29202.277715] [drm:drm_lock] 1 has lock
[29202.277837] [drm:drm_fasync] fd = 11, device = 0xe200
[29202.277951] [drm:drm_ioctl] pid=15999, cmd=0xc0246400, nr=0x00, dev
0xe200, auth=1
[29202.278037] [drm:drm_ioctl] pid=15999, cmd=0xc0246400, nr=0x00, dev
0xe200, auth=1
[29202.278204] [drm:drm_ioctl] pid=15999, cmd=0xc0086446, nr=0x46, dev
0xe200, auth=1
[29202.278293] [drm:i915_getparam] *ERROR* Unknown parameter 5
[29202.278299] [drm:drm_ioctl] ret = ffffffea
[29202.342932] [drm:drm_ioctl] pid=15999, cmd=0xc0186415, nr=0x15, dev
0xe200, auth=1
[29202.343128] [drm:drm_addmap_core] offset = 0xfc000000, size =
0x00080000, type = 1
[29202.343135] [drm:drm_addmap_core] Matching maps of type 1 with
mismatched sizes, (524288 vs 1048576)
[29202.343269] [drm:drm_ioctl] pid=15999, cmd=0xc0186415, nr=0x15, dev
0xe200, auth=1
[29202.343348] [drm:drm_addmap_core] offset = 0xd0000000, size =
0x00020000, type = 3
[29202.343353] [drm:drm_addmap_core] AGP offset = 0xd0000000, size = 0x00020000
[29202.343504] [drm:drm_ioctl] pid=15999, cmd=0x40446440, nr=0x40, dev
0xe200, auth=1
[29202.343836] [drm:i915_initialize] *ERROR* can not ioremap virtual
address for ring buffer
[29202.343845] [drm:drm_ioctl] ret = fffffff4
[29202.344030] [drm:drm_fasync] fd = 11, device = 0xe200
[29202.344119] [drm:drm_ioctl] pid=15999, cmd=0xc0086421, nr=0x21, dev
0xe200, auth=1
[29202.344195] [drm:drm_rmctx] 1
[29202.344271] [drm:drm_ioctl] pid=15999, cmd=0xc0086426, nr=0x26, dev
0xe200, auth=1
[29202.344348] [drm:drm_ioctl] pid=15999, cmd=0xc0086426, nr=0x26, dev
0xe200, auth=1
[29202.344440] [drm:drm_ioctl] pid=15999, cmd=0x4008642b, nr=0x2b, dev
0xe200, auth=1
[29202.344547] [drm:drm_vm_shm_close] 0xb7a26000,0x00002000
[29202.344632] [drm:drm_release] open_count = 1
[29202.344637] [drm:drm_release] pid = 15999, device = 0xe200, open_count = 1
[29202.344641] [drm:drm_fasync] fd = -1, device = 0xe200
[29202.344779] [drm:drm_lastclose]
[29202.344848] [drm:drm_lastclose] driver lastclose completed
[29202.344937] [drm:drm_lastclose] lastclose completed

It also looks like xserver (or maybe libgl) cannot load i965_dri and
instead it loads swrast_dri:

[kiesiu at beth ~]$ LIBGL_DEBUG=verbose glxinfo | head -n 3
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/swrast_dri.so
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes

[kiesiu at beth ~]$ rpm -q Mesa-dri-driver-swrast Mesa-dri-driver-intel-i965
Mesa-dri-driver-swrast-7.2-2.i686
Mesa-dri-driver-intel-i965-7.2-2.i686

Could someone else confirm if has similar problem with intel cards?

Regards,
Lukasz


More information about the pld-devel-en mailing list