Gentoo Archives: gentoo-user

From: victor romanchuk <rom@××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Xen virtual devices not working -> no guests
Date: Sat, 04 Feb 2012 19:37:52
Message-Id: 4F2D88BD.8010200@persimplex.net
In Reply to: [gentoo-user] Xen virtual devices not working -> no guests by Konstantinos Agouros
1 Konstantinos Agouros wrote, at 02/03/2012 09:01 PM:
2 > When I boot gentoo-sources 3.2.1 Dom0 boots, and DomUs would
3 > boot if they had no virtual block or network devices. Both backend
4 > device options are in the Dom0 kernel. Anybody has a hint on how to
5 > debug this?
6
7 most likely this is due to dom0 misconfiguration. should be something like that
8 (xen part):
9
10 $ grep '^CONFIG.*XEN.*' /usr/src/linux-3.2.1-gentoo-r2/_dom0/.config
11 CONFIG_XEN=y
12 CONFIG_XEN_DOM0=y
13 CONFIG_XEN_PRIVILEGED_GUEST=y
14 CONFIG_XEN_PVHVM=y
15 CONFIG_XEN_MAX_DOMAIN_MEMORY=128
16 CONFIG_XEN_SAVE_RESTORE=y
17 CONFIG_PCI_XEN=y
18 CONFIG_XEN_PCIDEV_FRONTEND=m
19 CONFIG_XEN_BLKDEV_BACKEND=m
20 CONFIG_XEN_NETDEV_BACKEND=m
21 CONFIG_XEN_BALLOON=y
22 CONFIG_XEN_DEV_EVTCHN=y
23 CONFIG_XEN_BACKEND=y
24 CONFIG_XENFS=y
25 CONFIG_XEN_COMPAT_XENFS=y
26 CONFIG_XEN_SYS_HYPERVISOR=y
27 CONFIG_XEN_XENBUS_FRONTEND=m
28 CONFIG_XEN_GNTDEV=m
29 CONFIG_XEN_GRANT_DEV_ALLOC=m
30 CONFIG_SWIOTLB_XEN=y
31 CONFIG_XEN_TMEM=y
32 CONFIG_XEN_PCIDEV_BACKEND=m
33
34 running dom0 must have these modules loaded (compiled as modules in my config):
35
36 $ lsmod|grep xen
37 xen_netback 20821 0 [permanent]
38 xen_blkback 16116 0 [permanent]
39
40 victor

Replies

Subject Author
Re: [gentoo-user] Xen virtual devices not working -> no guests Konstantinos Agouros <elwood@×××××××.de>