Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Anyone successful in paravirtualizing Gentoo on XenServer?
Date: Thu, 24 Mar 2011 13:11:46
Message-Id: AANLkTikVGwvbxwwfkDNCBx+iYx9MdrPA_st9W7Gr4ODz@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: Anyone successful in paravirtualizing Gentoo on XenServer? by "J. Roeleveld"
1 On Thu, Mar 24, 2011 at 19:57, J. Roeleveld <joost@××××××××.org> wrote:
2 > On Thu, March 24, 2011 1:19 pm, Pandu Poluan wrote:
3 >> On Thu, Mar 24, 2011 at 18:21, J. Roeleveld <joost@××××××××.org> wrote:
4 >>> On Thu, March 24, 2011 10:36 am, Pandu Poluan wrote:
5 >>>> On Thu, Mar 24, 2011 at 15:32, J. Roeleveld <joost@××××××××.org> wrote:
6 >>
7 >> -- snip --
8 >>
9 >>>>> Hmm... I don't use kernel-modules in my Xen domu's (All are PV). I
10 >>>>> wonder
11 >>>>> if compiling them into the kernel might help.
12 >>>>> Or, try loading the modules listed above and see if that helps. (Not
13 >>>>> sure
14 >>>>> if you can see an immediate change though)
15 >>>>>
16 >>>>
17 >>>> Can't hurt to try, now that I've gotten a bootable kernel. Can always
18 >>>> fallback to the previous one.
19 >>>
20 >>> Let me know how that goes.
21 >>>
22 >>
23 >> Compiling all the <M> into <*> still results the same *sigh*
24 >
25 > Ok, then we'll need to look into things that are not added at all.
26 >
27 > The following might be the one you're missing:
28 > CONFIG_XEN_KEYBOARD=y
29 >
30 > It is in my config, but not in yours.
31 >
32 >> I also tried your .config ( make oldconfig && make menuconfig &&
33 >> genkernel --oldconfig bzImage && genkernel --oldconfig initramfs ),
34 >> and something strange happened:
35 >>
36 >> The VM seems to be starting... then ended immediately. But no error
37 >> message at all.
38 >
39 > Could have a few reasons:
40 > - I have the "compatibility" for xen reduced to 3.4 or higher. Not sure
41 > which xen-version is included in yours.
42 > - I do not have support for an initramfs or similar in there
43 > - I specified the CPU-type in the kernel (It's not a generic one)
44 >
45 > Did you check the logs for xend, system (messages) and others?
46 >
47
48 Most likely the missing support for initramfs.
49
50 The first 8 or 9 attempts I compile *without* initramfs support, and
51 the same thing happened.
52
53 Anyways, I'm currently reverting to a snapshot before kernel
54 compilation, and am trying to compile xen-sources
55
56 >>>>> Please note, I do use the following kernel:
57 >>>>> sys-kernel/xen-sources-2.6.34-r4
58 >>>>>
59 >>>>> Which kernel are you using?
60 >>>>>
61 >>>>
62 >>>> hardened-sources-2.6.36-r9 IIRC
63 >>>>
64 >>>> Hmmmm... there are *lots* of options in your config that I don't see in
65 >>>> mine.
66 >>>
67 >>> Can you add a list of the ones you are missing?
68 >>>
69 >>
70 >> Um... lots. I'll attach the last config I've tried.
71 >>
72 >>>> Could it be because of the "hardened" sources?
73 >>>
74 >>> My guess is, because you're not having the xen-patchset in the kernel.
75 >>> Can you try the xen-sources to see if that helps?
76 >>> Then we can work our way through the missing options.
77 >>>
78 >>
79 >> Okay, emerging xen-sources now... this will take some time. I'll post
80 >> after testing again.
81 >
82 > Looking forward to the result.
83 >
84 > --
85 > Joost
86 >
87
88 I hope you don't mind waiting. It's already 20:00 here, and now I have
89 to go home.
90
91 Anyways, thanks for guiding me :)
92
93 (Will resume attempts tomorrow at 10:00)
94
95 Rgds,
96 --
97 Pandu E Poluan
98 ~ IT Optimizer ~
99 Visit my Blog: http://pepoluan.posterous.com

Replies

Subject Author
Re: [gentoo-user] Re: Anyone successful in paravirtualizing Gentoo on XenServer? "J. Roeleveld" <joost@××××××××.org>