Bug 22341

Summary: Xorg 1.6.0, intel 2.7.1, 2.6.27-7: (WW) intel(0): Existing errors found in hardware state.
Product: xorg Reporter: Andy Isaacson <adi>
Component: Driver/intelAssignee: Gordon Jin <gordon.jin>
Status: RESOLVED WONTFIX QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: NEEDINFO
Version: 7.4 (2008.09)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log from failed startup. none

Description Andy Isaacson 2009-06-17 18:29:33 UTC
Created attachment 26901 [details]
Xorg.0.log from failed startup.

Dell E4300, builtin GM45 graphics.
% uname -a
Linux cvpe4300 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:06 UTC 2008 x86_64 GNU/Linux

dmesg says:
[10528.839959] [drm] Initialized drm 1.1.0 20060810
[10528.844202] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[10528.844210] pci 0000:00:02.0: setting latency timer to 64
[10528.844450] [drm] Initialized i915 1.6.0 20060119 on minor 0
[10528.845398] [drm:i915_getparam] *ERROR* Unknown parameter 5
[10529.324723] [drm:i915_irq_emit] *ERROR* i915_irq_emit called without lock held, held  0 owner 0000000000000000 ffff880119da7900
[10533.451703] [drm:i915_getparam] *ERROR* Unknown parameter 5
[10533.830822] [drm:i915_irq_emit] *ERROR* i915_irq_emit called without lock held, held  0 owner 0000000000000000 ffff880113916c00
[10537.937451] [drm:i915_getparam] *ERROR* Unknown parameter 5
[10538.310044] [drm:i915_irq_emit] *ERROR* i915_irq_emit called without lock held, held  0 owner 0000000000000000 ffff880119da75a0

