Re: Kernel 2.6.30 and udevd problem

From: Jesse Barnes
Date: Wed Jul 22 2009 - 13:13:02 EST


On Wed, 22 Jul 2009 18:51:20 +0200
Alberto Gonzalez <alberto6674@xxxxxxxxx> wrote:

> On Wednesday 22 July 2009 18:08:34 Jesse Barnes wrote:
> > On Wed, 22 Jul 2009 15:25:29 +0200
> > Alberto Gonzalez <alberto6674@xxxxxxxxx> wrote:
> > > Ok, I caught a complete log from boot to when the problem starts.
> > > There doesn't seem to be anything significantly different, but
> > > just in case.
> >
> > Oh I guess this is without the debug patch I attached... this one
> > should be a bit less noisy but tell me which bit is stuck.
>
> Actually it was with the debug patch found here applied:
>
> http://lkml.org/lkml/2009/7/2/290
>
> Now I captured another one with the latest patch. This time the
> problem started after opening Amarok.
>

Ah I must have been looking at the wrong register. This one makes it
look like one of your HDMI hotplug bits is getting stuck (HDMIC in
particular). This might not even be wired up on your platform...

This test hack should prevent us from responding to those interrupts...

--
Jesse Barnes, Intel Open Source Technology Center
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index f340b3f..ecbf0b2 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -962,7 +962,7 @@ int i915_driver_irq_postinstall(struct drm_device *dev)
dev_priv->hotplug_supported_mask = CRT_HOTPLUG_INT_STATUS |
TV_HOTPLUG_INT_STATUS | SDVOC_HOTPLUG_INT_STATUS |
SDVOB_HOTPLUG_INT_STATUS;
- if (IS_G4X(dev)) {
+ if (IS_G4X(dev) && 0) {
dev_priv->hotplug_supported_mask |=
HDMIB_HOTPLUG_INT_STATUS |
HDMIC_HOTPLUG_INT_STATUS |