Solved device /dev/ums0 already opened

X fails to come up when I configure it thus in /etc/X11/xorg.conf:

Code:
Section "Files"
  FontPath "/usr/local/lib/X11/fonts/dejavu/"
EndSection

Section "Module"
  Load "freetype"
EndSection

Section "Device"
  Identifier "Card0"
  Driver "Intel"
  # BusID "PCI:0:2:0"
EndSection
What should I be doing differently? Here are the final few lines of /var/log/Xorg.0.log:
Code:
[  15.469] (**) sysmouse: (accel) acceleration factor: 2.000
[  15.469] (**) sysmouse: (accel) acceleration threshold: 4
[  15.469] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0
[  15.469] (II) sysmouse: SetupAuto: protocol is SysMouse
[  15.469] (II) config/devd: device /dev/ums0 already opened
[  15.469] (II) config/devd: device /dev/ums1 already opened
[  15.502] (II) config/devd: terminating backend...
[  15.502] (II) UnloadModule: "mouse"
[  15.502] (II) UnloadModule: "kbd"
[  15.546] (II) Server terminated successfully (0). Closing log file.
... and here's the whole /var/log/Xorg.0.log:
Code:
[  13.859]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[  13.859] X Protocol Version 11, Revision 0
[  13.859] Build Operating System: FreeBSD 10.1-RELEASE-p31 amd64
[  13.859] Current Operating System: FreeBSD tigress.x441afea5.org 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
[  13.859] Build Date: 17 March 2016  04:10:27AM
[  13.859] 
[  13.859] Current version of pixman: 0.32.8
[  13.859]  Before reporting problems, check http://wiki.x.org
  to make sure that you have the latest version.
[  13.859] Markers: (--) probed, (**) from config file, (==) default setting,
  (++) from command line, (!!) notice, (II) informational,
  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  13.860] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr  3 03:24:22 2016
[  13.910] (==) Using config file: "/etc/X11/xorg.conf"
[  13.915] (==) No Layout section.  Using the first Screen section.
[  13.915] (==) No screen section available. Using defaults.
[  13.915] (**) |-->Screen "Default Screen Section" (0)
[  13.915] (**) |  |-->Monitor "<default monitor>"
[  13.916] (==) No device specified for screen "Default Screen Section".
  Using the first device section listed.
[  13.916] (**) |  |-->Device "Card0"
[  13.916] (==) No monitor specified for screen "Default Screen Section".
  Using a default monitor configuration.
[  13.916] (==) Automatically adding devices
[  13.916] (==) Automatically enabling devices
[  13.916] (==) Not automatically adding GPU devices
[  13.947] (WW) The directory "/usr/local/lib/X11/fonts/dejavu/" does not exist.
[  13.948]  Entry deleted from font path.
[  14.042] (**) FontPath set to:
  /usr/local/share/fonts/misc/,
  /usr/local/share/fonts/TTF/,
  /usr/local/share/fonts/OTF/,
  /usr/local/share/fonts/Type1/,
  /usr/local/share/fonts/100dpi/,
  /usr/local/share/fonts/75dpi/
[  14.042] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[  14.042] (II) The server relies on devd to provide the list of input devices.
  If no devices become available, reconfigure devd or disable AutoAddDevices.
[  14.042] (II) Loader magic: 0x801510
[  14.042] (II) Module ABI versions:
[  14.042]  X.Org ANSI C Emulation: 0.4
[  14.042]  X.Org Video Driver: 19.0
[  14.042]  X.Org XInput driver : 21.0
[  14.042]  X.Org Server Extension : 9.0
[  14.042] (--) PCI:*(0:0:2:0) 8086:29c2:1028:020d rev 2, Mem @ 0xfdf00000/524288, 0xd0000000/268435456, 0xfdb00000/1048576, I/O @ 0x0000ff00/8, BIOS @ 0x????????/65536
[  14.042] (II) "glx" will be loaded by default.
[  14.042] (II) LoadModule: "glx"
[  14.061] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[  14.165] (II) Module glx: vendor="X.Org Foundation"
[  14.165]  compiled for 1.17.4, module version = 1.0.0
[  14.165]  ABI class: X.Org Server Extension, version 9.0
[  14.165] (==) AIGLX enabled
[  14.166] (II) LoadModule: "intel"
[  14.166] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
[  14.201] (II) Module intel: vendor="X.Org Foundation"
[  14.201]  compiled for 1.17.4, module version = 2.21.15
[  14.201]  Module class: X.Org Video Driver
[  14.201]  ABI class: X.Org Video Driver, version 19.0
[  14.201] (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, HD Graphics,
  HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
  HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
  HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
  HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
[  14.202] (--) Using syscons driver with X support (version 2.0)
[  14.202] (--) using VT number 9

[  14.691] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  14.691] (II) intel(0): Creating default Display subsection in Screen section
  "Default Screen Section" for depth/fbbpp 24/32