and Xorg.0.log says:
(WW) intel(0): drmDropMaster failed: Unknown error 18446744073709551615
(II) intel(0): Fixed memory allocation layout:
(II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB)
(II) intel(0): 0x00020000-0x00083fff: compressed frame buffer (400 kB, 0x00000000de020000 physical
)
(II) intel(0): 0x00084000-0x0008dfff: HW cursors (40 kB)
(II) intel(0): 0x0008e000-0x0088dfff: fake bufmgr (8192 kB)
(II) intel(0): 0x0088e000-0x00c75fff: front buffer (4000 kB) X tiled
(II) intel(0): 0x00c76000-0x00c76fff: power context (4 kB)
(II) intel(0): 0x10000000:            end of aperture
(WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled
(WW) intel(0): Existing errors found in hardware state.
_fence_emit_internal: drm_i915_irq_emit: -22

the console is black, although the keyboard still works and I can switch text VTs.

% sudo /usr/bin/intel_reg_dumper
(II): DumpRegsBegin
(II):            CHDECMISC: 0x00000000 (none, ch2 enh disabled, ch1 enh disabled, ch0 enh disabled, flex disabled, ep not present)
(II):               C0DRB0: 0x000f0002 (0x0002)
(II):               C0DRB1: 0x0010000f (0x000f)
(II):               C0DRB2: 0x00000010 (0x0010)
(II):               C0DRB3: 0x00600000 (0x0000)
(II):               C1DRB0: 0x00000000 (0x0000)
(II):               C1DRB1: 0x00000000 (0x0000)
(II):               C1DRB2: 0x00000000 (0x0000)
(II):               C1DRB3: 0x00000000 (0x0000)
(II):              C0DRA01: 0x00810060 (0x0060)
(II):              C0DRA23: 0x00060081 (0x0081)
(II):              C1DRA01: 0x00000000 (0x0000)
(II):              C1DRA23: 0x00000000 (0x0000)
(II):    VCLK_DIVISOR_VGA0: 0x00031108 (n = 3, m1 = 17, m2 = 8)
(II):    VCLK_DIVISOR_VGA1: 0x00031406 (n = 3, m1 = 20, m2 = 6)
(II):        VCLK_POST_DIV: 0x00020002 (vga0 p1 = 4, p2 = 2, vga1 p1 = 2, p2 = 2)
(II):            DPLL_TEST: 0x00010001 ()
(II):         CACHE_MODE_0: 0x00006820
(II):              D_STATE: 0x00000000
(II):        DSPCLK_GATE_D: 0x1004000c (clock gates disabled: VRHUNIT DSSUNIT OVRUNIT OVCUNIT)
(II):       RENCLK_GATE_D1: 0x00000000
(II):       RENCLK_GATE_D2: 0x000002c0
(II):                SDVOB: 0x0000089c (disabled, pipe A, stall disabled, detected)
(II):                SDVOC: 0x0000089c (disabled, pipe A, stall disabled, detected)
(II):              SDVOUDI: 0x00000000
(II):               DSPARB: 0x00000000
(II):               DSPFW1: 0x3f8f0f0f
(II):               DSPFW2: 0x150f0f0f
(II):               DSPFW3: 0x00000000
(II):           FWATER_BLC: 0x00000000
(II):          FWATER_BLC2: 0x00000000
(II):                 ADPA: 0x40008c18 (disabled, pipe B, +hsync, +vsync)
(II):                 LVDS: 0xc2208300 (enabled, pipe B, 18 bit, 1 channel)
(II):                 DVOA: 0x00000000 (disabled, pipe A, no stall, -hsync, -vsync)
(II):                 DVOB: 0x0000089c (disabled, pipe A, no stall, +hsync, +vsync)
(II):                 DVOC: 0x0000089c (disabled, pipe A, no stall, +hsync, +vsync)
(II):          DVOA_SRCDIM: 0x00000000
(II):          DVOB_SRCDIM: 0x00000000
(II):          DVOC_SRCDIM: 0x00000000
(II):           PP_CONTROL: 0x00000000 (power target: off)
(II):            PP_STATUS: 0x40000000 (off, ready, sequencing idle)
(II):         PP_ON_DELAYS: 0x01f408fc
(II):        PP_OFF_DELAYS: 0x019008fc
(II):           PP_DIVISOR: 0x003e7f06
(II):         PFIT_CONTROL: 0xa0000000
(II):      PFIT_PGM_RATIOS: 0x08000800
(II):      PORT_HOTPLUG_EN: 0x38000120
(II):    PORT_HOTPLUG_STAT: 0x08000000
(II):             DSPACNTR: 0x00000000 (disabled, pipe A)
(II):           DSPASTRIDE: 0x00000000 (0 bytes)
(II):              DSPAPOS: 0x00000000 (0, 0)
(II):             DSPASIZE: 0x00000000 (1, 1)
(II):             DSPABASE: 0x00000000
(II):             DSPASURF: 0x00000000
(II):          DSPATILEOFF: 0x00000000
(II):            PIPEACONF: 0x00000000 (disabled, inactive)
(II):             PIPEASRC: 0x027f01df (640, 480)
(II):            PIPEASTAT: 0x00000236 (status: VSYNC_INT_STATUS OFIELD_INT_STATUS EFIELD_INT_STATUS SVBLANK_INT_STATUS VBLANK_INT_STATUS)
(II):                 FPA0: 0x00031108 (n = 3, m1 = 17, m2 = 8)
(II):                 FPA1: 0x00031108 (n = 3, m1 = 17, m2 = 8)
(II):               DPLL_A: 0x04020c00 (disabled, non-dvo, VGA, default clock, DAC/serial mode, p1 = 2, p2 = 10)
(II):            DPLL_A_MD: 0x00000003
(II):             HTOTAL_A: 0x031f027f (640 active, 800 total)
(II):             HBLANK_A: 0x03170287 (648 start, 792 end)
(II):              HSYNC_A: 0x02ef028f (656 start, 752 end)
(II):             VTOTAL_A: 0x020c01df (480 active, 525 total)
(II):             VBLANK_A: 0x020401e7 (488 start, 517 end)
(II):              VSYNC_A: 0x01eb01e9 (490 start, 492 end)
(II):            BCLRPAT_A: 0x00000000
(II):         VSYNCSHIFT_A: 0x00000000
(II):             DSPBCNTR: 0x15000000 (disabled, pipe B)
(II):           DSPBSTRIDE: 0x00000800 (2048 bytes)
(II):              DSPBPOS: 0x00000000 (0, 0)
(II):             DSPBSIZE: 0x00000000 (1, 1)
(II):             DSPBBASE: 0x00000000
(II):             DSPBSURF: 0x00000000
(II):          DSPBTILEOFF: 0x00000000
(II):            PIPEBCONF: 0xc0000000 (enabled, active)
(II):             PIPEBSRC: 0x027f018f (640, 400)
(II):            PIPEBSTAT: 0x80000206 (status: FIFO_UNDERRUN VSYNC_INT_STATUS SVBLANK_INT_STATUS VBLANK_INT_STATUS)
(II):                 FPB0: 0x00011107 (n = 1, m1 = 17, m2 = 7)
(II):                 FPB1: 0x00031108 (n = 3, m1 = 17, m2 = 8)
(II):               DPLL_B: 0x98046c00 (enabled, non-dvo, spread spectrum clock, LVDS mode, p1 = 3, p2 = 14)
(II):            DPLL_B_MD: 0x00000003
(II):             HTOTAL_B: 0x067604ff (1280 active, 1655 total)
(II):             HBLANK_B: 0x067604ff (1280 start, 1655 end)
(II):              HSYNC_B: 0x05c70547 (1352 start, 1480 end)
(II):             VTOTAL_B: 0x033e031f (800 active, 831 total)
(II):             VBLANK_B: 0x033e031f (800 start, 831 end)
(II):              VSYNC_B: 0x03280322 (803 start, 809 end)
(II):            BCLRPAT_B: 0x00000000
(II):         VSYNCSHIFT_B: 0x00000000
(II):    VCLK_DIVISOR_VGA0: 0x00031108
(II):    VCLK_DIVISOR_VGA1: 0x00031406
(II):        VCLK_POST_DIV: 0x00020002
(II):             VGACNTRL: 0x22c4008e (enabled)
(II):               TV_CTL: 0x000c00d0
(II):               TV_DAC: 0x70000000
(II):             TV_CSC_Y: 0x0332012d
(II):            TV_CSC_Y2: 0x07d30104
(II):             TV_CSC_U: 0x0733052d
(II):            TV_CSC_U2: 0x05c70200
(II):             TV_CSC_V: 0x0340030c
(II):            TV_CSC_V2: 0x06d00200
(II):         TV_CLR_KNOBS: 0x00000000
(II):         TV_CLR_LEVEL: 0x010b00e1
(II):           TV_H_CTL_1: 0x00400359
(II):           TV_H_CTL_2: 0x80480022
(II):           TV_H_CTL_3: 0x007c0344
(II):           TV_V_CTL_1: 0x00f01415
(II):           TV_V_CTL_2: 0x00060607
(II):           TV_V_CTL_3: 0x80120001
(II):           TV_V_CTL_4: 0x000900f0
(II):           TV_V_CTL_5: 0x000a00f0
(II):           TV_V_CTL_6: 0x000900f0
(II):           TV_V_CTL_7: 0x000a00f0
(II):          TV_SC_CTL_1: 0xc1710087
(II):          TV_SC_CTL_2: 0x6b405140
(II):          TV_SC_CTL_3: 0x00000000
(II):           TV_WIN_POS: 0x00360024
(II):          TV_WIN_SIZE: 0x02640198
(II):      TV_FILTER_CTL_1: 0x8000085e
(II):      TV_FILTER_CTL_2: 0x00028283
(II):      TV_FILTER_CTL_3: 0x00014141
(II):        TV_CC_CONTROL: 0x00000000
(II):           TV_CC_DATA: 0x00000000
(II):          TV_H_LUMA_0: 0xb1403000
(II):         TV_H_LUMA_59: 0x0000b060
(II):        TV_H_CHROMA_0: 0xb1403000
(II):       TV_H_CHROMA_59: 0x0000b060
(II):         FBC_CFB_BASE: 0x00000000
(II):          FBC_LL_BASE: 0x00000000
(II):          FBC_CONTROL: 0x00000000
(II):          FBC_COMMAND: 0x00000000
(II):           FBC_STATUS: 0x00000000
(II):         FBC_CONTROL2: 0x00000000
(II):        FBC_FENCE_OFF: 0x29002200
(II):          FBC_MOD_NUM: 0x00000000
(II):              MI_MODE: 0x00000200
(II):         MI_ARB_STATE: 0x00000040
(II):       MI_RDRET_STATE: 0x00000000
(II):              ECOSKPD: 0x00000307
(II):                 DP_B: 0x0000001c
(II):       DPB_AUX_CH_CTL: 0x01450085
(II):     DPB_AUX_CH_DATA1: 0x00000000
(II):     DPB_AUX_CH_DATA2: 0x00000000
(II):     DPB_AUX_CH_DATA3: 0x00000000
(II):     DPB_AUX_CH_DATA4: 0x00000000
(II):     DPB_AUX_CH_DATA5: 0x00000000
(II):                 DP_C: 0x0000001c
(II):       DPC_AUX_CH_CTL: 0x01450085
(II):     DPC_AUX_CH_DATA1: 0x00000000
(II):     DPC_AUX_CH_DATA2: 0x00000000
(II):     DPC_AUX_CH_DATA3: 0x00000000
(II):     DPC_AUX_CH_DATA4: 0x00000000
(II):     DPC_AUX_CH_DATA5: 0x00000000
(II):                 DP_D: 0x0000001c
(II):       DPD_AUX_CH_CTL: 0x00050000
(II):     DPD_AUX_CH_DATA1: 0x00000000
(II):     DPD_AUX_CH_DATA2: 0x00000000
(II):     DPD_AUX_CH_DATA3: 0x00000000
(II):     DPD_AUX_CH_DATA4: 0x00000000
(II):     DPD_AUX_CH_DATA5: 0x00000000
(II):        FENCE START 0: 0x0088e09d ( enabled, X tile walk, 4992 pitch, 0x0088e000 start)
(II):          FENCE END 0: 0x00c75000 (                                   0x00c75000 end)
(II):        FENCE START 1: 0x00000000 (disabled, X tile walk,    0 pitch, 0x00000000 start)
(II):          FENCE END 1: 0x00000000 (                                   0x00000000 end)
(II):        FENCE START 2: 0x00000000 (disabled, X tile walk,    0 pitch, 0x00000000 start)
(II):          FENCE END 2: 0x00000000 (                                   0x00000000 end)
(II):        FENCE START 3: 0x00000000 (disabled, X tile walk,    0 pitch, 0x00000000 start)
(II):          FENCE END 3: 0x00000000 (                                   0x00000000 end)
(II):        FENCE START 4: 0x00000000 (disabled, X tile walk,    0 pitch, 0x00000000 start)
(II):          FENCE END 4: 0x00000000 (                                   0x00000000 end)
(II):        FENCE START 5: 0x00000000 (disabled, X tile walk,    0 pitch, 0x00000000 start)
(II):          FENCE END 5: 0x00000000 (                                   0x00000000 end)
(II):        FENCE START 6: 0x00000000 (disabled, X tile walk,    0 pitch, 0x00000000 start)
(II):          FENCE END 6: 0x00000000 (                                   0x00000000 end)
(II):        FENCE START 7: 0x00000000 (disabled, X tile walk,    0 pitch, 0x00000000 start)
(II):          FENCE END 7: 0x00000000 (                                   0x00000000 end)
(II):        FENCE START 8: 0x00000000 (disabled, X tile walk,    0 pitch, 0x00000000 start)
(II):          FENCE END 8: 0x00000000 (                                   0x00000000 end)
(II):        FENCE START 9: 0x00000000 (disabled, X tile walk,    0 pitch, 0x00000000 start)
(II):          FENCE END 9: 0x00000000 (                                   0x00000000 end)
(II):       FENCE START 10: 0x00000000 (disabled, X tile walk,    0 pitch, 0x00000000 start)
(II):         FENCE END 10: 0x00000000 (                                   0x00000000 end)
(II):       FENCE START 11: 0x00000000 (disabled, X tile walk,    0 pitch, 0x00000000 start)
(II):         FENCE END 11: 0x00000000 (                                   0x00000000 end)
(II):       FENCE START 12: 0x00000000 (disabled, X tile walk,    0 pitch, 0x00000000 start)
(II):         FENCE END 12: 0x00000000 (                                   0x00000000 end)
(II):       FENCE START 13: 0x00000000 (disabled, X tile walk,    0 pitch, 0x00000000 start)
(II):         FENCE END 13: 0x00000000 (                                   0x00000000 end)
(II):       FENCE START 14: 0x00000000 (disabled, X tile walk,    0 pitch, 0x00000000 start)
(II):         FENCE END 14: 0x00000000 (                                   0x00000000 end)
(II):       FENCE START 15: 0x00000000 (disabled, X tile walk,    0 pitch, 0x00000000 start)
(II):         FENCE END 15: 0x00000000 (                                   0x00000000 end)
(II): pipe A dot 100800 n 3 m1 17 m2 8 p1 2 p2 10
(II): pipe B dot 82539 n 1 m1 17 m2 7 p1 3 p2 14
(II): DumpRegsEnd
Comment 1 Andy Isaacson 2009-06-18 12:36:23 UTC
This appears to be 100% reproducible with this Xorg on Ubuntu's 2.6.27-7.  I don't actually care about that configuration, though (I just happened to be booted to that kernel due to triaging another bug, and noticed that X didn't work) so maybe it's not worth pursuing.

xorg                           1:7.4~5ubuntu18
xserver-xorg                   1:7.4~5ubuntu18
xserver-xorg-core              2:1.6.0-0ubuntu14
xserver-xorg-video-intel       2:2.7.1-0ubuntu1~xup~1
xserver-xorg-video-intel-dbg   2:2.7.1-0ubuntu1~xup~1
Comment 2 Gordon Jin 2009-06-22 23:43:34 UTC
It is not recommended to use pre-2.6.28 kernel with 2.7 driver. Can you try a newer kernel? 2.6.30 will be the best.
Comment 3 Andy Isaacson 2009-06-23 10:29:11 UTC
(In reply to comment #2)
> It is not recommended to use pre-2.6.28 kernel with 2.7 driver. Can you try a
> newer kernel? 2.6.30 will be the best.

Oh, the driver works pretty well with 2.6.29.1 and 2.6.28.10.  I didn't realize that it'd been made incompatible, sorry for the noise.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.