Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2012 10:51:33 -0600
From:      Mark Felder <feld@feld.me>
To:        =?ISO-8859-1?q?G=F3t_Andr=E1s?= <got.andras@deployis.eu>
Cc:        freebsd-xen@freebsd.org
Subject:   Re: xenbusb_nop_confighook_cb timeout
Message-ID:  <20121114105133.7a7fab7a@tech304>
In-Reply-To: <50757ADA.7060101@deployis.eu>
References:  <50757ADA.7060101@deployis.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121114105133.7a7fab7a>