Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2014 12:26:37 -0800
From:      "David P. Discher" <dpd@dpdtech.com>
To:        =?iso-8859-1?Q?Roger_Pau_Monn=E9?= <roger.pau@citrix.com>
Cc:        freebsd-xen@freebsd.org
Subject:   Re: Attempting to Get Xen FreeBSD Dom0 working
Message-ID:  <C56B19DD-B001-4AB6-A296-EC221C58297C@dpdtech.com>
In-Reply-To: <54801F77.5050700@citrix.com>
References:  <481F7D02-BFE9-4E35-A475-5A8A05A801CE@dpdtech.com> <547DFCC0.6030003@citrix.com> <DCB954B5-0E45-4DE6-AAC4-C5ACF7FD90A7@dpdtech.com> <547F1476.8080305@citrix.com> <29437DB9-7DC8-47A8-8FC4-2BFDE736B5BC@dpdtech.com> <547F59B4.1010105@citrix.com> <2DDCAA68-3B11-4E3C-AE61-EAD8CEEF1E2D@dpdtech.com> <547F6AC1.9060709@citrix.com> <BBBFE7EC-BB42-4514-9A68-437ECAB8E640@dpdtech.com> <7C356027-01D8-4800-B211-282566BC9871@dpdtech.com> <54801F77.5050700@citrix.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_BB983AE6-9E20-42E0-80EF-26175E3A7F27
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252




On Dec 4, 2014, at 12:46 AM, Roger Pau Monn=E9 <roger.pau@citrix.com> =
wrote:

> Hello,
>=20
> El 04/12/14 a les 3.27, David P. Discher ha escrit:
>> So, the =93working=94 part =85 the hypervisor up, and Dom0 running, =
is correct.
>>=20
>> However, after ~5 minutes, the AHCI buses timeout.  This seems to be =
constantly=20
>> reproducible via Dom0.  FreeBSD on the this bare metal does=92t have =
this issue.
>=20
> If you boot Xen with iommu=3Ddebug, do you see any messages on the Xen
> console?
>=20
> My test boxes also use AHCI, but the chipset is not exactly the same
> (mine is ICH8, yours is ICH10). Do you do anything specific to trigger
> the timeout, or just leaving Dom0 in an idle state also triggers this?
>=20
> Could you switch to the Xen console and post the output of the "i" =
debug
> key when this happens?
>=20
> Also, you can try to play with the AHCI driver sysctls, to see if some
> of them have any effect. I would recommend trying to disable MSI
> interrupts (hint.ahci.X.msi=3D0) and power control =
(hint.ahcich.X.pm_level=3D0).


Yes, ICH10. I=92m not sure if an idle Dom0 does this, however limited =
access to the disks, even just editing things like /boot/loader.conf and =
/etc/rc.conf will eventually hang.  But I=92m also trying to launch a =
DomU, and for the convince of a documented process, I=92m following your =
debian steps =85 and the debian installer is running.   I=92m running a =
zpool mirror across 4k aligned GPT partitions for the root drive.  I=92ll =
also attempt to break break the mirror, as I don=92t remember this being =
a problem with a single drive.=20

As first step last night, I actually moved the msi interrupts to =3D 2, =
instead of fully disabled.  And this helped a little.  It seemed to =
allow the AHCI driver to recovered after the first several timeouts.   I =
will try disabling MSI as well and well as iommu debug.  However, I=92m =
still without a Xen console. Durning the ACPI/pci probing =85 my console =
over SOL com3 cuts out. I haven=92t try to recover it yet.  I will see =
what I can do.  However, from what it looks like, Xen kernel is latching =
on the com port, and freebsd sees it as =93busy=94.   I=92ll see what I =
can figure out.  I believe the pm_level is default to 0, but will double =
check that.


-
David P. Discher
http://davidpdischer.com/
AIM: DavidDPD | Y!M: daviddpdz=20


--Apple-Mail=_BB983AE6-9E20-42E0-80EF-26175E3A7F27
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJUgMN+AAoJEEmwU6XuhYWO87EH/3r3tyXFiZXB7mnc3JLU1T+O
UN9M0MCE91sjfJDEoTH+Phh1uY40sRFvChZ3raOl1SWRSZzKQz15pqiOIoSKgBsx
kS8GP/7EERxWzYKpipKbh4f78KRvDfq07xdmKomg5gj0jS1rzn9NDhRDdIDgkxi6
NKhkR+An+OnAWM/+Fn8BjxrkP95jD5thBx2/9sCpnrfhr6u5piAgF8pIGkVeKxVb
HxKEmbFazl7s2rMWnyhsT3l6NGFBjuVVcF5S6M33fMCkI1b8FSX76EJz0eFZ+muU
diEB1m+BmOfrxmNJDH8hsMUBuvDkNG1qkw0obbAPJfoU4BE5h4h5FQz9Qm7lPl8=
=S2pq
-----END PGP SIGNATURE-----

--Apple-Mail=_BB983AE6-9E20-42E0-80EF-26175E3A7F27--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C56B19DD-B001-4AB6-A296-EC221C58297C>