When I attempt to load a GUI application (for example a browser like chromium or firefox) via ssh from a guest VM in VirtualBox , the host FreeBSD system crashes. This has happened several times after upgrading from 12.0 to 12.1.
My host system is a ThinkPad E490 running 12.1-RELEASE-p3. The DE is gnome3-lite.
It has drm-kmod-g20190710 and drm-fbsd12.0-kmod-4.16.g20200221 installed, with kld_list="/boot/modules/i915kms.ko" in /etc/rc.conf
All other graphical operation run just fine. I can directly access the VM GUIs with no problem.
I prefer to run them headless, and SSH into them to run a few apps.
The crashes occur when attempting SSH -Y (or -X) to devuan ascii guests, as well as freebsd guests. So, I'm not really sure what could be the root cause of the issue.
A bug report (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234422) from Dec 2018 hints at a similar issue. Here it states that this is not a problem with the drm-kmod port itself but with the actual DRM. So maybe that's what it is?
This is what I see in dmesg, with the timestamp around the time of the crash.
There are several Xorg.n.logs for today. Xorg.0.log does not have anything relevant. This from Xorg.5.log
Anyone else encounter this issue? Or can point me in the right direction? Thanks!
My host system is a ThinkPad E490 running 12.1-RELEASE-p3. The DE is gnome3-lite.
It has drm-kmod-g20190710 and drm-fbsd12.0-kmod-4.16.g20200221 installed, with kld_list="/boot/modules/i915kms.ko" in /etc/rc.conf
All other graphical operation run just fine. I can directly access the VM GUIs with no problem.
I prefer to run them headless, and SSH into them to run a few apps.
The crashes occur when attempting SSH -Y (or -X) to devuan ascii guests, as well as freebsd guests. So, I'm not really sure what could be the root cause of the issue.
A bug report (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234422) from Dec 2018 hints at a similar issue. Here it states that this is not a problem with the drm-kmod port itself but with the actual DRM. So maybe that's what it is?
This is what I see in dmesg, with the timestamp around the time of the crash.
Code:
Apr 24 20:24:19 tpe490 devd[55378]: check_clients: dropping disconnected client
Apr 24 20:24:19 tpe490 gdm[32739]: GdmDisplay: display lasted 0.096668 seconds
Apr 24 20:24:19 tpe490 devd[55378]: check_clients: dropping disconnected client
Apr 24 20:24:19 tpe490 gdm[32739]: GdmDisplay: display lasted 0.098910 seconds
Apr 24 20:24:19 tpe490 devd[55378]: check_clients: dropping disconnected client
Apr 24 20:24:19 tpe490 gdm[32739]: GdmDisplay: display lasted 0.097236 seconds
Apr 24 20:24:19 tpe490 gdm[32739]: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors
Apr 24 20:24:38 tpe490 login[57913]: ROOT LOGIN (root) ON ttyv4
Apr 24 20:25:19 tpe490 devd[55378]: check_clients: dropping disconnected client
Apr 24 20:27:01 tpe490 shutdown[69518]: power-down by root:
Apr 24 20:27:02 tpe490 kernel: , 40187.
Apr 24 20:27:03 tpe490 kernel: , 28378.
Apr 24 20:27:03 tpe490 kernel: .
Apr 24 20:27:03 tpe490 ntpd[15948]: ntpd exiting on signal 15 (Terminated)
Apr 24 20:27:05 tpe490 kernel: , 15948.
Apr 24 20:27:05 tpe490 syslogd: exiting on signal 15
Apr 24 20:27:54 tpe490 syslogd: kernel boot file is /boot/kernel/kernel
There are several Xorg.n.logs for today. Xorg.0.log does not have anything relevant. This from Xorg.5.log
Code:
[ 20.841] (EE) open /dev/dri/card0: No such file or directory
[ 20.841] (WW) Falling back to old probe method for modesetting
[ 20.841] (EE) open /dev/dri/card0: No such file or directory
[ 20.841] (WW) Falling back to old probe method for scfb
[ 20.841] scfb trace: probe start
[ 20.841] (II) scfb(1): using default device
[ 20.841] scfb trace: probe done
[ 20.841] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 20.841] (EE) Screen 0 deleted because of no matching config section.
[ 20.841] (II) UnloadModule: "modesetting"
[ 20.841] (EE)
Fatal server error:
[ 20.841] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 20.841] (EE)
[ 20.841] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 20.841] (EE) Please also check the log file at "/var/log/Xorg.5.log" for additional information.
[ 20.841] (EE)
[ 20.842] (EE) Server terminated with error (1). Closing log file.
Anyone else encounter this issue? Or can point me in the right direction? Thanks!