tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Changing console without reboot
@ 2000-06-23 14:33 David LaPorte
  0 siblings, 0 replies; only message in thread
From: David LaPorte @ 2000-06-23 14:33 UTC (permalink / raw)
  To: tru64-unix-managers

The general consensus seems to be that this cannot be done.  In order to
change it, you must drop down to the SRM and issue a "set console serial" -
exactly what I wanted to avoid.  It seems that you can at least set it on
some machines using "consvar", but I was unable to on my PW433 (4.0D PK3,
FW6.8-20).  A reboot would still be required after setting it anyways.
Thanks to all who responded...

Dave LaPorte

Special thanks to:

Dr. Thomas P. Blinn
-------------------------------------------------------------------------
No.  There are things that happen inside the kernel during boot time that
differ depending on the setting of the SRM console's "console" variable,
and there is absolutely no way, without rebooting the system, to get the
changes to occur once the system is running.

To effect the change, you must halt the system, change the "console" in
the SRM console from graphics to serial, then "init" the system to get
the change to be effective.  Make sure that you have connected the new
terminal server to the correct serial port on the system; if you don't
see the system's initialization messages, but instead have to press the
"return" or "enter" key to get the console's attention, you've got the
terminal server connected to the wrong serial port.  You want to hook up
to "COM1" on the system enclosure.

Tom

Bryan Lavelle
------------------------------------------------------------------------
Most console environment variables require an init to take place before
going into affect.  Hence a reboot is necessary.

Bryan

Jason Carthew
------------------------------------------------------------------------
NO

Alan Davis
------------------------------------------------------------------------
(msg1)
You can change the console variable using consvar, but it won't take effect
until the next reboot.

The manpage doesn't list all of the variables that consvar can access, and
the -l switch doesn't list all of them either.

Alan Davis
davis@tessco.com

(reply)
I didn't have any luck getting or setting the value:

[root@socrates /]# /sbin/consvar -g console
Failed to get console
[root@socrates /]# /sbin/consvar -s console serial
Failed to set console

Dave LaPorte

(msg2)
Interesting. It may be a version difference. I'm able to
both get and set it, but then have to halt and init to
get it switched.

DS20 and AS4100 running v4.0e pk3 and reasonably recent fw

Alan Davis
davis@tessco.com

Danielle Georgette
--------------------------------------------------------------------------
I'm pretty sure there isn't, mores the pity. I think wait for an outage
period (like a weekend?) then reboot is the only answer.

Danielle

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-06-23 14:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-23 14:33 SUMMARY: Changing console without reboot David LaPorte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox