Errata

From PrgmrWiki

Page 24: The line:

kernel = /boot/vmlinuz-2.6-xen.gz

should be:

kernel = "/boot/vmlinuz-2.6-xen.gz"

Our "basic domU configuration" assumes that you have a monolithic Xen domU kernel that includes the xen paravirtualized drivers. Thus, we don't specify an initrd.

Page 25:

The first command line should be:

# modprobe xenblk

The next line should specify the fully-qualified backing device

# xm block-attach 0 tap:aio:/tull/path/to/duncan.img /dev/xvda w 0

It should be followed by:

# fdisk /dev/xvda

Note that, from dom0, we can use losetup and xm block-attach almost interchangeably.

Page 25: The tar command is missing a dot immediately before the --exclude flag:

tar -c -f - . --exclude ...

Some versions of tar may have trouble with --exclude or with absolute paths. Try using --exclude-from with an exclude file that lists relative paths.

Page 26: "/mknod" should be "mknod" and "220" should be "202"; thus, the command should be:

mknod /dev/xvda b 202 0

The sentence that describes the command should state " ... with major number 202 ... "

Page 27: The first block of commands should be:

# lvcreate -L 4096 -n malcom scotland
# fdisk /dev/scotland/malcom
# mke2fs -j /dev/xvda1
# mount /dev/scotland/malcom /mnt

If you're using a file-backed block device rather than LVM:

# modprobe xenblock
# xm block-attach 0 tap:aio:/var/lib/xen/images/duncan.img /dev/xvda w 0
# fdisk /dev/xvda
# mke2fs -j /dev/xvda1
# mount /dev/xvda1 /mnt

Page 28: In the first command line, for some implementations of the echo command (including the one that ships with CentOS), echo should be specified with the -e option so that \n is interpreted as a newline.

Page 29: In the line that precedes the command listing beginning "# cp -a ... ," "sdom0" should be "dom0"

Page 204: The additional packages iasl, uuid-dev, flex, and bison (dependencies of iasl) are required to compile the Xen-unstable tools in the following list of commands. If you try to download the acpica-unix source packages directly from http://acpica.org/downloads/ like the software directs one to do and compile them, the acpica-unix compile will fail on Debian sid. Downloading the iasl Debian package directly prevents this issue.

Page 236: In the code listing in the "Debugging Hotplug section", the second line should read: exec 2>>/var/log/xen/xen-hotplug.log

Page 252: In the first configuration code block, the line:

name = coriolanus

should be:

name = "coriolanus"

In the last configuration code block, the line:

initrd = "/boot/initrd-xen-domU"

should be:

ramdisk = "/boot/initrd-xen-domU"