Re: FreeBSD 10.2 RC2 under Windows 10 Hyper-V

2015-08-17 Thread Bart Derda
Wei Hu  writes:

> 
> Hi,
> 
> Does FreeBSD 10.1 on 2012R2 work in your case? If you can provide detailed
reproducible steps, I will try to
> set it up and troubleshoot in house.
> 

Hi, I have the same problem.
Yes, FreeBSD 10.1 on 2012R2 works in my case. When my kernel was upgrade
from 10.2 sources, I have problem with tcp/udp connection (for example - I
see SYN -> Syn ACK and nothing else, only again the same sequence (end with
reset).

I disabled tso/lso on my nics - not worked.
Today, I'm having mixed OS (kernel from 10.1 and system 10.2).


 




___
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: FreeBSD 10.2 RC2 under Windows 10 Hyper-V

2015-08-09 Thread Wei Hu
Hi,

Does FreeBSD 10.1 on 2012R2 work in your case? If you can provide detailed 
reproducible steps, I will try to set it up and troubleshoot in house.

Thanks,
Wei


> -Original Message-
> From: owner-freebsd-virtualizat...@freebsd.org [mailto:owner-freebsd-
> virtualizat...@freebsd.org] On Behalf Of C. L. Martinez
> Sent: Monday, August 10, 2015 1:05 AM
> To: freebsd-virtualization@freebsd.org
> Subject: Re: FreeBSD 10.2 RC2 under Windows 10 Hyper-V
> 
> On Sun, Aug 9, 2015 at 11:12 AM, C. L. Martinez 
> wrote:
> > One more question about this topic. Is it possible to setup release
> > 10.2 rc3 as a generation2 VM with secure boot disabled??
> >
> >
> > On Friday, August 7, 2015, C. L. Martinez  wrote:
> >>
> >> On Fri, Aug 7, 2015 at 9:21 AM, Wei Hu  wrote:
> >> > What is your Hyper-V version, 2012R2, 2012 or earlier? UDP
> >> > offloading is not working Properly on 2012 and earlier Hyper-V. I
> >> > committed a patch r286058 to
> >> > 10.2 release branch on July 30th to disable UDP offloading on these
> >> > releases. It might not be in RC2, should be in the upcoming RC3.
> >> >
> >> > Also is it working on any other 10.x releases on Hyper-V?
> >> >
> >> > Thanks,
> >> > Wei
> >> >
> >> It is a Windows 10 Enterprise host. Some time ago, I was used Windows
> >> 2012 R2 host and i need to disable tso and rx and tx checksums ...
> >>
> >> But this is a Windows 10 host ...
> 
> 
> Ok, more info about FreeBSD 10.2 RC3 relase under Hyper-V:
> 
> a) Generation2 VM doesn't works (I assume that it is expected) in Windows
> 2012 R2 and Windows 10 Hyper-V hosts (both fully patched)
> b) PF rules doesn't works when freebsd runs as a virtual firewall under
> Windows 2012 R2 and Windows 10 Hyper-V hosts (both fully patched).
> 
> At this point, any idea how goes wrong??
> 
> Thanks.
> ___
> freebsd-virtualization@freebsd.org mailing list
> https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2flists.free
> bsd.org%2fmailman%2flistinfo%2ffreebsd-
> virtualization&data=01%7c01%7cweh%40microsoft.com%7cd6a1eeb3889e4b
> 8bfd4708d2a0dcbb0e%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=7l
> VU2kmJZ1SrqLROcKXzM20R4waVSC5K5m3M39uHPxs%3d
> To unsubscribe, send any mail to "freebsd-virtualization-
> unsubscr...@freebsd.org"
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


RE: FreeBSD 10.2 RC2 under Windows 10 Hyper-V

2015-08-09 Thread Kylie Liang
Gen2 VM is not supported for FreeBSD guest yet. Could you please share me why 
do you need this feature to help us prioritize it? Thank you.

-Original Message-
From: owner-freebsd-virtualizat...@freebsd.org 
[mailto:owner-freebsd-virtualizat...@freebsd.org] On Behalf Of C. L. Martinez
Sent: Monday, August 10, 2015 1:05 AM
To: freebsd-virtualization@freebsd.org
Subject: Re: FreeBSD 10.2 RC2 under Windows 10 Hyper-V

On Sun, Aug 9, 2015 at 11:12 AM, C. L. Martinez  wrote:
> One more question about this topic. Is it possible to setup release 
> 10.2 rc3 as a generation2 VM with secure boot disabled??
>
>
> On Friday, August 7, 2015, C. L. Martinez  wrote:
>>
>> On Fri, Aug 7, 2015 at 9:21 AM, Wei Hu  wrote:
>> > What is your Hyper-V version, 2012R2, 2012 or earlier? UDP 
>> > offloading is not working Properly on 2012 and earlier Hyper-V. I 
>> > committed a patch r286058 to
>> > 10.2 release branch on July 30th to disable UDP offloading on these 
>> > releases. It might not be in RC2, should be in the upcoming RC3.
>> >
>> > Also is it working on any other 10.x releases on Hyper-V?
>> >
>> > Thanks,
>> > Wei
>> >
>> It is a Windows 10 Enterprise host. Some time ago, I was used Windows
>> 2012 R2 host and i need to disable tso and rx and tx checksums ...
>>
>> But this is a Windows 10 host ...


