Re: Regression in i915 on 2.6.34-rc1
On Sun, 2010-03-21 at 18:19 -0600, Pete Zaitcev wrote: > On Wed, 17 Mar 2010 08:26:59 -0700 > Bjorn Helgaas wrote: > > > > > > http://bugzilla.kernel.org/show_bug.cgi?id=15533 > > > > Any luck testing the patch from the bugzilla? I'd really like to get > > this figured out so we can get the fix in the next -rc and move on > > to the next _CRS issue :-) > > I was on vacation, sorry. Got to it today. In short, the test patch fails. > Please see the dmesg with ACPI debugging in bugzilla as requested. Ping! If you haven't seen the last bugzilla update, I'd really like an acpidump and some details about what machine this is. Thanks, Bjorn -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Regression in i915 on 2.6.34-rc1
On Wed, 17 Mar 2010 08:26:59 -0700 Bjorn Helgaas wrote: > > > > http://bugzilla.kernel.org/show_bug.cgi?id=15533 > > Any luck testing the patch from the bugzilla? I'd really like to get > this figured out so we can get the fix in the next -rc and move on > to the next _CRS issue :-) I was on vacation, sorry. Got to it today. In short, the test patch fails. Please see the dmesg with ACPI debugging in bugzilla as requested. -- Pete -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Regression in i915 on 2.6.34-rc1
On Monday 15 March 2010 11:51:01 am Bjorn Helgaas wrote: > On Saturday 13 March 2010 08:02:24 pm Bjorn Helgaas wrote: > > On Sat, 2010-03-13 at 13:46 -0700, Pete Zaitcev wrote: > > > On Fri, 12 Mar 2010 22:37:56 -0700 > > > Bjorn Helgaas wrote: > > > > > > > Thanks for the report. Would you mind posting the entire dmesg > > > > log, /proc/iomem contents, and "lspci -vv" output somewhere (maybe in > > > > bugzilla)? > > > > > > Done, new bug: > > > http://bugzilla.kernel.org/show_bug.cgi?id=15533 Any luck testing the patch from the bugzilla? I'd really like to get this figured out so we can get the fix in the next -rc and move on to the next _CRS issue :-) Bjorn -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Regression in i915 on 2.6.34-rc1
On Saturday 13 March 2010 08:02:24 pm Bjorn Helgaas wrote: > On Sat, 2010-03-13 at 13:46 -0700, Pete Zaitcev wrote: > > On Fri, 12 Mar 2010 22:37:56 -0700 > > Bjorn Helgaas wrote: > > > > > Thanks for the report. Would you mind posting the entire dmesg > > > log, /proc/iomem contents, and "lspci -vv" output somewhere (maybe in > > > bugzilla)? > > > > Done, new bug: > > http://bugzilla.kernel.org/show_bug.cgi?id=15533 > > Thanks! Sorry, I should have asked for the "pci=nocrs" (working) dmesg, > too. Do you have that handy? What kind of machine is this? I don't > suppose you have Windows on it; I'd really like to know what the Device > Manager says about the PCI host bridge and graphics controller > resources. I added two patches to the bugzilla: http://bugzilla.kernel.org/attachment.cgi?id=25522 (possible fix) http://bugzilla.kernel.org/attachment.cgi?id=25523 (additional debug) If the first patch fixes it, we're all set. If it doesn't, I'd like the additional debug info from the second patch. Thanks! Bjorn -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Regression in i915 on 2.6.34-rc1
On Sat, 2010-03-13 at 13:46 -0700, Pete Zaitcev wrote: > On Fri, 12 Mar 2010 22:37:56 -0700 > Bjorn Helgaas wrote: > > > Thanks for the report. Would you mind posting the entire dmesg > > log, /proc/iomem contents, and "lspci -vv" output somewhere (maybe in > > bugzilla)? > > Done, new bug: > http://bugzilla.kernel.org/show_bug.cgi?id=15533 Thanks! Sorry, I should have asked for the "pci=nocrs" (working) dmesg, too. Do you have that handy? What kind of machine is this? I don't suppose you have Windows on it; I'd really like to know what the Device Manager says about the PCI host bridge and graphics controller resources. Bjorn -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Regression in i915 on 2.6.34-rc1
On Fri, 2010-03-12 at 23:40 -0700, Pete Zaitcev wrote: > On Fri, 12 Mar 2010 22:37:56 -0700 > Bjorn Helgaas wrote: > > > Thanks for the report. Would you mind posting the entire dmesg > > log, /proc/iomem contents, and "lspci -vv" output somewhere (maybe in > > bugzilla)? > > > > The quote below isn't enough for me to see the problem, but > > http://bugzilla.kernel.org/show_bug.cgi?id=15480 is another regression > > related to this commit. [] > > Do you prefer me to attach the requested data to Yanko's bug, or > file a new one for now? Personally, I guess I'd file a new one, on the assumption that you're seeing a different problem. Bjorn -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Regression in i915 on 2.6.34-rc1
On Fri, 12 Mar 2010 22:37:56 -0700 Bjorn Helgaas wrote: > Thanks for the report. Would you mind posting the entire dmesg > log, /proc/iomem contents, and "lspci -vv" output somewhere (maybe in > bugzilla)? Done, new bug: http://bugzilla.kernel.org/show_bug.cgi?id=15533 -- Pete -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Regression in i915 on 2.6.34-rc1
On Fri, 2010-03-12 at 22:37 -0700, Bjorn Helgaas wrote: > On Fri, 2010-03-12 at 18:25 -0700, Pete Zaitcev wrote: > > On Thu, 11 Mar 2010 00:33:58 -0700, Pete Zaitcev wrote: > > > > I apologise for answering to myself, but while there was no answer, > > git bisect found the offending commit and I verified that it was > > the culprit. Also, I am adding Bjorn and Jesse to cc:. > > > > > I seem to hit a sudden regression in 2.6.34-rc1: the modeset fails. > > > On this box it also means, no way to start X, which is unfortunate. Oh, and I forgot to mention: booting with "pci=nocrs" should be a workaround while we figure out the problem. Bjorn -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Regression in i915 on 2.6.34-rc1
On Fri, 2010-03-12 at 18:25 -0700, Pete Zaitcev wrote: > On Thu, 11 Mar 2010 00:33:58 -0700, Pete Zaitcev wrote: > > I apologise for answering to myself, but while there was no answer, > git bisect found the offending commit and I verified that it was > the culprit. Also, I am adding Bjorn and Jesse to cc:. > > > I seem to hit a sudden regression in 2.6.34-rc1: the modeset fails. > > On this box it also means, no way to start X, which is unfortunate. Thanks for the report. Would you mind posting the entire dmesg log, /proc/iomem contents, and "lspci -vv" output somewhere (maybe in bugzilla)? The quote below isn't enough for me to see the problem, but http://bugzilla.kernel.org/show_bug.cgi?id=15480 is another regression related to this commit. There are some patches for that one here: http://lkml.org/lkml/2010/3/11/512, but without knowing more about the problem you're seeing, I don't want to waste your time trying them. Bjorn > > Here's a quote from bad dmesg (truncated front and back for brievity): > > > > Linux agpgart interface v0.103 > > agpgart-intel :00:00.0: Intel HD Graphics Chipset > > agpgart-intel :00:00.0: detected 131068K stolen memory > > agpgart-intel :00:00.0: AGP aperture is 256M @ 0xd000 > > tpm_tis 00:09: 1.2 TPM (device-id 0xB, rev-id 16) > > Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled > > > > udev: starting version 151 > > [drm] Initialized drm 1.1.0 20060810 > > i915 :00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 > > i915 :00:02.0: setting latency timer to 64 > > alloc irq_desc for 33 on node -1 > > alloc kstat_irqs on node -1 > > i915 :00:02.0: irq 33 for MSI/MSI-X > > [drm] set up 127M of stolen space > > [drm:i915_gem_init_ringbuffer] *ERROR* Ring head not reset to zero ctl > > head tail start > > [drm:i915_gem_init_ringbuffer] *ERROR* Ring head forced to zero ctl > > head tail start > > [drm:i915_gem_init_ringbuffer] *ERROR* Ring initialization failed ctl > > head tail start > > [drm:i915_driver_load] *ERROR* failed to init modeset > > i915: probe of :00:02.0 failed with error -5 > > dracut: Starting plymouth daemon > > ... > > The commit follows appended. > > It's possible that the BIOS on this motherboard is not up to snuff, > but the 2.6.33-rc8 worked fine, so clearly Linux can do it... right? > > Cheers, > -- Pete > > commit 7bc5e3f2be32ae6fb0c74cd0f707f986b3a01a26 > Author: Bjorn Helgaas > Date: Tue Feb 23 10:24:41 2010 -0700 > > x86/PCI: use host bridge _CRS info by default on 2008 and newer machines ... -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Regression in i915 on 2.6.34-rc1
On Fri, 12 Mar 2010 22:37:56 -0700 Bjorn Helgaas wrote: > Thanks for the report. Would you mind posting the entire dmesg > log, /proc/iomem contents, and "lspci -vv" output somewhere (maybe in > bugzilla)? > > The quote below isn't enough for me to see the problem, but > http://bugzilla.kernel.org/show_bug.cgi?id=15480 is another regression > related to this commit. [] Do you prefer me to attach the requested data to Yanko's bug, or file a new one for now? -- Pete -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Regression in i915 on 2.6.34-rc1
On Thu, 11 Mar 2010 00:33:58 -0700, Pete Zaitcev wrote: I apologise for answering to myself, but while there was no answer, git bisect found the offending commit and I verified that it was the culprit. Also, I am adding Bjorn and Jesse to cc:. > I seem to hit a sudden regression in 2.6.34-rc1: the modeset fails. > On this box it also means, no way to start X, which is unfortunate. > > Here's a quote from bad dmesg (truncated front and back for brievity): > > Linux agpgart interface v0.103 > agpgart-intel :00:00.0: Intel HD Graphics Chipset > agpgart-intel :00:00.0: detected 131068K stolen memory > agpgart-intel :00:00.0: AGP aperture is 256M @ 0xd000 > tpm_tis 00:09: 1.2 TPM (device-id 0xB, rev-id 16) > Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled > > udev: starting version 151 > [drm] Initialized drm 1.1.0 20060810 > i915 :00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 > i915 :00:02.0: setting latency timer to 64 > alloc irq_desc for 33 on node -1 > alloc kstat_irqs on node -1 > i915 :00:02.0: irq 33 for MSI/MSI-X > [drm] set up 127M of stolen space > [drm:i915_gem_init_ringbuffer] *ERROR* Ring head not reset to zero ctl > head tail start > [drm:i915_gem_init_ringbuffer] *ERROR* Ring head forced to zero ctl > head tail start > [drm:i915_gem_init_ringbuffer] *ERROR* Ring initialization failed ctl > head tail start > [drm:i915_driver_load] *ERROR* failed to init modeset > i915: probe of :00:02.0 failed with error -5 > dracut: Starting plymouth daemon > > Here's old one from 2.6.33: > > Linux agpgart interface v0.103 > agpgart-intel :00:00.0: Intel Ironlake/D Chipset > agpgart-intel :00:00.0: detected 131068K stolen memory > agpgart-intel :00:00.0: AGP aperture is 256M @ 0xd000 > [drm] Initialized drm 1.1.0 20060810 > Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled > .. > ACPI: Power Button [PWRF] > i915 :00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 > i915 :00:02.0: setting latency timer to 64 > i915 :00:02.0: irq 31 for MSI/MSI-X > [drm] set up 127M of stolen space > Console: switching to colour frame buffer device 210x65 > fb0: inteldrmfb frame buffer device > registered panic notifier > [Firmware Bug]: ACPI: ACPI brightness control misses _BQC function > acpi device:1d: registered as cooling_device5 > input: Video Bus as > /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3 > ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no) > [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor 0 > dracut: Starting plymouth daemon The commit follows appended. It's possible that the BIOS on this motherboard is not up to snuff, but the 2.6.33-rc8 worked fine, so clearly Linux can do it... right? Cheers, -- Pete commit 7bc5e3f2be32ae6fb0c74cd0f707f986b3a01a26 Author: Bjorn Helgaas Date: Tue Feb 23 10:24:41 2010 -0700 x86/PCI: use host bridge _CRS info by default on 2008 and newer machines The main benefit of using ACPI host bridge window information is that we can do better resource allocation in systems with multiple host bridges, e.g., http://bugzilla.kernel.org/show_bug.cgi?id=14183 Sometimes we need _CRS information even if we only have one host bridge, e.g., https://bugs.launchpad.net/ubuntu/+source/linux/+bug/341681 Most of these systems are relatively new, so this patch turns on "pci=use_crs" only on machines with a BIOS date of 2008 or newer. Signed-off-by: Bjorn Helgaas Signed-off-by: Jesse Barnes diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 516225a..3e69c1c 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -1948,8 +1948,12 @@ and is between 256 and 4096 characters. It is defined in the file IRQ routing is enabled. noacpi [X86] Do not use ACPI for IRQ routing or for PCI scanning. - use_crs [X86] Use _CRS for PCI resource - allocation. + use_crs [X86] Use PCI host bridge window information + from ACPI. On BIOSes from 2008 or later, this + is enabled by default. If you need to use this, + please report a bug. + nocrs [X86] Ignore PCI host bridge windows from ACPI. + If you need to use this, please report a bug. routeirqDo IRQ routing for all PCI devices. This is normally done in pci_enable_device(), so this option is a temporary workaround diff --git a/arch/ia64/include/asm/acpi.h b/arch/ia6
Regression in i915 on 2.6.34-rc1
Dear Dave and others: I seem to hit a sudden regression in 2.6.34-rc1: the modeset fails. On this box it also means, no way to start X, which is unfortunate. Here's a quote from bad dmesg (truncated front and back for brievity): Linux agpgart interface v0.103 agpgart-intel :00:00.0: Intel HD Graphics Chipset agpgart-intel :00:00.0: detected 131068K stolen memory agpgart-intel :00:00.0: AGP aperture is 256M @ 0xd000 tpm_tis 00:09: 1.2 TPM (device-id 0xB, rev-id 16) Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled udev: starting version 151 [drm] Initialized drm 1.1.0 20060810 i915 :00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 i915 :00:02.0: setting latency timer to 64 alloc irq_desc for 33 on node -1 alloc kstat_irqs on node -1 i915 :00:02.0: irq 33 for MSI/MSI-X [drm] set up 127M of stolen space [drm:i915_gem_init_ringbuffer] *ERROR* Ring head not reset to zero ctl head tail start [drm:i915_gem_init_ringbuffer] *ERROR* Ring head forced to zero ctl head tail start [drm:i915_gem_init_ringbuffer] *ERROR* Ring initialization failed ctl head tail start [drm:i915_driver_load] *ERROR* failed to init modeset i915: probe of :00:02.0 failed with error -5 dracut: Starting plymouth daemon Here's old one from 2.6.33: Linux agpgart interface v0.103 agpgart-intel :00:00.0: Intel Ironlake/D Chipset agpgart-intel :00:00.0: detected 131068K stolen memory agpgart-intel :00:00.0: AGP aperture is 256M @ 0xd000 [drm] Initialized drm 1.1.0 20060810 Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled .. ACPI: Power Button [PWRF] i915 :00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 i915 :00:02.0: setting latency timer to 64 i915 :00:02.0: irq 31 for MSI/MSI-X [drm] set up 127M of stolen space Console: switching to colour frame buffer device 210x65 fb0: inteldrmfb frame buffer device registered panic notifier [Firmware Bug]: ACPI: ACPI brightness control misses _BQC function acpi device:1d: registered as cooling_device5 input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3 ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no) [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor 0 dracut: Starting plymouth daemon So... No idea what went bad, so far, sorry. I'll try to bisect or otherwise find out. Just letting you know. -- Pete -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel