Remove leftovers from the separate xen port (which is now part of i386

and amd64)
This commit is contained in:
martin 2018-08-07 08:26:42 +00:00
parent f459985261
commit e1ab8bbbbb
11 changed files with 6 additions and 256 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.45 2018/01/24 09:04:40 skrll Exp $
# $NetBSD: Makefile,v 1.46 2018/08/07 08:26:42 martin Exp $
#
.include <bsd.own.mk>
@ -47,7 +47,6 @@ SUBDIR+= sun2
SUBDIR+= sun3
SUBDIR+= vax
SUBDIR+= x68k
SUBDIR+= xen
.endif
.include <bsd.subdir.mk>

View File

@ -1,4 +1,4 @@
.\" $NetBSD: contents,v 1.177 2018/08/02 16:26:09 maxv Exp $
.\" $NetBSD: contents,v 1.178 2018/08/07 08:26:42 martin Exp $
.\"
.\" Copyright (c) 1999-2005 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -315,7 +315,7 @@ Method), below.
.\}
.
.if !\n[alpha]:\n[bebox]:\n[cats]:\n[evbppc]:\n[mvme68k]:\n[macppc]:\
\n[sgimips]:\n[sandpoint]:\n[sparc]:\n[xen] \{\
\n[sgimips]:\n[sandpoint]:\n[sparc] \{\
. It Pa misc/
.
Miscellaneous \*M installation utilities; see
@ -819,9 +819,6 @@ and the same kernel in the format needed by the bootloader as
These kernels are specific to the IBM 405GP based Walnut evaluation board.
.\}
.el \{\
.ie \n[xen] \{\
.\}
.el \{\
.It Sy kern-GENERIC
This set contains a
.Nx*M
@ -837,7 +834,6 @@ This set also contains an a.out kernel named
.Pa /netbsd.aout
that your system may need to boot.
.\}
.\} \" !\n[xen]
.\} \" !\n[evbppc]
.\} \" !\n[sparc64]
.\} \" !\n[sparc]

View File

@ -1,4 +1,4 @@
.\" $NetBSD: main,v 1.548 2018/06/29 12:34:13 roy Exp $
.\" $NetBSD: main,v 1.549 2018/08/07 08:26:42 martin Exp $
.\"
.\" Copyright (c) 1999-2012 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -47,7 +47,7 @@
.as MACHINE_LIST " i386 ibmnws iyonix landisk luna68k mac68k macppc mipsco
.as MACHINE_LIST " mmeye mvme68k mvmeppc netwinder news68k newsmips next68k
.as MACHINE_LIST " ofppc playstation2 pmax prep rs6000 sandpoint sbmips
.as MACHINE_LIST " sgimips shark sparc sparc64 sun2 sun3 vax x68k xen zaurus .
.as MACHINE_LIST " sgimips shark sparc sparc64 sun2 sun3 vax x68k zaurus .
.so \*[.CURDIR]/../common/macros
.
.Dd May 9, 2015
@ -678,12 +678,6 @@ own checksum files, just as the source distribution does.
.so hardware -----------------------------------------------
.br_ne 7P
.
.if \n[xen] \{.Ss "Installation options"
.br_ne 7P
.
.so instopt -----------------------------------------------
.\}
.
.Ss "Getting the NetBSD System on to Useful Media"
.
.so xfer -----------------------------------------------

View File

@ -1,4 +1,4 @@
.\" $NetBSD: postinstall,v 1.82 2018/01/24 09:04:41 skrll Exp $
.\" $NetBSD: postinstall,v 1.83 2018/08/07 08:26:42 martin Exp $
.\"
.\" Copyright (c) 1999-2004 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -179,7 +179,6 @@ For example:
.if \n[shark] .ds IFname cs0
.if \n[sparc64] .ds IFname hme0
.if \n[x68k] .ds IFname ne0
.if \n[xen] .ds IFname xennet0
.
.Dl ifconfig_\*[IFname]="inet 192.0.2.123 netmask 255.255.255.0"
.Pp

View File

@ -1,9 +0,0 @@
# $NetBSD: Makefile,v 1.2 2004/05/13 00:26:25 cl Exp $
MACHINE:= xen-${MACHINE}
M= ${MACHINE}
MERGED_SRCS+= instopt
MERGED_SRCS+= ${COMMON}/xfer
.include <bsd.man.mk>

View File

@ -1,55 +0,0 @@
.\" $NetBSD: hardware,v 1.3 2004/05/13 11:14:46 wiz Exp $
.
.Nx*M
runs on the Xen Virtual Machine Monitor (VMM) on 386-family processors.
.
Notable hardware requirements for running the Xen VMM are:
.(bullet -offset indent
a "P6" or newer processor
.It
a relatively modern network card like the Intel e1000, Broadcom BCM
57xx, 3COM 3c905.
Older cards are also supported but networking will not be fully
efficient.
.It
at least 64 MB of RAM, preferably more when running multiple domains.
The Xen VMM uses approximately 32 MB of RAM and each domain should
have at least 12 MB of RAM.
.bullet)
.
.Nx \*V
runs on version 1.2 of the Xen VMM.
.
.Ss2 Supported devices
.(bullet -offset indent
.Te 2 "Block devices."
.br
Every hardware block device recognized by the Xen VMM is exported as a
virtual block device to the virtual machines.
Depending on the type of the actual hardware block device, the device
is accessible as a wd, sd, or cd device inside the
.Nx*M -domain.
.It
.Te 2 "Network device."
.br
The Xen VMM exports a virtual network device to each domain.
This device is accessible as a xennet0 device inside the
.Nx*M -domain.
.It
.Te 2 "PS/2 keyboard and mouse."
.br
Access to a PS/2 keyboard and mouse is supported when
.Nx*M
runs as domain-0.
.It
.Te 2 "VGA display."
.br
Access to the VGA display is supported when
.Nx*M
runs as domain-0.
.It
.Te 2 "Virtual serial console."
.br
Output-only virtual serial consoles are supported.
.bullet)
.

