FreeBSD 11.0-RELEASE failing to probe virtual scsi controller on HyperV 2016

2017-02-17 Thread Cory Smelosky
Probably user error I bet.

Trying to boot FreeBSD 11 on HyperV 2016 w/ virtual hardware version 2
(UEFI works! wooo!) except it doesn't get very far.

Screenshot: http://imgur.com/a/zViXX

-- 
  Cory Smelosky
  b...@gewt.net
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Providing serial consoles to multiple bhyve guests

2017-02-17 Thread Paul Vixie


C. L. Martinez wrote:
> 
>> `pkg install rtty`
>> 

> Thanks Paul. But, do I need to start some daemon?

the rtty documentation explains how to start it up.

> And what options do
> I need in bhyve command line?? Something like: "bhyve -A -H -P -W -c
> 1 -u -l com1,/dev/rtty0..."??

you'll connect guest com1 to the host's /dev/nmdm?B ports, and symlink
rtty's dev entries to the host's /dev/nmdm?A ports. "?" is the name of
the vm.

-- 
P Vixie

___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Providing serial consoles to multiple bhyve guests

2017-02-17 Thread Harry Schmalzbauer
 Bezüglich C. L. Martinez's Nachricht vom 17.02.2017 15:29 (localtime):
> On Fri, Feb 17, 2017 at 01:36:52PM +0100, Harald Schmalzbauer wrote:
>>  Bezüglich C. L. Martinez's Nachricht vom 17.02.2017 09:50 (localtime):
…
>>>  I have tried to add vnc channel, but it doesn't works ..:(
>> I haven't had VNC problems besides keymapping. It's done twice and I
>> haven't found a way or a client to disable keymapping locally on a
>> session basis.
>> Have you used the "wait" option for fbuf? Did the vm start to run after
>> VNC connection attempt?
>>
> Yes, but I don't see anything in vncviewer console. Can be a problem with 
> graphics controller on my laptop (my laptop is the bhyve host)?

Just to be sure: There was a UEFI loader in use? fbuf is only for GOP,
so if you boot with CSM, you won't see anything since there's no VGA
emulation. Only UEFI-GOP.

Best,

-harry

___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Re: Providing serial consoles to multiple bhyve guests

2017-02-17 Thread C. L. Martinez
On Fri, Feb 17, 2017 at 01:36:52PM +0100, Harald Schmalzbauer wrote:
>  Bezüglich C. L. Martinez's Nachricht vom 17.02.2017 09:50 (localtime):
> > Hi all,
> >
> >  How can I use more than one serial console for several bhyve guests? 
> > According to nmdm(4) man page only two nullmodem devices can be created: 
> > nmdm0A and nmdm0B (and only nmdm0A can be assigned to one bhyve guest). 
> > Then, how can I access to these bhyve guests?
> 
> Am I wrong if I assume you confused the A/B hard-connected limit of two
> interfaces with the possibility to create nmdmN[AB] number of nmdm(4)
> devices?
> Simply use nmdm1A/B, nmdm2A/B etc.
> Not sure if I got the question rigth, answers from others don't go into
> that direction...
> 

Yes, that was my question. Thanks Harry. I have read too quickly :)

> 
> >  I have tried to add vnc channel, but it doesn't works ..:(
> 
> I haven't had VNC problems besides keymapping. It's done twice and I
> haven't found a way or a client to disable keymapping locally on a
> session basis.
> Have you used the "wait" option for fbuf? Did the vm start to run after
> VNC connection attempt?
> 
Yes, but I don't see anything in vncviewer console. Can be a problem with 
graphics controller on my laptop (my laptop is the bhyve host)?

-- 
Greetings,
C. L. Martinez
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Re: Providing serial consoles to multiple bhyve guests

2017-02-17 Thread Harald Schmalzbauer
 Bezüglich C. L. Martinez's Nachricht vom 17.02.2017 09:50 (localtime):
> Hi all,
>
>  How can I use more than one serial console for several bhyve guests? 
> According to nmdm(4) man page only two nullmodem devices can be created: 
> nmdm0A and nmdm0B (and only nmdm0A can be assigned to one bhyve guest). Then, 
> how can I access to these bhyve guests?

Am I wrong if I assume you confused the A/B hard-connected limit of two
interfaces with the possibility to create nmdmN[AB] number of nmdm(4)
devices?
Simply use nmdm1A/B, nmdm2A/B etc.
Not sure if I got the question rigth, answers from others don't go into
that direction...


>  I have tried to add vnc channel, but it doesn't works ..:(

I haven't had VNC problems besides keymapping. It's done twice and I
haven't found a way or a client to disable keymapping locally on a
session basis.
Have you used the "wait" option for fbuf? Did the vm start to run after
VNC connection attempt?

Best,

-harry

___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Status of bhyve

2017-02-17 Thread Alexander Nusov
Hello,

Do have plans for Suspend/Resume? 
I'm really waiting for this feature.

--
Alexander

