NetBSD Problem Report #52061

From www@NetBSD.org  Fri Mar 10 22:32:55 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6D9D87A1B7
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 10 Mar 2017 22:32:55 +0000 (UTC)
Message-Id: <20170310223253.3AF3C7A28C@mollari.NetBSD.org>
Date: Fri, 10 Mar 2017 22:32:53 +0000 (UTC)
From: miod@online.fr
Reply-To: miod@online.fr
To: gnats-bugs@NetBSD.org
Subject: X no longer works on (some) hpcmips
X-Send-Pr-Version: www-1.0

>Number:         52061
>Category:       port-hpcmips
>Synopsis:       X no longer works on (some) hpcmips
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-hpcmips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 10 22:35:00 +0000 2017
>Originator:     Miod Vallat
>Release:        7.1_RC2
>Organization:
>Environment:
NetBSD assac.gentiane.org 7.1_RC2 NetBSD 7.1_RC2 (GENERIC.201702210739Z) hpcmips

>Description:
After installing 7.1_RC2 on a Nec 790, `startx' doesn't display anything after supposedly switching to graphics mode, the first few lines of the X startup message remain displayed, while `ps x' shows invisible processes:

# ps x
PID TTY   STAT    TIME COMMAND
  0 ?     DKl  0:29.37 [system]
  1 ?     Is   0:00.32 init 
204 ?     Ss   0:01.44 /usr/sbin/syslogd -s 
233 ?     Ss   0:06.67 sshd: root@pts/3 (sshd)
369 ?     Is   0:00.27 /usr/sbin/sshd 
380 ?     Ss   0:27.76 /usr/sbin/ntpd -p /var/run/ntpd.pid 
682 ?     Is   0:01.85 /usr/libexec/postfix/master -w 
708 ?     Is   0:00.05 /usr/sbin/inetd -l 
715 ?     Ss   0:00.77 /usr/sbin/cron 
823 ?     S<   1:06.96 /usr/X11R7/bin/X :0 -noretro -auth /root/.serverauth.861
198 pts/0 Is+  0:00.41 sh 
194 pts/1 Is+  0:00.45 sh 
206 pts/2 Is+  0:00.40 sh 
239 pts/3 O+   0:00.09 ps -x 
958 pts/3 Ss   0:00.51 -sh 
200 ttyE0 S    0:22.31 xclock 
564 ttyE0 I    0:01.43 twm 
621 ttyE0 Is   0:04.39 login 
696 ttyE0 I+   0:00.37 xinit /etc/X11/xinit/xinitrc -- /usr/X11R7/bin/X :0 -nor
723 ttyE0 I    0:02.33 /usr/X11R7/bin/xterm 
861 ttyE0 I+   0:00.20 /bin/sh /usr/X11R7/bin/startx 
880 ttyE0 I    0:00.92 -sh 
885 ttyE0 I    0:02.55 /usr/X11R7/bin/xterm 
895 ttyE0 I    0:02.36 /usr/X11R7/bin/xterm 

