Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Xen NFS boot
Hello,
I'm trying to install Xen (4.13) on a diskless NetBSD station (with of
course 9.1 kernel). This workstation ran fine NetBSD 9.1 before.
If I understand log on console, xen kernel is loaded (with external
nfs.kmod support), dom0 also, but after ethernet adapter restart, I only
obtain a black screen. Ethernet adapter seems to be reinitialized by
dom0. dom0, of course, is built with :
options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
I have tried to debug without any success. tcpdump on server shows :
legendre# tcpdump -i agr0 host schwarz | grep tftp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on agr0, link-type EN10MB (Ethernet), capture size 262144 bytes
11:05:59.631211 IP schwarz.systella.fr.ah-esp-encap >
legendre.systella.fr.tftp: 40 RRQ "netbsd/pxeboot_ia32.bin" octet tsize 0
11:05:59.671268 IP schwarz.systella.fr.acp-port >
legendre.systella.fr.tftp: 45 RRQ "netbsd/pxeboot_ia32.bin" octet
blksize 1456
11:05:59.815024 IP schwarz.systella.fr.nati-dstp >
legendre.systella.fr.tftp: 32 RRQ "netbsd/boot-schwarz.cfg" octet
11:06:05.332492 IP schwarz.systella.fr.cifs > legendre.systella.fr.tftp:
30 RRQ "netbsd/xen-schwarz.gz" octet
11:06:05.407272 IP schwarz.systella.fr.cifs > legendre.systella.fr.tftp:
30 RRQ "netbsd/xen-schwarz.gz" octet
11:06:05.929331 IP schwarz.systella.fr.agriserver >
legendre.systella.fr.tftp: 30 RRQ "netbsd/xen-schwarz.gz" octet
11:06:06.449334 IP schwarz.systella.fr.agriserver >
legendre.systella.fr.tftp: 30 RRQ "netbsd/xen-schwarz.gz" octet
11:06:07.018520 IP schwarz.systella.fr.csregagent >
legendre.systella.fr.tftp: 35 RRQ "netbsd/netbsd-dom0-schwarz" octet
11:06:07.094577 IP schwarz.systella.fr.csregagent >
legendre.systella.fr.tftp: 35 RRQ "netbsd/netbsd-dom0-schwarz" octet
11:06:13.362336 IP schwarz.systella.fr.emce > legendre.systella.fr.tftp:
36 RRQ "netbsd/nfs-xen-schwarz.kmod" octet
11:06:13.372802 IP schwarz.systella.fr.emce > legendre.systella.fr.tftp:
36 RRQ "netbsd/nfs-xen-schwarz.kmod" octet
11:06:13.609406 IP schwarz.systella.fr.emce > legendre.systella.fr.tftp:
35 RRQ "netbsd/netbsd-dom0-schwarz" octet
11:06:19.816112 IP schwarz.systella.fr.servserv >
legendre.systella.fr.tftp: 36 RRQ "netbsd/nfs-xen-schwarz.kmod" octet
I don't understand why the last line contains a call to
netbsd/nfs-xen-schwarz.kmod. This module is loaded to be linked with XEN
kernel, not to be linked with dom0.
My dgcpd.conf contains :
host schwarz {
# hardware ethernet 38:2C:4A:70:14:D1;
hardware ethernet 38:2C:4A:6D:CF:CB;
fixed-address 192.168.10.106;
if substring (option vendor-class-identifier, 0, 20)
= "PXEClient:Arch:00000" {
filename "netbsd/pxeboot_ia32.bin";
} else if filename = "boot.cfg" {
filename = "tftp:netbsd/boot-schwarz.cfg";
} else if filename = "netbsd" {
filename "tftp:netbsd/netbsd-schwarz";
} else if filename = "netbsd-dom0" {
filename "tftp:netbsd/netbsd-dom0-schwarz";
} else if filename = "//nfs/nfs.kmod" {
filename "tftp:netbsd/nfs-xen-schwarz.kmod";
} else if filename = "xen.gz" {
filename "tftp:netbsd/xen-schwarz.gz";
}
next-server 192.168.10.128;
option swap-server 192.168.10.128;
option root-path "/srv/schwarz";
}
My boot.vfg contains :
menu=Boot normally:rndseed /var/db/entropy-file;boot netbsd
menu=Boot single user:rndseed /var/db/entropy-file;boot netbsd -s
menu=Disable ACPI:rndseed /var/db/entropy-file;boot netbsd -2
menu=Disable ACPI and SMP:rndseed /var/db/entropy-file;boot netbsd -12
menu=Drop to boot prompt:prompt
menu=Xen:load netbsd-dom0;multiboot xen.gz dom0_mem=512M
dom0_max_vcpus=1 dom0_vcpus_pin
default=6
timeout=5
clear=1
I suppose I have done a mistake. Help will be welcome.
Best regards,
JKB
Home |
Main Index |
Thread Index |
Old Index