Feature #1469

ttyc/ttyd should be an allowed console device

Added by Jens Elkner about 7 years ago. Updated over 6 years ago.

Status:ResolvedStart date:2011-09-05
Priority:NormalDue date:
Assignee:Gary Mills% Done:

100%

Category:kernel
Target version:-
Difficulty:Medium Tags:

Description

Currently ttya and ttyb are the only ttys, which are allowed to be a console device.

This is a problem for none-SUN machines like SuperMicro MB X8DAH+-F (WPM450 BMC) driven ones, because here IPMI SOL is only possible, if the related BMC port is set to 0x3e8 (ttyc/COM3).

bdha found a workaround by attaching a "VT" aka ttymon to the related tty (e.g. ttyc) so that IPMI SOL works, but of course this has nothing to do with /dev/console ...

As far as I can see, a fix involves the following files (and some related includes), only:
http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/i86pc/boot/boot_console.c
http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/i86pc/io/consplat.c
http://src.illumos.org/source/xref/illumos-gate/usr/src/cmd/boot/bootadm/bootadm_hyper.c

History

#1 Updated by Jon Strabala over 6 years ago

Good news there is now a webrev available for those of us that absolutely need "ttyc" prepared by Gary Mills on 2012-Feb-14 located at http://cr.illumos.org/view/lsy0hhs4/illumos1469/ .

It works for me in a nightly build (SuperMicro X9SCA-F), but please note there is still a review process going on and the code may be refactored prior to an RTI (refer to: http://comments.gmane.org/gmane.os.illumos.devel/6059 for discussion and details on how to use it e.g. grub and ipmitool ).

#2 Updated by Jon Strabala over 6 years ago

An updated webrev prepared by Gary Mills on 2012-Mar-10 located at It still works for me in a 2012-03-19 nightly build (on a SuperMicro X9SCA-F) http://cr.illumos.org/view/jw8opke7/illumos1469-2/ . more details can be found at the URL http://thread.gmane.org/gmane.os.illumos.devel/6469 .

#3 Updated by Rich Lowe over 6 years ago

  • Status changed from New to Resolved
  • Assignee set to Gary Mills
  • % Done changed from 0 to 100
  • Difficulty changed from Bite-size to Medium
  • Tags deleted (needs-triage)

Resolved in r13659 commit:57451298f940

Also available in: Atom