Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-14 Thread Miguel Clara
On Mon, Dec 15, 2014 at 1:24 AM, Miguel Clara wrote: > > > On Mon, Dec 15, 2014 at 12:30 AM, Miguel Clara > wrote: >> >> >> On Sun, Dec 14, 2014 at 11:34 PM, David P. Discher >> wrote: >>> >>> First make sure you CPU supports both EPT and has a IOMMU. >>> >> >> Yes it does. >> >> I should note t

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-14 Thread Miguel Clara
On Mon, Dec 15, 2014 at 12:30 AM, Miguel Clara wrote: > > > On Sun, Dec 14, 2014 at 11:34 PM, David P. Discher > wrote: >> >> First make sure you CPU supports both EPT and has a IOMMU. >> > > Yes it does. > > I should note theat I've already tested with Xen in this laptop using > Debian. > > >> >

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-14 Thread Miguel Clara
On Sun, Dec 14, 2014 at 11:34 PM, David P. Discher wrote: > > First make sure you CPU supports both EPT and has a IOMMU. > Yes it does. I should note theat I've already tested with Xen in this laptop using Debian. > > It sounds like you have Xen to use the serial console. > > To /etc/ttys, you

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-14 Thread David P. Discher
First make sure you CPU supports both EPT and has a IOMMU. It sounds like you have Xen to use the serial console. To /etc/ttys, you need to add: xc0 "/usr/libexec/getty Pc" vt100 on secure Also, make sure all the ttyu[0-4] are off. Recent versions of FreeBSD maybe putting onifcon

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-13 Thread Miguel Clara
I was just trying too boot Freebsd Xen dom0 on a laptop but I just get a black screen after the boot process any idea what it could be? the system boots fine wihtout loading "boot/xen", I'm not sure how to get more info with the black scren! thanks Melhores Cumprimentos // Best Regards --

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-09 Thread David P. Discher
ah, sorry missed that. Will try that today. AHCI lasted over night with MSI off. Something I noticed, is that when the AHCI bus was timing out, it looked like the Xen Kernel was re-scanning the PCI bus. (Sorry, didn’t save these logs). I’ve love to dig into this further. Please let me

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-09 Thread Roger Pau Monné
Hello, El 08/12/14 a les 23.45, David P. Discher ha escrit: > > Sent SIGTERM to all processes > │ > Sent SIGKILL to all > processes───┘ > Requesting system reboot > [ 1157.299205]

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-08 Thread David P. Discher
I tried all the combinations of things … and still couldn’t get the xen console switch to work. I finally googled "xen X8STi console”, and found - http://wiki.xen.org/wiki/Xen_Serial_Console - which calls out the super micro board X8STi - with the options: com1=115200,8n1,0x3e8,5 I don’t

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-05 Thread Roger Pau Monné
El 04/12/14 a les 22.28, David P. Discher ha escrit: > Update: So, I changed a few things, and stuff is working better. > > The Xen kernel line is now: > > dom0_mem=2048M dom0_max_vcpus=4 dom0pvh=1 sync_console > com1=115200,8n1,0x3e8 console=vga,com1 iommu=debug I would advise against sync_c

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-04 Thread David P. Discher
Update: So, I changed a few things, and stuff is working better. The Xen kernel line is now: dom0_mem=2048M dom0_max_vcpus=4 dom0pvh=1 sync_console com1=115200,8n1,0x3e8 console=vga,com1 iommu=debug Also note, I have these set in FreeBSD: console="comconsole vidconsole" comconsole_speed=

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-04 Thread David P. Discher
On Dec 4, 2014, at 12:46 AM, Roger Pau Monné wrote: > Hello, > > El 04/12/14 a les 3.27, David P. Discher ha escrit: >> So, the “working” part … the hypervisor up, and Dom0 running, is correct. >> >> However, after ~5 minutes, the AHCI buses timeout. This seems to be >> constantly >> repr

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-04 Thread Roger Pau Monné
Hello, El 04/12/14 a les 3.27, David P. Discher ha escrit: > So, the “working” part … the hypervisor up, and Dom0 running, is correct. > > However, after ~5 minutes, the AHCI buses timeout. This seems to be > constantly > reproducible via Dom0. FreeBSD on the this bare metal does’t have this

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-03 Thread David P. Discher
So, the “working” part … the hypervisor up, and Dom0 running, is correct. However, after ~5 minutes, the AHCI buses timeout. This seems to be constantly reproducible via Dom0. FreeBSD on the this bare metal does’t have this issue. - David P. Discher http://davidpdischer.com/ AIM: DavidDPD |

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-03 Thread David P. Discher
On Dec 3, 2014, at 11:55 AM, Roger Pau Monné wrote: > > Not sure what's going on now, could you post the full boot log with the > provided patch applied and when it hangs switch to the Xen console > (Ctrl+A 3 times), then press "i" and "Q" and also post the output? > > Also, add the following t

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-03 Thread Roger Pau Monné
El 03/12/14 a les 20.35, David P. Discher ha escrit: > > > > On Dec 3, 2014, at 10:43 AM, Roger Pau Monné wrote: > >> Thanks for being able to test this so quickly, AFAICT this is a fallout >> from failing to initialize ACPI. I don't have a system with this >> specific ACPI configuration to tr

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-03 Thread David P. Discher
On Dec 3, 2014, at 10:43 AM, Roger Pau Monné wrote: > Thanks for being able to test this so quickly, AFAICT this is a fallout > from failing to initialize ACPI. I don't have a system with this > specific ACPI configuration to trigger this, but I have the following > patch, which _might_ solve

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-03 Thread Roger Pau Monné
Hello, El 03/12/14 a les 18.18, David P. Discher ha escrit: > > > On Dec 3, 2014, at 5:47 AM, Roger Pau Monné wrote: > >> The good news is that I think I have a patch that solves this, but I'm >> afraid we will also have to debug the ACPI error shown above in order to >> get your system to a w

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-03 Thread David P. Discher
On Dec 3, 2014, at 5:47 AM, Roger Pau Monné wrote: > The good news is that I think I have a patch that solves this, but I'm > afraid we will also have to debug the ACPI error shown above in order to > get your system to a working state. > > Could you please try the following patch on top of my

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-03 Thread Roger Pau Monné
Hello, El 02/12/14 a les 22.26, David P. Discher ha escrit: > On Dec 2, 2014, at 9:54 AM, Roger Pau Monné wrote: > > Below is the boot. One thing I’m not getting, is serial output from the Xen > kernel. The IPMI SOL is on 0x3e8 (com3), and using com3 doesn’t seem to get > the xen kernel to

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-02 Thread David P. Discher
sweet - thanks - Will - As far as what’s built - it is git://xenbits.xen.org/people/royger/freebsd.git with branch pvh_dom0_v8: root@borg:/usr/src # git status On branch pvh_dom0_v8 Your branch is up-to-date with 'origin/pvh_dom0_v8’. […] And the line numbers:

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-02 Thread Will Andrews
On Tue, Dec 2, 2014 at 2:26 PM, David P. Discher wrote: > Can you or someone point me to how to get the line numbers ? Since this is > panic-ing before swap on/dumpon … I’m not sure out to get the dump and load > into kgdb with the symbols. My guess is that I need to use remote debugging > to

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-02 Thread David P. Discher
On Dec 2, 2014, at 9:54 AM, Roger Pau Monné wrote: > Hello, > > Thanks for trying it out. I’ve been excited about FreeBSD Dom0 for 4+ years … and excited to see progress. Once I can get it working, I’ll work on the 4th loader for auto booting xen+freebsd. > I assume that this box is capa

Re: Attempting to Get Xen FreeBSD Dom0 working

2014-12-02 Thread Roger Pau Monné
Hello, Thanks for trying it out. El 02/12/14 a les 17.38, David P. Discher ha escrit: > Hey All - > > Attempting to follow the directions over at : > http://wiki.xenproject.org/wiki/FreeBSD_Dom0 > > I’ve confirmed the hard way, not all the bits in the pvh_dom0_v8 -head copy > of FreeBSD have

Attempting to Get Xen FreeBSD Dom0 working

2014-12-02 Thread David P. Discher
Hey All - Attempting to follow the directions over at : http://wiki.xenproject.org/wiki/FreeBSD_Dom0 I’ve confirmed the hard way, not all the bits in the pvh_dom0_v8 -head copy of FreeBSD have been merged into freebsd-head, so running with a working kernel from the repo over at xenbits. Howev