* do i915 depend on msi?
@ 2010-11-01 12:33 Alexey Fisher
2010-11-02 12:01 ` [regression] drm/i915: Eliminate nested get/put pages Alexey Fisher
0 siblings, 1 reply; 3+ messages in thread
From: Alexey Fisher @ 2010-11-01 12:33 UTC (permalink / raw)
To: intel-gfx
Hallo,
i need to test my netbook with msi disabled but i get fallowing oops:
[ 67.097058] ------------[ cut here ]------------
[ 67.097162] kernel BUG
at /home/src/linux-2.6/drivers/gpu/drm/i915/i915_gem.c:4157!
[ 67.097297] invalid opcode: 0000 [#1] SMP
[ 67.097380] last sysfs
file: /sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/model
[ 67.097533] Modules linked in: binfmt_misc rfcomm sco bnep l2cap
snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep arc4
snd_pcm_oss ecb snd_mixer_oss ath9k snd_pcm mac80211 snd_seq_dummy
snd_seq_oss snd_seq_midi ath9k_common snd_rawmidi snd_seq_midi_event
snd_seq ath9k_hw btusb snd_timer snd_seq_device bluetooth ath cfg80211
atl1c snd shpchp soundcore snd_page_alloc psmouse uvcvideo serio_raw
uhci_hcd videodev v4l1_compat
[ 67.098404]
[ 67.098444] Pid: 1779, comm: Xorg Not tainted 2.6.36-07547-g100519e
#158 1005HA/1005HA
[ 67.098614] EIP: 0060:[<c120d59a>] EFLAGS: 00213202 CPU: 1
[ 67.098742] EIP is at i915_gem_object_pin+0x16b/0x176
[ 67.098853] EAX: 00009c9b EBX: f3cfd0c0 ECX: 00000001 EDX: 00008000
[ 67.098965] ESI: f5074000 EDI: 00000000 EBP: f72a3878 ESP: f47d1dc0
[ 67.099074] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 67.099171] Process Xorg (pid: 1779, ti=f47d0000 task=f70cf440
task.ti=f47d0000)
[ 67.099299] Stack:
[ 67.099336] 01019d41 f48ad800 f3cfd0c0 00000001 c120da37 00000001
c114f40c 00000000
[ 67.099507] <0> 00000000 f5074000 f3199e00 f48ad800 f3241740 f4b26b01
f72a3840 00000000
[ 67.099689] <0> f4b26b00 00000003 f5074000 f47d1e98 f5074018 00d03040
c120f145 00000000
[ 67.099876] Call Trace:
[ 67.099927] [<c120da37>] ? i915_gem_do_execbuffer+0x3a8/0xc16
[ 67.100042] [<c114f40c>] ? security_file_alloc+0xc/0xd
[ 67.100138] [<c120f145>] ? i915_gem_pwrite_ioctl+0x880/0x8c1
[ 67.103558] [<c10a3393>] ? T.936+0xbe/0x1d9
[ 67.103558] [<c10a3ae7>] ? __kmalloc+0x111/0x11c
[ 67.103558] [<c120e33a>] ? i915_gem_execbuffer2+0x95/0xd8
[ 67.103558] [<c11f3a65>] ? drm_ioctl+0x225/0x2d8
[ 67.103558] [<c120e2a5>] ? i915_gem_execbuffer2+0x0/0xd8
[ 67.103558] [<c115296d>] ? smk_access+0x83/0x155
[ 67.103558] [<c1152b1c>] ? smk_curacc+0x76/0x81
[ 67.128046] [<c1151539>] ? smack_file_ioctl+0x4f/0x80
[ 67.128046] [<c11f3840>] ? drm_ioctl+0x0/0x2d8
[ 67.128046] [<c10b0a2c>] ? do_vfs_ioctl+0x49f/0x4eb
[ 67.128046] [<c10b0abd>] ? sys_ioctl+0x45/0x65
[ 67.128046] [<c1002893>] ? sysenter_do_call+0x12/0x22
[ 67.128046] Code: 41 04 89 08 8b 86 58 11 00 00 89 96 58 11 00 00 81
c6 54 11 00 00 89 43 64 89 73 60 89 10 f6 43 7a 08 75 0b 80 7c 24 02 00
74 04 <0f> 0b eb fe 31 c0 5e 5b 5e 5f c3 55 89 cd 57 89 d7 56 53 8d 64
[ 67.128046] EIP: [<c120d59a>] i915_gem_object_pin+0x16b/0x176 SS:ESP
0068:f47d1dc0
Any ideas?
--
Regards,
Alexey
^ permalink raw reply [flat|nested] 3+ messages in thread
* [regression] drm/i915: Eliminate nested get/put pages
2010-11-01 12:33 do i915 depend on msi? Alexey Fisher
@ 2010-11-02 12:01 ` Alexey Fisher
2010-11-02 12:13 ` Chris Wilson
0 siblings, 1 reply; 3+ messages in thread
From: Alexey Fisher @ 2010-11-02 12:01 UTC (permalink / raw)
To: intel-gfx
this is regression seems to depend on xserver-xorg-video-intel version.
xserver-xorg-video-intel version 2:2.12.0-1ubuntu5
i used till kernel 2.6.36-07547-g100519e, which was fine.
no i use xserver-xorg-video-intel
2:2.12.902+git20101028.b066ddda-0ubuntu0sarvatt2~maverick
what make kernel oops on dual core and complete freeze with maxcpus=1.
See oops on the end.
the commit i get first freez witch is
"e5281ccd2e0049e2b9e8ce82449630d25082372d".
The problem is, after this commit it will freeze on the boot, but last
intel_drm_next freeze on login to gnome, after x is actually started.
My HW: eeepc 1005, 945gm graphik
intel_stepping
Vendor: 0x8086, Device: 0x27ae, Revision: 0x03 (??)
commit e5281ccd2e0049e2b9e8ce82449630d25082372d
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Thu Oct 28 13:45:36 2010 +0100
drm/i915: Eliminate nested get/put pages
By using read_cache_page() for individual pages during pwrite/pread we
can eliminate an unnecessary large allocation (and immediate free) of
obj->pages. Also this eliminates any potential nesting of get/put pages,
simplifying the code and preparing the path for greater things.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
[ 38.549876] ------------[ cut here ]------------
[ 38.550003] kernel BUG
at /home/src/linux-2.6/drivers/gpu/drm/i915/i915_gem.c:4185!
[ 38.550173] invalid opcode: 0000 [#1] SMP
[ 38.550287] last sysfs
file: /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/uevent
[ 38.550464] Modules linked in: rfcomm binfmt_misc sco bnep l2cap
snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep arc4
snd_pcm_oss snd_mixer_oss snd_pcm ecb ath9k snd_seq_dummy snd_seq_oss
mac80211 snd_seq_midi ath9k_common ath9k_hw snd_rawmidi btusb
snd_seq_midi_event snd_seq bluetooth ath snd_timer snd_seq_device
cfg80211 uvcvideo psmouse atl1c videodev serio_raw v4l1_compat snd
shpchp uhci_hcd soundcore snd_page_alloc
[ 38.551648]
[ 38.551691] Pid: 1651, comm: Xorg Not tainted 2.6.36-07555-gf2a630b
#160 1005HA/1005HA
[ 38.551880] EIP: 0060:[<c1213dad>] EFLAGS: 00213202 CPU: 0
[ 38.552011] EIP is at i915_gem_object_pin+0x16b/0x176
[ 38.552011] EAX: 00009c9b EBX: f01ed540 ECX: 00000001 EDX: 00008000
[ 38.552011] ESI: f5072000 EDI: 00000000 EBP: efbaa278 ESP: f1ca9dc4
[ 38.552011] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 38.552011] Process Xorg (pid: 1651, ti=f1ca8000 task=f269f900
task.ti=f1ca8000)
[ 38.552011] Stack:
[ 38.552011] 01010969 f1ca9e98 f01ed540 00000001 c1215482 00000001
00000000 00000000
[ 38.552011] <0> efbaa240 f5031c00 f1d5c7e0 00000003 f1ca9e01 efbab940
00000003 f5072000
[ 38.552011] <0> f5072018 c1212463 00000000 f2733080 00ce9040 c12150b2
00000000 00000000
[ 38.552011] Call Trace:
[ 38.552011] [<c1215482>] ? i915_gem_do_execbuffer+0x38f/0xbe4
[ 38.552011] [<c1212463>] ? i915_gem_object_set_to_gtt_domain
+0x75/0x7b
[ 38.552011] [<c12150b2>] ? i915_gem_pwrite_ioctl+0x880/0x8c1
[ 38.552011] [<c10a445f>] ? __kmalloc+0x111/0x11c
[ 38.552011] [<c1215d6c>] ? i915_gem_execbuffer2+0x95/0xd8
[ 38.552011] [<c11f9ff1>] ? drm_ioctl+0x225/0x2d8
[ 38.552011] [<c1215cd7>] ? i915_gem_execbuffer2+0x0/0xd8
[ 38.552011] [<c11532e5>] ? smk_access+0x83/0x155
[ 38.552011] [<c1153494>] ? smk_curacc+0x76/0x81
[ 38.552011] [<c1151eb1>] ? smack_file_ioctl+0x4f/0x80
[ 38.590993] [<c11f9dcc>] ? drm_ioctl+0x0/0x2d8
[ 38.590993] [<c10b13a4>] ? do_vfs_ioctl+0x49f/0x4eb
[ 38.590993] [<c10b1435>] ? sys_ioctl+0x45/0x65
[ 38.590993] [<c1002893>] ? sysenter_do_call+0x12/0x22
[ 38.590993] Code: 41 04 89 08 8b 86 58 11 00 00 89 96 58 11 00 00 81
c6 54 11 00 00 89 43 64 89 73 60 89 10 f6 43 7a 08 75 0b 80 7c 24 02 00
74 04 <0f> 0b eb fe 31 c0 5f 5b 5e 5f c3 55 57 56 89 c6 53 8d 64 24 fc
[ 38.612053] EIP: [<c1213dad>] i915_gem_object_pin+0x16b/0x176 SS:ESP
0068:f1ca9dc4
--
Regards,
Alexey
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [regression] drm/i915: Eliminate nested get/put pages
2010-11-02 12:01 ` [regression] drm/i915: Eliminate nested get/put pages Alexey Fisher
@ 2010-11-02 12:13 ` Chris Wilson
0 siblings, 0 replies; 3+ messages in thread
From: Chris Wilson @ 2010-11-02 12:13 UTC (permalink / raw)
To: Alexey Fisher, intel-gfx
On Tue, 02 Nov 2010 13:01:10 +0100, Alexey Fisher <bug-track@fisher-privat.net> wrote:
> this is regression seems to depend on xserver-xorg-video-intel version.
>
> xserver-xorg-video-intel version 2:2.12.0-1ubuntu5
> i used till kernel 2.6.36-07547-g100519e, which was fine.
>
> no i use xserver-xorg-video-intel
> 2:2.12.902+git20101028.b066ddda-0ubuntu0sarvatt2~maverick
> what make kernel oops on dual core and complete freeze with maxcpus=1.
> See oops on the end.
>
> the commit i get first freez witch is
> "e5281ccd2e0049e2b9e8ce82449630d25082372d".
> The problem is, after this commit it will freeze on the boot, but last
> intel_drm_next freeze on login to gnome, after x is actually started.
e5281ccd contained a typo where I missed converting from obj->pages[i] to
page. Fixed with ff75b9bc4.
The later OOPs is a confirmation of
https://bugs.freedesktop.org/show_bug.cgi?id=31286
Thanks,
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-02 12:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-01 12:33 do i915 depend on msi? Alexey Fisher
2010-11-02 12:01 ` [regression] drm/i915: Eliminate nested get/put pages Alexey Fisher
2010-11-02 12:13 ` Chris Wilson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.