Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

Kernel 2.6.30 and udevd problem

 

 

First page Previous page 1 2 Next page Last page  View All Linux kernel RSS feed   Index | Next | Previous | View Threaded


jbarnes at virtuousgeek

Jul 22, 2009, 12:17 PM

Post #26 of 32 (259 views)
Permalink
Re: Kernel 2.6.30 and udevd problem [In reply to]

On Wed, 22 Jul 2009 20:43:56 +0200
Alberto Gonzalez <alberto6674 [at] gmail> wrote:

> On Wednesday 22 July 2009 19:12:51 Jesse Barnes wrote:
> > 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...
>
> Yes, I don't use HDMI, my screen is attached via VGA
> >
> > This test hack should prevent us from responding to those
> > interrupts...
>
> I've been hitting it hard for over an hour with all the usual tricks
> to trigger it (and a few reboots) and I've been unable to reproduce
> the problem with this patch. Before I could trigger it reliably in a
> few minutes, so I'm pretty sure this patch fixes it. If something new
> comes up, I'll let you know anyway.
>
> Thank you very much!

Great, thanks for testing... I'll try to come up with a better patch
and send it over to Eric.

Thanks,
--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


jbarnes at virtuousgeek

Jul 22, 2009, 12:44 PM

Post #27 of 32 (252 views)
Permalink
Re: Kernel 2.6.30 and udevd problem [In reply to]

On Wed, 22 Jul 2009 20:43:56 +0200
Alberto Gonzalez <alberto6674 [at] gmail> wrote:

> On Wednesday 22 July 2009 19:12:51 Jesse Barnes wrote:
> > 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...
>
> Yes, I don't use HDMI, my screen is attached via VGA
> >
> > This test hack should prevent us from responding to those
> > interrupts...
>
> I've been hitting it hard for over an hour with all the usual tricks
> to trigger it (and a few reboots) and I've been unable to reproduce
> the problem with this patch. Before I could trigger it reliably in a
> few minutes, so I'm pretty sure this patch fixes it. If something new
> comes up, I'll let you know anyway.

Hm, so this type of interrupt problem is *supposed* to be handled by
setting of the PEG_BAND_GAP_DATA reg (low bits set to 0xd). Do you
have that in your tree? Does git master have this problem?

Maybe we need to add a patch to 2.6.30.x to set PEG_BAND_GAP_DATA as a
workaround (git master already has code to do this properly for HDMI
and DP outputs afaict).

--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


alberto6674 at gmail

Jul 22, 2009, 1:00 PM

Post #28 of 32 (266 views)
Permalink
Re: Kernel 2.6.30 and udevd problem [In reply to]

On Wednesday 22 July 2009 21:44:36 Jesse Barnes wrote:
> On Wed, 22 Jul 2009 20:43:56 +0200
>
> Alberto Gonzalez <alberto6674 [at] gmail> wrote:
> > On Wednesday 22 July 2009 19:12:51 Jesse Barnes wrote:
> > > 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...
> >
> > Yes, I don't use HDMI, my screen is attached via VGA
> >
> > > This test hack should prevent us from responding to those
> > > interrupts...
> >
> > I've been hitting it hard for over an hour with all the usual tricks
> > to trigger it (and a few reboots) and I've been unable to reproduce
> > the problem with this patch. Before I could trigger it reliably in a
> > few minutes, so I'm pretty sure this patch fixes it. If something new
> > comes up, I'll let you know anyway.
>
> Hm, so this type of interrupt problem is *supposed* to be handled by
> setting of the PEG_BAND_GAP_DATA reg (low bits set to 0xd). Do you
> have that in your tree? Does git master have this problem?

The problem started with 2.6.30 on a standard distro kernel (Arch Linux).
Latest tests were with vanilla 2.6.30.1 and a cut down config (attached). I
haven't tested .31.

I'll try to test latest git as soon as I can and let you know if the problem
exists there.

>
> Maybe we need to add a patch to 2.6.30.x to set PEG_BAND_GAP_DATA as a
> workaround (git master already has code to do this properly for HDMI
> and DP outputs afaict).
Attachments: config (61.6 KB)


alberto6674 at gmail

Jul 22, 2009, 5:06 PM

Post #29 of 32 (251 views)
Permalink
Re: Kernel 2.6.30 and udevd problem [In reply to]