Ok, more info about FreeBSD 10.2 RC3 relase under Hyper-V:

a) Generation2 VM doesn't works (I assume that it is expected) in Windows 2012 
R2 and Windows 10 Hyper-V hosts (both fully patched)
b) PF rules doesn't works when freebsd runs as a virtual firewall under Windows 
2012 R2 and Windows 10 Hyper-V hosts (both fully patched).

At this point, any idea how goes wrong??

Thanks.
___
freebsd-virtualization@freebsd.org mailing list 
https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2flists.freebsd.org%2fmailman%2flistinfo%2ffreebsd-virtualization&data=01%7c01%7ckyliel%40064d.mgd.microsoft.com%7c8a8cc24701ff45603ed908d2a0dcba5a%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=jSDtvu7wqqWxqerCTuC%2bSneMOzRSixbq5gicgkpMT5M%3d
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: FreeBSD 10.2 RC2 under Windows 10 Hyper-V

2015-08-09 Thread C. L. Martinez
On Sun, Aug 9, 2015 at 11:12 AM, C. L. Martinez  wrote:
> One more question about this topic. Is it possible to setup release 10.2 rc3
> as a generation2 VM with secure boot disabled??
>
>
> On Friday, August 7, 2015, C. L. Martinez  wrote:
>>
>> On Fri, Aug 7, 2015 at 9:21 AM, Wei Hu  wrote:
>> > What is your Hyper-V version, 2012R2, 2012 or earlier? UDP offloading is
>> > not working
>> > Properly on 2012 and earlier Hyper-V. I committed a patch r286058 to
>> > 10.2 release branch on July 30th to disable UDP offloading on these
>> > releases. It might not be in RC2, should be in the upcoming RC3.
>> >
>> > Also is it working on any other 10.x releases on Hyper-V?
>> >
>> > Thanks,
>> > Wei
>> >
>> It is a Windows 10 Enterprise host. Some time ago, I was used Windows
>> 2012 R2 host and i need to disable tso and rx and tx checksums ...
>>
>> But this is a Windows 10 host ...


Ok, more info about FreeBSD 10.2 RC3 relase under Hyper-V:

a) Generation2 VM doesn't works (I assume that it is expected) in
Windows 2012 R2 and Windows 10 Hyper-V hosts (both fully patched)
b) PF rules doesn't works when freebsd runs as a virtual firewall
under Windows 2012 R2 and Windows 10 Hyper-V hosts (both fully
patched).

At this point, any idea how goes wrong??

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


Re: FreeBSD 10.2 RC2 under Windows 10 Hyper-V

2015-08-09 Thread C. L. Martinez
One more question about this topic. Is it possible to setup release 10.2
rc3 as a generation2 VM with secure boot disabled??


On Friday, August 7, 2015, C. L. Martinez  wrote:

> On Fri, Aug 7, 2015 at 9:21 AM, Wei Hu >
> wrote:
> > What is your Hyper-V version, 2012R2, 2012 or earlier? UDP offloading is
> not working
> > Properly on 2012 and earlier Hyper-V. I committed a patch r286058 to
> 10.2 release branch on July 30th to disable UDP offloading on these
> releases. It might not be in RC2, should be in the upcoming RC3.
> >
> > Also is it working on any other 10.x releases on Hyper-V?
> >
> > Thanks,
> > Wei
> >
> It is a Windows 10 Enterprise host. Some time ago, I was used Windows
> 2012 R2 host and i need to disable tso and rx and tx checksums ...
>
> But this is a Windows 10 host ...
>
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: FreeBSD 10.2 RC2 under Windows 10 Hyper-V

2015-08-07 Thread C. L. Martinez
On Fri, Aug 7, 2015 at 9:21 AM, Wei Hu  wrote:
> What is your Hyper-V version, 2012R2, 2012 or earlier? UDP offloading is not 
> working
> Properly on 2012 and earlier Hyper-V. I committed a patch r286058 to 10.2 
> release branch on July 30th to disable UDP offloading on these releases. It 
> might not be in RC2, should be in the upcoming RC3.
>
> Also is it working on any other 10.x releases on Hyper-V?
>
> Thanks,
> Wei
>
It is a Windows 10 Enterprise host. Some time ago, I was used Windows
2012 R2 host and i need to disable tso and rx and tx checksums ...

But this is a Windows 10 host ...
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


RE: FreeBSD 10.2 RC2 under Windows 10 Hyper-V