View File

@ -1,40 +0,0 @@
.\" $NetBSD: install,v 1.2 2004/05/13 00:26:25 cl Exp $
.
.(tag instop
.It Em "Domain-0 / privileged" installation
Install grub to your disk by running the command:
.br
grub-install /dev/wd0d
.Pp
You should now be able to reboot your system to
.Nx*M
by selecting the
.Em "Xen / NetBSD"
entry in the grub boot menu.
You might have to update your network configuration since the network
interface has a different name.
.
.It Em "non-privileged" installation
.(bullet
Create a new or edit the existing domain tool config file for
.Nx
domains (/usr/pkg/etc/xc12/netbsd or /etc/xc/netbsd).
. (tag
.It Pa
add a vbd_list to define a virtual block device for the new domain:
.br
vbd_list = [ ('phy:wd0i','hda1','w') ]
.br
(replace wd0i with the partition containing the filesystem for the new
domain)
.It Pa
comment out the cmdline_extra line
. tag)
.It
Now you can start the new domain with the following command:
.br
xc_dom_create.py -f netbsd -D 'vmid=1;ip=123.45.67.89' -m 32 -k /path/to/netbsd-GENERIC.gz
.bullet)
.
.tag)
.

View File

@ -1,25 +0,0 @@
.\" $NetBSD: instopt,v 1.3 2006/04/20 03:44:01 uwe Exp $
.
There are two different installation procedures for
.Nx*M .
The first procedure is used when the
.Nx*M
installation will run as the privileged domain-0.
The second procedure is used for preparing a
.Nx*M
installation to be run as a non-privileged domain.
.
.Pp
For a privileged domain-0 installation, you have to first install
.Nx Ns /i386 .
The
.Nx Ns /i386
distribution and installation instructions are available at
.Lk ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-\*V/i386/
.
.Pp
For a non-privileged installation, you have to first install Xen
and another OS as domain-0, including the domain tools. Refer to the
Xen website at:
.Lk http://www.cl.cam.ac.uk/Research/SRG/netos/xen/
.

View File

@ -1,70 +0,0 @@
.\" $NetBSD: prep,v 1.3 2006/04/20 03:44:01 uwe Exp $
.
.(tag instop
.It Em "Domain-0 / privileged" installation
Configure grub to boot the existing
.Nx Ns /i386
installation and the new
.Nx*M
installation:
.(bullet
create the file /grub/menu.lst with the global options like:
. (tag
.It Pa
default 0
.br
timeout 5
.br
root (hd0,3,a)
. tag)
.It
add entries to boot
.Nx Ns /i386 :
. (tag
.It Pa
title NetBSD
.br
kernel -- type=netbsd /netbsd
.It Pa
title NetBSD via chain
.br
rootnoverrify (hd0,3)
.br
chainloader +1
.br
boot
. tag)
.It
add an entry to boot
.Nx*M :
. (tag
.It Pa
title Xen / NetBSD
.br
kernel /grub/xen-1.2.gz dom0_mem=65536
.br
module /grub/xen12load.gz
.br
module /grub/netbsd-GENERIC.gz
. tag)
.bullet)
.Pp
Note: The example configuration above assumes that the
.Nx Ns /i386
installation is on partition wd0a and the
.Nx
slice is the third fdisk partition. Refer to the grub documentation if
your installation is different.
.
.It Em "non-privileged" installation
.(bullet
Create a new partition which will be the root filesystem for the new
installation and mount the newly created partition.
.It
Extract the sets you want installed to the newly created partition.
.It
Copy the netbsd-GENERIC.gz kernel from the distribution into domain-0's
filesystem.
.bullet)
.tag)
.

View File

@ -1,5 +0,0 @@
.\" $NetBSD: upgrade,v 1.2 2004/05/13 00:26:25 cl Exp $
.
A formal upgrade procedure for
.Nx*M
hasn't been documented yet.

View File

@ -1,34 +0,0 @@
.\" $NetBSD: xfer,v 1.4 2009/04/25 21:21:49 snj Exp $
.
.(tag instop
.It Em "Domain-0 / privileged" installation
On the already installed
.Nx Ns /i386
system:
.(bullet
install the grub bootloader from pkgsrc (see Installing third
party packages in the
.Nx Ns /i386
installation notes).
.It
download the Xen binary from:
.Lk ftp://ftp.NetBSD.org/pub/NetBSD/arch/xen/misc/xen-1.2-fixed.gz
.It
get a copy of the xen12load kernel loader from the
.Nx \*V
release.
.It
optionally install the xentools12 package from pkgsrc, if you want to
create non-privileged domains later.
.bullet)
.
.It Em "non-privileged" installation
Download the
.Nx*M
binary distribution sets to the machine where you have installed Xen
or have the
.Nx*M
binary distribution sets accessible over the network.
.
.tag)
.