public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [i915] BUG: Bad page state in process Xorg
@ 2013-11-20 20:55 Thomas Meyer
  2013-11-22 10:36 ` Dave Airlie
  2013-11-22 10:55 ` Chris Wilson
  0 siblings, 2 replies; 14+ messages in thread
From: Thomas Meyer @ 2013-11-20 20:55 UTC (permalink / raw)
  To: airlied, Linux Kernel Mailing List

Hi,

I reported this bug a few days ago, but nobody did respond to my bug
report:
http://lkml.indiana.edu/hypermail/linux/kernel/1311.2/00058.html

Every time I restart the X server I will run into this bug with 3.12.0.

Help is welcome.

[ 9913.719551] BUG: Bad page state in process Xorg  pfn:20f2bb
[ 9913.721755] page:ffffea00083caec0 count:0 mapcount:0 mapping:ffff8802357975f8 index:0xe
[ 9913.733741] page flags: 0x800000000008001c(referenced|uptodate|dirty|swapbacked)
[ 9913.741062] Modules linked in: tcp_lp fuse ipt_MASQUERADE ip6t_REJECT xt_conntrack bluetooth ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw arc4 iwldvm snd_usb_audio mac80211 snd_hda_codec_hdmi iwlwifi snd_hda_codec_realtek snd_usbmidi_lib snd_hda_intel kvm_intel asix snd_hda_codec usbnet kvm atl1c snd_hwdep mii snd_seq acer_wmi acerhdf sparse_keymap snd_pcm joydev pcspkr cfg80211 rfkill acpi_cpufreq freq_table snd_rawmidi snd_seq_device snd_page_alloc snd_timer snd wmi soundcore uinput ipv6 xts gf128mul udl syscopyarea sysfillrect sysimgblt drm_usb usb_storage
[ 9913.741125] CPU: 0 PID: 723 Comm: Xorg Tainted: G    B        3.12.0 #2
[ 9913.741128] Hardware name: Acer Aspire 1810T/JM11-MS, BIOS v1.3310 03/25/2010
[ 9913.741130]  0000000000000000 ffff880213127cc0 ffffffff8154dc8b ffff880213127cd8
[ 9913.741135]  ffffffff8154b6e7 ffffea00083caec0 ffff880213127d10 ffffffff810c6955
[ 9913.741139]  ffffea00083caec0 800000000008001c 0000000000000000 ffff880234080000
[ 9913.741143] Call Trace:
[ 9913.741151]  [<ffffffff8154dc8b>] dump_stack+0x19/0x1b
[ 9913.741155]  [<ffffffff8154b6e7>] bad_page+0xc9/0xe2
[ 9913.741160]  [<ffffffff810c6955>] free_pages_prepare+0xd5/0xe0
[ 9913.741165]  [<ffffffff810c725d>] free_hot_cold_page+0x1d/0x120
[ 9913.741169]  [<ffffffff810cbe9e>] __put_single_page+0x1e/0x30
[ 9913.741172]  [<ffffffff810cc045>] put_page+0x25/0x40
[ 9913.741178]  [<ffffffff81346a73>] i915_gem_object_put_pages_gtt+0xc3/0x1a0
[ 9913.741183]  [<ffffffff81348378>] i915_gem_object_put_pages+0x78/0xd0
[ 9913.741187]  [<ffffffff8134a167>] i915_gem_free_object+0xe7/0x220
[ 9913.741192]  [<ffffffff81318a75>] drm_gem_object_free+0x25/0x30
[ 9913.741196]  [<ffffffff8132e5db>] drm_gem_dmabuf_release+0x4b/0x70
[ 9913.741201]  [<ffffffff813ae0b7>] dma_buf_release+0x27/0x90
[ 9913.741205]  [<ffffffff8110deab>] __fput+0xcb/0x240
[ 9913.741209]  [<ffffffff8110e059>] ____fput+0x9/0x10
[ 9913.741214]  [<ffffffff81052b5c>] task_work_run+0x9c/0xc0
[ 9913.741219]  [<ffffffff8103a365>] do_exit+0x6d5/0x9d0
[ 9913.741223]  [<ffffffff81551063>] ? __schedule+0x243/0x5e0
[ 9913.741227]  [<ffffffff81052b44>] ? task_work_run+0x84/0xc0
[ 9913.741232]  [<ffffffff8103b4d5>] do_group_exit+0x35/0x90
[ 9913.741236]  [<ffffffff8103b53f>] SyS_exit_group+0xf/0x10
[ 9913.741241]  [<ffffffff81558960>] system_call_fastpath+0x16/0x1b
[ 9913.741246] BUG: Bad page state in process Xorg  pfn:20f2bc
[ 9913.749565] page:ffffea00083caf00 count:0 mapcount:0 mapping:ffff8802357975f8 index:0xf

