X server crashes on -current

2015-06-28 Thread Rhialto
Earlier this week I build an amd64 current and a live image. I booted it
on my laptop, and started X under a fresh user I created. No other
configuration has been done, not even setting a host name.

When I enabled TrueType fonts in xterm, the first time I got a blob of
display corruption. When I did the same another time, after a reboot,
the X server crashed.

I have attached Xorg.0.log (which doesn't really tell me much) and
/var/run/dmesg.boot.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl-- 'this bath is too hot.'
[89.530] 
X.Org X Server 1.10.6
Release Date: 2011-07-08
[89.530] X Protocol Version 11, Revision 0
[89.531] Build Operating System: NetBSD/amd64  - 
[89.531] Current Operating System: NetBSD  7.99.19 NetBSD 7.99.19 (GENERIC) 
#0: Tue Jun 23 22:37:03 CEST 2015  
rhia...@murthe.falu.nl:/mnt/scratch/scratch2/obj.amd64/sys/arch/amd64/compile/GENERIC
 amd64
[89.531] Build Date: 01 August 2011  01:01:00AM
[89.531]  
[89.531] Current version of pixman: 0.32.6
[89.531]Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
[89.531] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[89.532] (==) Log file: /var/log/Xorg.0.log, Time: Fri Jun 26 17:00:21 
2015
[89.547] (II) Loader magic: 0x829c80
[89.547] (II) Module ABI versions:
[89.547]X.Org ANSI C Emulation: 0.4
[89.547]X.Org Video Driver: 10.0
[89.547]X.Org XInput driver : 12.2
[89.547]X.Org Server Extension : 5.0
[89.559] (--) PCI:*(0:0:2:0) 8086:2a42:103c:306b rev 7, Mem @ 
0xd000/4194304, 0xc000/268435456, I/O @ 0x4110/8
[89.560] (--) PCI: (0:0:2:1) 8086:2a43:103c:306b rev 7, Mem @ 
0xd240/1048576
[89.561] (==) Using default built-in configuration (21 lines)
[89.561] (==) --- Start of built-in configuration ---
[89.561]Section Device
[89.561]Identifier  Builtin Default intel Device 0
[89.561]Driver  intel
[89.561]EndSection
[89.561]Section Screen
[89.561]Identifier  Builtin Default intel Screen 0
[89.561]Device  Builtin Default intel Device 0
[89.562]EndSection
[89.562]Section Device
[89.562]Identifier  Builtin Default vesa Device 0
[89.562]Driver  vesa
[89.562]EndSection
[89.562]Section Screen
[89.562]Identifier  Builtin Default vesa Screen 0
[89.562]Device  Builtin Default vesa Device 0
[89.562]EndSection
[89.562]Section ServerLayout
[89.562]Identifier  Builtin Default Layout
[89.562]Screen  Builtin Default intel Screen 0
[89.562]Screen  Builtin Default vesa Screen 0
[89.562]EndSection
[89.562] (==) --- End of built-in configuration ---
[89.563] (==) ServerLayout Builtin Default Layout
[89.563] (**) |--Screen Builtin Default intel Screen 0 (0)
[89.563] (**) |   |--Monitor default monitor
[89.567] (**) |   |--Device Builtin Default intel Device 0
[89.567] (==) No monitor specified for screen Builtin Default intel Screen 
0.
Using a default monitor configuration.
[89.567] (**) |--Screen Builtin Default vesa Screen 0 (1)
[89.567] (**) |   |--Monitor default monitor
[89.567] (**) |   |--Device Builtin Default vesa Device 0
[89.567] (==) No monitor specified for screen Builtin Default vesa Screen 
0.
Using a default monitor configuration.
[89.569] (==) Not automatically adding devices
[89.569] (==) Not automatically enabling devices
[89.592] (==) 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/
[89.592] (==) ModulePath set to /usr/X11R7/lib/modules
[89.592] (==) |--Input Device default pointer
[89.592] (==) |--Input Device default keyboard
[89.592] (==) The core pointer device wasn't specified explicitly in the 
layout.
Using the default mouse configuration.
[89.592] (==) The core keyboard device wasn't specified explicitly in the 
layout.
Using the default keyboard configuration.
[89.592] (II) LoadModule: extmod
[89.602] (II) Loading /usr/X11R7/lib/modules/extensions/libextmod.so
[89.610] (II) Module extmod: vendor=X.Org Foundation
[89.612]compiled for 1.10.6, module version = 1.0.0
[89.612]Module class: X.Org Server Extension
[89.612]ABI class: X.Org Server Extension, version 5.0
[89.612] (II) Loading extension MIT-SCREEN-SAVER
[89.612] (II) Loading extension XFree86-VidModeExtension
[

Re: X server crashes on -current

2015-06-28 Thread Patrick Welche
On Sun, Jun 28, 2015 at 10:00:22PM +0200, Rhialto wrote:
 Earlier this week I build an amd64 current and a live image. I booted it
 on my laptop, and started X under a fresh user I created. No other
 configuration has been done, not even setting a host name.
 
 When I enabled TrueType fonts in xterm, the first time I got a blob of
 display corruption. When I did the same another time, after a reboot,
 the X server crashed.

Hopefully this the same bug which Chuck Silvers fixed in v 1.31 of
sys/external/bsd/drm2/dist/drm/i915/i915_gem.c on 2015-06-25 which
might be just after earlier this week.

Cheers,

Patrick


Re: Custom build issues

2015-06-28 Thread Kamil Rytarowski
On 27.06.2015 23:50, Kamil Rytarowski wrote:
 On 27.06.2015 22:36, Matt Thomas wrote:

 On Jun 27, 2015, at 12:23 PM, Kamil Rytarowski n...@gmx.com wrote:

 The sources after update still generate errors for the distribution target.

 checkflist === distrib/sets
 ===  2 extra files in DESTDIR  =
 Files in DESTDIR but missing from flist.
 File is obsolete or flist is out of date ?
 --
 ./usr/X11R7/lib/i386
 ./usr/libdata/debug/usr/X11R7/lib/i386
 =  end of 2 extra files  ===

 Since obsolete removal will fix them, they need
 to be hand removed from DESTDIR.

 ==  3 missing files in DESTDIR  
 Files in flist but missing from DESTDIR.
 File wasn't installed ?
 --
 ./usr/X11R7/lib/liblisp_pic.a
 ./usr/X11R7/lib/libmp_pic.a
 ./usr/X11R7/lib/libre_pic.a
   end of 3 missing files  ==

 Those are now fixed as well.  

 
 It's fixed now, thanks!
 


I went for a next set of the build options:

MKDEBUG = no
MKDEBUGLIB = yes
MKKDEBUG = yes
MKX11 = yes
MKDTRACE = no
MKBSDTAR = no
MKCATPAGES = yes
MKINFO = no
MKPCC = no
MKPIGZGZIP = no
MKPOSTFIX = no
MKCTF = no
MKMDNS = no
MKPAM = yes
MKPF = no
MKSKEY = no
MKYP = no
MKHESIOD = yes
MKLDAP = no

Here is my list of mismatch of files in the destination directory.

checkflist === distrib/sets
===  485 extra files in DESTDIR  =
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
--
./usr/X11R7/lib/libFS_g.a
./usr/X11R7/lib/libGLU_g.a
./usr/X11R7/lib/libGL_g.a
./usr/X11R7/lib/libGLw_g.a
./usr/X11R7/lib/libI810XvMC_g.a
./usr/X11R7/lib/libICE_g.a
./usr/X11R7/lib/libIntelXvMC_g.a
./usr/X11R7/lib/libSM_g.a
./usr/X11R7/lib/libX11-xcb_g.a
./usr/X11R7/lib/libX11_g.a
./usr/X11R7/lib/libXRes_g.a
./usr/X11R7/lib/libXTrap_g.a
./usr/X11R7/lib/libXau_g.a
./usr/X11R7/lib/libXaw6_g.a
./usr/X11R7/lib/libXaw7_g.a
./usr/X11R7/lib/libXcomposite_g.a
./usr/X11R7/lib/libXcursor_g.a
./usr/X11R7/lib/libXdamage_g.a
./usr/X11R7/lib/libXdmGreet_g.a
./usr/X11R7/lib/libXdmcp_g.a
./usr/X11R7/lib/libXevie_g.a
./usr/X11R7/lib/libXext_g.a
./usr/X11R7/lib/libXfixes_g.a
./usr/X11R7/lib/libXfont_g.a
./usr/X11R7/lib/libXfontcache_g.a
./usr/X11R7/lib/libXft_g.a
./usr/X11R7/lib/libXi_g.a
./usr/X11R7/lib/libXinerama_g.a
./usr/X11R7/lib/libXmu_g.a
./usr/X11R7/lib/libXmuu_g.a
./usr/X11R7/lib/libXpm_g.a
./usr/X11R7/lib/libXrandr_g.a
./usr/X11R7/lib/libXrender_g.a
./usr/X11R7/lib/libXss_g.a
./usr/X11R7/lib/libXt_g.a
./usr/X11R7/lib/libXtst_g.a
./usr/X11R7/lib/libXvMCW_g.a
./usr/X11R7/lib/libXvMC_g.a
./usr/X11R7/lib/libXv_g.a
./usr/X11R7/lib/libXxf86dga_g.a
./usr/X11R7/lib/libXxf86misc_g.a
./usr/X11R7/lib/libXxf86vm_g.a
./usr/X11R7/lib/libchromeXvMCPro_g.a
./usr/X11R7/lib/libchromeXvMC_g.a
./usr/X11R7/lib/libdrm_g.a
./usr/X11R7/lib/libdrm_intel_g.a
./usr/X11R7/lib/libdrm_radeon_g.a
./usr/X11R7/lib/libfontconfig_g.a
./usr/X11R7/lib/libfontenc_g.a
./usr/X11R7/lib/libfreetype_g.a
./usr/X11R7/lib/libgbm_g.a
./usr/X11R7/lib/libglapi_g.a
./usr/X11R7/lib/libglut_g.a
./usr/X11R7/lib/libpciaccess_g.a
./usr/X11R7/lib/libpixman-1_g.a
./usr/X11R7/lib/libpthread-stubs_g.a
./usr/X11R7/lib/libxcb-atom_g.a
./usr/X11R7/lib/libxcb-aux_g.a
./usr/X11R7/lib/libxcb-composite_g.a
./usr/X11R7/lib/libxcb-damage_g.a
./usr/X11R7/lib/libxcb-dpms_g.a
./usr/X11R7/lib/libxcb-dri2_g.a
./usr/X11R7/lib/libxcb-dri3_g.a
./usr/X11R7/lib/libxcb-event_g.a
./usr/X11R7/lib/libxcb-glx_g.a
./usr/X11R7/lib/libxcb-icccm_g.a
./usr/X11R7/lib/libxcb-image_g.a
./usr/X11R7/lib/libxcb-keysyms_g.a
./usr/X11R7/lib/libxcb-present_g.a
./usr/X11R7/lib/libxcb-property_g.a
./usr/X11R7/lib/libxcb-randr_g.a
./usr/X11R7/lib/libxcb-record_g.a
./usr/X11R7/lib/libxcb-render-util_g.a
./usr/X11R7/lib/libxcb-render_g.a
./usr/X11R7/lib/libxcb-reply_g.a
./usr/X11R7/lib/libxcb-res_g.a
./usr/X11R7/lib/libxcb-screensaver_g.a
./usr/X11R7/lib/libxcb-shape_g.a
./usr/X11R7/lib/libxcb-shm_g.a
./usr/X11R7/lib/libxcb-sync_g.a
./usr/X11R7/lib/libxcb-xevie_g.a
./usr/X11R7/lib/libxcb-xf86dri_g.a
./usr/X11R7/lib/libxcb-xfixes_g.a
./usr/X11R7/lib/libxcb-xinerama_g.a
./usr/X11R7/lib/libxcb-xkb_g.a
./usr/X11R7/lib/libxcb-xtest_g.a
./usr/X11R7/lib/libxcb-xv_g.a
./usr/X11R7/lib/libxcb-xvmc_g.a
./usr/X11R7/lib/libxcb_g.a
./usr/X11R7/lib/libxkbfile_g.a
./usr/X11R7/lib/libxkbui_g.a
./usr/X11R7/lib/modules/extensions/libdbe_g.a
./usr/X11R7/lib/modules/extensions/libdri2_g.a
./usr/X11R7/lib/modules/extensions/libdri_g.a
./usr/X11R7/lib/modules/extensions/libextmod_g.a
./usr/X11R7/lib/modules/extensions/libglx_g.a
./usr/X11R7/lib/modules/extensions/librecord_g.a
./usr/X11R7/lib/modules/extensions/libshadow_g.a
./usr/X11R7/lib/modules/libexa_g.a
./usr/X11R7/lib/modules/libfb_g.a
./usr/X11R7/lib/modules/libi2c_g.a
./usr/X11R7/lib/modules/libint10_g.a
./usr/X11R7/lib/modules/libshadowfb_g.a
./usr/X11R7/lib/modules/libvbe_g.a
./usr/X11R7/lib/modules/libvgahw_g.a
./usr/X11R7/lib/modules/libxaa_g.a

Re: X server crashes on -current

2015-06-28 Thread Rhialto
On Sun 28 Jun 2015 at 22:39:16 +0100, Patrick Welche wrote:
 Hopefully this the same bug which Chuck Silvers fixed in v 1.31 of
 sys/external/bsd/drm2/dist/drm/i915/i915_gem.c on 2015-06-25 which
 might be just after earlier this week.

Datewise, that matches! I'm updating and retrying, and I will report the
result.

Thanks!
 Patrick
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl-- 'this bath is too hot.'


pgphoDdFmb6kW.pgp
Description: PGP signature


Re: Custom build issues

2015-06-28 Thread Matt Thomas

 On Jun 28, 2015, at 1:42 PM, Kamil Rytarowski n...@gmx.com wrote:
 
 I went for a next set of the build options:

Should be fixed.


daily CVS update output

2015-06-28 Thread NetBSD source update

Updating src tree:
P src/Makefile
P src/build.sh
P src/compat/compatsubdir.mk
P src/distrib/sets/sets.subr
P src/distrib/sets/lists/base/shl.mi
P src/distrib/sets/lists/comp/mi
P src/distrib/sets/lists/debug/md.amd64
P src/distrib/sets/lists/debug/mi
P src/distrib/sets/lists/xbase/md.amd64
P src/distrib/sets/lists/xbase/mi
P src/distrib/sets/lists/xbase/shl.mi
P src/distrib/sets/lists/xcomp/md.amd64
P src/distrib/sets/lists/xcomp/mi
P src/distrib/sets/lists/xcomp/shl.mi
P src/distrib/sets/lists/xdebug/md.amd64
P src/distrib/sets/lists/xdebug/mi
P src/distrib/sets/lists/xdebug/shl.mi
P src/doc/3RDPARTY
P src/etc/mtree/Makefile
P src/external/mit/xorg/bin/xedit/lisp/Makefile
P src/external/mit/xorg/bin/xedit/mp/Makefile
P src/external/mit/xorg/bin/xedit/re/Makefile
P src/games/fortune/datfiles/fortunes
P src/sbin/umount/umount.c
P src/share/mk/bsd.README
P src/share/mk/bsd.own.mk
P src/sys/arch/mips/include/pte.h
P src/usr.sbin/postinstall/postinstall

Updating xsrc tree:


Killing core files:

Running the SUP scanner:
SUP Scan for current starting at Sun Jun 28 04:57:56 2015
SUP Scan for current completed at Sun Jun 28 05:18:08 2015
SUP Scan for mirror starting at Sun Jun 28 05:18:08 2015
SUP Scan for mirror completed at Sun Jun 28 12:07:27 2015




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  47997697 Jun 29 03:07 ls-lRA.gz


Re: wm0: wm0: ROM image version 3.11 is older than 3.25

2015-06-28 Thread Masanobu SAITOH

On 2015/06/28 0:33, Thomas Klausner wrote:

Hi!

I noted this message today:

wm0: ROM image version 3.11 is older than 3.25

What does it want to tell me?


 Perhaps there is nothing to do by yourself :-)


  Thomas


 I210 and I211 have a bug that the PLL misconfigured very slowly.
The NVM image version 3.25 and newer have a workaround to solve
the problem but not in others. See 25. Slow System Clock,
Intel Ethernet Controller I210 Specification Update

 Even if your card's NVM image is old, our driver has a workaround
code to recover from it (wm_pll_workaround_i21()). If the code
detect the wrong state, The follwing message will be shown:


if (wa_done)
aprint_verbose_dev(sc-sc_dev, I210 workaround done\n);
}


 The docuemtn says the problem occurs one oer 1000 power cycles.
I wrote avobe aprint_verbose_dev() to check if the code really
works, but I've never seen the message yet.

 One month ago, I wrote a code to print the NVM image version
(I don't know that code is correct or not because the documents
don't explain the format explicitly). If you find a new errata
in a spec update document and it has note the NVM version, you
can compare it with the output of NetBSD's dmesg.

Note that it's differnt from the BOOT ROM version which is printed
by boot ROM.

Regards.

--
---
SAITOH Masanobu (msai...@execsw.org
 msai...@netbsd.org)