[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100204071705.GA28403@elte.hu>
Date: Thu, 4 Feb 2010 08:17:05 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Dave Airlie <airlied@...il.com>
Cc: Dave Airlie <airlied@...ux.ie>, torvalds@...ux-foundation.org,
linux-kernel@...r.kernel.org, dri-devel@...ts.sf.net
Subject: hung bootup with "drm/radeon/kms: move radeon KMS on/off switch out
of staging."
* Ingo Molnar <mingo@...e.hu> wrote:
> * Dave Airlie <airlied@...il.com> wrote:
>
> > On Wed, Feb 3, 2010 at 1:46 AM, Ingo Molnar <mingo@...e.hu> wrote:
> > >
> > > * Dave Airlie <airlied@...il.com> wrote:
> > >
> > >> On Tue, Feb 2, 2010 at 6:17 PM, Ingo Molnar <mingo@...e.hu> wrote:
> > >> >
> > >> > * Dave Airlie <airlied@...ux.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@...are.com>
> > >> >> Date: ? Fri Jan 22 09:20:00 2010 +0100
> > >> >>
> > >> >> ? ? drm/radeon/kms: Fix oops after radeon_cs_parser_init() failure.
> > >> >
> > >>
> > >> Wierd this suggests something else is wrong on that machine can you get me
> > >> the whole dmesg? I'm guessing some iommu or swiotlb issue.
> > >
> > > This box has no known hardware or software problems, just this week it booted
> > > in excess of 1000 kernels so i'd exclude that angle for now.
> > >
> > > I have bisected the crash back to the DRM tree and the crash went away with
> > > the Kconfig revert i applied - and it got fixed by Jerome's patch. I posted
> > > my config and i posted the relevant boot log as well. Find below the full
> > > bootlog as well with vanilla -git (ab65832) and the config. (i dont think it
> > > matters)
> > >
> > >> I've asked Jerome to fix the oops, but really anyone with an old .config
> > >> won't get hit by this, and we've booted this on quite a lot of machines at
> > >> this point.
> > >
> > > I dont see the commit in yesterday's linux-next. It has very fresh
> > > timestamps:
> > >
> > > ?commit f71d0187987e691516cd10c2702f002c0e2f0edc
> > > ?Author: ? ? Dave Airlie <airlied@...hat.com>
> > > ?AuthorDate: Mon Feb 1 11:35:47 2010 +1000
> > > ?Commit: ? ? Dave Airlie <airlied@...hat.com>
> > > ?CommitDate: Mon Feb 1 11:35:47 2010 +1000
> > >
> > > What kind of widespread testing could this commit have gotten in the less
> > > than 24 hours before it hit mainline?
> > >
> >
> > Its shipping in a major distro by default, its planned to be shipped in an
> > even more major distro. Its been boot tested on 1000s of machines by 1000s
> > of ppl.
>
> Well but that's not the precise tree you sent to Linus, is it?
btw., i just found another bug activated via this same commit, a boot hang
after DRM init:
[ 9.858352] [drm] Connector 1:
[ 9.861417] [drm] DVI-I
[ 9.864031] [drm] HPD1
[ 9.866562] [drm] DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
[ 9.872579] [drm] Encoders:
[ 9.875540] [drm] CRT2: INTERNAL_DAC2
[ 9.879541] [drm] DFP1: INTERNAL_TMDS1
[ 9.883646] [drm] Connector 2:
[ 9.886695] [drm] S-video
[ 9.889483] [drm] Encoders:
[ 9.892463] [drm] TV1: INTERNAL_DAC2
[ 9.896392] i2c i2c-0: master_xfer[0] W, addr=0x50, len=1
[ 9.901796] i2c i2c-0: master_xfer[1] R, addr=0x50, len=128
[ 9.909246] i2c i2c-0: NAK from device addr 0x50 msg #0
[ 9.914564] i2c i2c-1: master_xfer[0] W, addr=0x50, len=1
[ 9.919957] i2c i2c-1: master_xfer[1] R, addr=0x50, len=128
[ 9.927413] i2c i2c-1: NAK from device addr 0x50 msg #0
(i power cycled the box after 45 minutes of waiting.)
The hang goes away if i revert commit f71d0187987e6 via the patch below, the
boot sequence becomes:
[ 9.068911] calling drm_core_init+0x0/0x137 @ 1
[ 9.073617] [drm] Initialized drm 1.1.0 20060810
[ 9.078232] initcall drm_core_init+0x0/0x137 returned 0 after 4586 usecs
[ 9.120162] [drm] radeon defaulting to userspace modesetting.
[ 9.154295] [drm] Initialized radeon 1.31.0 20080528 for 0000:01:00.0 on minor 0
Config and bootlog attached.
Ingo
------------->
>From 8b607af1a03d526aef14461e84de9f427b45d64f Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@...e.hu>
Date: Tue, 2 Feb 2010 09:06:04 +0100
Subject: [PATCH] Revert "drm/radeon/kms: move radeon KMS on/off switch out of staging."
This reverts commit f71d0187987e691516cd10c2702f002c0e2f0edc.
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
drivers/gpu/drm/Kconfig | 2 --
drivers/staging/Kconfig | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 305c590..96eddd1 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -66,8 +66,6 @@ config DRM_RADEON
If M is selected, the module will be called radeon.
-source "drivers/gpu/drm/radeon/Kconfig"
-
config DRM_I810
tristate "Intel I810"
depends on DRM && AGP && AGP_INTEL
diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig
index fc2e963..94eb863 100644
--- a/drivers/staging/Kconfig
+++ b/drivers/staging/Kconfig
@@ -99,6 +99,8 @@ source "drivers/staging/line6/Kconfig"
source "drivers/gpu/drm/vmwgfx/Kconfig"
+source "drivers/gpu/drm/radeon/Kconfig"
+
source "drivers/gpu/drm/nouveau/Kconfig"
source "drivers/staging/octeon/Kconfig"
View attachment "hang.log" of type "text/plain" (92475 bytes)
View attachment "config-hang" of type "text/plain" (71145 bytes)
Powered by blists - more mailing lists