While this happens, /var/log/Xorg.0.log says:
[ 15228.124] 
X.Org X Server 1.10.6
Release Date: 2011-07-08
[ 15228.220] X Protocol Version 11, Revision 0
[ 15228.253] Build Operating System: NetBSD/hpcmips  - 
[ 15228.286] Current Operating System: NetBSD assac.gentiane.org 7.1_RC2 NetBSD 7.1_RC2 (GENERIC.201702210739Z) hpcmips
[ 15228.357] Build Date: 01 August 2011  01:01:00AM
[ 15228.390]  
[ 15228.449] Current version of pixman: 0.32.6
[ 15228.487]    Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
[ 15228.546] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 15228.642] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 10 22:16:04 2017
[ 15228.822] (II) Loader magic: 0x6d7810
[ 15228.825] (II) Module ABI versions:
[ 15228.827]    X.Org ANSI C Emulation: 0.4
[ 15228.830]    X.Org Video Driver: 10.0
[ 15228.833]    X.Org XInput driver : 12.2
[ 15228.835]    X.Org Server Extension : 5.0
[ 15228.972] (==) Using default built-in configuration (12 lines)
[ 15229.003] (==) --- Start of built-in configuration ---
[ 15229.006]    Section "Device"
[ 15229.009]            Identifier      "Builtin Default wsfb Device 0"
[ 15229.011]            Driver  "wsfb"
[ 15229.014]    EndSection
[ 15229.017]    Section "Screen"
[ 15229.019]            Identifier      "Builtin Default wsfb Screen 0"
[ 15229.022]            Device  "Builtin Default wsfb Device 0"
[ 15229.025]    EndSection
[ 15229.027]    Section "ServerLayout"
[ 15229.030]            Identifier      "Builtin Default Layout"
[ 15229.032]            Screen  "Builtin Default wsfb Screen 0"
[ 15229.035]    EndSection
[ 15229.038] (==) --- End of built-in configuration ---
[ 15229.090] (==) ServerLayout "Builtin Default Layout"
[ 15229.113] (**) |-->Screen "Builtin Default wsfb Screen 0" (0)
[ 15229.116] (**) |   |-->Monitor "<default monitor>"
[ 15229.240] (**) |   |-->Device "Builtin Default wsfb Device 0"
[ 15229.243] (==) No monitor specified for screen "Builtin Default wsfb Screen 0".
        Using a default monitor configuration.
[ 15229.250] (==) Not automatically adding devices
[ 15229.253] (==) Not automatically enabling devices
[ 15229.591] (==) 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/
[ 15229.594] (==) ModulePath set to "/usr/X11R7/lib/modules"
[ 15229.597] (==) |-->Input Device "<default pointer>"
[ 15229.600] (==) |-->Input Device "<default keyboard>"
[ 15229.603] (==) The core pointer device wasn't specified explicitly in the layout.
        Using the default mouse configuration.
[ 15229.605] (==) The core keyboard device wasn't specified explicitly in the layout.
        Using the default keyboard configuration.