2015-08-07 Thread Wei Hu
What is your Hyper-V version, 2012R2, 2012 or earlier? UDP offloading is not 
working
Properly on 2012 and earlier Hyper-V. I committed a patch r286058 to 10.2 
release branch on July 30th to disable UDP offloading on these releases. It 
might not be in RC2, should be in the upcoming RC3. 

Also is it working on any other 10.x releases on Hyper-V?

Thanks,
Wei


> -Original Message-
> From: owner-freebsd-virtualizat...@freebsd.org [mailto:owner-freebsd-
> virtualizat...@freebsd.org] On Behalf Of C. L. Martinez
> Sent: Friday, August 7, 2015 3:10 PM
> To: freebsd-virtualization@freebsd.org
> Subject: Re: FreeBSD 10.2 RC2 under Windows 10 Hyper-V
> 
> On Fri, Aug 7, 2015 at 2:59 AM, Outback Dingo 
> wrote:
> >
> >
> > On Fri, Aug 7, 2015 at 3:40 AM, C. L. Martinez 
> wrote:
> >>
> >> Hi all,
> >>
> >>  Is it needed to install some components from ports in a FreeBSD 10.2
> >> RC2 guest under Windows 10 Hyper-V??
> >>
> >>  I am doing some tests and at this stage I have problems with my pf
> >> rules (they are working without problems in another FreeBSD 10.2 RC2
> >> guest under KVM).
> >>
> >
> > might want to explain the issue a bit further, like what kind of problem..
> > im running 10.2 under hyper-v and not seeing any issues
> >
> 
> Sure, no problems. I am sure that my pf rules are ok, because I use them in
> several FreeBSD 10.x installs.
> 
> Testing with a simple rule set like this:
> 
> scrub log on $ExtIf all reassemble tcp fragment reassemble nat on $ExtIf from
> $IntIf:network to any -> ($ExtIf) pass all
> 
> 
> ICMP proto works without problems. But UDP and TCP connections, fails.
> I can see how traffic flows in this FreeBSD vm acting as a firewall (using
> tcpdump), but connections aren't returned.
> 
> I have tried to disable tso, tx and rx checksum, etc without luck.
> 
> This FreeBSD vm is created as Gen1 hyper-v guest. I don't know if it can
> Works as Gen2. But configuring another vm inside this Hyper-V using Debian,
> iptables works without problems for all protocols.
> 
> Any idea?
> ___
> freebsd-virtualization@freebsd.org mailing list
> https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2flists.free
> bsd.org%2fmailman%2flistinfo%2ffreebsd-
> virtualization&data=01%7c01%7cweh%40microsoft.com%7c5348fbbb9f994a7
> 488cb08d29ef74fe6%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=i0C2
> TGskl4D1Qj62vD%2bWVvOTtszjx7iVJfbGQQWIXEU%3d
> To unsubscribe, send any mail to "freebsd-virtualization-
> unsubscr...@freebsd.org"
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: FreeBSD 10.2 RC2 under Windows 10 Hyper-V

2015-08-07 Thread C. L. Martinez
On Fri, Aug 7, 2015 at 2:59 AM, Outback Dingo  wrote:
>
>
> On Fri, Aug 7, 2015 at 3:40 AM, C. L. Martinez  wrote:
>>
>> Hi all,
>>
>>  Is it needed to install some components from ports in a FreeBSD 10.2
>> RC2 guest under Windows 10 Hyper-V??
>>
>>  I am doing some tests and at this stage I have problems with my pf
>> rules (they are working without problems in another FreeBSD 10.2 RC2
>> guest under KVM).
>>
>
> might want to explain the issue a bit further, like what kind of problem..
> im running 10.2 under hyper-v and not seeing any issues
>

Sure, no problems. I am sure that my pf rules are ok, because I use
them in several FreeBSD 10.x installs.

Testing with a simple rule set like this:

scrub log on $ExtIf all reassemble tcp fragment reassemble
nat on $ExtIf from $IntIf:network to any -> ($ExtIf)
pass all


ICMP proto works without problems. But UDP and TCP connections, fails.
I can see how traffic flows in this FreeBSD vm acting as a firewall
(using tcpdump), but connections aren't returned.

I have tried to disable tso, tx and rx checksum, etc without luck.

This FreeBSD vm is created as Gen1 hyper-v guest. I don't know if it
can Works as Gen2. But configuring another vm inside this Hyper-V
using Debian, iptables works without problems for all protocols.

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


Re: FreeBSD 10.2 RC2 under Windows 10 Hyper-V

2015-08-06 Thread Outback Dingo
On Fri, Aug 7, 2015 at 3:40 AM, C. L. Martinez  wrote:

> Hi all,
>
>  Is it needed to install some components from ports in a FreeBSD 10.2
> RC2 guest under Windows 10 Hyper-V??
>
>  I am doing some tests and at this stage I have problems with my pf
> rules (they are working without problems in another FreeBSD 10.2 RC2
> guest under KVM).
>
>
might want to explain the issue a bit further, like what kind of problem..
im running 10.2 under hyper-v and not seeing any issues


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