Project

General

Profile

Bug #2601

kctl_isadep.c should support four serial consoles

Added by Gary Mills over 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2012-04-08
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

The file:

usr/src/cmd/mdb/intel/kmdb/kctl/kctl_isadep.c

uses an associative array to store four console properties:

input-device, output-device, ttya-mode, ttyb-mode

It should be enhanced to store ttyc-mode and ttyd-mode
as well. This would allow:

usr/src/cmd/mdb/common/kmdb/kmdb_promif.c

to obtain properties for all four serial consoles.

History

#1

Updated by Gary Mills about 8 years ago

  • Assignee set to Gary Mills
  • % Done changed from 0 to 80

The change to kctl_pcache_create() is pretty simple.

I've tested this change on a system with a Tyan motherboard that
includes a BMC device. Using serial-over-lan access with ipmitool,
the console is on ttyc. With either `boot -kd' or `boot -k', it now
correctly identifies the console. `mdb -K' always worked on the
serial console and is not affected by this change.

#2

Updated by Rich Lowe about 8 years ago

  • Category set to kernel
  • Status changed from New to Resolved
  • % Done changed from 80 to 100
  • Tags deleted (needs-triage)

Resolved in r13783 commit:b3333788688b

Also available in: Atom PDF