version 1.193, 2021/03/03 14:22:24
|
version 1.194, 2021/03/03 14:59:32
|
Line 176 want to set it as default. It is highly
|
Line 176 want to set it as default. It is highly
|
trouble at some point, and keeping an up-to-date GENERIC for use in |
trouble at some point, and keeping an up-to-date GENERIC for use in |
fixing problems is the standard prudent approach. |
fixing problems is the standard prudent approach. |
|
|
|
\todo Explain why rndseed is not set with Xen as part of the dom0 |
|
subconfiguration. |
|
|
### Console selection |
### Console selection |
|
|
See boot_console(8). Understand that you should start from a place of |
See boot_console(8). Understand that you should start from a place of |
Line 197 must also configure it for Xen.
|
Line 200 must also configure it for Xen.
|
By default, the hypervisor (Xen itself) will use some sort of vga |
By default, the hypervisor (Xen itself) will use some sort of vga |
device as the console, much like GENERIC uses by default. The vga |
device as the console, much like GENERIC uses by default. The vga |
console is relinquished at the conclusion of hypervisor boot, before |
console is relinquished at the conclusion of hypervisor boot, before |
the dom0 is started. |
the dom0 is started. Xen when using a vga console does not process |
|
console input. |
\todo Explain if there is any notion of input to the Xen console; |
|
there is something about 3 CTRL-As in a row. Perhaps this is about |
|
the serial console which is not relinquished? |
|
|
|
The hypervisor can be configured to use a serial port console, e.g. |
The hypervisor can be configured to use a serial port console, e.g. |
[[!template id=filecontent name="/boot.cfg" text=""" |
[[!template id=filecontent name="/boot.cfg" text=""" |
menu=Xen:losad /netbsd-XEN3_DOM0.gz console=com0;multiboot /xen.gz dom0_mem=512M console=com1 com1=9600,8n1 |
menu=Xen:losad /netbsd-XEN3_DOM0.gz console=com0;multiboot /xen.gz dom0_mem=512M console=com1 com1=9600,8n1 |
"""]] |
"""]] |
This exampulee uses the first serial port (Xen counts from 1; this is |
This example uses the first serial port (Xen counts from 1; this is |
what NetBSD would call com0), and sets speed and parity. (The dom0 is |
what NetBSD would call com0), and sets speed and parity. (The dom0 is |
then configured to use the same serial port in this example.) |
then configured to use the same serial port in this example.) |
|
|
|
With the hypervisor configured for a serial console, it can get input, |
|
and there is a notion of passing this input to the dom0. \todo |
|
Explain why, if Xen has a serial console, the dom0 console is |
|
typically also configured to open that same serial port, instead of |
|
getting the passthrough input via the xen console. |
|
|
One also configures the console for the dom0. While one might expect |
One also configures the console for the dom0. While one might expect |
console=pc to be default, following behavior of GENERIC, a hasty read |
console=pc to be default, following behavior of GENERIC, a hasty read |
of the code suggests there is no default and booting without a |
of the code suggests there is no default and booting without a |