From: Patrick Colp <Patrick.Colp@citrix.com>
To: Jun Koi <junkoi2004@gmail.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"Han, Weidong" <weidong.han@intel.com>
Subject: Re: Xen cannot boot with pvops dom0
Date: Thu, 25 Jun 2009 10:37:20 +0100 [thread overview]
Message-ID: <4A434550.7070500@citrix.com> (raw)
In-Reply-To: <fdaac4d50906250229h52670f29q1ca45088476d57d0@mail.gmail.com>
I don't think this is an issue with out the kernel was compiled. In fact,
all of the ways mentioned will build the pvops kernel properly. I have run
into a similar problem with the kernel trying to add/remove/modify ioapic
stuff as well (and have tried to compile the kernel in every possible way,
but still get the same problem).
I have a feeling it is an issue with the pvops kernel ioapic code and have
spent some time trying to track it down, but haven't found anything yet.
The XCI 2.6.27 kernel works, though, so if you're just looking for a more
modern kernel than 2.6.18, then I suggest using that. Hopefully this issue
can be resolved soon, though. I would prefer to develop against the pvops
kernel now that it's been selected as the xen-unstable default kernel.
Patrick
Jun Koi wrote:
> On Thu, Jun 25, 2009 at 6:20 PM, Han, Weidong<weidong.han@intel.com> wrote:
>> I tried with latest Xen unstable (c/s 19833) with latest pvops dom0 (commit 384a55c0). Booting will hang, following is the serial console output:
>>
>> (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen
>> )
>> (XEN) Freed 128kB init memory.
>> mapping kernel into physical memory
>> Xen: setup ISA identity maps
>> about to get started...
>> (XEN) ioapic_guest_write: apic=0, pin=2, old_irq=0, new_irq=-1
>> (XEN) ioapic_guest_write: old_entry=000009f0, new_entry=00010900
>> (XEN) ioapic_guest_write: Attempt to remove IO-APIC pin of in-use IRQ!
>> (XEN) ioapic_guest_write: apic=0, pin=4, old_irq=4, new_irq=-1
>> (XEN) ioapic_guest_write: old_entry=000009f1, new_entry=00010900
>> (XEN) ioapic_guest_write: Attempt to remove IO-APIC pin of in-use IRQ!
>> (XEN) ioapic_guest_write: apic=0, pin=0, old_irq=-1, new_irq=0
>> (XEN) ioapic_guest_write: old_entry=00010900, new_entry=000009f0
>> (XEN) ioapic_guest_write: Attempt to add IO-APIC pin for in-use IRQ!
>> (XEN) ioapic_guest_write: apic=0, pin=19, old_irq=19, new_irq=19
>> (XEN) ioapic_guest_write: old_entry=0000a9c0, new_entry=0001a9c0
>> (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
>> (XEN) ioapic_guest_write: apic=0, pin=19, old_irq=19, new_irq=19
>> (XEN) ioapic_guest_write: old_entry=0000a9c0, new_entry=0001a9c0
>> (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
>> (XEN) ioapic_guest_write: apic=0, pin=23, old_irq=23, new_irq=23
>> (XEN) ioapic_guest_write: old_entry=0000a9d0, new_entry=0001a9d0
>> (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
>> (XEN) ioapic_guest_write: apic=0, pin=19, old_irq=19, new_irq=19
>> (XEN) ioapic_guest_write: old_entry=0000a9c0, new_entry=0001a9c0
>> (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
>> (XEN) ioapic_guest_write: apic=0, pin=16, old_irq=16, new_irq=16 (and in fact, doing a make world/install will
>> (XEN) ioapic_guest_write: old_entry=0000a9b8, new_entry=0001a9b8
>> (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
>> (XEN) ioapic_guest_write: apic=0, pin=18, old_irq=18, new_irq=18
>> (XEN) ioapic_guest_write: old_entry=0000a921, new_entry=0001a921
>> (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
>>
>>
>> Did anyone meet this issue? Is there any difference on build and installation between pvops dom0 and 2.6.18 dom0? Following is my instructions, pls correct me if something is wrong. Appreciate in advance.
>>
>> My build and installation instructions:
>> - cd xen-unstable.hg
>> - make world (linux-2.6-pvops.git will be cloned)
>> - make install
>>
>> My grub entry:
>> title Xen - pvops
>> root (hd0,2)
>> kernel /boot/xen.gz dom0_mem=512m
>> module /boot/vmlinuz-2.6-30.rc3-tip ro root=/dev/sda3 console=tty0 console=ttyS0
>>
>> I also tried build pvops dom0 manually as follows, but it doesn't help.
>> - cd linux-2.6-pvops.git
>> - make
>> - make modules_install
>> - make install
>>
>
> I am not quite sure if that is the correct way to recompile kernel, as
> sometimes I have some problems with Dom0 booting after that.
>
> I usually recompile Dom0 kernel this way: (from the root directory)
>
> # make linux-2.6-xen-config (to configure kernel options)
> # make linux-2.6-xen-build
> # make linux-2.6-xen-install
>
> Then dont forget to "mkinitramfs", of course
>
> Thanks,
> J
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2009-06-25 9:37 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-25 9:20 Xen cannot boot with pvops dom0 Han, Weidong
2009-06-25 9:29 ` Jun Koi
2009-06-25 9:37 ` Patrick Colp [this message]
2009-06-30 15:12 ` Jeremy Fitzhardinge
2009-07-01 7:32 ` Patrick Colp
2009-07-01 15:39 ` Jeremy Fitzhardinge
2009-07-02 8:01 ` Patrick Colp
2009-07-02 22:47 ` Jeremy Fitzhardinge
2009-07-03 8:09 ` Patrick Colp
2009-06-25 9:39 ` Han, Weidong
2009-06-25 9:46 ` Patrick Colp
2009-06-25 9:53 ` Han, Weidong
2009-06-25 10:02 ` Patrick Colp
2009-06-25 12:08 ` Christian Tramnitz
2009-06-25 15:18 ` Jiang, Yunhong
2009-06-26 9:38 ` Patrick Colp
2009-06-26 13:55 ` Jiang, Yunhong
2009-06-30 15:10 ` Jeremy Fitzhardinge
2009-07-01 2:43 ` Han, Weidong
2009-07-01 2:58 ` Thomas DuBuisson
[not found] ` <715D42877B251141A38726ABF5CABF2C054570DEDB@pdsmsx503.ccr.corp.intel.com>
2009-07-01 5:29 ` Han, Weidong
2009-07-01 15:39 ` Jeremy Fitzhardinge
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=4A434550.7070500@citrix.com \
--to=patrick.colp@citrix.com \
--cc=junkoi2004@gmail.com \
--cc=weidong.han@intel.com \
--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 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.