Project

General

Profile

Feature #35948

Remove syscons terminal from kernel

Added by Alexander Motin 10 months ago. Updated 9 months ago.

Status:
Done
Priority:
No priority
Assignee:
Alexander Motin
Category:
OS
Target version:
Estimated time:
Severity:
Low
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Description

Having both syscons and vt terminals in kernel is a waste of resources. Since we have to use vt for UEFI, and since that is a default terminal for FreeBSD, lets remove syscons completely. As downsides we loose VESA support in BIOS mode, and screen saver, but not sure those are big losses. As replacement for VESA, if we really want to support bigger/custom resolutions, we may include KMS drivers.


Related issues

Related to FreeNAS - Bug #35047: Screen Saver not working with vtClosed
Related to FreeNAS - Feature #37408: Remove Console Screensaver option as it is no longer supportedDone

Associated revisions

Revision c1f8f510 (diff)
Added by Alexander Motin 9 months ago

Remove syscons from kernel and userspace.

Ticket: #35948

Revision f21256ed (diff)
Added by Alexander Motin 9 months ago

Remove syscons from kernel and userspace.

Ticket: #35948
(cherry picked from commit c1f8f5108cf00bf10aab2a3fc7e2a2f24f82c144)

History

#1 Updated by Alexander Motin 10 months ago

  • Related to Bug #35047: Screen Saver not working with vt added

#2 Updated by Alexander Motin 10 months ago

  • Status changed from Unscreened to Screened

#3 Avatar?id=55038&size=24x24 Updated by Zackary Welch 10 months ago

In addition, I'm also getting a error in /var/log/messages with a fresh install related to the VESA module:

freenas module_register_init: MOD_LOAD (vesa, 0xffffffff81040d10, 0) error 19

#4 Updated by Alexander Motin 9 months ago

  • Related to Feature #37408: Remove Console Screensaver option as it is no longer supported added

#5 Updated by Alexander Motin 9 months ago

  • Status changed from Screened to In Progress

#6 Updated by Dru Lavigne 9 months ago

  • Status changed from In Progress to Ready for Testing
  • Needs Merging changed from Yes to No

#7 Updated by Alexander Motin 9 months ago

I haven't merged kernel configuration commits to freenas/11.2-stable (we have it already in freenas/build repo) yet. If everything is fine, I'll do it tomorrow.

#8 Updated by Alexander Motin 9 months ago

Merged.

#9 Updated by Alexander Motin 9 months ago

  • Target version changed from 11.2-RC2 to 11.2-BETA2

#10 Updated by Michael Reynolds 9 months ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Spoke with Mav
Asked if sysctl -a | grep syscons is enough to pass this ticket as it shows syscons is not there.
He said that should be enough.

[root@freenas ~]# sysctl -a | grep syscons
[root@freenas ~]#

#11 Updated by Michael Reynolds 9 months ago

grep'd /var/log/messages for vesa
no results
the issue Zack mentioned looks to be resolved as well.

Mav also mentioned there are more interesting things (what if anything broke due to removing syscons for example) than if syscons is removed. There are tickets to address these other things though.

#12 Updated by Timothy Moore II 9 months ago

#13 Updated by Dru Lavigne 9 months ago

  • Status changed from Passed Testing to Done
  • Needs Doc changed from Yes to No

Also available in: Atom PDF