[ 15229.614] (II) LoadModule: "extmod"
[ 15229.764] (II) Loading /usr/X11R7/lib/modules/extensions/libextmod.so
[ 15229.840] (II) Module extmod: vendor="X.Org Foundation"
[ 15229.843]    compiled for 1.10.6, module version = 1.0.0
[ 15229.847]    Module class: X.Org Server Extension
[ 15229.849]    ABI class: X.Org Server Extension, version 5.0
[ 15229.853] (II) Loading extension MIT-SCREEN-SAVER
[ 15229.855] (II) Loading extension XFree86-VidModeExtension
[ 15229.858] (II) Loading extension XFree86-DGA
[ 15229.872] (II) Loading extension DPMS
[ 15229.875] (II) Loading extension XVideo
[ 15229.904] (II) Loading extension XVideo-MotionCompensation
[ 15229.907] (II) Loading extension X-Resource
[ 15229.910] (II) LoadModule: "dbe"
[ 15229.933] (II) Loading /usr/X11R7/lib/modules/extensions/libdbe.so
[ 15229.993] (II) Module dbe: vendor="X.Org Foundation"
[ 15229.996]    compiled for 1.10.6, module version = 1.0.0
[ 15229.999]    Module class: X.Org Server Extension
[ 15230.001]    ABI class: X.Org Server Extension, version 5.0
[ 15230.004] (II) Loading extension DOUBLE-BUFFER
[ 15230.007] (II) LoadModule: "glx"
[ 15230.045] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[ 15230.379] (II) Module glx: vendor="X.Org Foundation"
[ 15230.382]    compiled for 1.10.6, module version = 1.0.0
[ 15230.385]    ABI class: X.Org Server Extension, version 5.0
[ 15230.411] (==) AIGLX enabled
[ 15230.414] (II) Loading extension GLX
[ 15230.443] (II) LoadModule: "record"
[ 15230.476] (II) Loading /usr/X11R7/lib/modules/extensions/librecord.so
[ 15230.502] (II) Module record: vendor="X.Org Foundation"
[ 15230.505]    compiled for 1.10.6, module version = 1.13.0
[ 15230.508]    Module class: X.Org Server Extension
[ 15230.510]    ABI class: X.Org Server Extension, version 5.0
[ 15230.513] (II) Loading extension RECORD
[ 15230.516] (II) LoadModule: "dri"
[ 15230.542] (II) Loading /usr/X11R7/lib/modules/extensions/libdri.so
[ 15230.587] (II) Module dri: vendor="X.Org Foundation"
[ 15230.590]    compiled for 1.10.6, module version = 1.0.0
[ 15230.593]    ABI class: X.Org Server Extension, version 5.0
[ 15230.620] (II) Loading extension XFree86-DRI
[ 15230.643] (II) LoadModule: "dri2"
[ 15230.670] (II) Loading /usr/X11R7/lib/modules/extensions/libdri2.so
[ 15230.703] (II) Module dri2: vendor="X.Org Foundation"
[ 15230.706]    compiled for 1.10.6, module version = 1.2.0
[ 15230.709]    ABI class: X.Org Server Extension, version 5.0
[ 15230.740] (II) Loading extension DRI2
[ 15230.743] (II) LoadModule: "wsfb"
[ 15230.762] (II) Loading /usr/X11R7/lib/modules/drivers/wsfb_drv.so
[ 15230.802] (II) Module wsfb: vendor="X.Org Foundation"
[ 15230.805]    compiled for 1.10.6, module version = 0.4.0
[ 15230.808]    ABI class: X.Org Video Driver, version 10.0
[ 15230.863] (II) LoadModule: "mouse"
[ 15230.880] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[ 15230.933] (II) Module mouse: vendor="X.Org Foundation"
[ 15230.935]    compiled for 1.10.6, module version = 1.9.0
[ 15230.939]    Module class: X.Org XInput Driver
[ 15230.941]    ABI class: X.Org XInput driver, version 12.2
[ 15230.962] (II) LoadModule: "kbd"
[ 15230.977] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[ 15231.041] (II) Module kbd: vendor="X.Org Foundation"
[ 15231.044]    compiled for 1.10.6, module version = 1.8.0
[ 15231.047]    Module class: X.Org XInput Driver
[ 15231.050]    ABI class: X.Org XInput driver, version 12.2
[ 15231.053] (II) wsfb: driver for wsdisplay framebuffer: wsfb
[ 15231.087] (--) Using wscons driver on /dev/ttyE0 in pcvt compatibility mode (version 3.32)
[ 15231.090] (--) using VT number 1
[ 15231.125] (WW) Falling back to old probe method for wsfb
[ 15231.149] (II) Loading /usr/X11R7/lib/modules/drivers/wsfb_drv.so
[ 15231.152] (II) wsfb(0): using default device
[ 15231.155] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 15231.160] (WW) ioctl(WSDISPLAYIO_GET_FBINFO) failed, falling back to old method
[ 15231.163] (II) wsfb(0): Creating default Display subsection in Screen section
        "Builtin Default wsfb Screen 0" for depth/fbbpp 16/16
