From: "Pasi Kärkkäinen" <pasik@iki.fi>
To: xen-devel@lists.xensource.com
Subject: Re: Re: Xen-4.0.x doesn't start on 32bit / pvops 2.6.32.19
Date: Mon, 16 Aug 2010 14:20:04 +0300 [thread overview]
Message-ID: <20100816112004.GH2804@reaktio.net> (raw)
In-Reply-To: <4C6918CD.2020405@access.denied>
On Mon, Aug 16, 2010 at 12:54:05PM +0200, Stefan Kuhne wrote:
> Am 16.08.2010 12:44, schrieb Pasi Kärkkäinen:
> > On Mon, Aug 16, 2010 at 12:15:41PM +0200, Stefan Kuhne wrote:
>
> Hello Pasi,
>
> >> On 64bit system boots until mount of rootfs.
> >>
> >
> > So does 64bit kernel boot/work OK?
> >
> I think so.
> But command line forgot "root=..." and I don't know why.
>
Sounds like you're using GRUB2.
See: http://wiki.xensource.com/xenwiki/XenCommonProblems
It's a known issue. Xen 4.0.1-rc6 has that fixed.
If you use Xen 4.0.1-rc5 or older version you need to add "dummy=dummy"
as the first parameter to grub config. It's explained in the wiki page above.
> >> But 32bit boots until:
> >> (XEN) d0:v0: unhandled page fault (ec=0009)
> >> (XEN) Pagetable walk from c009fc00:
> >> (XEN) L3[0x003] = 0000000039820001 00001820
> >> (XEN) L2[0x000] = 0000000039fdd067 00001fdd
> >> (XEN) L1[0x09f] = 000007fffffff063 ffffffff
> >> (XEN) d0:v0: reserved bit in page table (ec=0009)
> >>
> >> Is anybody running an 32bit System?
> >> I need 32bit because of my destination Distro is only in 32bit available.
> >>
> >
> > Based on the full bootlog the problem is in the dom0 kernel, not in Xen hypervisor.
> > Did you try earlier versions of the dom0 kernel? Which version introduces this problem?
> >
> Only 2.6.13.14 from xen-4.0.1-rc5.
>
> > I think 2.6.32.10 booted/worked for me on 32bit..
> >
> How can I get this version?
>
You should be able to use something like this:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen
cd linux-2.6-xen
git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x
git checkout fe6e0879f323b2352aae9dddbb2b253334e10d6c
That should give you 2.6.32.10 .. just before 2.6.32.11 merge.
I haven't tested/tried that exact version myself,
so choose some other version from some other date if it doesn't work.
Use the online changelog browser to browse through the changelog,
and then open some 'commit' message to get the commit id for "git checkout":
http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/stable-2.6.32.x
> >
> > <snip>
> >
> >> [ 0.000000] NX (Execute Disable) protection: active
> >
> >
> > Did you try without NX? (ie. turn it off in the BIOS).
> >
> I've tested a lot.
> I'll try it again.
>
Ok.
> >> [ 0.000000] 302MB HIGHMEM available.
> >> [ 0.000000] 721MB LOWMEM available.
> >
> > Does dom0_mem=512M help?
> >
> I'll test it.
>
Yep.
> >> (XEN) d0:v0: unhandled page fault (ec=0009)
> >> (XEN) Pagetable walk from c009fc00:
> >> (XEN) L3[0x003] = 0000000039820001 00001820
> >> (XEN) L2[0x000] = 0000000039fdd067 00001fdd
> >> (XEN) L1[0x09f] = 000007fffffff063 ffffffff
> >> (XEN) d0:v0: reserved bit in page table (ec=0009)
> >> (XEN) Pagetable walk from c009fc00:
> >> (XEN) L3[0x003] = 0000000039820001 00001820
> >> (XEN) L2[0x000] = 0000000039fdd067 00001fdd
> >> (XEN) L1[0x09f] = 000007fffffff063 ffffffff
> >> (XEN) ----[ Xen-4.0.1-rc6 x86_32p debug=n Tainted: C ]----
> >> (XEN) CPU: 0
> >> (XEN) EIP: e019:[<c17a56a1>]
> >
> > You'd have to use gdb on the kernel vmlinux file to resolve which
> > funtion this address points to.. to see why/where it crashes.
> >
> I never has debugged a Kernel.
>
Go to the source tree directory where the dom0 kernel was compiled
(it needs to be the exact source tree for the kernel you boot).
And run:
gdb vmlinux
Then execute the following commands:
(gdb) x/i 0xc17a56a1
(gdb) list *0xc17a56a1
(c17a56a1 is the EIP value from the crashlog).
And paste the output here.
-- Pasi
next prev parent reply other threads:[~2010-08-16 11:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-16 10:15 Xen-4.0.x doesn't start on 32bit Stefan Kuhne
2010-08-16 10:44 ` Xen-4.0.x doesn't start on 32bit / pvops 2.6.32.19 Pasi Kärkkäinen
2010-08-16 10:54 ` Stefan Kuhne
2010-08-16 11:20 ` Pasi Kärkkäinen [this message]
2010-08-16 13:13 ` Stefan Kuhne
2010-08-16 13:42 ` Pasi Kärkkäinen
2010-08-17 11:07 ` Stefan Kuhne
2010-08-17 11:04 ` Stefan Kuhne
2010-08-17 14:16 ` Pasi Kärkkäinen
2010-08-18 2:10 ` Jeremy Fitzhardinge
2010-08-18 7:59 ` Stefan Kuhne
2010-08-18 16:08 ` Jeremy Fitzhardinge
2010-08-16 10:49 ` Xen-4.0.x doesn't start on 32bit Bastian Blank
2010-08-16 13:14 ` Stefan Kuhne
2010-08-16 13:36 ` Marc - A. Dahlhaus
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=20100816112004.GH2804@reaktio.net \
--to=pasik@iki.fi \
--cc=xen-devel@lists.xensource.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).