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 09:38:04
Message-Id: AANLkTinQW=6CfipR0ELxwHv1C0h1jq0z_kDMczJ5pd8E@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 15:32, J. Roeleveld <joost@××××××××.org> wrote:
2 > On Thu, March 24, 2011 9:20 am, Pandu Poluan wrote:
3 >> On Thu, Mar 24, 2011 at 14:47, J. Roeleveld <joost@××××××××.org> wrote:
4 >>> On Thu, March 24, 2011 7:37 am, Pandu Poluan wrote:
5 >>>> On Thu, Mar 24, 2011 at 12:30, Pandu Poluan <pandu@××××××.info> wrote:
6 >>>>> On Thu, Mar 24, 2011 at 00:03, Pandu Poluan <pandu@××××××.info> wrote:
7
8 <--snip-->
9
10 >>>> But I still can't login via Xen's virtual console (hvc0). Same as
11 >>>> before: Got the 'login:' prompt, but can't type anything.
12 >>>>
13 >>>> I'll try mucking around with the .config. I have a feeling I disabled
14 >>>> one thing too many...
15 >>>
16 >>> Before playing around with the kernel config further, I don't use
17 >>> XenServer, but use the xen-stuff in portage instead. (My host runs
18 >>> Gentoo
19 >>> as well)
20 >>> In the configuration, I add the following to the kernel-parameters:
21 >>> " xencons=tty "
22 >>> Maybe a similar option will help you as well.
23 >>>
24 >>
25 >> Hmmm... currently I set xencons=hvc0 (also in /etc/inittab, s/tty0/hvc0/)
26 >>
27 >> I'll see what happens if I return them to tty0.
28 >
29 > Good luck there :)
30 >
31
32 No joy. Changing xencons to tty, tty0, tty1 results in the console
33 screen stopping output right after "Freeing unused kernel memory:"
34
35 At least with xencons=hvc0 I got the complete output.
36
37 >>> Otherwise, you could try checking the input-devices. Especially things
38 >>> like keyboard/usb/hid/ps/...
39 >>>
40 >>
41 >> Let's see... I got the following checked:
42 >>  -*- Generic input layer (needed for keyboard, mouse, ...)
43 >>  < >   Support for memoryless force-feedback devices
44 >>  < >   Polled input device skeleton
45 >>  < >   Sparse keymap support library
46 >>        *** Userland interfaces ***
47 >>  -*-   Mouse interface
48 >>  [*]     Provide legacy /dev/psaux device
49 >>  (1024)  Horizontal screen resolution
50 >>  (768)   Vertical screen resolution
51 >>  < >   Joystick interface
52 >>  <M>   Event interface
53 >>  < >   Event debugging
54 >>  <*>   Xen virtual keyboard and mouse support
55 >>        *** Input Device Drivers ***
56 >>  -*-   Keyboards  --->
57 >>  [ ]   Mice  --->
58 >>  [ ]   Joysticks/Gamepads  --->
59 >>  [ ]   Tablets  --->
60 >>  [ ]   Touchscreens  --->
61 >>  [ ]   Miscellaneous devices  --->
62 >>      Hardware I/O ports  --->
63 >>
64 >> Under keyboards, I only have:
65 >> <M>   XT keyboard
66 >
67 > Hmm... I don't use kernel-modules in my Xen domu's (All are PV). I wonder
68 > if compiling them into the kernel might help.
69 > Or, try loading the modules listed above and see if that helps. (Not sure
70 > if you can see an immediate change though)
71 >
72
73 Can't hurt to try, now that I've gotten a bootable kernel. Can always
74 fallback to the previous one.
75
76 > I have attached the .config for one of my domains. It also has support for
77 > a passed-through sound-card. You won't need that part. :)
78 >
79
80 Noted ;)
81
82 > Please note, I do use the following kernel:
83 > sys-kernel/xen-sources-2.6.34-r4
84 >
85 > Which kernel are you using?
86 >
87
88 hardened-sources-2.6.36-r9 IIRC
89
90 Hmmmm... there are *lots* of options in your config that I don't see in mine.
91
92 Could it be because of the "hardened" sources?
93
94 >> Anyways, when I'm successful in my endeavor, I'll sure to be sharing my
95 >> tips.
96 >
97 > That's always a good way to make people more happy to help :)
98 >
99 > --
100 > Joost
101
102 Just the least I can do to give back something to Gentoo :)
103
104 --
105 Pandu E Poluan
106 ~ IT Optimizer ~
107 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>