Gentoo Archives: gentoo-server

From: Konstantin <konstantin@××××××××.com>
To: gentoo-server@l.g.o
Cc: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Toughts on Virtualization
Date: Wed, 11 Apr 2012 15:18:25
Message-Id: 7410641390.20120411181742@astafjev.com
In Reply to: Re: [gentoo-server] Toughts on Virtualization by Konstantin
1 Hello,
2
3 Wednesday, April 11, 2012, 17:38:25, Konstantin wrote:
4 > Tuesday, April 10, 2012, 03:13:36, Hacking Network Solutions - Gentoo List Subscriptions wrote:
5 >> On Mon, 2012-04-09 at 19:32 +0300, Konstantin wrote:
6 >>> What kernel versions are you using for Dom0? Today I've tried to use
7 >>> sys-kernel/gentoo-sources-3.2.12 and couldn't find any backend driver
8 >>> support. Am I missed something? ;)
9 >>>
10
11 >> Hi Konstantin,
12 >> I use Xen with Gentoo for both Dom0 and DomU.
13 >> The back-end driver support is well hidden in the menus,
14 Device Drivers --->>> Xen driver support ---> Backend driver support
15 >> is required to show them.
16 >> I have attached a working .config 3.2.12 for your convenience.
17
18 > Thank you very much for your kernel configuration file. I've tried to
19 > compile 3.3.1-gentoo with slightly modified your .config by changing
20 > CPU to Intel Core2 and disabling Xen unnecessary for Dom0 frontend
21 > drivers. And kernel seems working, but not with the app-emulation/xen.
22 > It still crashes while booting with something like:
23
24 > [ 1.391175] Code: 97 81 e8 5f ...
25 > [ 1.394173] RIP [<ffffffff0141a9f5>] xen_irq_init+0x15/0xa0
26 > [ 1.394173] RSP <ffff...>
27 > [ 1.394173] CR2: 0000000000000040
28 > [ 1.394173] ---[ end trace 4eaa2a86a8e2da22 ]---
29 > [ 1.395470] swapper/0 used greatest stack depth: 4264 bytes left
30 > [ 1.395580] Kernel panic - not syncing: Attempted to kill init
31
32 > Right now I've tried to use latest xen ebuilds:
33
34 > [I] app-emulation/xen
35 > Available versions: 3.4.2-r4!t 4.1.1-r2!t (~)4.1.2!t {acm
36 > custom-cflags debug flask pae xsm}
37 > Installed versions: 4.1.2!t(05:24:10 PM
38 > 04/11/2012)(-custom-cflags -debug -flask -pae -xsm)
39
40 > [I] app-emulation/xen-tools
41 > Available versions: 3.4.2-r3 (~)3.4.2-r5 (~)4.1.1-r5 4.1.1-r6
42 > (~)4.1.2-r2!t {acm api custom-cflags debug doc flask hvm pygrub qemu screen xend}
43 > Installed versions: 4.1.2-r2!t(05:23:08 PM 04/11/2012)(api
44 > hvm pygrub qemu screen xend -custom-cflags -debug -doc -flask)
45
46 > Trying to search my issue in bugzilla. May be someone could share some
47 > hints? ;)
48
49 Seems like there is a xen conflict bug with kernel-3.3.1:
50 https://bugs.gentoo.org/show_bug.cgi?id=411585
51
52 Rolling back to kernel-2.6.12 successfully started Dom0. :)
53
54 --
55 Konstantin