Re: Bhyve guest boot error, Buffer I/O error on dev vda1, logical block 0, lost async page write

2018-08-26 Thread Rajil Saraswat
On 08/26/2018 06:06 PM, Rajil Saraswat wrote: > Hello, > > My bhyve guests are failing to boot. I upgraded from 11.1 to 11.2 > recently, not sure if that is the cause. > Any idea what could be the issue? > Figured out this one. Seems my pool had reached a capacity of 6

Bhyve guest boot error, Buffer I/O error on dev vda1, logical block 0, lost async page write

2018-08-26 Thread Rajil Saraswat
Hello, My bhyve guests are failing to boot. I upgraded from 11.1 to 11.2 recently, not sure if that is the cause. Here is an Ubuntu log, [    4.824240] md: raid6 personality registered for level 6 [    4.826021] md: raid5 personality registered for level 5 [    4.827780] md: raid4 personality

Re: Ubuntu 18.04 and bhyve

2018-05-20 Thread Rajil Saraswat
On 05/20/2018 02:30 AM, Felix Kronlage wrote: > > * halted and edited the config of the vm and added the line > > grub_run_partition="2" > > Thanks, after sticking this in the config it boots up fine. ___ freebsd-virtualization@freebsd.org mailing list

Ubuntu 18.04 and bhyve

2018-05-19 Thread Rajil Saraswat
Hello, Has anybody managed to run Ubuntu 18.04 under bhyve? I was unable to get it working with churchers vm-bhyve tool. Thanks ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To

Re: Onboard USB controller passthrough

2017-11-12 Thread Rajil Saraswat
On 5 November 2017 at 13:26, Rajil Saraswat <raji...@gmail.com> wrote: > The onboard xHCI controller (C610/X99 series chipset) does support MSI, > > # pciconf -l -BbcV xhci0@pci0:0:20:0 > xhci0@pci0:0:20:0: class=0x0c0330 card=0x72708086 chip=0x8d318086 > rev=0x05 hdr

Re: Onboard USB controller passthrough

2017-11-05 Thread Rajil Saraswat
On 11/05/2017 11:42 AM, Peter Grehan wrote: > > More importantly, EHCI controllers don't support MSI/MSI-x interrupts > which is currently required for bhyve PCI-passthru. > > later, > > Peter. The onboard xHCI controller (C610/X99 series chipset) does support MSI, # pciconf -l -BbcV

Onboard USB controller passthrough

2017-11-04 Thread Rajil Saraswat
Hello, I have an Supermicro X10DRi-T motherboard which has 2 EHCI controllers and 1 xHCI controller. I want to pass one of the EHCI controller to the VM running Ubuntu. Unfortunately, the VM immediately quits when i pass the USB controller. I am using vm-bhye to manage the VM's running on FreeBSD

Re: My USB card is a bhyve killer

2017-08-17 Thread Rajil Saraswat
Any further thoughts on this? I would like to return this card back to Amazon in the next few days. So if anybody needs any more debug info please let me know. I do plan to retain the other NEC uPD720201 chipset based card since it works within bhyve. It seems something is broken in FreeBSD with

Re: My USB card is a bhyve killer