> On Feb 16, 2017, at 4:07 AM, Shane Ambler  wrote:
> 
> 
> CC'ing to freebsd-virtualization as a better place to ask this.
> 
> On 16/02/2017 05:11, Andrea Venturoli wrote:
>> Hello.
>> 
>> I've been searching the web for a while, but the info I got is sparse
>> (many howtos, little on the big picture) and it's not always clear what
>> is current and what is outdated.
>> 
>> I might be in need to permanently run a Windows 64b VM (with SQL server)
>> on a new FreeBSD box, so...
> 
> Permanently as in a development environment or production?
> 
>> What's the current status of bhyve?
>> I mean, it is it production ready (meaning no critical feature is
>> missing and I can count on this VM to behave properly nearly as much as
>> the host)?
>> Any difference between 10.3 and 11.0? (I got the idea the former will be
>> supported for longer and I'd have to upgrade my poudriere in order to
>> install the latter).
> 
> 11.0 includes a "VNC accessible framebuffer driver" which is not in 10.x
> This will allow you to vnc into the bhyve instance during boot to
> install/repair windows.
> 
> You will need to run poudriere on an 11 host to build 11 packages,
> while you can sometimes have success building newer systems than the
> host, building 11 packages on a 10 host does fail for many ports.
> 
>> 
>> How well does it run Windows?
>> Would I better run W7 instead of W10 (or the other way round)?
>> What's the maximum amount of RAM I can dedicate to a VM?
>> 
>> 
>> How does it compare to VirtualBox wrt to stability and performance?
>> (I know I can find benchmarks, but, again, it's hard to tell whether
>> they can be trusted or considered current).
>> 
>> 
>> Should I use a dedicated disk (or disk mirror) for better speed?
>> Or should I use a dedicated partition on the host's disk/disk mirror?
>> Will a ZFS volume perform as good as a partition?
>> 
>> 
>> 
>> Any caveat or hint?
>> 
>> 
>> 
>> bye & Thanks
>>av.
> 
> 
> 
> -- 
> FreeBSD - the place to B...Sharing Devices
> 
> Shane Ambler
> 
> ___
> freebsd-virtualization@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to 
> "freebsd-virtualization-unsubscr...@freebsd.org"


___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Status of bhyve

2017-02-17 Thread Andrea Venturoli

On Thu, 16 Feb 2017 10:46:34 +0100, Harry Schmalzbauer  wrote:


Hello,
it depends on the features you need.


Not much, really.
Running SQL Server Express (for now) with decent performance.




· virtio-blk and jumbo frames (e1000 works with jumbo frames but
performance is not comparaable with ESXi e1000(e))
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215737


I don't think the underlying network equipment will support Jumbo Frames :(





· PCI-Passthru is very picky. If you have a card with BAR memorysize < |
!= pagesize, byhve(4) won't accept it.

>
> · device(9) as block storage backend (virtio-blk, ahci-hd) doesn't work
> if you use any PCI-passthru device
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215740

I don't think I'd need PCI passthrough (I'm fine with a disk and a 
network card).






· virtio-blk isn't virtio-win (Windows driver) compatible, guest will crash!

· virtio-net doesn't work with latest Windows drivers, which is not a
bhyve(4) problem as far as I can tell. Version 0.1.118 works, newer ones
are known to have problems on other hypervisors too.


Good to know.





· See if_bridge(4) for some limitations (all members need to have
exactly the same MTU, uplink gets checksum offloading disabled).
Generally, soft-switching capabilities ar not comparable with those of
ESXi, especially not the performace (outside netmap world).


This is a good point. :(




Other than that, it's rock solid for me
 ...

How well does it run Windows?
Would I better run W7 instead of W10 (or the other way round)?


Fine.




Should I use a dedicated disk (or disk mirror) for better speed?
Or should I use a dedicated partition on the host's disk/disk mirror?
Will a ZFS volume perform as good as a partition?


ZVOL is the best option offering great performance (depending on your
pool setup of yourse) as long as there is the PCI-passthru bug mentioned
above.


Thanks again.



 bye
av.
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Providing serial consoles to multiple bhyve guests

2017-02-17 Thread Boris Samorodov

Hi!

17.02.2017 11:50, C. L. Martinez пишет:


How can I use more than one serial console for several bhyve guests?
According to nmdm(4) man page only two nullmodem devices can be
created: nmdm0A and nmdm0B (and only nmdm0A can be assigned to one
bhyve guest). Then, how can I access to these bhyve guests?


I use sysutils/vm-bhyve for bhyve management. Using console is a breeze:
---
% sudo vm console 
---

--
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

[Bug 211746] [Hyper-V] UEFI VM can't boot from the iso installation disk

2017-02-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211746

--- Comment #16 from Dexuan Cui  ---
(In reply to Marcel Moolenaar from comment #15)
Probably. IMO this means we can't freely change the 2MB kernphys.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Providing serial consoles to multiple bhyve guests

2017-02-17 Thread C. L. Martinez
Hi all,

 How can I use more than one serial console for several bhyve guests? According 
to nmdm(4) man page only two nullmodem devices can be created: nmdm0A and 
nmdm0B (and only nmdm0A can be assigned to one bhyve guest). Then, how can I 
access to these bhyve guests?

 I have tried to add vnc channel, but it doesn't works ..:(

Thanks.

-- 
Greetings,
C. L. Martinez
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"