From: Jerome Glisse <glisse@freedesktop.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: Dave Airlie <airlied@linux.ie>,
torvalds@linux-foundation.org, linux-kernel@vger.kernel.org,
dri-devel@lists.sf.net
Subject: Re: [crash, PATCH] Revert "drm/radeon/kms: move radeon KMS on/off switch out of staging."
Date: Wed, 3 Feb 2010 00:15:01 +0100 [thread overview]
Message-ID: <20100202231501.GC10289@localhost.localdomain> (raw)
In-Reply-To: <20100202154221.GA27314@elte.hu>
On Tue, Feb 02, 2010 at 04:42:21PM +0100, Ingo Molnar wrote:
>
> * Jerome Glisse <glisse@freedesktop.org> wrote:
>
> > On Tue, Feb 02, 2010 at 09:17:27AM +0100, Ingo Molnar wrote:
> > >
> > > * Dave Airlie <airlied@linux.ie> wrote:
> > >
> > > > > Hi Linus,
> > > > >
> > > > > Please pull the 'drm-linus' branch from
> > > > > ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-linus
> > > > >
> > > >
> > > > I've also added an oops fix I seem to lose off my radar to this tree.
> > > >
> > > > commit 17aafccab4352b422aa01fa6ebf82daff693a5b3
> > > > Author: Michel D??nzer <daenzer@vmware.com>
> > > > Date: Fri Jan 22 09:20:00 2010 +0100
> > > >
> > > > drm/radeon/kms: Fix oops after radeon_cs_parser_init() failure.
> > >
> > > FYI, this drm pull into mainline has triggered quick boot crashes in -tip
> > > testing (even with the above fix applied), on an Athlon64 whitebox PC with:
> > >
> > > 01:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)]
> > > 01:00.1 Display controller: ATI Technologies Inc RV370 [Radeon X300SE]
> > >
> > > the crash is:
> > >
> > > [ 7.111003] radeon 0000:01:00.0: Disabling GPU acceleration
> > > [ 7.273547] Failed to wait GUI idle while programming pipes. Bad things might happen.
> > > [ 7.436296] [drm:r100_cp_fini] *ERROR* Wait for CP idle timeout, shutting down CP.
> > > [ 7.598755] Failed to wait GUI idle while programming pipes. Bad things might happen.
> > > [ 7.599306] BUG: unable to handle kernel paging request at f8380000
> > > [ 7.599999] IP: [<c149f0de>] rv370_pcie_gart_set_page+0x2d/0x3c
> > > [ 7.599999] *pde = 36d44067 *pte = 00000000
> > > [ 7.599999] Oops: 0002 [#1] SMP DEBUG_PAGEALLOC
> > > [ 7.599999] last sysfs file:
> > >
> > > i have bisected it back to:
> > >
> > > | 97b94ccb9aa1b82ed7a9a045d0ae5b32c99b84a0 is the first bad commit
> > > | commit 97b94ccb9aa1b82ed7a9a045d0ae5b32c99b84a0
> > > | Author: Dave Airlie <airlied@redhat.com>
> > > | Date: Fri Jan 29 15:31:47 2010 +1000
> > > |
> > > | drm/radeon/kms: fix incorrect logic in DP vs eDP connector checking.
> > > |
> > > | This makes displayport work again here.
> > >
> > > Unfortunately even with that patch reverted it still crashes. Config and
> > > bootlog attached.
> > >
> > > It's the moving of radeom KMS out of staging after -rc6 that causes it,
> > > because it brought it into the scope of my testing:
> > >
> > > f71d018: drm/radeon/kms: move radeon KMS on/off switch out of staging.
> > >
> > > So at least on this box it's clearly not ready for mainline enablement yet.
> > > I've attached the revert patch further below.
> > >
> > > Ingo
> > >
> >
> > Attached is a patch which will fix the oops, still it's strange that CP
> > fails to init on your config. [...]
>
> Thanks, that fixes the crash here!
>
> Tested-by: Ingo Molnar <mingo@elte.hu>
>
> > [...] Do you have IOMMU enabled ? I haven't played with iommu stuff thus i
> > wonder if we are missing somethings in this area.
>
> No IOMMU here - this is a 5 years old box. (beyond GART that is)
>
> Your patch fixes a bona-fide illegal-access bug in the DRM code, that's more
> than enough to crash the box ;-)
>
> Btw., there's a new warning in the DRM code
>
> drivers/gpu/drm/ati_pcigart.c: In function ‘drm_ati_pcigart_init’:
> drivers/gpu/drm/ati_pcigart.c:115: warning: format ‘%Lx’ expects type ‘long long unsigned int’, but argument 3 has type ‘dma_addr_t’
>
> Please fix that too, the kernel build is noisy enough as-is.
>
> Thanks,
>
> Ingo
I think i saw a patch for this, it's often a nice thing to let people do their first
patch on this kind of thing, but i try to fix such thing when i run into it, thought
i haven't always been a well behaving kid in the % format area.
Cheers,
Jerome
next prev parent reply other threads:[~2010-02-02 23:19 UTC|newest]
Thread overview: 127+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-01 2:20 [git pull] drm fixes Dave Airlie
2010-02-01 2:53 ` Dave Airlie
2010-02-01 2:53 ` Dave Airlie
2010-02-02 8:17 ` [crash, PATCH] Revert "drm/radeon/kms: move radeon KMS on/off switch out of staging." Ingo Molnar
2010-02-02 8:25 ` Dave Airlie
2010-02-02 8:25 ` Dave Airlie
2010-02-02 15:44 ` Ingo Molnar
2010-02-04 20:39 ` Dave Airlie
2010-02-04 20:46 ` Ingo Molnar
2010-02-04 21:14 ` Dave Airlie
2010-02-04 21:14 ` Dave Airlie
2010-02-05 0:43 ` Dave Airlie
2010-02-05 7:32 ` Ingo Molnar
2010-02-05 7:32 ` Ingo Molnar
2010-02-05 0:43 ` Dave Airlie
2010-02-04 20:46 ` Ingo Molnar
2010-02-04 20:39 ` Dave Airlie
2010-02-02 15:44 ` Ingo Molnar
2010-02-02 8:35 ` Dave Airlie
2010-02-02 8:37 ` Dave Airlie
2010-02-02 15:42 ` Ingo Molnar
2010-02-02 15:42 ` Ingo Molnar
2010-02-02 8:37 ` Dave Airlie
2010-02-02 15:46 ` Ingo Molnar
2010-02-02 15:46 ` Ingo Molnar
2010-02-02 20:34 ` Dave Airlie
2010-02-04 6:26 ` Ingo Molnar
2010-02-04 6:39 ` Dave Airlie
2010-02-04 7:36 ` Ingo Molnar
2010-02-04 7:49 ` Dave Airlie
2010-02-04 7:49 ` Dave Airlie
2010-02-04 7:36 ` Ingo Molnar
2010-02-04 6:39 ` Dave Airlie
2010-02-04 7:17 ` hung bootup with " Ingo Molnar
2010-02-04 7:17 ` Ingo Molnar
2010-02-04 16:48 ` Matthew Garrett
2010-02-04 16:48 ` Matthew Garrett
2010-02-04 17:08 ` Ingo Molnar
2010-02-04 17:15 ` Linus Torvalds
2010-02-04 17:15 ` Linus Torvalds
2010-02-04 17:36 ` Ingo Molnar
2010-02-04 17:36 ` Ingo Molnar
2010-02-04 17:36 ` Matthew Garrett
2010-02-04 17:36 ` Matthew Garrett
2010-02-04 17:54 ` Ingo Molnar
2010-02-04 17:54 ` Ingo Molnar
2010-02-04 17:59 ` Matthew Garrett
2010-02-04 18:12 ` Ingo Molnar
2010-02-04 18:15 ` Matthew Garrett
2010-02-04 18:56 ` Ingo Molnar
2010-02-04 18:56 ` Ingo Molnar
2010-02-04 19:00 ` Matthew Garrett
2010-02-04 19:00 ` Matthew Garrett
2010-02-04 19:19 ` Ingo Molnar
2010-02-04 19:28 ` Jerome Glisse
2010-02-04 19:28 ` Jerome Glisse
2010-02-04 20:34 ` Ingo Molnar
2010-02-04 20:34 ` Ingo Molnar
2010-02-04 19:19 ` Ingo Molnar
2010-02-04 18:15 ` Matthew Garrett
2010-02-04 18:30 ` Alex Deucher
2010-02-04 19:06 ` Ingo Molnar
2010-02-04 19:18 ` Alex Deucher
2010-02-04 19:24 ` Linus Torvalds
2010-02-04 19:24 ` Linus Torvalds
2010-02-04 19:34 ` Dave Airlie
2010-02-04 20:27 ` Ingo Molnar
2010-02-04 20:27 ` Ingo Molnar
2010-02-04 19:34 ` Dave Airlie
2010-02-04 19:32 ` Ingo Molnar
2010-02-04 19:32 ` Ingo Molnar
2010-02-04 19:53 ` Jesse Barnes
2010-02-04 20:22 ` Ingo Molnar
2010-02-04 20:27 ` david
2010-02-04 20:27 ` david
2010-02-04 20:33 ` Jesse Barnes
2010-02-04 20:57 ` Ingo Molnar
2010-02-04 20:57 ` Ingo Molnar
2010-02-04 20:33 ` Jesse Barnes
2010-02-04 20:48 ` Matthew Garrett
2010-02-04 20:48 ` Matthew Garrett
2010-02-04 21:05 ` Ingo Molnar
2010-02-04 21:09 ` Matthew Garrett
2010-02-04 21:09 ` Matthew Garrett
2010-02-05 7:56 ` Ingo Molnar
2010-02-05 8:34 ` Dave Airlie
2010-02-05 9:00 ` Ingo Molnar
2010-02-05 9:18 ` Dave Airlie
2010-02-05 10:47 ` Ingo Molnar
2010-02-05 10:47 ` Ingo Molnar
2010-02-05 9:18 ` Dave Airlie
2010-02-05 9:00 ` Ingo Molnar
2010-02-05 8:34 ` Dave Airlie
2010-02-05 7:56 ` Ingo Molnar
2010-02-04 21:23 ` Andrew Morton
2010-02-04 21:23 ` Andrew Morton
2010-02-04 21:34 ` Jesse Barnes
2010-02-04 21:34 ` Jesse Barnes
2010-02-04 21:35 ` Dave Airlie
2010-02-04 21:35 ` Dave Airlie
2010-02-06 11:10 ` Felipe Contreras
2010-02-06 11:10 ` Felipe Contreras
2010-02-04 21:05 ` Ingo Molnar
2010-02-04 20:22 ` Ingo Molnar
2010-02-04 19:53 ` Jesse Barnes
2010-02-04 19:18 ` Alex Deucher
2010-02-04 19:06 ` Ingo Molnar
2010-02-04 18:30 ` Alex Deucher
2010-02-04 18:12 ` Ingo Molnar
2010-02-04 17:59 ` Matthew Garrett
2010-02-04 17:08 ` Ingo Molnar
2010-02-04 6:26 ` [crash, PATCH] Revert " Ingo Molnar
2010-02-02 20:34 ` Dave Airlie
2010-02-02 8:35 ` Dave Airlie
2010-02-02 8:58 ` Domenico Andreoli
2010-02-02 11:59 ` Jerome Glisse
2010-02-02 15:11 ` Domenico Andreoli
2010-02-02 15:11 ` Domenico Andreoli
2010-02-02 11:59 ` Jerome Glisse
2010-02-02 8:58 ` Domenico Andreoli
2010-02-02 11:56 ` Jerome Glisse
2010-02-02 11:56 ` Jerome Glisse
2010-02-02 15:42 ` Ingo Molnar
2010-02-02 23:15 ` Jerome Glisse
2010-02-02 23:15 ` Jerome Glisse [this message]
2010-02-02 15:42 ` Ingo Molnar
2010-02-02 8:17 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100202231501.GC10289@localhost.localdomain \
--to=glisse@freedesktop.org \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.sf.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.