Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Stefan Parvu
Thank you for help and tips. I need to find another server, newer and try Xen or bhyve. Most likely we will decommission this box or install debian 9 or 10/kvm for it. Lets see. Stefan > On 16. Oct 2019, at 19.29, Roger Pau Monné wrote: > > On Wed, Oct 16, 2019 at 07:10:44PM +0300, Stefan

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Roger Pau Monné
On Wed, Oct 16, 2019 at 07:10:44PM +0300, Stefan Parvu wrote: > > > >> Also, IIRC X58 had some interrupt remapping issues, can you try to > >> boot with iommu=no-intremap? (without any other iommu options) > > > > here my /boot/loader.conf > > root@earth:~ # cat /boot/loader.conf >

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Stefan Parvu
> >> Also, IIRC X58 had some interrupt remapping issues, can you try to >> boot with iommu=no-intremap? (without any other iommu options) > here my /boot/loader.conf root@earth:~ # cat /boot/loader.conf kern.geom.label.disk_ident.enable="0" kern.geom.label.gptid.enable="0" zfs_load="YES"

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Roger Pau Monné
On Wed, Oct 16, 2019 at 06:59:46PM +0300, Stefan Parvu wrote: > > Also, IIRC X58 had some interrupt remapping issues, can you try to > > boot with iommu=no-intremap? (without any other iommu options) > > Let me try quickly that. No serial it is too complicated for this machine. > > If we can

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Stefan Parvu
> Also, IIRC X58 had some interrupt remapping issues, can you try to > boot with iommu=no-intremap? (without any other iommu options) Let me try quickly that. No serial it is too complicated for this machine. If we can make this running do you think FreeBSD Xen Dom0 will ever support HVM linux

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Roger Pau Monné
On Wed, Oct 16, 2019 at 06:15:33PM +0300, Stefan Parvu wrote: > > # acpidump -t|grep DMAR > > DMAR: Length=180, Revision=1, Checksum=195, > > OEMID=A M I, OEM Table ID=OEMDMAR, OEM Revision=0x1, > > > > root@earth:~ # acpidump -t | grep DMAR > DMAR: Length=288, Revision=1, Checksum=93, >

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Stefan Parvu
> # acpidump -t|grep DMAR > DMAR: Length=180, Revision=1, Checksum=195, > OEMID=A M I, OEM Table ID=OEMDMAR, OEM Revision=0x1, > root@earth:~ # acpidump -t | grep DMAR DMAR: Length=288, Revision=1, Checksum=93, OEMID=AMI, OEM Table ID=OEMDMAR, OEM Revision=0x1, this is it.

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Stefan Parvu
> When booting plain FreeBSD, can you try the following? > > # acpidump -t|grep DMAR > DMAR: Length=180, Revision=1, Checksum=195, > OEMID=A M I, OEM Table ID=OEMDMAR, OEM Revision=0x1, > > If you don't get output it means there's no DMAR ACPI table, and thus > no VT-d support (at least

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Roger Pau Monné
On Wed, Oct 16, 2019 at 02:07:55PM +0300, Konstantin Belousov wrote: > On Wed, Oct 16, 2019 at 11:28:23AM +0200, Roger Pau Monné wrote: > > On Wed, Oct 16, 2019 at 12:17:20PM +0300, Stefan Parvu wrote: > > > > > > > > Your box doesn't seem to have an iommu (aka vt-d for Intel). > > > > > > In

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Konstantin Belousov
On Wed, Oct 16, 2019 at 11:28:23AM +0200, Roger Pau Monné wrote: > On Wed, Oct 16, 2019 at 12:17:20PM +0300, Stefan Parvu wrote: > > > > > > Your box doesn't seem to have an iommu (aka vt-d for Intel). > > > > In BIOS I do have VT-D Enabled option. Would that be broken or not working ? > > Are

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Roger Pau Monné
On Wed, Oct 16, 2019 at 01:09:11PM +0300, Stefan Parvu wrote: > thank you guys for tips. > > > Are you sure it's VT-d and not VT-x what you have enabled in the BIOS? > > Yes, I think the ASUS BIOS had listed VT-d. But will double check tonight. > But it might be > that the CPU does not support

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Stefan Parvu
thank you guys for tips. > Are you sure it's VT-d and not VT-x what you have enabled in the BIOS? Yes, I think the ASUS BIOS had listed VT-d. But will double check tonight. But it might be that the CPU does not support VT-d. Thats very true. Hmmm. Is there any point even to update the CPU on

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Roger Pau Monné
On Wed, Oct 16, 2019 at 12:17:20PM +0300, Stefan Parvu wrote: > > > > Your box doesn't seem to have an iommu (aka vt-d for Intel). > > In BIOS I do have VT-D Enabled option. Would that be broken or not working ? Are you sure it's VT-d and not VT-x what you have enabled in the BIOS? Looking at

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Gerd Hafenbrack
On 2019-10-16 11:17, Stefan Parvu wrote: >> ... capable of running a Xen PVH dom0 (which is the only mode FreeBSD >> supports in order to work as dom0). Either it has a broken iommu or no >> iommu at all. > > Hmmm. Thats strange since I do recall I had previously used here Xen but on > Linux.

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Stefan Parvu
> > Your box doesn't seem to have an iommu (aka vt-d for Intel). In BIOS I do have VT-D Enabled option. Would that be broken or not working ? I think I have used Xen a bit older version on Debian some time back if Im not wrong, on the same hdw. >> But you need all boot log. I will try your

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Roger Pau Monné
On Wed, Oct 16, 2019 at 12:07:50PM +0300, Stefan Parvu wrote: > > > If your box doesn't have a serial header, you can add noreboot to > > xen_cmdline and paste a photo of the screen with the panic message, > > it's not great but at least we would get an idea of what's wrong. > > > > Im not sure

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Stefan Parvu
> If your box doesn't have a serial header, you can add noreboot to > xen_cmdline and paste a photo of the screen with the panic message, > it's not great but at least we would get an idea of what's wrong. > Im not sure I can setup a serial console on this wkst. Will check. The last thing I

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Roger Pau Monné
On Wed, Oct 16, 2019 at 11:49:50AM +0300, Stefan Parvu wrote: > > Can you please provide the full boot log? I'm afraid that I'm not able > > to provide any suggestions without knowing what went wrong. > > In BIOS everything regarding virtualization is turned ON. > > How can I provide the full

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Stefan Parvu
> Can you please provide the full boot log? I'm afraid that I'm not able > to provide any suggestions without knowing what went wrong. In BIOS everything regarding virtualization is turned ON. How can I provide the full boot log if my machine is rebooting itself … and have no access to the

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-16 Thread Roger Pau Monné
On Wed, Oct 16, 2019 at 12:12:06AM +0300, Stefan Parvu wrote: > Hi, > > I have a bit of problem, cannot install FreeBSD/Xen on a bit older hardware. > The hardware > should support the minimal VT-D/IOMMU settings, required by Xen. > > CPU: Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-15 Thread Marcin Cieslak
On Wed, 16 Oct 2019, Stefan Parvu wrote: Does it happen in Xen or in FreeBSD dom0 kernel? Xen. Here: http://www.kronometrix.org/bugs/freebsd_xen.jpg I have Xeon E3-1234 but I run 11.2-STABLE with xen-kernel-4.7.2_9 for a very long time already. I also have: hw.pci.mcfg=0

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-15 Thread Stefan Parvu
> > Does it happen in Xen or in FreeBSD dom0 kernel? Xen. Here: http://www.kronometrix.org/bugs/freebsd_xen.jpg > I have Xeon E3-1234 but I run 11.2-STABLE with xen-kernel-4.7.2_9 for a very > long time already. > I also have: > > hw.pci.mcfg=0 > machdep.hyperthreading_allowed=0 Should I add

Re: cannot install FreeBSD 12.0 Xen 4.12.1 on Intel Core i7 CPU 930

2019-10-15 Thread Marcin Cieslak
On Wed, 16 Oct 2019, Stefan Parvu wrote: Hi, I have a bit of problem, cannot install FreeBSD/Xen on a bit older hardware. The hardware should support the minimal VT-D/IOMMU settings, required by Xen. CPU: Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz (2806.42-MHz K8-class CPU)