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] pvops: boot locks up while initialising PCI

To: 'Jeremy Fitzhardinge' <jeremy@xxxxxxxx>, 'Simon Horman' <horms@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] pvops: boot locks up while initialising PCI
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Thu, 24 Sep 2009 15:28:28 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: 'Keir, "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Fraser' <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Thu, 24 Sep 2009 00:29:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4ABAAF46.2090403@xxxxxxxx>
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: <20090923230503.GA11263@xxxxxxxxxxxx> <4ABAAF46.2090403@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aco8pb0XjX+PhfwvSBeROjVdtSXvjwAQPOUg
Thread-topic: [Xen-devel] pvops: boot locks up while initialising PCI
Jeremy Fitzhardinge wrote:
> On 09/23/09 16:05, Simon Horman wrote:
>> On Wed, Sep 23, 2009 at 12:17:23PM -0700, Jeremy Fitzhardinge wrote:
>> 
>>> On 09/22/09 22:32, Simon Horman wrote:
>>> 
>>>> Hi,
>>>> 
>>>> while trying to boot xen/master at the following changest the boot
>>>> locks up somewhere around the initialisation of PCI. Boot log and
>>>> config attached. Any insights appreciated.
>>>> 
>>>> commit 398b4b4cabdb27c06a7b8214c2044347ffc08c49
>>>> Merge: 3973dcf... 6e8f158...
>>>> Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
>>>> Date:   Tue Sep 22 15:21:28 2009 -0700
>>>> 
>>>>     Merge branch 'xen/dom0/drm' into xen/master
>>>> 
>>>>     * xen/dom0/drm:
>>>>       swiotlb: linux/swiotlb.h needs linux/dma-mapping.h
>>>> 
>>>> 
>>>> My grub snippet is:
>>>> 
>>>> title           Xen
>>>> root            (hd0,0)
>>>> kernel          /xen com1=115200,8n1,0x3f8,0 console=com1
>>>> loglvl=all guest_loglvl=all dom0_mem=1G 
>>>> module          /vmlinuz-2.6.31-pvops
>>>> root=/dev/mapper/sam-root_x86_64 console=ttyS0 loglevel=8 ro
>>>> earlyprintk=xen module          /initrd.img-2.6.31-pvops 
>>>> 
>>>> 
>>>> 
>>> You should really be using hvc0 for the console.  I think ttyS0
>>> "passthrough"/emulation should work, but using the Xen console is
>>> more reliable.  And you're just losing all console output on the
>>> switchover, which suggests that serial isn't actually working. 
>>> Failing that, can you get more info from the VGA console?
>>> 
>> Hi Jeremy, Hi Pasi,
>> 
>> Thanks for the advice with regards to hvc0, that is working well.
>> I am now observing a problem while initialising the iommu.
>> I have worked around this by setting iommu=off.
>> 
> 
> Ah, OK, someone else noticed that too.  I guess we should inhibit
> iommu init somehow.
> 
> Keir, is Xen supposed to disable the DMAR for dom0 by stomping on acpi
> or something?  Or was that about something else?
> 

Now Xen will zap ACPI DMAR signature to prevent dom0 using VT-d. pv-ops dom0 
shouldn't use VT-d.

Simon, I noticed you use xen c/s 20010, pls try xen c/s 20181. 

Regards,
Weidong




Regards,
Weidong

>     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