All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Maloney <peter.maloney@brockmann-consult.de>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Mina Jafari <ai.minajafari@gmail.com>, xen-devel@lists.xen.org
Subject: Re: Fwd: Dom0 can't boot properly
Date: Wed, 10 Apr 2013 09:29:48 +0200	[thread overview]
Message-ID: <516514EC.3050704@brockmann-consult.de> (raw)
In-Reply-To: <20130409194307.GA2114@phenom.dumpdata.com>


[-- Attachment #1.1: Type: text/plain, Size: 2640 bytes --]

On 2013-04-10 08:45, Mina Jafari wrote:    (he seemed to send this to me and not the list)

> I couldn't find config file in /boot or the other place but it's the
> config file I used to compile kernel with,and I've tried changing xen
> related features in config and compiled kernel over and over but
> nothing happened!
>
> grep -i xen /home/MJina/linux-3.2.7/.config
> CONFIG_XEN=y
> ...
> CONFIG_XEN_DEV_EVTCHN=m
> ...
> I previously said that it won't work even when I mannually start the
> services, but if I modprobe xen-evtchn first and try to start services
> even thought it says xenstored cannot be started but xend restarts
> successfully and xen works.
> #modprobe xen-evtchn
> # /etc/init.d/xend restart
> # /etc/init.d/xencommons start
> Starting xenstored.................................
> Could not start xenstored
> # /etc/init.d/xendomains start
>> ...
>> I suspect your kernel is not compiled with the xen dom0 options.
>>
>> Probably you will find some answers here:
>> http://wiki.xen.org/wiki/Mainline_Linux_Kernel_Configs

Okay so then as suspected, your kernel is not exactly according to spec
for a dom0 kernel. The page I linked says you need:
CONFIG_XEN_DEV_EVTCHN=y
but you have
CONFIG_XEN_DEV_EVTCHN=m

 Do some other comparisons and see what else is wrong. Since "modprobe"
lets you start xend, probably that is equivalent to =y, but something
else is likely wrong. And if those wrong lines are =m instead of "# ...
is not set" then you can probably modprobe them too (for testing at
least... and then recompile with =y later)

(also I think you're missing CONFIG_X86_IO_APIC=y ... make sure to do a full compare)

eg. What i would try first is copy and paste all the dom0 and domu options from the
page into a file, then sort the file with
sort xenwikidom0config > xenwikidom0configsorted
then do the same with your config, and then do a diff

or I'd write a bash script that takes the key name (before the =) from
the xen wiki page config, and greps your config for the option to see
what the setting is.


And after you resolve this, you should report to whoever created your
kernel config that it should be fixed. (or is that you?)




On 2013-04-09 21:43, Konrad Rzeszutek Wilk wrote:
> On Tue, Apr 09, 2013 at 03:24:40PM +0430, Mina Jafari wrote:
>> Hi all,
>> I have compiled xen 4.1.2 on Fedora 13 and  kernel 3.2.7 as dom0,but
>> whenever I try to start it,it got stuck because can't start xenstored. if I
> Why are you using such an old version of Fedora? If ou update to
> F17 or F18 you have Xen out of the box.
>

Yes, I agree with that also... and upgrading a Linux distro release is easy.





[-- Attachment #1.2: Type: text/html, Size: 3775 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

      reply	other threads:[~2013-04-10  7:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAK-vE-VaEg92DB3yUUOVXNBfv5Wgx=nbwiLiYEbTCikc4QXKLg@mail.gmail.com>
2013-04-09 10:54 ` Fwd: Dom0 can't boot properly Mina Jafari
2013-04-09 11:11   ` Peter Maloney
2013-04-09 19:43   ` Konrad Rzeszutek Wilk
2013-04-10  7:29     ` Peter Maloney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=516514EC.3050704@brockmann-consult.de \
    --to=peter.maloney@brockmann-consult.de \
    --cc=ai.minajafari@gmail.com \
    --cc=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.