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

To: 'Jun Koi' <junkoi2004@xxxxxxxxx>
Subject: RE: [Xen-devel] Xen cannot boot with pvops dom0
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Thu, 25 Jun 2009 17:39:25 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 25 Jun 2009 02:40:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <fdaac4d50906250229h52670f29q1ca45088476d57d0@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <715D42877B251141A38726ABF5CABF2C0545A1F383@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <fdaac4d50906250229h52670f29q1ca45088476d57d0@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acn1d4acMy9ZBrVCR3uXYZTtvnlD/wAABMUg
Thread-topic: [Xen-devel] Xen cannot boot with pvops dom0
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
>> (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
> 

I also tried this way (make linux-2.6-pvops-build), the problem is still there.

> Then dont forget to "mkinitramfs", of course

Yes, I always mkinitrd for it through "mkinitrd initrd-2.6-xen.img 
2.6.18.8-xen". 

It can boot with manually built pvops dom0 on my another platform, but I found 
xend cannot be started, there is no directory xen under /proc. That means 
drivers/xen are not installed, althrough they are built.

I just want to know anyone has successfully made Xen with pvops work, and can 
you share your instructions? Thanks.

Regards,
Weidong

> 
> Thanks,
> J


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