2017-08-16 Thread Rajil Saraswat
Setting -w flag (https://forums.freebsd.org/threads/47951/) using "ignore_bad_msr=1" also doesnt help, Aug 17 03:25:39: /usr/local/sbin/grub-bhyve -S -m /tank/vm/openhab1/device.map -M 512M -r hd0,msdos1 openhab1 Aug 17 03:25:42: [bhyve options: -c 1 -m 512M -AHPw -U

Re: My USB card is a bhyve killer

2017-08-16 Thread Rajil Saraswat
After setting debug="YES" in the vm's conf file, i get the following: # cat bhyve.log rdmsr to register 0x34 on vcpu 0 On 08/16/2017 09:38 PM, Peter Grehan wrote: > Hi, > >> I have a PCIe USB card which is exported to the bhyve vm using >> passthrough. I have tried to use the card in Ubuntu,

Re: My USB card is a bhyve killer

2017-08-16 Thread Rajil Saraswat
Unfortunately, i dont see a stderr log. I am using vm-bhyve for managing the vm's. # pciconf -l -BbcV pci0:129:0:0 ppt3@pci0:129:0:0: class=0x0c0330 card=0x11001b73 chip=0x11001b73 rev=0x10 hdr=0x00 bar [10] = type Memory, range 64, base 0xfb20, size 65536, enabled bar [18] =

My USB card is a bhyve killer

2017-08-16 Thread Rajil Saraswat
Hi, I have a PCIe USB card which is exported to the bhyve vm using passthrough. I have tried to use the card in Ubuntu, Debian 8 and Centos 7. Each time the OS has given a segmentation fault on bootup and killed the bhyve session. This is what i get in the bhyve-log: Aug 17 01:49:39:

Re: PCIE card with USB ports

2017-05-16 Thread Rajil Saraswat
On 05/15/2017 03:15 PM, Rodney W. Grimes wrote: >> Rajil Saraswat wrote this message on Sun, May 14, 2017 at 16:03 -0500: >>> On 05/14/2017 12:40 PM, John-Mark Gurney wrote: >>>> Rajil Saraswat wrote this message on Sat, May 13, 2017 at 20:34 -0500: >>>

Re: PCIE card with USB ports

2017-05-15 Thread Rajil Saraswat
On May 15, 2017 10:50 AM, "John-Mark Gurney" <j...@funkthat.com> wrote: Rajil Saraswat wrote this message on Sun, May 14, 2017 at 16:03 -0500: > On 05/14/2017 12:40 PM, John-Mark Gurney wrote: > > Rajil Saraswat wrote this message on Sat, May 13, 2017 at 20:34

Re: PCIE card with USB ports

2017-05-14 Thread Rajil Saraswat
On 05/14/2017 12:40 PM, John-Mark Gurney wrote: > Rajil Saraswat wrote this message on Sat, May 13, 2017 at 20:34 -0500: >> I am looking for a recommendation for an out-of-the-box working PCIE >> card with USB controller. > They all should just work. The driver interfa

Re: PCIE card with USB ports

2017-05-14 Thread Rajil Saraswat
On 05/14/2017 12:40 PM, John-Mark Gurney wrote: > Rajil Saraswat wrote this message on Sat, May 13, 2017 at 20:34 -0500: >> I am looking for a recommendation for an out-of-the-box working PCIE >> card with USB controller. > They all should just work. The driver interfa

PCIE card with USB ports

2017-05-13 Thread Rajil Saraswat
Hello, I am looking for a recommendation for an out-of-the-box working PCIE card with USB controller. Thanks ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any

Host filesystem in Bhyve

2017-03-26 Thread Rajil Saraswat
Hello, It seems that FreeNAS 10 is able to expose the host filesystem to bhyve sessions. Is there any plan to bring that feature into FreeBSD? Thanks ___ freebsd-virtualization@freebsd.org mailing list

Re: Zvol, Bhyve/Pfsense and config restore

2017-02-09 Thread Rajil Saraswat
How can i access the vm filesystem on the host? > > Which volmode is in use for vmpool/os5 ('zfs get volmode vmpool/os5')? > > I don't know what patritioning scheme pfsens uses, but 'gpart show > /dev/zvol/vmpool/os5' would be of interest. > > You need volmode "geom" and something like

Zvol, Bhyve/Pfsense and config restore

2017-02-09 Thread Rajil Saraswat
Hello, I am trying to setup a pfsense instance under bhyve. Until now i had a standalone machine for pfsense but it is going away for RMA so i am trying to replace it with a bhyve instance. The /cf/conf/config.xml file needs to be copied over to the bhyve instance. I created the zvol (zfs create

Re: Debian 8 CPU stall

2016-12-16 Thread Rajil Saraswat
On 12/11/2016 11:11 AM, Peter Grehan wrote: > Hi Rajil, > >> I don't seem to have that sysctl on my system. Should i create one? > > It's there: > >> # sysctl -a |grep vmm > ... >> hw.vmm.vmx.cap.posted_interrupts: 1 >> hw.vmm.vmx.cap.virtual_interrupt_delivery: 1 > > The easiest way to disable

Re: Debian 8 CPU stall

2016-12-11 Thread Rajil Saraswat
On 12/11/2016 01:20 AM, Peter Grehan wrote: Looks like a possibly lost interrupt. Can you check to see if this system is using APIC virtualization ? # sysctl -a hw.vmm.vmx.cap ... hw.vmm.vmx.cap.posted_interrupts: 1 hw.vmm.vmx.cap.virtual_interrupt_delivery: 1 (these will be zero if APIC

Re: Debian 8 CPU stall

2016-12-07 Thread Rajil Saraswat
On 12/06/2016 10:50 PM, Peter Grehan wrote: > Hi Rajil, > >> I get these messages in Debian 8 VM running in bhyve FreeBSD-11 >> release. Any idea what could be the issue: >> >> INFO: rcu_sched detected stalls on CPUs/tasks: {} (detected by 0, >> t=11047 jiffies, g=1038939, c=1038938, q=77) >>

Re: bhyve windows guest unable to ping default gateway or external networks

2016-11-15 Thread Rajil Saraswat
On 11/15/2016 03:51 PM, Dustin Marquess wrote: > If it's a bug, I don't believe it's in the virtio stack. > > I'm using Chelsio NICs on my bhyve servers, and I don't have to > disable anything for my guests to work, I even have TOE enabled. > > -Dustin > > Following is the bug i was referring to:

Re: bhyve windows guest unable to ping default gateway or external networks

2016-11-15 Thread Rajil Saraswat
On Nov 15, 2016 5:58 AM, wrote: > > Hello, > > I am trying to get a windows server VM running under bhyve. So far I can use VNC to install Windows, but I've been unable to get the networking working. I will provide details below, and include a summary up here. On the

Re: bhyve, ixgbe and debian 8

2016-11-12 Thread Rajil Saraswat
On 11/09/2016 01:38 PM, Peter Grehan wrote: > Hi Rajil, > >> Is this specific to hardware or linux distribution ? > > Possibly both. > > The PCI device reset change that I mentioned earlier is > https://svnweb.freebsd.org/base?view=revision=306520 > > If you upgrade to 11-stable you should

Re: bhyve, ixgbe and debian 8

2016-11-09 Thread Rajil Saraswat
On Nov 7, 2016 2:01 PM, "Peter Grehan" wrote: > > Hi Rajil, > > >>> I tried with the second onboard NIC and it worked the first time. iperf >>> showed 10g speeds. After restarting the VM, i get an error for both >>> NICs. > > > What's the FreeBSD host version ? There was work

Re: bhyve, ixgbe and debian 8

2016-11-07 Thread Rajil Saraswat
On Nov 7, 2016 2:01 PM, "Peter Grehan" wrote: > > Hi Rajil, > > >>> I tried with the second onboard NIC and it worked the first time. iperf >>> showed 10g speeds. After restarting the VM, i get an error for both >>> NICs. > > > What's the FreeBSD host version ? There was work

Re: bhyve, ixgbe and debian 8

2016-11-07 Thread Rajil Saraswat
On 11/07/2016 07:41 AM, Rajil Saraswat wrote: > On 11/07/2016 07:08 AM, Rajil Saraswat wrote: >> Hello, >> >> I have PCI passthrough working now for the Intel X540-AT2 NIC and is >> seen inside debian 8 vm. >> >> # lspci >> >> 00:00.0 Host brid

Re: bhyve, ixgbe and debian 8

2016-11-07 Thread Rajil Saraswat
On 11/07/2016 07:08 AM, Rajil Saraswat wrote: > Hello, > > I have PCI passthrough working now for the Intel X540-AT2 NIC and is > seen inside debian 8 vm. > > # lspci > > 00:00.0 Host bridge: Network Appliance Corporation Device 1275 > 00:04.0 SCSI storage controller

bhyve, ixgbe and debian 8

2016-11-07 Thread Rajil Saraswat
Hello, I have PCI passthrough working now for the Intel X540-AT2 NIC and is seen inside debian 8 vm. # lspci 00:00.0 Host bridge: Network Appliance Corporation Device 1275 00:04.0 SCSI storage controller: Red Hat, Inc Virtio block device 00:05.0 Ethernet controller: Red Hat, Inc Virtio network

Re: PCI pass-through does not work

2016-11-07 Thread Rajil Saraswat
On 11/06/2016 10:19 PM, Anish Gupta wrote: > I don't see vmm messages in boot log http://pastebin.com/aKvQVGRT > From previous e-mail, looks like missing end quote (") > > mlxen_load="YES" > vmm_load="YES <<< should be vmm_load="YES*" * > pptdevs="3/0/0 3/0/1" > > -Anish that did it! Interfaces

Re: PCI pass-through does not work

2016-11-06 Thread Rajil Saraswat
On 11/06/2016 06:35 PM, Anish Gupta wrote: > Can you boot in verbose mode and send dmesg output? Also is vmm.ko > getting loaded, is it in kldstat? > > -Anish > > Yes, kldstat does show vmm loaded and i have couple of vm's active. The /var/log/messages file is at http://pastebin.com/aKvQVGRT #

Re: PCI pass-through does not work

2016-11-05 Thread Rajil Saraswat
On 11/05/16 23:24, Ryan Stone wrote: > Did you set vmm_load="YES" in loader.conf? > > > No, i dont have that entry in loader.conf. However, i am successfully running few vm's using vm-bhyve. The rc.conf looks like this vm_enable="YES" vm_dir="zfs:tank/vm" vm_delay="5"

Re: Bhyve and Poor network speed with Intel X540-AT2

2016-11-05 Thread Rajil Saraswat
On 11/05/16 14:24, Rajil Saraswat wrote: > Hello, > > I am running debian8 in a bhyve instance. The host has a 10g network and > uses Intel X540-AT2 NIC. The guest has a poor network speed in the order > of 2-3 kBps. However, if i disable the hardware offload features of the

Bhyve and Poor network speed with Intel X540-AT2

2016-11-05 Thread Rajil Saraswat
Hello, I am running debian8 in a bhyve instance. The host has a 10g network and uses Intel X540-AT2 NIC. The guest has a poor network speed in the order of 2-3 kBps. However, if i disable the hardware offload features of the NIC it brings the host speed from 10g to 1g, and bhyve shows 1g speed as

Re: Fwd: bhyve centos7-64 guest nvidia graphic card passthru get error when load nvidia driver

2016-09-17 Thread Rajil Saraswat
On 09/17/2016 09:59 PM, Jov wrote: > the nouveau driver is loaded before I install the nv driver.One step for > install the nv driver is to disable the nouveau driver by adding > /etc/modprobe.d/blacklist-nouveau.conf. > > I use the offical driver because I want to use CUDA. > > Jov > blog:

Re: Fwd: bhyve centos7-64 guest nvidia graphic card passthru get error when load nvidia driver

2016-09-17 Thread Rajil Saraswat
On 09/17/2016 09:31 PM, Jov wrote: > Subject: bhyve centos7-64 guest nvidia graphic card passthru get error when > load nvidia driver > To: freebsd-virtualization@freebsd.org > > > lshw on guest: > *-display UNCLAIMED > description: VGA compatible controller >

Graphics card for hardware acceleration

2016-09-09 Thread Rajil Saraswat
Hello, I have a remote Linux vm running which is accessed using x2go. I would like to use hardware acceleration for the GUI. The bhyve wiki suggests that pcie devices using MSI/MSI-X interrupts can only be used. Can somebody suggest what card can I use for passthrough and hardware acceleration?