-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Wed, Jun 29, 2016 at 11:41:13PM +0200, HW42 wrote: > HW42: > > Marek Marczykowski-Górecki: > >> On Tue, May 31, 2016 at 05:39:20AM +0200, HW42 wrote: > >>> Marek Marczykowski-Górecki: > >>>> On Sun, May 29, 2016 at 04:48:18AM +0200, HW42 wrote: > >>>>> Andrew David Wong: > >>>>>> On 2016-05-28 11:16, HW42 wrote: > >>>>>>> Hi, > >>>>>> > >>>>>>> with Xen 4.6.1-15.fc20 (which got recently uploaded to the testing > >>>>>>> repo) VMs with attached PCI devices don't boot anymore (at least on > >>>>>>> my machine). > >>>>>> > >>>>>>> When I try to boot a VM with attached PCI devices it crashes > >>>>>>> immediately. Attached the xen dmesg log of a crash. > >>>>>> > >>>>>>> Both dom0 and the VM are running the 4.1.24-9.pvops.qubes kernel. > >>>> > >>>> Exactly the same versions works fine for me... > >>>> > >>>> Do you have anything in console log of that VM? If not, try starting it > >>>> in debug mode (this enables earlyprintk). > > > >>> Even with debug mode nothing on console. > > > >>> Interestingly attaching during runtime seems to work. > > > >> Even when no device was attached at startup at all? > > > > Yes. But I forgot to mention that to actually work I needed to change > > the kernel options. When booting without any attached device and the > > default kernel options I got this error when attaching a device at > > runtime: > > > > kernel: xen:swiotlb_xen: Warning: only able to allocate 1 MB for software > > IO TLB > > kernel: xen:swiotlb_xen: Cannot allocate Xen-SWIOTLB buffer > > (rc:-12) > > > > So I added the 'iommu=soft swiotlb=8192' manually. Then I could attach > > the device at runtime and it worked. > > > >> Try booting with attached device, but with empty kernel options (remove > >> default "iommu=soft swiotlb=8192"). > > > > Crashes like with the default options. > > > >> If this doesn't help, try Xen 4.6.1-15.56.fc20 from unstable repo, it > >> has e820_host option disabled (almost the only change between those > >> packages, besides Xen version itself). Sources are here: > >> https://github.com/marmarek/qubes-vmm-xen/tree/bug2038 > > > > This version works! > > When upgrading to R3.2 I discovered that this problem only seems to > exists when booting with AEM. I.e.: > > AEM, pci_e820_host=True => doesn't work > AEM, pci_e820_host=False => works > without AEM => works
Interesting, are you also affected by the other memory related problem with tboot (requirement of min_ram option to see all the memory)? - -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXdEOMAAoJENuP0xzK19cs7MQH/0X/EUeG5NdPM8wuoVWRhPGX YAS/an2C49QVp2ujJHRTAztyqRUxWYzt2eyP9lfopMVo+Z0fnaZvo8J8quDMR/Id I/HrGyuiElnRLsAbRVGCCfB452bz6GttM/+6rr5fX9zxJM5VGJGQohzORWCVyBii iNppQFGtqA4JRlUp5Xn3pNoV73nR3SS5QhQSZgWWlFqTl1Fvp83r32FZj46wdyAL qrobsJwYrPLbF5pSP6C7qiuZH+3GM3ErnGXd8VGDoLXmhJCq0KaRMy8Xx3A3nj1F SQqTIIkzgNc7ALjYNJJyRcDiizfRkOzAW0s8myUGkh4UEJYOkykazS+nnJBp+mQ= =9UPK -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "qubes-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/20160629215421.GA1323%40mail-itl. For more options, visit https://groups.google.com/d/optout.