with kind regards
thomas




^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: [i915] BUG: Bad page state in process Xorg
@ 2013-11-25 13:17 thomas
  2013-11-25 13:23 ` Rob Clark
  0 siblings, 1 reply; 14+ messages in thread
From: thomas @ 2013-11-25 13:17 UTC (permalink / raw)
  To: daniel, robdclark
  Cc: DRI mailing list, Dave Airlie, Linux Kernel Mailing List

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 1537 bytes --]

Hi,

It turns out that this seems to be a bug in udl DRM driver.

I bisected the problem to this patch:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/gpu/drm/udl?id=5dc9e1e87229cb786a5bb58ddd0d60fee6eb4641

With kind regards
Thomas

Am 22.11.2013 17:18 schrieb Daniel Vetter <daniel@ffwll.ch>:
>
> On Fri, Nov 22, 2013 at 4:54 PM, Thomas Meyer <thomas@m3y3r.de> wrote: 
> >> Am 22.11.2013 um 11:55 schrieb Daniel Vetter <daniel@ffwll.ch>: 
> >> 
> >> On Fri, Nov 22, 2013 at 11:36 AM, Dave Airlie <airlied@linux.ie> wrote: 
> >>>> Hi, 
> >>> 
> >>> cc'ing mailing list, 
> >>> 
> >>> Daniel any ideas? 
> >> 
> >> Nope, not really :( And no ideas how to triage this further - if it 
> >> takes 9 days to hit it eventually we'll have a real hard time. Or does 
> >> this happen even after just a short X run? 
> > 
> > Seems to happen every time while stopping the x server. Also after a short run time. 
> > 
> > The current fedora 3.11 kernel doesn't show this bug. I'm using fedora 19, with a self compiled kernel. 
> > 
> > I did turn on config-debug-pagealloc but this didn't show any wrongness. 
>
> In that case I think the bisect is the fastest way to insight - atm 
> I'm really at loss what could be wrong here. 
> -Daniel 
> -- 
> Daniel Vetter 
> Software Engineer, Intel Corporation 
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch 
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply	[flat|nested] 14+ messages in thread
*  ^[[i915] BUG: Bad page state in process Xorg
@ 2013-11-16 13:46 Thomas Meyer
  0 siblings, 0 replies; 14+ messages in thread
From: Thomas Meyer @ 2013-11-16 13:46 UTC (permalink / raw)
  To: Linux Kernel Mailing List, intel-gfx

Hi,

After 9 days uptime, I wanted to restart my Gnome-Session, but this fails because Xorg is hitting a kernel bug.

Xorg server isn't kill-able. I see these log entries:

[126489.697509] CPU: 0 PID: 690 Comm: Xorg Tainted: G    B        3.12.0+ #95
[126489.697511] Hardware name: Acer Aspire 1810T/JM11-MS, BIOS v1.3310 03/25/2010
[126489.697513]  0000000000000000 ffff88009df21cd8 ffffffff81554512 ffff88009df21cf0
[126489.697517]  ffffffff81551f11 ffffea00022c5400 ffff88009df21d18 ffffffff810c549c
[126489.697520]  ffffea00022c5400 400000000008001c 0000000000000000 ffff88009df21d50
[126489.697524] Call Trace:
[126489.697529]  [<ffffffff81554512>] dump_stack+0x19/0x1b
[126489.697533]  [<ffffffff81551f11>] bad_page+0xc9/0xe2
[126489.697537]  [<ffffffff810c549c>] free_pages_prepare+0xac/0xc0
[126489.697541]  [<ffffffff810c5c7d>] free_hot_cold_page+0x1d/0x120
[126489.697545]  [<ffffffff810ca8fe>] __put_single_page+0x1e/0x30
[126489.697549]  [<ffffffff810caaa5>] put_page+0x25/0x40
[126489.697554]  [<ffffffff8134a133>] i915_gem_object_put_pages_gtt+0xc3/0x1a0
[126489.697558]  [<ffffffff8134ba68>] i915_gem_object_put_pages+0x78/0xd0
[126489.697562]  [<ffffffff8134d8b7>] i915_gem_free_object+0xe7/0x230
[126489.697566]  [<ffffffff8131bf25>] drm_gem_object_free+0x25/0x30
[126489.697570]  [<ffffffff81331b9b>] drm_gem_dmabuf_release+0x4b/0x70
[126489.697574]  [<ffffffff813b1e17>] dma_buf_release+0x27/0x90
[126489.697578]  [<ffffffff8110d41b>] __fput+0xcb/0x250
[126489.697582]  [<ffffffff8110d5d9>] ____fput+0x9/0x10
[126489.697586]  [<ffffffff81052e9c>] task_work_run+0x9c/0xc0
[126489.697590]  [<ffffffff8103a0f4>] do_exit+0x6f4/0xa00
[126489.697594]  [<ffffffff81052e84>] ? task_work_run+0x84/0xc0
[126489.697598]  [<ffffffff8103b301>] do_group_exit+0x31/0x90
[126489.697602]  [<ffffffff8103b36f>] SyS_exit_group+0xf/0x10
[126489.697606]  [<ffffffff8155f160>] system_call_fastpath+0x16/0x1b
[126489.697610] BUG: Bad page state in process Xorg  pfn:8b151
[126489.699837] page:ffffea00022c5440 count:0 mapcount:0 mapping:ffff88008cf63168 index:0x2b
[126489.702979] page flags: 0x400000000008001c(referenced|uptodate|dirty|swapbacked)
[126489.705295] Modules linked in: vfat fat ipt_MASQUERADE ip6t_REJECT xt_conntrack ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw tun tcp_lp loop fuse bluetooth snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_usb_audio snd_usbmidi_lib snd_hwdep snd_seq arc4 snd_pcm iwldvm snd_page_alloc snd_rawmidi snd_seq_device snd_timer snd mac80211 kvm_intel soundcore kvm asix acer_wmi usbnet acerhdf mii sparse_keymap pcspkr joydev iwlwifi atl1c wmi cfg80211 rfkill acpi_cpufreq freq_table uinput ipv6 xts gf128mul usb_storage udl syscopyarea sysfillrect sysimgblt drm_usb [last unloaded: iptable_raw]

How to kill the Xorg server and restart gdm?

with kind regards
thomas

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-12-04 22:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-20 20:55 [i915] BUG: Bad page state in process Xorg Thomas Meyer
2013-11-22 10:36 ` Dave Airlie
2013-11-22 10:55   ` Daniel Vetter
2013-11-22 15:54     ` Thomas Meyer
2013-11-22 16:18       ` Daniel Vetter
2013-11-22 17:06         ` Thomas Hellstrom
2013-11-22 10:55 ` Chris Wilson
2013-11-22 15:56   ` Thomas Meyer
  -- strict thread matches above, loose matches on Subject: below --
2013-11-25 13:17 thomas
2013-11-25 13:23 ` Rob Clark
2013-11-30  8:33   ` Thomas Meyer
2013-11-30 13:55     ` Rob Clark
2013-12-04 22:33       ` Thomas Meyer
2013-11-16 13:46 ^[[i915] " Thomas Meyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox