From owner-freebsd-xen@FreeBSD.ORG Wed Nov 14 16:51:50 2012 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BDCE5A9C for ; Wed, 14 Nov 2012 16:51:50 +0000 (UTC) (envelope-from feld@feld.me) Received: from feld.me (feld.me [66.170.3.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8D3868FC0C for ; Wed, 14 Nov 2012 16:51:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=feld.me; s=blargle; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-Id:Subject:Cc:To:From:Date; bh=mb+UV4qmWC9AOTqLfZUvABYtDr+LniTB+I96b2E02bo=; b=A/33wb2+kiSRjpsfyr1iaK9HUuR0Q6tH+4azcWVIPCCEcxi4+C/zrXCgDgcO3nOQUpQz1zz32cl1IXj/QEDo3V7TXQJv8phkOpHcvHnsirVGAO3DTn5zrLeSci5Yoejb; Received: from localhost ([127.0.0.1] helo=mwi1.coffeenet.org) by feld.me with esmtp (Exim 4.80 (FreeBSD)) (envelope-from ) id 1TYgBg-000CeZ-4N; Wed, 14 Nov 2012 10:51:46 -0600 Received: from feld@feld.me by mwi1.coffeenet.org (Archiveopteryx 3.1.4) with esmtpa id 1352911894-65253-65252/5/37; Wed, 14 Nov 2012 16:51:34 +0000 Date: Wed, 14 Nov 2012 10:51:33 -0600 From: Mark Felder To: =?ISO-8859-1?q?G=F3t_Andr=E1s?= Subject: Re: xenbusb_nop_confighook_cb timeout Message-Id: <20121114105133.7a7fab7a@tech304> In-Reply-To: <50757ADA.7060101@deployis.eu> References: <50757ADA.7060101@deployis.eu> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-SA-Report: ALL_TRUSTED=-1, KHOP_THREADED=-0.5, URI_HEX=1.313 X-SA-Score: -0.2 Cc: freebsd-xen@freebsd.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2012 16:51:50 -0000 Hi guys, I've been in contact with Bob Ball at Citrix and he's passed on this information after confirming the bug we're seeing. I was hoping someone on the list could help track this down. > I experienced the CDROM issue on XenServer 6.0 and 6.1. I've seen=20 > http://www.mail-archive.com/freebsd-xen@freebsd.org/msg01369.html which > suggests that there was a fix in Xen 4.1.2, which is surprising since > XenServer 6.1 uses Xen 4.1.3 and still exhibits the problem. > http://xenbits.xen.org/gitweb/?p=3Dqemu-xen-4.2-testing.git;a=3Dcommit;= h=3Deffd5676225761abdab90becac519716515c3be4 > refers to another regression from 4.1.2 to 4.1.3 relating to the CDROM, > but it appears as though this regression was not merged into XenServer > (i.e. the Xen 4.1.3 used in XenServer did not require this further = patch). >=20 > http://xen.1045712.n5.nabble.com/Xen-4-1-1-HVM-guest-cdrom-trouble-lost= -interrupts-ata-failed-commands-frozen-td4953147.html#a5028910 > gives one potential fix, which I believe is the one referenced in the > release notes for 4.1 - however, I've applied this to my Xen and it > does not appear to enable FreeBSD guests to boot with CDs attached. > Could you confirm this from the other perspective and try the > equivalent guest kernel patch? >=20 > diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c > index 8214724..6b57f90 100644 > --- a/arch/x86/pci/xen.c > +++ b/arch/x86/pci/xen.c > @@ -308,8 +308,7 @@ int __init pci_xen_init(void) > =20 > int __init pci_xen_hvm_init(void) > { > - if (!xen_feature(XENFEAT_hvm_pirqs)) > - return 0; > + return 0; > =20 > #ifdef CONFIG_ACPI > /* >=20 > This appears to be a patch for Linux, and I've not located the=20 > equivalent file in FreeBSD (I'm assuming this is down to my=20 > inexperience in FreeBSD!) >=20 > I believe that this probably means we have a problem in Xen with=20 > booting FreeBSD guests that hasn't been tracked down, would you agree? > Have either of you seen this working on later versions of OpenSource=20 > Xen? (i.e. not XenServer?) =20