[ 15231.166] (==) wsfb(0): Depth 16, (==) framebuffer bpp 16
[ 15231.170] (==) wsfb(0): RGB weight 565
[ 15231.173] (==) wsfb(0): Default visual is TrueColor
[ 15231.198] (==) wsfb(0): Using gamma correction (1.0, 1.0, 1.0)
[ 15231.204] (II) wsfb(0): Vidmem: 300k
[ 15231.207] (II) fbi_flags: 0
[ 15231.210] (==) wsfb(0): DPI set to (96, 96)
[ 15231.214] (==) wsfb(0): Using HW cursor
[ 15231.216] (**) wsfb(0): Using "Shadow Framebuffer"
[ 15231.219] (II) Loading sub module "shadow"
[ 15231.222] (II) LoadModule: "shadow"
[ 15231.265] (II) Loading /usr/X11R7/lib/modules/extensions/libshadow.so
[ 15231.314] (II) Module shadow: vendor="X.Org Foundation"
[ 15231.317]    compiled for 1.10.6, module version = 1.1.0
[ 15231.320]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 15231.322] (II) Loading sub module "fb"
[ 15231.325] (II) LoadModule: "fb"
[ 15231.426] (II) Loading /usr/X11R7/lib/modules/libfb.so
[ 15231.503] (II) Module fb: vendor="X.Org Foundation"
[ 15231.506]    compiled for 1.10.6, module version = 1.0.0
[ 15231.509]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 15231.512] (II) Loading sub module "ramdac"
[ 15231.515] (II) LoadModule: "ramdac"
[ 15231.518] (II) Module "ramdac" already built-in
[ 15232.173] (==) wsfb(0): Backing store disabled
[ 15232.242] (WW) No HW cursor support found
[ 15232.485] (==) RandR enabled
[ 15232.490] (II) Initializing built-in extension Generic Event Extension
[ 15232.494] (II) Initializing built-in extension SHAPE
[ 15232.496] (II) Initializing built-in extension MIT-SHM
[ 15232.499] (II) Initializing built-in extension XInputExtension
[ 15232.502] (II) Initializing built-in extension XTEST
[ 15232.505] (II) Initializing built-in extension BIG-REQUESTS
[ 15232.508] (II) Initializing built-in extension SYNC
[ 15232.511] (II) Initializing built-in extension XKEYBOARD
[ 15232.514] (II) Initializing built-in extension XC-MISC
[ 15232.517] (II) Initializing built-in extension SECURITY
[ 15232.520] (II) Initializing built-in extension XINERAMA
[ 15232.523] (II) Initializing built-in extension XFIXES
[ 15232.526] (II) Initializing built-in extension XFree86-Bigfont
[ 15232.529] (II) Initializing built-in extension RENDER
[ 15232.532] (II) Initializing built-in extension RANDR
[ 15232.535] (II) Initializing built-in extension COMPOSITE
[ 15232.537] (II) Initializing built-in extension DAMAGE
[ 15233.242] MIT-SHM extension disabled due to lack of kernel support
[ 15233.653] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
[ 15233.857] (II) AIGLX: Screen 0 is not DRI2 capable
[ 15233.866] (II) AIGLX: Screen 0 is not DRI capable
[ 15241.788] (II) AIGLX: Loaded and initialized /usr/X11R7/lib/modules/dri/swrast_dri.so
[ 15241.875] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 15315.976] (II) Using input driver 'mouse' for '<default pointer>'
[ 15316.055] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[ 15316.081] (**) Option "CorePointer"
[ 15316.084] (**) <default pointer>: always reports core events
[ 15316.187] (WW) <default pointer>: No Device specified, looking for one...
[ 15316.247] (II) <default pointer>: found Device "/dev/wsmouse"
[ 15316.251] (--) <default pointer>: Device: "/dev/wsmouse"
[ 15316.254] (==) <default pointer>: Protocol: "WSMouse"
[ 15316.258] (**) <default pointer>: always reports core events
[ 15316.261] (**) Option "Device" "/dev/wsmouse"
[ 15316.314] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
[ 15316.375] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
[ 15316.378] (**) <default pointer>: Buttons: 9
[ 15316.400] (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE)
[ 15316.493] (**) <default pointer>: (accel) keeping acceleration scheme 1
[ 15316.496] (**) <default pointer>: (accel) acceleration profile 0
[ 15316.501] (**) <default pointer>: (accel) acceleration factor: 2.000
[ 15316.505] (**) <default pointer>: (accel) acceleration threshold: 4
[ 15316.589] (II) Using input driver 'kbd' for '<default keyboard>'
[ 15316.592] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[ 15316.595] (**) Option "CoreKeyboard"
[ 15316.598] (**) <default keyboard>: always reports core events
[ 15316.631] (**) <default keyboard>: always reports core events
[ 15316.634] (**) Option "Protocol" "standard"
[ 15316.638] (**) Option "XkbRules" "base"
[ 15316.642] (**) Option "XkbModel" "pc105"
[ 15316.646] (**) Option "XkbLayout" "us"
[ 15316.650] (II) XINPUT: Adding extended input device "<default keyboard>" (type: KEYBOARD)

>How-To-Repeat:
Install 7.1_RC2 on a Nec MobilePro 790.


>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.