Re: Caught signal 6 (Abort trap). Server aborting

From: Chris Hill <chris_at_monochrome.org>
Date: Mon, 29 May 2023 03:54:45 UTC
I am no X expert, but it would help you (and those of us who may try to 
help troubleshoot) to know what your graphics hardware is. You may need 
to install a non-obvious driver from ports, which is what happened to 
me. My system will tell me this information if I ask it:

 	$ pciconf -lv | grep -A4 vga

Or just use the bare `pciconf -lv` and look through the output for 
anything that seems likely. On running the command above, with the grep, 
I get this response:

     vgapci0@pci0:0:2:0:     class=0x030000 card=0x08711028 chip=0x3e928086
      rev=0x00 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'CoffeeLake-S GT2 [UHD Graphics 630]'
     class      = display
     subclass   = VGA

"UHD Graphics 630" meant that I had to install 
graphics/drm-fbsd12.0-kmod from ports - but I'm running 12.x. I don't 
know if this is the answer for your 13.x system, or for other hardware.

Also, your output suggests you may have an xorg.conf; I think the modern 
way is to run without one, at least for starters. The handbook knows 
more that I do about this.

Just a couple of thoughts. Best of luck.

And I apologize for top-posting.


On Mon, 29 May 2023, hlyg wrote:

