WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Xen cannot boot with pvops dom0

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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel