Bug 199053 - GENERIC kernel should include vt device
Summary: GENERIC kernel should include vt device
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 9.3-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: vt
Depends on:
Blocks:
 
Reported: 2015-03-30 22:22 UTC by Walter von Entferndt
Modified: 2017-02-10 14:42 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walter von Entferndt 2015-03-30 22:22:32 UTC
Since some of the new Xorg video drivers (e.g. intel) use kms, one can't switch between X and the text console when using syscons.  Therefore it is desirable that the default GENERIC kernel includes the vt device, and 'freebsd-update' should install the vt keymaps and fonts.

This affects all people using 'pkg upgrade' and 'freebsd-update', who use one of the relevant Xorg video drivers.

I have "kern.vty=vt" in my /boot/loader.conf but vt isn't available as a module.
IMHO the default settings shall not make a system "unusable" (which is of course not completely the case here).  It's no problem to include vt additionally to syscons, so one can switch between them using the appropiate settings in loader.conf, and the update msg of Xorg drivers include the appropiate hints.  Right now, one has to compile a custom kernel, thus disabling freebsd-update's housekeeping of the kernel.

Environment:
FreeBSD paul-lifebook.local.lan 9.3-RELEASE-p10 FreeBSD 9.3-RELEASE-p10 #0: Tue Feb 24 21:28:03 UTC 2015     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
(this is because I booted kernel.old1 after updating to p12)

How-To-Repeat:
Have a machine with a graphics card affected by the new kms of new Xorg video drivers. Update from 9.3-RELEASE (prior p10?) to p12 (p10?) with freebsd-udate and update Xorg with 'pkg update'.

Fix:
Build and install a custom kernel, e.g. using the supplied VT kernel config.
Comment 1 Ed Maste freebsd_committer freebsd_triage 2017-02-10 14:42:39 UTC
vt is included in GENERIC in FreeBSD 10.0 and later; FreeBSD 9.x is now out of support.

Thank you for your report, and I apologize that it is being closed without a change being committed.