tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

HEAD and lost console with Intel GM45



For past few months, I have been using the pkgsrc 
modular-xorg-server-1.6.1.901 and xf86-video-intel-2.7.1nb1 package with a 
5.0 kernel that has HEAD versions of agp.c, /agp_i810.c, and agpreg.h. 
Without that updated agp, X was not usable.

So today, I tried HEAD kernel (GENERIC with MODULAR commented out). Same X 
failed. Screen flashed and couldn't get back to any console. Screen was 
blank (no X was running). System not locked up as I was able to shutdown 
with power button via powerd.

The following is a diff from the working X to the not working X.

--- /var/log/Xorg.0.log 2009-08-13 23:59:24.000000000 -0500
+++ /home/heather//Xorg.0.log.old       2009-08-13 23:59:39.000000000 -0500
@@ -11,7 +11,7 @@
 Release Date: 2009-5-8
 X Protocol Version 11, Revision 0
 Build Operating System: NetBSD-5.0_STABLE-x86_64 The NetBSD Foundation
-Current Operating System: NetBSD tx.reedmedia.net 5.0_STABLE NetBSD 5.0_STABLE 
(GENERIC) #0: Mon May 11 12:36:19 CDT 2009  
reed%tx.reedmedia.net@localhost:/home/reed/netbsd/src/sys/arch/amd64/compile/GENERIC
 amd64
+Current Operating System: NetBSD tx.reedmedia.net 5.99.15 NetBSD 5.99.15 
(REED) #0: Thu Aug 13 22:46:36 CDT 2009  
reed%tx.reedmedia.net@localhost:/usr/obj/sys/arch/amd64/compile/REED amd64
 Build Date: 16 June 2009  12:19:40PM
  
        Before reporting problems, check http://www.pkgsrc.org/
@@ -19,7 +19,7 @@
 Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
