NetBSD-Bugs archive

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

Re: kern/49707: i386 i915drmkms on 82845G/GL panic with Xorg intel driver



The following reply was made to PR kern/49707; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/49707: i386 i915drmkms on 82845G/GL panic with Xorg intel
 driver
Date: Mon, 3 Aug 2015 12:05:25 -0500 (CDT)

 I was briefly able to run the Xserver with the intel driver in 7.99.20.
 
 I noted with interest the following commit:
 
   http://mail-index.netbsd.org/source-changes/2015/08/01/msg067839.html
 
 and the similarity of "kern/49875" to this one.
 
 Following an update, I ran:
 
   $ X &
 
 The machine switched virtual consoles and the "X" cursor appeared very
 quickly.  With the foresight to push the server in the background, I
 was able to switch back to the original terminal and start 'xterm'
 and it worked quite nicely, although cursor movement seemed to leave
 the bottom scan line behind for a second or so.
 
 When I stopped 'xterm' and its window closed, the root window behind it
 showed the classic "root weave" pattern as if "-retro" had been used.
 Staring a new 'xterm' and then 'twm', the weave pattern appeared in
 any region the terminal window vacated.
 
 Not thinking more of it, I stopped everything and re-launched X with
 
   $ startx -- -retro &
 
 which started the X server (with root weave retro pattern) followed by
 the clients started by my '.xinitrc' file (urxvt and fvwm2 plus
 accessories).  I stopped and started everything several times.  It seemed
 to work very well.
 
 Then I rebooted the machine.  I have not been able to start the X server
 since.  It switches wscons terminals but the display never appears.
 Switching back to the terminal from which it was started reveals:
 
   Bus error.
 
 The "Xorg.0.log" file:
 
 [    65.636] 
 X.Org X Server 1.10.6
 Release Date: 2011-07-08
 [    65.637] X Protocol Version 11, Revision 0
 [    65.637] Build Operating System: NetBSD/i386  - 
 [    65.637] Current Operating System: NetBSD gx260a 7.99.20 NetBSD 7.99.20 (GX260A) #7: Mon Aug  3 09:05:15 CDT 2015  sysop%verthandi.technoskunk.fur@localhost:/d0/build/current/obj/i386/sys/arch/i386/compile/GX260A i386
 [    65.671] Build Date: 01 August 2011  01:01:00AM
 [    65.671]  
 [    65.671] Current version of pixman: 0.32.6
 [    65.671] 	Before reporting problems, check http://wiki.X.Org
 	to make sure that you have the latest version.
 [    65.671] Markers: (--) probed, (**) from config file, (==) default setting,
 	(++) from command line, (!!) notice, (II) informational,
 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [    65.672] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug  3 11:35:27 2015
 [    65.697] (==) Using config file: "/etc/X11/xorg.conf"
 [    65.701] (==) No Layout section.  Using the first Screen section.
 [    65.701] (==) No screen section available. Using defaults.
 [    65.701] (**) |-->Screen "Default Screen Section" (0)
 [    65.701] (**) |   |-->Monitor "<default monitor>"
 [    65.703] (==) No monitor specified for screen "Default Screen Section".
 	Using a default monitor configuration.
 [    65.703] (**) Option "NoTrapSignals" "True"
 [    65.705] (==) Not automatically adding devices
 [    65.705] (==) Not automatically enabling devices
 [    65.717] (==) FontPath set to:
 	/usr/X11R7/lib/X11/fonts/misc/,
 	/usr/X11R7/lib/X11/fonts/TTF/,
 	/usr/X11R7/lib/X11/fonts/Type1/,
 	/usr/X11R7/lib/X11/fonts/75dpi/,
 	/usr/X11R7/lib/X11/fonts/100dpi/
 [    65.717] (==) ModulePath set to "/usr/X11R7/lib/modules"
 [    65.717] (==) |-->Input Device "<default pointer>"
 [    65.717] (==) |-->Input Device "<default keyboard>"
 [    65.717] (==) No Layout section. Using the default mouse configuration.
 [    65.717] (==) No Layout section. Using the default keyboard configuration.
 [    65.719] (II) Loader magic: 0x82726e0
 [    65.719] (II) Module ABI versions:
 [    65.719] 	X.Org ANSI C Emulation: 0.4
 [    65.719] 	X.Org Video Driver: 10.0
 [    65.719] 	X.Org XInput driver : 12.2
 [    65.719] 	X.Org Server Extension : 5.0
 [    65.737] (--) PCI:*(0:0:2:0) 8086:2562:1028:0126 rev 1, Mem @ 0xf0000000/134217728, 0xff680000/524288
 [    65.737] (II) LoadModule: "extmod"
 [    66.073] (II) Loading /usr/X11R7/lib/modules/extensions/libextmod.so
 [    66.081] (II) Module extmod: vendor="X.Org Foundation"
 [    66.081] 	compiled for 1.10.6, module version = 1.0.0
 [    66.081] 	Module class: X.Org Server Extension
 [    66.081] 	ABI class: X.Org Server Extension, version 5.0
 [    66.081] (II) Loading extension MIT-SCREEN-SAVER
 [    66.081] (II) Loading extension XFree86-VidModeExtension
 [    66.081] (II) Loading extension XFree86-DGA
 [    66.083] (II) Loading extension DPMS
 [    66.083] (II) Loading extension XVideo
 [    66.083] (II) Loading extension XVideo-MotionCompensation
 [    66.083] (II) Loading extension X-Resource
 [    66.083] (II) LoadModule: "dbe"
 [    66.094] (II) Loading /usr/X11R7/lib/modules/extensions/libdbe.so
 [    66.100] (II) Module dbe: vendor="X.Org Foundation"
 [    66.100] 	compiled for 1.10.6, module version = 1.0.0
 [    66.100] 	Module class: X.Org Server Extension
 [    66.100] 	ABI class: X.Org Server Extension, version 5.0
 [    66.100] (II) Loading extension DOUBLE-BUFFER
 [    66.100] (II) LoadModule: "glx"
 [    66.112] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
 [    66.120] (II) Module glx: vendor="X.Org Foundation"
 [    66.121] 	compiled for 1.10.6, module version = 1.0.0
 [    66.121] 	ABI class: X.Org Server Extension, version 5.0
 [    66.123] (==) AIGLX enabled
 [    66.123] (II) Loading extension GLX
 [    66.123] (II) LoadModule: "record"
 [    66.141] (II) Loading /usr/X11R7/lib/modules/extensions/librecord.so
 [    66.146] (II) Module record: vendor="X.Org Foundation"
 [    66.146] 	compiled for 1.10.6, module version = 1.13.0
 [    66.146] 	Module class: X.Org Server Extension
 [    66.146] 	ABI class: X.Org Server Extension, version 5.0
 [    66.146] (II) Loading extension RECORD
 [    66.146] (II) LoadModule: "dri"
 [    66.158] (II) Loading /usr/X11R7/lib/modules/extensions/libdri.so
 [    66.165] (II) Module dri: vendor="X.Org Foundation"
 [    66.167] 	compiled for 1.10.6, module version = 1.0.0
 [    66.167] 	ABI class: X.Org Server Extension, version 5.0
 [    66.169] (II) Loading extension XFree86-DRI
 [    66.169] (II) LoadModule: "dri2"
 [    66.181] (II) Loading /usr/X11R7/lib/modules/extensions/libdri2.so
 [    66.186] (II) Module dri2: vendor="X.Org Foundation"
 [    66.186] 	compiled for 1.10.6, module version = 1.2.0
 [    66.186] 	ABI class: X.Org Server Extension, version 5.0
 [    66.188] (II) Loading extension DRI2
 [    66.190] (==) Matched intel as autoconfigured driver 0
 [    66.190] (==) Matched vesa as autoconfigured driver 1
 [    66.190] (==) Assigned the driver to the xf86ConfigLayout
 [    66.190] (II) LoadModule: "intel"
 [    66.197] (II) Loading /usr/X11R7/lib/modules/drivers/intel_drv.so
 [    66.221] (II) Module intel: vendor="X.Org Foundation"
 [    66.221] 	compiled for 1.10.6, module version = 2.99.917
 [    66.221] 	Module class: X.Org Video Driver
 [    66.221] 	ABI class: X.Org Video Driver, version 10.0
 [    66.224] (II) LoadModule: "vesa"
 [    66.232] (II) Loading /usr/X11R7/lib/modules/drivers/vesa_drv.so
 [    66.237] (II) Module vesa: vendor="X.Org Foundation"
 [    66.237] 	compiled for 1.10.6, module version = 2.3.4
 [    66.237] 	Module class: X.Org Video Driver
 [    66.237] 	ABI class: X.Org Video Driver, version 10.0
 [    66.237] (II) LoadModule: "mouse"
 [    66.244] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
 [    66.251] (II) Module mouse: vendor="X.Org Foundation"
 [    66.252] 	compiled for 1.10.6, module version = 1.9.1
 [    66.252] 	Module class: X.Org XInput Driver
 [    66.252] 	ABI class: X.Org XInput driver, version 12.2
 [    66.252] (II) LoadModule: "kbd"
 [    66.259] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
 [    66.264] (II) Module kbd: vendor="X.Org Foundation"
 [    66.264] 	compiled for 1.10.6, module version = 1.8.1
 [    66.264] 	Module class: X.Org XInput Driver
 [    66.264] 	ABI class: X.Org XInput driver, version 12.2
 [    66.264] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
 	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
 	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
 	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
 	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
 [    66.265] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
 [    66.265] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
 [    66.265] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
 [    66.265] (II) VESA: driver for VESA chipsets: vesa
 [    66.267] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32)
 [    66.267] (--) using VT number 5
 [    66.280] drmOpenDevice: node name is /dev/dri/card0
 [    66.284] drmOpenDevice: open result is 10, (OK)
 [    66.284] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
 [    66.284] drmOpenDevice: node name is /dev/dri/card0
 [    66.287] drmOpenDevice: open result is 10, (OK)
 [    66.287] drmOpenByBusid: drmOpenMinor returns 10
 [    66.287] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
 [    66.287] drmOpenDevice: node name is /dev/dri/card0
 [    66.290] drmOpenDevice: open result is 10, (OK)
 [    66.290] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
 [    66.290] drmOpenDevice: node name is /dev/dri/card0
 [    66.293] drmOpenDevice: open result is 10, (OK)
 [    66.293] drmOpenByBusid: drmOpenMinor returns 10
 [    66.293] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
 [    66.293] (II) Loading /usr/X11R7/lib/modules/drivers/intel_drv.so
 [    66.296] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20080730
 [    66.298] (WW) Falling back to old probe method for vesa
 [    66.298] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
 [    66.303] (--) intel(0): Integrated Graphics Chipset: Intel(R) 845G
 [    66.303] (--) intel(0): CPU: x86, sse2
 [    66.303] (II) intel(0): Creating default Display subsection in Screen section
 	"Default Screen Section" for depth/fbbpp 24/32
 [    66.303] (==) intel(0): Depth 24, (--) framebuffer bpp 32
 [    66.303] (==) intel(0): RGB weight 888
 [    66.303] (==) intel(0): Default visual is TrueColor
 [    66.305] (WW) intel(0): Unable to reserve memory for GPU, disabling acceleration.
 [    66.313] (II) intel(0): Output VGA1 has no monitor section
 [    66.315] (II) intel(0): Enabled output VGA1
 [    66.316] (--) intel(0): Using a maximum size of 64x64 for hardware cursors
 [    66.316] (II) intel(0): Output VIRTUAL1 has no monitor section
 [    66.316] (II) intel(0): Enabled output VIRTUAL1
 [    66.316] (--) intel(0): Output VGA1 using initial mode 1280x1024 on pipe 0
 [    66.316] (==) intel(0): TearFree disabled
 [    66.316] (==) intel(0): DPI set to (96, 96)
 [    66.316] (II) Loading sub module "dri2"
 [    66.316] (II) LoadModule: "dri2"
 [    66.328] (II) Loading /usr/X11R7/lib/modules/extensions/libdri2.so
 [    66.329] (II) Module dri2: vendor="X.Org Foundation"
 [    66.329] 	compiled for 1.10.6, module version = 1.2.0
 [    66.329] 	ABI class: X.Org Server Extension, version 5.0
 [    66.329] (II) UnloadModule: "vesa"
 [    66.329] (II) Unloading vesa
 [    66.329] (==) Depth 24 pixmap format is 32 bpp
 [    66.342] (II) intel(0): SNA initialized with disabled backend
 [    66.343] (==) intel(0): Backing store disabled
 [    66.343] (==) intel(0): Silken mouse enabled
 [    66.350] (II) intel(0): HW Cursor enabled
 [    66.350] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
 [    66.353] (==) intel(0): DPMS enabled
 [    66.357] (II) intel(0): Textured video not supported on this hardware
 [    66.357] (WW) intel(0): loading DRI2 whilst the GPU is wedged.
 [    66.366] (II) intel(0): [DRI2] Setup complete
 [    66.366] (II) intel(0): [DRI2]   DRI driver: i915
 [    66.366] (II) intel(0): [DRI2]   VDPAU driver: i915
 [    66.366] (II) intel(0): direct rendering: DRI2 enabled
 [    66.366] (--) RandR disabled
 [    66.366] (II) Initializing built-in extension Generic Event Extension
 [    66.367] (II) Initializing built-in extension SHAPE
 [    66.367] (II) Initializing built-in extension MIT-SHM
 [    66.367] (II) Initializing built-in extension XInputExtension
 [    66.367] (II) Initializing built-in extension XTEST
 [    66.367] (II) Initializing built-in extension BIG-REQUESTS
 [    66.367] (II) Initializing built-in extension SYNC
 [    66.367] (II) Initializing built-in extension XKEYBOARD
 [    66.367] (II) Initializing built-in extension XC-MISC
 [    66.367] (II) Initializing built-in extension SECURITY
 [    66.367] (II) Initializing built-in extension XINERAMA
 [    66.367] (II) Initializing built-in extension XFIXES
 [    66.367] (II) Initializing built-in extension XFree86-Bigfont
 [    66.367] (II) Initializing built-in extension RENDER
 [    66.367] (II) Initializing built-in extension RANDR
 [    66.367] (II) Initializing built-in extension COMPOSITE
 [    66.367] (II) Initializing built-in extension DAMAGE
 [    66.602] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
 [    66.602] (II) AIGLX: enabled GLX_INTEL_swap_event
 [    66.602] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
 [    66.602] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
 [    66.604] (II) AIGLX: Loaded and initialized /usr/X11R7/lib/modules/dri/i915_dri.so
 [    66.604] (II) GLX: Initialized DRI2 GL provider for screen 0
 ------------
 File ends here.
 
 The result is the same after rebooting several times.  Starting with
 the "wsfb" driver first has no effect.
 
 So, an improvement:  Starting X with the "intel" driver no-longer panics
 the machine, but is unlikely to produce a working display.
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index