[  14.691] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[  14.691] (==) intel(0): RGB weight 888
[  14.691] (==) intel(0): Default visual is TrueColor
[  14.691] (--) intel(0): Integrated Graphics Chipset: Intel(R) G33
[  14.692] (**) intel(0): Relaxed fencing enabled
[  14.692] (**) intel(0): Wait on SwapBuffers? enabled
[  14.692] (**) intel(0): Triple buffering? enabled
[  14.692] (**) intel(0): Framebuffer tiled
[  14.692] (**) intel(0): Pixmaps tiled
[  14.692] (**) intel(0): 3D buffers tiled
[  14.692] (**) intel(0): SwapBuffers wait enabled
[  14.692] (==) intel(0): video overlay key set to 0x101fe
[  14.724] (II) intel(0): Output VGA1 has no monitor section
[  14.766] (II) intel(0): EDID for output VGA1
[  14.766] (II) intel(0): Manufacturer: MAG  Model: 302  Serial#: 101740
[  14.766] (II) intel(0): Year: 2004  Week: 38
[  14.766] (II) intel(0): EDID Version: 1.3
[  14.766] (II) intel(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
[  14.766] (II) intel(0): Sync:  Separate
[  14.766] (II) intel(0): Max Image Size [cm]: horiz.: 32  vert.: 24
[  14.766] (II) intel(0): Gamma: 1.27
[  14.766] (II) intel(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
[  14.766] (II) intel(0): First detailed timing not preferred mode in violation of standard!
[  14.766] (II) intel(0): redX: 0.618 redY: 0.349  greenX: 0.280 greenY: 0.605
[  14.766] (II) intel(0): blueX: 0.152 blueY: 0.063  whiteX: 0.281 whiteY: 0.310
[  14.766] (II) intel(0): Supported established timings:
[  14.766] (II) intel(0): 720x400@70Hz
[  14.766] (II) intel(0): 640x480@60Hz
[  14.766] (II) intel(0): 800x600@60Hz
[  14.766] (II) intel(0): 800x600@75Hz
[  14.766] (II) intel(0): 1024x768@60Hz
[  14.766] (II) intel(0): 1024x768@75Hz
[  14.766] (II) intel(0): Manufacturer's mask: 0
[  14.766] (II) intel(0): Supported standard timings:
[  14.766] (II) intel(0): #0: hsize: 640  vsize 480  refresh: 85  vid: 22833
[  14.766] (II) intel(0): #2: hsize: 800  vsize 600  refresh: 85  vid: 22853
[  14.766] (II) intel(0): #3: hsize: 800  vsize 600  refresh: 100  vid: 26693
[  14.766] (II) intel(0): #4: hsize: 1024  vsize 768  refresh: 85  vid: 22881
[  14.766] (II) intel(0): #5: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[  14.766] (II) intel(0): Supported detailed timing:
[  14.766] (II) intel(0): clock: 40.5 MHz  Image Size:  310 x 230 mm
[  14.766] (II) intel(0): h_active: 640  h_sync: 656  h_sync_end 720 h_blank_end 800 h_border: 0
[  14.766] (II) intel(0): v_active: 480  v_sync: 481  v_sync_end 484 v_blanking: 506 v_border: 0
[  14.766] (II) intel(0): Monitor name: 771FS-s
[  14.766] (II) intel(0): Ranges: V min: 50 V max: 160 Hz, H min: 30 H max: 70 kHz, PixClock max 115 MHz
[  14.766] (II) intel(0): Serial No: FAIU49101740U
[  14.766] (II) intel(0): EDID (in hex):
[  14.766] (II) intel(0):  00ffffffffffff00342702036c8d0100
[  14.766] (II) intel(0):  260e01030820181be85c119e59479b27
[  14.766] (II) intel(0):  10484fa14a0031590101455945686159
[  14.766] (II) intel(0):  818000000000d20f80a020e01a101040
[  14.766] (II) intel(0):  130036e610000018000000fc00373731
[  14.766] (II) intel(0):  46532d730a2020202020000000fd0032
[  14.766] (II) intel(0):  a01e460b000a202020202020000000ff
[  14.766] (II) intel(0):  00464149553439313031373430550035
[  14.766] (II) intel(0): Printing probed modes for output VGA1
[  14.766] (II) intel(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[  14.766] (II) intel(0): Modeline "1024x768"x85.0  94.50  1024 1072 1168 1376  768 769 772 808 +hsync +vsync (68.7 kHz e)
[  14.766] (II) intel(0): Modeline "1024x768"x75.1  78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.1 kHz e)
[  14.766] (II) intel(0): Modeline "1024x768"x60.0  65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[  14.766] (II) intel(0): Modeline "800x600"x100.0  68.17  800 848 936 1072  600 601 604 636 -hsync +vsync (63.6 kHz)
[  14.766] (II) intel(0): Modeline "800x600"x85.1  56.25  800 832 896 1048  600 601 604 631 +hsync +vsync (53.7 kHz e)
[  14.766] (II) intel(0): Modeline "800x600"x75.0  49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[  14.766] (II) intel(0): Modeline "800x600"x60.3  40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[  14.766] (II) intel(0): Modeline "640x480"x100.0  40.50  640 656 720 800  480 481 484 506 -hsync -vsync (50.6 kHz e)
[  14.766] (II) intel(0): Modeline "640x480"x85.0  36.00  640 696 752 832  480 481 484 509 -hsync -vsync (43.3 kHz e)
[  14.766] (II) intel(0): Modeline "640x480"x60.0  25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[  14.766] (II) intel(0): Modeline "720x400"x70.1  28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[  14.766] (II) intel(0): Output VGA1 connected
[  14.766] (II) intel(0): Using exact sizes for initial modes
[  14.766] (II) intel(0): Output VGA1 using initial mode 1024x768
[  14.766] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[  14.766] (II) intel(0): Kernel page flipping support detected, enabling
[  14.766] (==) intel(0): DPI set to (96, 96)
[  14.766] (II) Loading sub module "fb"
[  14.766] (II) LoadModule: "fb"
[  14.767] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[  14.777] (II) Module fb: vendor="X.Org Foundation"
[  14.777]  compiled for 1.17.4, module version = 1.0.0
[  14.777]  ABI class: X.Org ANSI C Emulation, version 0.4
[  14.777] (II) Loading sub module "dri2"
[  14.777] (II) LoadModule: "dri2"
[  14.777] (II) Module "dri2" already built-in
[  14.777] (==) Depth 24 pixmap format is 32 bpp
[  14.787] (II) intel(0): [DRI2] Setup complete
[  14.787] (II) intel(0): [DRI2]  DRI driver: i915
[  14.787] (II) intel(0): Allocated new frame buffer 1024x768 stride 4096, tiled
[  14.794] (II) UXA(0): Driver registered support for the following operations:
[  14.794] (II)  solid
[  14.794] (II)  copy
[  14.794] (II)  composite (RENDER acceleration)
[  14.794] (II)  put_image
[  14.794] (II)  get_image
[  14.794] (==) intel(0): Backing store enabled
[  14.794] (==) intel(0): Silken mouse enabled
[  14.795] (II) intel(0): Initializing HW Cursor
[  14.795] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  14.796] (==) intel(0): DPMS enabled
[  14.796] (==) intel(0): Intel XvMC decoder disabled
[  14.796] (II) intel(0): Set up textured video
[  14.796] (II) intel(0): Set up overlay video
[  14.796] (II) intel(0): direct rendering: DRI2 Enabled
[  14.862] (--) RandR disabled
[  15.051] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  15.052] (II) AIGLX: enabled GLX_ARB_create_context
[  15.052] (II) AIGLX: enabled GLX_ARB_create_context_profile
[  15.052] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[  15.052] (II) AIGLX: enabled GLX_INTEL_swap_event
[  15.052] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[  15.052] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[  15.052] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[  15.052] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[  15.052] (II) AIGLX: Loaded and initialized i915
[  15.052] (II) GLX: Initialized DRI2 GL provider for screen 0
[  15.052] (II) intel(0): Setting screen physical size to 270 x 203
[  15.428] (II) config/devd: probing input devices...
[  15.429] (II) config/devd: adding input device (null) (/dev/kbdmux)
[  15.429] (II) LoadModule: "kbd"
[  15.436] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
[  15.443] (II) Module kbd: vendor="X.Org Foundation"
[  15.443]  compiled for 1.17.4, module version = 1.8.1
[  15.443]  Module class: X.Org XInput Driver
[  15.443]  ABI class: X.Org XInput driver, version 21.0
[  15.443] (II) Using input driver 'kbd' for 'kbdmux'
[  15.443] (**) kbdmux: always reports core events
[  15.443] (**) kbdmux: always reports core events
[  15.443] (**) Option "Protocol" "standard"
[  15.443] (**) Option "XkbRules" "base"
[  15.443] (**) Option "XkbModel" "pc105"
[  15.443] (**) Option "XkbLayout" "us"
[  15.443] (**) Option "config_info" "devd:kbdmux"
[  15.443] (II) XINPUT: Adding extended input device "kbdmux" (type: KEYBOARD, id 6)
[  15.443] (II) config/devd: kbdmux is enabled, ignoring device ukbd0
[  15.443] (II) config/devd: kbdmux is enabled, ignoring device atkbd0
[  15.444] (II) config/devd: adding input device (null) (/dev/sysmouse)
[  15.444] (II) LoadModule: "mouse"
[  15.444] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[  15.468] (II) Module mouse: vendor="X.Org Foundation"
[  15.468]  compiled for 1.17.4, module version = 1.9.1
[  15.468]  Module class: X.Org XInput Driver
[  15.468]  ABI class: X.Org XInput driver, version 21.0
[  15.468] (II) Using input driver 'mouse' for 'sysmouse'
[  15.468] (**) sysmouse: always reports core events
[  15.468] (**) Option "Device" "/dev/sysmouse"
[  15.468] (==) sysmouse: Protocol: "Auto"
[  15.468] (**) sysmouse: always reports core events
[  15.468] (==) sysmouse: Emulate3Buttons, Emulate3Timeout: 50
[  15.468] (**) sysmouse: ZAxisMapping: buttons 4 and 5
[  15.468] (**) sysmouse: Buttons: 5
[  15.468] (**) Option "config_info" "devd:sysmouse"
[  15.468] (II) XINPUT: Adding extended input device "sysmouse" (type: MOUSE, id 7)
[  15.469] (**) sysmouse: (accel) keeping acceleration scheme 1
[  15.469] (**) sysmouse: (accel) acceleration profile 0
[  15.469] (**) sysmouse: (accel) acceleration factor: 2.000
[  15.469] (**) sysmouse: (accel) acceleration threshold: 4
[  15.469] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0
[  15.469] (II) sysmouse: SetupAuto: protocol is SysMouse
[  15.469] (II) config/devd: device /dev/ums0 already opened
[  15.469] (II) config/devd: device /dev/ums1 already opened
[  15.502] (II) config/devd: terminating backend...
[  15.502] (II) UnloadModule: "mouse"
[  15.502] (II) UnloadModule: "kbd"
[  15.546] (II) Server terminated successfully (0). Closing log file.
 
I'm starting X as root, as part of system startup. There is no .xinitrc or .xsession. Your response was quite useful, as it prompted me to look closely at exactly what I was doing. The shell script containing the startx command sends standard error to a different file, which revealed to me that (duh) I hadn't yet compiled/installed the window manager.

Although I should have checked all this before posing a question (my abject apologies, btw), your response (and this response) yield a takeaway for any lurkers: If you see that weird error message about /dev/ums0, check that you actually have a window manager to run!

Compiled and installed a window manager, and it all works.
 
Back
Top