On Wednesday 22 July 2009 22:00:21 Alberto Gonzalez wrote:
> On Wednesday 22 July 2009 21:44:36 Jesse Barnes wrote:
> > Hm, so this type of interrupt problem is *supposed* to be handled by
> > setting of the PEG_BAND_GAP_DATA reg (low bits set to 0xd). Do you
> > have that in your tree? Does git master have this problem?
>
> The problem started with 2.6.30 on a standard distro kernel (Arch Linux).
> Latest tests were with vanilla 2.6.30.1 and a cut down config (attached). I
> haven't tested .31.
>
> I'll try to test latest git as soon as I can and let you know if the
> problem exists there.

I've tested 2.6.31 from git and I can reproduce the problem. Attached is the
dmesg with the debug patch applied.

>
> > Maybe we need to add a patch to 2.6.30.x to set PEG_BAND_GAP_DATA as a
> > workaround (git master already has code to do this properly for HDMI
> > and DP outputs afaict).
Attachments: dmesg-2.6.31.log (78.2 KB)


alberto6674 at gmail

Aug 6, 2009, 6:53 AM

Post #30 of 32 (237 views)
Permalink
Re: Kernel 2.6.30 and udevd problem [In reply to]

On Thursday 23 July 2009 02:06:36 Alberto Gonzalez wrote:
> > On Wednesday 22 July 2009 21:44:36 Jesse Barnes wrote:
> > > Hm, so this type of interrupt problem is *supposed* to be handled by
> > > setting of the PEG_BAND_GAP_DATA reg (low bits set to 0xd). Do you
> > > have that in your tree? Does git master have this problem?
>
> I've tested 2.6.31 from git and I can reproduce the problem. Attached is
> the dmesg with the debug patch applied.
>
> > > Maybe we need to add a patch to 2.6.30.x to set PEG_BAND_GAP_DATA as a
> > > workaround (git master already has code to do this properly for HDMI
> > > and DP outputs afaict).

Hi,

No updates here? I was wondering if it would be more useful to open a bug
report so that it doesn't get lost. It is a rather nasty bug that keeps me
using .29 kernel, and since it seems to be clear where the problem is it seems
a pity to let it go...

Regards,
Alberto.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


jbarnes at virtuousgeek

Aug 6, 2009, 2:30 PM

Post #31 of 32 (244 views)
Permalink
Re: Kernel 2.6.30 and udevd problem [In reply to]

On Thu, 6 Aug 2009 15:53:23 +0200
Alberto Gonzalez <alberto6674 [at] gmail> wrote:

> On Thursday 23 July 2009 02:06:36 Alberto Gonzalez wrote:
> > > On Wednesday 22 July 2009 21:44:36 Jesse Barnes wrote:
> > > > Hm, so this type of interrupt problem is *supposed* to be
> > > > handled by setting of the PEG_BAND_GAP_DATA reg (low bits set
> > > > to 0xd). Do you have that in your tree? Does git master have
> > > > this problem?
> >
> > I've tested 2.6.31 from git and I can reproduce the problem.
> > Attached is the dmesg with the debug patch applied.
> >
> > > > Maybe we need to add a patch to 2.6.30.x to set
> > > > PEG_BAND_GAP_DATA as a workaround (git master already has code
> > > > to do this properly for HDMI and DP outputs afaict).
>
> Hi,
>
> No updates here? I was wondering if it would be more useful to open a
> bug report so that it doesn't get lost. It is a rather nasty bug that
> keeps me using .29 kernel, and since it seems to be clear where the
> problem is it seems a pity to let it go...

Yeah, sorry was on vacation. A bug report would be great, can you
file one at bugs.freedesktop.org against drm/intel? I think I know
where the issue might be, but I'll have to come up with some more test
patches for you.

--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


alberto6674 at gmail

Aug 6, 2009, 3:17 PM

Post #32 of 32 (242 views)
Permalink
Re: Kernel 2.6.30 and udevd problem [In reply to]

On Thursday 06 August 2009 23:30:12 Jesse Barnes wrote:
> > Hi,
> >
> > No updates here? I was wondering if it would be more useful to open a
> > bug report so that it doesn't get lost. It is a rather nasty bug that
> > keeps me using .29 kernel, and since it seems to be clear where the
> > problem is it seems a pity to let it go...
>
> Yeah, sorry was on vacation. A bug report would be great, can you
> file one at bugs.freedesktop.org against drm/intel? I think I know
> where the issue might be, but I'll have to come up with some more test
> patches for you.

Fine, I'd be glad to test any patch (though I will be away the next week on
vacation too).

Here is the bug report:
http://bugs.freedesktop.org/show_bug.cgi?id=23183

Regards,
Alberto.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

First page Previous page 1 2 Next page Last page  View All Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.