-(==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 13 23:59:09 2009
+(==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 13 23:57:28 2009
 (==) Using config file: "/etc/X11/xorg.conf"
 (==) ServerLayout "Default Layout"
 (**) |-->Screen "Default intel Screen 0" (0)
@@ -348,7 +348,7 @@
 (II) intel(0):          FBC_COMMAND: 0x00000000
 (II) intel(0):           FBC_STATUS: 0x00000000
 (II) intel(0):         FBC_CONTROL2: 0x00000000
-(II) intel(0):        FBC_FENCE_OFF: 0x04000900
+(II) intel(0):        FBC_FENCE_OFF: 0x05000800
 (II) intel(0):          FBC_MOD_NUM: 0x00000000
 (II) intel(0):              MI_MODE: 0x00000200
 (II) intel(0):         MI_ARB_STATE: 0x00000040
@@ -568,7 +568,7 @@
 (WW) intel(0): Register 0x681ec (TV_H_LUMA_59) changed from 0x00000000 to 
0x0000b060
 (WW) intel(0): Register 0x68200 (TV_H_CHROMA_0) changed from 0x00000000 to 
0xb1403000
 (WW) intel(0): Register 0x682ec (TV_H_CHROMA_59) changed from 0x00000000 to 
0x0000b060
-(WW) intel(0): Register 0x321b (FBC_FENCE_OFF) changed from 0xa4000100 to 
0x04000900
+(WW) intel(0): Register 0x321b (FBC_FENCE_OFF) changed from 0xa0000100 to 
0x05000800
 (==) Depth 24 pixmap format is 32 bpp
 (II) do I need RAC?  No, I don't.
 (II) resource ranges after preInit:
@@ -586,21 +586,34 @@
 (II) intel(0): I830CheckAvailableMemory: 4026368 kB available
 (WW) intel(0): DRI2 requires UXA
 drmOpenDevice: node name is /dev/dri/card0
-drmOpenDevice: open result is -1, (Device not configured)
-drmOpenDevice: open result is -1, (Device not configured)
-drmOpenDevice: Open failed
+drmOpenDevice: open result is 10, (OK)
 drmOpenDevice: node name is /dev/dri/card0
-drmOpenDevice: open result is -1, (Device not configured)
-drmOpenDevice: open result is -1, (Device not configured)
-drmOpenDevice: Open failed
-[drm] failed to load kernel module "i915"
-(EE) [drm] drmOpen failed.
-(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
+drmOpenDevice: open result is 10, (OK)
+drmOpenByBusid: Searching for BusID pci:0000:00:02.0
+drmOpenDevice: node name is /dev/dri/card0
+drmOpenDevice: open result is 10, (OK)
+drmOpenByBusid: drmOpenMinor returns 10
+drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
+(II) [drm] DRM interface version 1.2
+(II) [drm] DRM open master succeeded.
+(II) intel(0): [drm] Using the DRM lock SAREA also for drawables.
+(II) intel(0): [drm] framebuffer mapped by ddx driver
+(II) intel(0): [drm] added 1 reserved context for kernel
+(II) intel(0): X context handle = 0x1
+(II) intel(0): [drm] installed DRM signal handler
 (**) intel(0): Framebuffer compression enabled
 (**) intel(0): Tiling enabled
 (==) intel(0): VideoRam: 262144 KB
 (II) intel(0): Attempting memory allocation with tiled buffers.
 (II) intel(0): Tiled allocation successful.
+(II) intel(0): [drm] Registers = 0xd0000000
+(II) intel(0): [drm] ring buffer = 0xc0000000
+(II) intel(0): [drm] mapped front buffer at 0xc08b1000, handle = 0xc08b1000
+(II) intel(0): [drm] mapped back buffer at 0xc2a72000, handle = 0xc2a72000
+(II) intel(0): [drm] mapped depth buffer at 0xc32e2000, handle = 0xc32e2000
+(II) intel(0): [drm] mapped classic textures at 0xc3b52000, handle = 0xc3b52000
+(II) intel(0): [drm] Initialized kernel agp heap manager, 33554432
+(II) intel(0): [dri] visual configs initialized
 (II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
 (WW) intel(0): remove MTRR a0000 - b0000
 (II) EXA(0): Offscreen pixmap area of 26542080 bytes
@@ -611,7 +624,9 @@
 (==) intel(0): Backing store disabled
 (==) intel(0): Silken mouse enabled
 (II) intel(0): Initializing HW Cursor
+(II) intel(0): [DRI] installation complete
 (WW) intel(0): drmDropMaster failed: Unknown error: 4294967295
+(II) intel(0): xf86BindGARTMemory: bind key 0 at 0x07fff000 (pgoffset 32767)
 (II) intel(0): Fixed memory allocation layout:
 (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB)
 (II) intel(0): 0x00020000-0x000a6fff: compressed frame buffer (540 kB, 
0x00000000b8020000 physical
@@ -621,7 +636,15 @@
 (II) intel(0): 0x008b1000-0x01120fff: front buffer (8640 kB) X tiled
 (II) intel(0): 0x01121000-0x02a70fff: exa offscreen (25920 kB)
 (II) intel(0): 0x02a71000-0x02a71fff: power context (4 kB)
+(II) intel(0): 0x02a72000-0x032e1fff: back buffer (8640 kB) X tiled
+(II) intel(0): 0x032e2000-0x03b51fff: depth buffer (8640 kB) Y tiled
+(II) intel(0): 0x03b52000-0x05b51fff: classic textures (32768 kB)
+(II) intel(0): 0x07fff000:            end of stolen memory
+(II) intel(0): 0x07fff000-0x07ffffff: HW status (4 kB)
 (II) intel(0): 0x10000000:            end of aperture
+(WW) intel(0): ESR is 0x00000010, page table error
+(WW) intel(0): PGTBL_ER is 0x00100000, CS instruction GTT PTE
+(WW) intel(0): Existing errors found in hardware state.
 (II) intel(0): using SSC reference clock of 100 MHz
 (II) intel(0): Mode for pipe B:
 (II) intel(0): Modeline "1440x900"x59.9   96.21  1440 1504 1536 1760  900 901 
904 912 -hsync -vsync (54.7 kHz)
@@ -687,7 +710,7 @@
 (II) intel(0):          DSPATILEOFF: 0x00000000
 (II) intel(0):            PIPEACONF: 0x00000000 (disabled, inactive)
 (II) intel(0):             PIPEASRC: 0x027f01df (640, 480)
-(II) intel(0):            PIPEASTAT: 0x00000236 (status: VSYNC_INT_STATUS 
OFIELD_INT_STATUS EFIELD_INT_STATUS SVBLANK_INT_STATUS VBLANK_INT_STATUS)
+(II) intel(0):            PIPEASTAT: 0x00040236 (status: SVBLANK_INT_ENABLE 
VSYNC_INT_STATUS OFIELD_INT_STATUS EFIELD_INT_STATUS SVBLANK_INT_STATUS 
VBLANK_INT_STATUS)
 (II) intel(0):                 FPA0: 0x00021108 (n = 2, m1 = 17, m2 = 8)
 (II) intel(0):                 FPA1: 0x00031108 (n = 3, m1 = 17, m2 = 8)
 (II) intel(0):               DPLL_A: 0x14800000 (disabled, non-dvo, default 
clock, DAC/serial mode, p1 = 8, p2 = 10)
@@ -766,7 +789,7 @@
 (II) intel(0):          FBC_COMMAND: 0x08c80032
 (II) intel(0):           FBC_STATUS: 0x00000000
 (II) intel(0):         FBC_CONTROL2: 0x00000000
-(II) intel(0):        FBC_FENCE_OFF: 0x04000900
+(II) intel(0):        FBC_FENCE_OFF: 0x05000800
 (II) intel(0):          FBC_MOD_NUM: 0x00000000
 (II) intel(0):              MI_MODE: 0x00000200
 (II) intel(0):         MI_ARB_STATE: 0x00000040
@@ -795,10 +818,10 @@
 (II) intel(0):     DPD_AUX_CH_DATA5: 0x00000000
 (II) intel(0):        FENCE START 0: 0x008b10bd ( enabled, X tile walk, 6016 
pitch, 0x008b1000 start)
 (II) intel(0):          FENCE END 0: 0x01120000 (                              
     0x01120000 end)
-(II) intel(0):        FENCE START 1: 0x00000000 (disabled, X tile walk,    0 
pitch, 0x00000000 start)
-(II) intel(0):          FENCE END 1: 0x00000000 (                              
     0x00000000 end)
-(II) intel(0):        FENCE START 2: 0x00000000 (disabled, X tile walk,    0 
pitch, 0x00000000 start)
-(II) intel(0):          FENCE END 2: 0x00000000 (                              
     0x00000000 end)
+(II) intel(0):        FENCE START 1: 0x02a720bd ( enabled, X tile walk, 6016 
pitch, 0x02a72000 start)
+(II) intel(0):          FENCE END 1: 0x032e1000 (                              
     0x032e1000 end)
+(II) intel(0):        FENCE START 2: 0x032e20bf ( enabled, Y tile walk, 6016 
pitch, 0x032e2000 start)
+(II) intel(0):          FENCE END 2: 0x03b51000 (                              
     0x03b51000 end)
 (II) intel(0):        FENCE START 3: 0x00000000 (disabled, X tile walk,    0 
pitch, 0x00000000 start)
 (II) intel(0):          FENCE END 3: 0x00000000 (                              
     0x00000000 end)
 (II) intel(0):        FENCE START 4: 0x00000000 (disabled, X tile walk,    0 
pitch, 0x00000000 start)
@@ -838,56 +861,19 @@
 (II) intel(0):   Output VGA is connected to pipe none
 (II) intel(0):   Output LVDS is connected to pipe B
 (II) intel(0):   Output TV is connected to pipe none
-(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
-(II) intel(0): DPMS enabled
-(==) intel(0): Intel XvMC decoder disabled
-(II) intel(0): Set up textured video
-(II) intel(0): direct rendering: Failed
-(--) RandR disabled
-(II) Initializing built-in extension Generic Event Extension
-(II) Initializing built-in extension SHAPE
-(II) Initializing built-in extension MIT-SHM
-(II) Initializing built-in extension XInputExtension
-(II) Initializing built-in extension XTEST
-(II) Initializing built-in extension BIG-REQUESTS
-(II) Initializing built-in extension SYNC
-(II) Initializing built-in extension XKEYBOARD
-(II) Initializing built-in extension XC-MISC
-(II) Initializing built-in extension XINERAMA
-(II) Initializing built-in extension XFIXES
-(II) Initializing built-in extension RENDER
-(II) Initializing built-in extension RANDR
-(II) Initializing built-in extension COMPOSITE
-(II) Initializing built-in extension DAMAGE
-(II) AIGLX: Screen 0 is not DRI2 capable
-(II) AIGLX: Screen 0 is not DRI capable
-(II) AIGLX: Loaded and initialized /usr/pkg/lib/dri/swrast_dri.so
-(II) GLX: Initialized DRISWRAST GL provider for screen 0
-(II) intel(0): Setting screen physical size to 367 x 230
-(**) Option "Protocol" "wsmouse"
-(**) Mouse0: Protocol: wsmouse
-(**) Option "CorePointer"
-(**) Mouse0: always reports core events
-(**) Option "Device" "/dev/wsmouse"
-(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
-(**) Mouse0: ZAxisMapping: buttons 4 and 5
-(**) Mouse0: Buttons: 9
-(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
-(**) Mouse0: (accel) keeping acceleration scheme 1
-(**) Mouse0: (accel) filter chain progression: 2.00
-(**) Mouse0: (accel) filter stage 0: 20.00 ms
-(**) Mouse0: (accel) set acceleration profile 0
-(**) Option "CoreKeyboard"
-(**) <default keyboard>: always reports core events
-(**) Option "Protocol" "standard"
-(**) <default keyboard>: Protocol: standard
-(**) Option "AutoRepeat" "500 30"
-(**) Option "XkbRules" "xorg"
-(**) <default keyboard>: XkbRules: "xorg"
-(**) Option "XkbModel" "pc105"
-(**) <default keyboard>: XkbModel: "pc105"
-(**) Option "XkbLayout" "us"
-(**) <default keyboard>: XkbLayout: "us"
-(**) Option "CustomKeycodes" "off"
-(**) <default keyboard>: CustomKeycodes disabled
-(II) XINPUT: Adding extended input device "<default keyboard>" (type: KEYBOARD)
+(EE) intel(0): hw status page initialization Failed
+(EE) intel(0): Fail to setup hardware status page.
+(II) intel(0): [drm] removed 1 reserved context for kernel
+(II) intel(0): [drm] unmapping 8192 bytes of SAREA 0xffff8000062b6000 at 
0x7f7ffdfec000
+(II) intel(0): [drm] Closed DRM master.
+
+Fatal server error:
+AddScreen/ScreenInit failed for driver 0
+
+
+Please consult the The NetBSD Foundation support 
+        at http://www.pkgsrc.org/
+ for help. 
+Please also check the log file at "/var/log/Xorg.0.log" for additional 
information.
+
+_fence_emit_internal: drm_i915_irq_emit: -9

Looks to be DRM related ... 


Home | Main Index | Thread Index | Old Index