Gentoo Archives: gentoo-user

From: Konstantinos Agouros <elwood@×××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Xen virtual devices not working -> no guests
Date: Sun, 05 Feb 2012 09:51:58
Message-Id: 1328435413.107124@rumba
In Reply to: Re: [gentoo-user] Xen virtual devices not working -> no guests by victor romanchuk
1 In <4F2D88BD.8010200@××××××××××.net> rom@××××××××××.net (victor romanchuk) writes:
2
3 >Konstantinos Agouros wrote, at 02/03/2012 09:01 PM:
4 >> When I boot gentoo-sources 3.2.1 Dom0 boots, and DomUs would
5 >> boot if they had no virtual block or network devices. Both backend
6 >> device options are in the Dom0 kernel. Anybody has a hint on how to
7 >> debug this?
8
9 >most likely this is due to dom0 misconfiguration. should be something like that
10 >(xen part):
11
12 >$ grep '^CONFIG.*XEN.*' /usr/src/linux-3.2.1-gentoo-r2/_dom0/.config
13 >CONFIG_XEN=y
14 >CONFIG_XEN_DOM0=y
15 >CONFIG_XEN_PRIVILEGED_GUEST=y
16 >CONFIG_XEN_PVHVM=y
17 >CONFIG_XEN_MAX_DOMAIN_MEMORY=128
18 >CONFIG_XEN_SAVE_RESTORE=y
19 >CONFIG_PCI_XEN=y
20 >CONFIG_XEN_PCIDEV_FRONTEND=m
21 >CONFIG_XEN_BLKDEV_BACKEND=m
22 >CONFIG_XEN_NETDEV_BACKEND=m
23 >CONFIG_XEN_BALLOON=y
24 >CONFIG_XEN_DEV_EVTCHN=y
25 >CONFIG_XEN_BACKEND=y
26 >CONFIG_XENFS=y
27 >CONFIG_XEN_COMPAT_XENFS=y
28 >CONFIG_XEN_SYS_HYPERVISOR=y
29 >CONFIG_XEN_XENBUS_FRONTEND=m
30 >CONFIG_XEN_GNTDEV=m
31 >CONFIG_XEN_GRANT_DEV_ALLOC=m
32 >CONFIG_SWIOTLB_XEN=y
33 >CONFIG_XEN_TMEM=y
34 >CONFIG_XEN_PCIDEV_BACKEND=m
35
36 >running dom0 must have these modules loaded (compiled as modules in my config):
37
38 >$ lsmod|grep xen
39 >xen_netback 20821 0 [permanent]
40 >xen_blkback 16116 0 [permanent]
41 I have them either as modules or fixed in the kernel yes.
42 CONFIG_XEN_BLKDEV_BACKEND=m
43 CONFIG_XEN_BLKDEV_BACKEND=m
44
45 and I checked that they are loaded. The real strange thing is, that I have
46 an identical .config (regarding the xen stuff) on a 2nd box and all is
47 fine. So I need to debug the hotplug scripts somehow to see what is
48 going wrong. I tried to pass pci hardware (network intercaces) to the
49 guest under 3.2 _this_ is working.
50
51 Konstantin
52
53 >victor
54
55 --
56 Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@×××××××.de
57 Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185
58 ----------------------------------------------------------------------------
59 "Captain, this ship will not survive the forming of the cosmos." B'Elana Torres

Replies

Subject Author
Re: [gentoo-user] Xen virtual devices not working -> no guests victor romanchuk <rom@××××××××××.net>