From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755104Ab0GHJGE (ORCPT ); Thu, 8 Jul 2010 05:06:04 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:49784 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752979Ab0GHJF7 (ORCPT ); Thu, 8 Jul 2010 05:05:59 -0400 Date: Thu, 8 Jul 2010 11:05:31 +0200 From: Ingo Molnar To: "Justin P. Mattock" Cc: Linux Kernel Mailing List , airlied@linux.ie, dri-devel@lists.freedesktop.org, venki@google.com, hpa@linux.intel.com, Andrew Morton , Thomas Gleixner , Peter Zijlstra Subject: Re: [bisected]X:2252 conflicting memory types 40000000-48000000 uncached-minus<->write-combining Message-ID: <20100708090531.GA23353@elte.hu> References: <4C2E464A.8090900@gmail.com> <4C2EBE99.4030706@gmail.com> <20100708064448.GA3803@elte.hu> <4C358076.1040302@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C358076.1040302@gmail.com> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Justin P. Mattock wrote: > On 07/07/2010 11:44 PM, Ingo Molnar wrote: > > > >* Justin P. Mattock wrote: > > > >>On 07/02/10 13:04, Justin P. Mattock wrote: > >>>this is new(below) has anybody reported/bisected hit this yet > >>>(if not I'll bisect it) > >>> > >>>[drm] Num pipes: 1 > >>>[ 29.742432] [drm] writeback test succeeded in 1 usecs > >>>[ 30.089717] X:2252 conflicting memory types 40000000-48000000 > >>>uncached-minus<->write-combining > >>>[ 30.089721] reserve_memtype failed 0x40000000-0x48000000, track > >>>uncached-minus, req uncached-minus > >>>[ 30.123517] [drm] Num pipes: 1 > >>>[ 30.351017] X:2252 freeing invalid memtype 40000000-48000000 > >>>[ 30.354255] CPU 0 > >>>[ 30.354255] Modules linked in: radeon ttm drm_kms_helper drm > >>>sco xcbc bnep rmd160 sha512_generic xt_tcpudp ipt_LOG iptable_nat > >>>nf_nat xt_state nf_conntrack_ftp nf_conntrack_ipv4 nf_conntrack > >>>nf_defrag_ipv4 iptable_filter ip_tables x_tables firewire_ohci > >>>firewire_core video battery ath9k ac ath9k_common joydev sky2 > >>>ath9k_hw ohci1394 ath thermal evdev button i2c_i801 hid_magicmouse > >>>aes_x86_64 lzo lzo_compress zlib ipcomp xfrm_ipcomp crypto_null > >>>sha256_generic cbc des_generic cast5 blowfish serpent camellia > >>>twofish twofish_common ctr ah4 esp4 authenc raw1394 ieee1394 > >>>uhci_hcd ehci_hcd hci_uart rfcomm btusb hidp l2cap bluetooth > >>>coretemp acpi_cpufreq processor mperf appletouch applesmc > >>>uvcvideo[ 30.354255] > >>>[ 30.354255] Pid: 2252, comm: X Not tainted > >>>2.6.35-rc3-00397-g123f94f #3 Mac-F42187C8/MacBookPro2,2 > >>>[ 30.354255] RIP: 0010:[] > >>>[] radeon_read_ring_rptr+0x2b/0x2f [radeon] > >>>[ 30.354255] RSP: 0018:ffff8800360dfc80 EFLAGS: 00010202 > >>>[ 30.354255] RAX: ffff88003e0085d8 RBX: ffff8800385e8848 RCX: > >>>ffffc90000cf8000 > >>>[ 30.354255] RDX: 0000000000000028 RSI: 6b6b6b6b6b6b6b6b RDI: > >>>ffff8800385e8848 > >>>[ 30.354255] RBP: ffff8800360dfc80 R08: ffff8800385e8a28 R09: > >>>0000000000000010 > >>>[ 30.354255] R10: ffffffffffffffff R11: ffffea0000930af0 R12: > >>>0000000000000010 > >>>[ 30.354255] R13: ffff8800385e8000 R14: ffff8800385e89c8 R15: > >>>ffff8800385e8178 > >>>[ 30.354255] FS: 00007f0aaa823840(0000) > >>>GS:ffff880001a00000(0000) knlGS:0000000000000000 > >>>[ 30.354255] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > >>>[ 30.354255] CR2: 00007f0a9ad67118 CR3: 000000000166d000 CR4: > >>>00000000000006f0 > >>>[ 30.354255] DR0: 0000000000000000 DR1: 0000000000000000 DR2: > >>>0000000000000000 > >>>[ 30.354255] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: > >>>0000000000000400 > >>>[ 30.354255] Process X (pid: 2252, threadinfo ffff8800360de000, > >>>task ffff880033dc5c40) > >>>[ 30.354255] ffff8800360dfc90 ffffffffa0358130 ffff8800360dfca8 > >>>ffffffffa035881c > >>>[ 30.354255]<0> ffff8800385e8848 ffff8800360dfcc8 > >>>ffffffffa0359ac7 0000000000000000 > >>>[ 30.354255]<0> ffff8800385e8848 ffff8800360dfce8 > >>>ffffffffa035c961 ffff8800385e8848 > >>>[ 30.354255] [] > >>>radeon_get_ring_head+0x11/0x3c [radeon] > >>>[ 30.354255] [] radeon_commit_ring+0x48/0x97 > >>>[radeon] > >>>[ 30.354255] [] radeon_do_cp_idle+0x140/0x14d > >>>[radeon] > >>>[ 30.354255] [] > >>>radeon_apply_surface_regs+0x22/0x138 [radeon] > >>>[ 30.354255] [] free_surface+0xd8/0xee [radeon] > >>>[ 30.354255] [] > >>>radeon_driver_lastclose+0x3c/0x56 [radeon] > >>>[ 30.354255] [] drm_lastclose+0x44/0x2ad [drm] > >>>[ 30.354255] [] drm_release+0x656/0x6a3 [drm] > >>>[ 30.354255] [] put_files_struct+0x65/0xb3 > >>>[ 30.354255] [] exit_files+0x46/0x4e > >>>[ 30.354255] [] do_exit+0x214/0x69f > >>>[ 30.354255] [] ? fput+0x1e2/0x1f1 > >>>[ 30.354255] [] do_group_exit+0x72/0x9a > >>>[ 30.354255] [] sys_exit_group+0x12/0x16 > >>>[ 30.354255] [] system_call_fastpath+0x16/0x1b > >>>[ 30.354255] RSP > >>>[ 31.312879] ---[ end trace 9a7b92300d4121f6 ]--- > >>>[ 30.354255] [] fput+0x122/0x1f1 > >>>[ 30.354255] [] filp_close+0x63/0x6d > >>> > >>>Justin P. Mattock > >> > >>o.k. finished bisecting.. the results point to this: 6a4f3b523 doing > >>a git revert gets me to startx without crashing and burning. > >>the problem code is this: > >>new->subtree_max_end = new->end; > >> > >>which sends me to: (if im reading correctly) > >>if (match->type != found_type&& newtype == NULL) > >> goto failure; > >> > >>so how/what might be happening here?! > > > >Could you please check latest upstream, which has this fix: > > > > b945d6b: rbtree: Undo augmented trees performance damage and regression > > > >Does it fix your X too? > > > >Thanks, > > > > Ingo > > > > > yep.. just pulled, everything looks good... Great - thanks for checking! Ingo From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [bisected]X:2252 conflicting memory types 40000000-48000000 uncached-minus<->write-combining Date: Thu, 8 Jul 2010 11:05:31 +0200 Message-ID: <20100708090531.GA23353@elte.hu> References: <4C2E464A.8090900@gmail.com> <4C2EBE99.4030706@gmail.com> <20100708064448.GA3803@elte.hu> <4C358076.1040302@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.mail.elte.hu (mx2.mail.elte.hu [157.181.151.9]) by gabe.freedesktop.org (Postfix) with ESMTP id 6CA9A9E7B5 for ; Thu, 8 Jul 2010 02:05:57 -0700 (PDT) Content-Disposition: inline In-Reply-To: <4C358076.1040302@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: "Justin P. Mattock" Cc: venki@google.com, Peter Zijlstra , Linux Kernel Mailing List , dri-devel@lists.freedesktop.org, Andrew Morton , hpa@linux.intel.com, Thomas Gleixner List-Id: dri-devel@lists.freedesktop.org * Justin P. Mattock wrote: > On 07/07/2010 11:44 PM, Ingo Molnar wrote: > > > >* Justin P. Mattock wrote: > > > >>On 07/02/10 13:04, Justin P. Mattock wrote: > >>>this is new(below) has anybody reported/bisected hit this yet > >>>(if not I'll bisect it) > >>> > >>>[drm] Num pipes: 1 > >>>[ 29.742432] [drm] writeback test succeeded in 1 usecs > >>>[ 30.089717] X:2252 conflicting memory types 40000000-48000000 > >>>uncached-minus<->write-combining > >>>[ 30.089721] reserve_memtype failed 0x40000000-0x48000000, track > >>>uncached-minus, req uncached-minus > >>>[ 30.123517] [drm] Num pipes: 1 > >>>[ 30.351017] X:2252 freeing invalid memtype 40000000-48000000 > >>>[ 30.354255] CPU 0 > >>>[ 30.354255] Modules linked in: radeon ttm drm_kms_helper drm > >>>sco xcbc bnep rmd160 sha512_generic xt_tcpudp ipt_LOG iptable_nat > >>>nf_nat xt_state nf_conntrack_ftp nf_conntrack_ipv4 nf_conntrack > >>>nf_defrag_ipv4 iptable_filter ip_tables x_tables firewire_ohci > >>>firewire_core video battery ath9k ac ath9k_common joydev sky2 > >>>ath9k_hw ohci1394 ath thermal evdev button i2c_i801 hid_magicmouse > >>>aes_x86_64 lzo lzo_compress zlib ipcomp xfrm_ipcomp crypto_null > >>>sha256_generic cbc des_generic cast5 blowfish serpent camellia > >>>twofish twofish_common ctr ah4 esp4 authenc raw1394 ieee1394 > >>>uhci_hcd ehci_hcd hci_uart rfcomm btusb hidp l2cap bluetooth > >>>coretemp acpi_cpufreq processor mperf appletouch applesmc > >>>uvcvideo[ 30.354255] > >>>[ 30.354255] Pid: 2252, comm: X Not tainted > >>>2.6.35-rc3-00397-g123f94f #3 Mac-F42187C8/MacBookPro2,2 > >>>[ 30.354255] RIP: 0010:[] > >>>[] radeon_read_ring_rptr+0x2b/0x2f [radeon] > >>>[ 30.354255] RSP: 0018:ffff8800360dfc80 EFLAGS: 00010202 > >>>[ 30.354255] RAX: ffff88003e0085d8 RBX: ffff8800385e8848 RCX: > >>>ffffc90000cf8000 > >>>[ 30.354255] RDX: 0000000000000028 RSI: 6b6b6b6b6b6b6b6b RDI: > >>>ffff8800385e8848 > >>>[ 30.354255] RBP: ffff8800360dfc80 R08: ffff8800385e8a28 R09: > >>>0000000000000010 > >>>[ 30.354255] R10: ffffffffffffffff R11: ffffea0000930af0 R12: > >>>0000000000000010 > >>>[ 30.354255] R13: ffff8800385e8000 R14: ffff8800385e89c8 R15: > >>>ffff8800385e8178 > >>>[ 30.354255] FS: 00007f0aaa823840(0000) > >>>GS:ffff880001a00000(0000) knlGS:0000000000000000 > >>>[ 30.354255] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > >>>[ 30.354255] CR2: 00007f0a9ad67118 CR3: 000000000166d000 CR4: > >>>00000000000006f0 > >>>[ 30.354255] DR0: 0000000000000000 DR1: 0000000000000000 DR2: > >>>0000000000000000 > >>>[ 30.354255] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: > >>>0000000000000400 > >>>[ 30.354255] Process X (pid: 2252, threadinfo ffff8800360de000, > >>>task ffff880033dc5c40) > >>>[ 30.354255] ffff8800360dfc90 ffffffffa0358130 ffff8800360dfca8 > >>>ffffffffa035881c > >>>[ 30.354255]<0> ffff8800385e8848 ffff8800360dfcc8 > >>>ffffffffa0359ac7 0000000000000000 > >>>[ 30.354255]<0> ffff8800385e8848 ffff8800360dfce8 > >>>ffffffffa035c961 ffff8800385e8848 > >>>[ 30.354255] [] > >>>radeon_get_ring_head+0x11/0x3c [radeon] > >>>[ 30.354255] [] radeon_commit_ring+0x48/0x97 > >>>[radeon] > >>>[ 30.354255] [] radeon_do_cp_idle+0x140/0x14d > >>>[radeon] > >>>[ 30.354255] [] > >>>radeon_apply_surface_regs+0x22/0x138 [radeon] > >>>[ 30.354255] [] free_surface+0xd8/0xee [radeon] > >>>[ 30.354255] [] > >>>radeon_driver_lastclose+0x3c/0x56 [radeon] > >>>[ 30.354255] [] drm_lastclose+0x44/0x2ad [drm] > >>>[ 30.354255] [] drm_release+0x656/0x6a3 [drm] > >>>[ 30.354255] [] put_files_struct+0x65/0xb3 > >>>[ 30.354255] [] exit_files+0x46/0x4e > >>>[ 30.354255] [] do_exit+0x214/0x69f > >>>[ 30.354255] [] ? fput+0x1e2/0x1f1 > >>>[ 30.354255] [] do_group_exit+0x72/0x9a > >>>[ 30.354255] [] sys_exit_group+0x12/0x16 > >>>[ 30.354255] [] system_call_fastpath+0x16/0x1b > >>>[ 30.354255] RSP > >>>[ 31.312879] ---[ end trace 9a7b92300d4121f6 ]--- > >>>[ 30.354255] [] fput+0x122/0x1f1 > >>>[ 30.354255] [] filp_close+0x63/0x6d > >>> > >>>Justin P. Mattock > >> > >>o.k. finished bisecting.. the results point to this: 6a4f3b523 doing > >>a git revert gets me to startx without crashing and burning. > >>the problem code is this: > >>new->subtree_max_end = new->end; > >> > >>which sends me to: (if im reading correctly) > >>if (match->type != found_type&& newtype == NULL) > >> goto failure; > >> > >>so how/what might be happening here?! > > > >Could you please check latest upstream, which has this fix: > > > > b945d6b: rbtree: Undo augmented trees performance damage and regression > > > >Does it fix your X too? > > > >Thanks, > > > > Ingo > > > > > yep.. just pulled, everything looks good... Great - thanks for checking! Ingo