> i have success with xorg's vesa, then i install intel driver, it doesn't 
> work, below is X log:
>
> [    90.612]
> X.Org X Server 1.21.1.7
> X Protocol Version 11, Revision 0
> [    90.612] Current Operating System: FreeBSD fbsd 13.2-RELEASE FreeBSD 
> 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC i386
> [    90.612]
> [    90.612] Current version of pixman: 0.42.2
> [    90.612]     Before reporting problems, check http://wiki.x.org
>     to make sure that you have the latest version.
> [    90.612] Markers: (--) probed, (**) from config file, (==) default 
> setting,
>     (++) from command line, (!!) notice, (II) informational,
>     (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> [    90.613] (==) Log file: "/var/log/Xorg.0.log", Time: Mon May 29 03:09:03 
> 2023
> [    90.629] (==) Using system config directory 
> "/usr/local/share/X11/xorg.conf.d"
> [    90.633] (==) No Layout section.  Using the first Screen section.
> [    90.633] (==) No screen section available. Using defaults.
> [    90.633] (**) |-->Screen "Default Screen Section" (0)
> [    90.633] (**) |   |-->Monitor "<default monitor>"
> [    90.636] (==) No monitor specified for screen "Default Screen Section".
>     Using a default monitor configuration.
> [    90.636] (==) Automatically adding devices
> [    90.636] (==) Automatically enabling devices
> [    90.636] (==) Not automatically adding GPU devices
> [    90.637] (==) Automatically binding GPU devices
> [    90.638] (==) Max clients allowed: 256, resource mask: 0x1fffff
> [    90.673] (==) 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/,
>     catalogue:/usr/local/etc/X11/fontpath.d
> [    90.673] (==) ModulePath set to "/usr/local/lib/xorg/modules"
> [    90.673] (II) The server relies on udev to provide the list of input 
> devices.
>     If no devices become available, reconfigure udev or disable 
> AutoAddDevices.
> [    90.675] (II) Module ABI versions:
> [    90.675]     X.Org ANSI C Emulation: 0.4
> [    90.675]     X.Org Video Driver: 25.2
> [    90.675]     X.Org XInput driver : 24.4
> [    90.675]     X.Org Server Extension : 10.0
> [    90.686] (--) PCI:*(0@0:2:0) 8086:2a42:8086:2a42 rev 9, Mem @ 
> 0xfe400000/4194304, 0xd0000000/268435456, I/O @ 0x0000c080/8, BIOS @ 
> 0x????????/65536
> [    90.686] (--) PCI: (0@0:2:1) 8086:2a43:8086:2a42 rev 9, Mem @ 
> 0xfea00000/1048576
> [    90.688] (II) LoadModule: "glx"
> [    90.692] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
> [    90.736] (II) Module glx: vendor="X.Org Foundation"
> [    90.736]     compiled for 1.21.1.7, module version = 1.0.0
> [    90.736]     ABI class: X.Org Server Extension, version 10.0
> [    90.738] (==) Matched intel as autoconfigured driver 0
> [    90.738] (==) Matched modesetting as autoconfigured driver 1
> [    90.738] (==) Matched scfb as autoconfigured driver 2
> [    90.738] (==) Matched vesa as autoconfigured driver 3
> [    90.738] (==) Assigned the driver to the xf86ConfigLayout
> [    90.738] (II) LoadModule: "intel"
> [    90.740] (WW) Warning, couldn't open module intel
> [    90.740] (EE) Failed to load module "intel" (module does not exist, 0)
> [    90.740] (II) LoadModule: "modesetting"
> [    90.740] (II) Loading 
> /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
> [    90.764] (II) Module modesetting: vendor="X.Org Foundation"
> [    90.764]     compiled for 1.21.1.7, module version = 1.21.1
> [    90.764]     Module class: X.Org Video Driver
> [    90.764]     ABI class: X.Org Video Driver, version 25.2
> [    90.766] (II) LoadModule: "scfb"
> [    90.766] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
> [    90.768] (II) Module scfb: vendor="X.Org Foundation"
> [    90.768]     compiled for 1.21.1.7, module version = 0.0.5
> [    90.768]     ABI class: X.Org Video Driver, version 25.2
> [    90.768] (II) LoadModule: "vesa"
> [    90.768] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
> [    90.770] (II) Module vesa: vendor="X.Org Foundation"
> [    90.770]     compiled for 1.21.1.7, module version = 2.5.0
> [    90.770]     Module class: X.Org Video Driver
> [    90.770]     ABI class: X.Org Video Driver, version 25.2
> [    90.771] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
> [    90.771] (II) scfb: driver for wsdisplay framebuffer: scfb
> [    90.771] (II) VESA: driver for VESA chipsets: vesa
> [    90.771] (--) Using syscons driver with X support (version 2.0)
> [    90.771] (--) using VT number 9
>
> [    90.802] (**) modeset(0): claimed PCI slot 0@0:2:0
> [    90.803] (II) modeset(0): using default device
> [    90.803] (WW) Falling back to old probe method for scfb
> [    90.803] scfb trace: probe start
> [    90.803] scfb trace: probe done
> [    90.803] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card 
> support
> [    90.803] (II) modeset(0): Creating default Display subsection in Screen 
> section
>     "Default Screen Section" for depth/fbbpp 24/32
> [    90.804] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
> [    90.804] (==) modeset(0): RGB weight 888
> [    90.804] (==) modeset(0): Default visual is TrueColor
> [    90.804] (II) Loading sub module "glamoregl"
> [    90.804] (II) LoadModule: "glamoregl"
> [    90.804] (II) Loading /usr/local/lib/xorg/modules/libglamoregl.so
> [    90.903] (II) Module glamoregl: vendor="X.Org Foundation"
> [    90.903]     compiled for 1.21.1.7, module version = 1.0.1
> [    90.904]     ABI class: X.Org ANSI C Emulation, version 0.4
> [    93.029] (II) modeset(0): glamor X acceleration enabled on Mesa Mobile 
> Intel? GM45 Express Chipset (CTG)
> [    93.029] (II) modeset(0): glamor initialized
> [    93.029] (==) modeset(0): VariableRefresh: disabled
> [    93.029] (==) modeset(0): AsyncFlipSecondaries: disabled
> [    93.059] (II) modeset(0): Output VGA-1 has no monitor section
> [    93.060] (II) modeset(0): Output HDMI-1 has no monitor section
> [    93.061] (II) modeset(0): Output DP-1 has no monitor section
> [    93.093] (WW) EDID timing clock 85.50 exceeds claimed max 85MHz, fixing
> [    93.093] (II) modeset(0): EDID for output VGA-1
> [    93.093] (II) modeset(0): Manufacturer: PHL  Model: c07e Serial#: 21518
> [    93.093] (II) modeset(0): Year: 2014  Week: 41
> [    93.093] (II) modeset(0): EDID Version: 1.3
> [    93.093] (II) modeset(0): Analog Display Input,  Input Voltage Level: 
> 0.700/0.700 V
> [    93.093] (II) modeset(0): Sync:  Separate  Composite SyncOnGreen
> [    93.093] (II) modeset(0): Max Image Size [cm]: horiz.: 34 vert.: 19
> [    93.093] (II) modeset(0): Gamma: 2.20
> [    93.093] (II) modeset(0): DPMS capabilities: Off; RGB/Color Display
> [    93.093] (II) modeset(0): First detailed timing is preferred mode
> [    93.093] (II) modeset(0): redX: 0.638 redY: 0.333   greenX: 0.290 greenY: 
> 0.591
> [    93.093] (II) modeset(0): blueX: 0.153 blueY: 0.082   whiteX: 0.312 
> whiteY: 0.329
> [    93.093] (II) modeset(0): Supported established timings:
> [    93.094] (II) modeset(0): 720x400@70Hz
> [    93.094] (II) modeset(0): 640x480@60Hz
> [    93.094] (II) modeset(0): 800x600@60Hz
> [    93.094] (II) modeset(0): 1024x768@60Hz
> [    93.094] (II) modeset(0): Manufacturer's mask: 0
> [    93.094] (II) modeset(0): Supported detailed timing:
> [    93.094] (II) modeset(0): clock: 85.5 MHz   Image Size:  344 x 194 mm
> [    93.094] (II) modeset(0): h_active: 1366  h_sync: 1436 h_sync_end 1579 
> h_blank_end 1792 h_border: 0
> [    93.094] (II) modeset(0): v_active: 768  v_sync: 771 v_sync_end 774 
> v_blanking: 798 v_border: 0
> [    93.094] (II) modeset(0): Serial No: UK51441021518
> [    93.094] (II) modeset(0): Monitor name: Philips 166VL
> [    93.094] (II) modeset(0): Ranges: V min: 56 V max: 63 Hz, H min: 30 H 
> max: 60 kHz, PixClock max 86 MHz
> [    93.094] (II) modeset(0): EDID (in hex):
> [    93.094] (II) modeset(0):     00ffffffffffff00410c7ec00e540000
> [    93.094] (II) modeset(0):     291801036e2213782a554da3554a9727
> [    93.094] (II) modeset(0):     154f54a1080001010101010101010101
> [    93.094] (II) modeset(0):     010101010101662156aa51001e30468f
> [    93.094] (II) modeset(0):     330058c21000001e000000ff00554b35
> [    93.094] (II) modeset(0):     31343431303231353138000000fc0050
> [    93.094] (II) modeset(0):     68696c69707320313636564c000000fd
> [    93.095] (II) modeset(0):     00383f1e3c08000a2020202020200063
> [    93.095] (II) modeset(0): Printing probed modes for output VGA-1
> [    93.095] (II) modeset(0): Modeline "1366x768"x59.8   85.50 1366 1436 1579 
> 1792  768 771 774 798 +hsync +vsync (47.7 kHz eP)
> [    93.095] (II) modeset(0): Modeline "1024x768"x60.0   65.00 1024 1048 1184 
> 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
> [    93.095] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 
> 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
> [    93.095] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 
> 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
> [    93.095] (II) modeset(0): Modeline "720x400"x70.1   28.32  720 738 846 
> 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
> [    93.096] (II) modeset(0): EDID for output HDMI-1
> [    93.096] (II) modeset(0): EDID for output DP-1
> [    93.096] (II) modeset(0): Output VGA-1 connected
> [    93.096] (II) modeset(0): Output HDMI-1 disconnected
> [    93.096] (II) modeset(0): Output DP-1 disconnected
> [    93.096] (II) modeset(0): Using exact sizes for initial modes
> [    93.096] (II) modeset(0): Output VGA-1 using initial mode 1366x768 +0+0
> [    93.097] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
> [    93.097] (==) modeset(0): DPI set to (96, 96)
> [    93.097] (II) Loading sub module "fb"
> [    93.097] (II) LoadModule: "fb"
> [    93.097] (II) Module "fb" already built-in
> [    93.097] (II) UnloadModule: "scfb"
> [    93.097] (II) Unloading scfb
> [    93.097] (II) UnloadModule: "vesa"
> [    93.097] (II) Unloading vesa
> [    93.122] (EE)
> Fatal server error:
> [    93.122] (EE) Caught signal 6 (Abort trap). Server aborting
> [    93.122] (EE)
> [    93.122] (EE)
> Please consult the The X.Org Foundation support
>      at http://wiki.x.org
>  for help.
> [    93.122] (EE) Please also check the log file at "/var/log/Xorg.0.log" for 
> additional information.
> [    93.122] (EE)
> [    93.123] (EE) Server terminated with error (1). Closing log file.
>
>
>

-- 
Chris Hill               chris@monochrome.org