Re: 10.2-RELEASE guest in Hyper-V boot failed.

2015-08-17 Thread hshh
I have tried da0p3 da1p3 da2p3 da3p3 (There are 4 daX devices after
upgrade 10.2, only 1 in 10.1).

On Tue, Aug 18, 2015 at 12:56 PM, Wei Hu  wrote:
> Try /dev/da1p2, /dev/da2p2, etc. If I remember correctly, there was a change 
> in the Hyper-V storage code which started to use kernel's SCSI scanning code 
> instead of its own. This may cause the different order of disk discovery.
>
> The commit might have merged into 10 stable branch after 10.1 was released, 
> though I am not 100% sure.
>
> Wei
>
>
>> -Original Message-
>> From: owner-freebsd-virtualizat...@freebsd.org [mailto:owner-freebsd-
>> virtualizat...@freebsd.org] On Behalf Of hshh
>> Sent: Monday, August 17, 2015 6:37 PM
>> To: freebsd-virtualization@freebsd.org
>> Subject: 10.2-RELEASE guest in Hyper-V boot failed.
>>
>> After upgrade to 10.2-RELEASE from 10.1, my FreeBSD guest hang on boot.
>> Kernel can not find out rootfs.
>> All daX devices size is 0MB !!
>> Someone has this issue too,
>> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fforums
>> .freebsd.org%2fthreads%2f10-2-cant-see-hdd-on-hyper-v-
>> 2k8r2.52797%2f&data=01%7c01%7cweh%40microsoft.com%7cf25547e255284
>> 4640abe08d2a6efc2d5%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=
>> OurrirRoKEriFaYm17JAcwBO3nswmMCM9mKmF1Td2tk%3d
>>
>> Hyper-V host is win2008.
>>
>> As 10.1, HDD mounted in freebsd is da0p2.
>> # gpart show
>> =>  34  41942973  da0  GPT  (20G)
>> 34  10241  freebsd-boot  (512K)
>>   1058   41943042  freebsd-swap  (2.0G)
>>4195362 6   - free -  (3.0K)
>>4195368  377476323  freebsd-ufs  (18G)
>>   41943000 7   - free -  (3.5K)
>>
>> # df -h
>> FilesystemSizeUsed   Avail Capacity  Mounted on
>> /dev/da0p3 17G5.0G 11G31%/
>> devfs 1.0K1.0K  0B   100%/dev
>>
>> # swapinfo
>> Device  1K-blocks UsedAvail Capacity
>> /dev/da0p22097152 2116  2095036 0%
>>
>> --
>> @hshh
>> ___
>> freebsd-virtualization@freebsd.org mailing list
>> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2flists.fre
>> ebsd.org%2fmailman%2flistinfo%2ffreebsd-
>> virtualization&data=01%7c01%7cweh%40microsoft.com%7cf25547e25528446
>> 40abe08d2a6efc2d5%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=Co
>> Br%2b445s%2bzBUxLCH7CgohatSGMO4Zztb5jqcGTET9k%3d
>> To unsubscribe, send any mail to "freebsd-virtualization-
>> unsubscr...@freebsd.org"



-- 
@hshh
___
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: 10.2-RELEASE guest in Hyper-V boot failed.

2015-08-17 Thread Wei Hu
Try /dev/da1p2, /dev/da2p2, etc. If I remember correctly, there was a change in 
the Hyper-V storage code which started to use kernel's SCSI scanning code 
instead of its own. This may cause the different order of disk discovery.

The commit might have merged into 10 stable branch after 10.1 was released, 
though I am not 100% sure.

Wei
 

> -Original Message-
> From: owner-freebsd-virtualizat...@freebsd.org [mailto:owner-freebsd-
> virtualizat...@freebsd.org] On Behalf Of hshh
> Sent: Monday, August 17, 2015 6:37 PM
> To: freebsd-virtualization@freebsd.org
> Subject: 10.2-RELEASE guest in Hyper-V boot failed.
> 
> After upgrade to 10.2-RELEASE from 10.1, my FreeBSD guest hang on boot.
> Kernel can not find out rootfs.
> All daX devices size is 0MB !!
> Someone has this issue too,
> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fforums
> .freebsd.org%2fthreads%2f10-2-cant-see-hdd-on-hyper-v-
> 2k8r2.52797%2f&data=01%7c01%7cweh%40microsoft.com%7cf25547e255284
> 4640abe08d2a6efc2d5%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=
> OurrirRoKEriFaYm17JAcwBO3nswmMCM9mKmF1Td2tk%3d
> 
> Hyper-V host is win2008.
> 
> As 10.1, HDD mounted in freebsd is da0p2.
> # gpart show
> =>  34  41942973  da0  GPT  (20G)
> 34  10241  freebsd-boot  (512K)
>   1058   41943042  freebsd-swap  (2.0G)
>4195362 6   - free -  (3.0K)
>4195368  377476323  freebsd-ufs  (18G)
>   41943000 7   - free -  (3.5K)
> 
> # df -h
> FilesystemSizeUsed   Avail Capacity  Mounted on
> /dev/da0p3 17G5.0G 11G31%/
> devfs 1.0K1.0K  0B   100%/dev
> 
> # swapinfo
> Device  1K-blocks UsedAvail Capacity
> /dev/da0p22097152 2116  2095036 0%
> 
> --
> @hshh
> ___
> freebsd-virtualization@freebsd.org mailing list
> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2flists.fre
> ebsd.org%2fmailman%2flistinfo%2ffreebsd-
> virtualization&data=01%7c01%7cweh%40microsoft.com%7cf25547e25528446
> 40abe08d2a6efc2d5%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=Co
> Br%2b445s%2bzBUxLCH7CgohatSGMO4Zztb5jqcGTET9k%3d
> 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: 10.2-RELEASE guest in Hyper-V boot failed.

2015-08-17 Thread hshh
But GENERIC KERNEL already included
options HYPERV  # Hyper-V kernel infrastructure
device  hyperv  # HyperV drivers

My kernel config file include GENERIC.

Is your VM HDD attached to IDE or SCSI? Mine is IDE, and wanna try SCSI.

-- 
@hshh
___
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-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: 10.2-RELEASE guest in Hyper-V boot failed.

2015-08-17 Thread Bart Derda
hshh  writes:

> 
> After upgrade to 10.2-RELEASE from 10.1, my FreeBSD guest hang on boot.
> Kernel can not find out rootfs.
> All daX devices size is 0MB !!
> Someone has this issue too,
> https://forums.freebsd.org/threads/10-2-cant-see-hdd-on-hyper-v-2k8r2.52797/


I had the same situations - I checked LINT file and added "options HYPERV"
to my (10.1) kernel config - after that everything is ok.


___
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: HEAD UP: notice to FreeBSD/Xen Dom0 users

2015-08-17 Thread Roger Pau Monné
Hello,

El 15/08/15 a les 15.36, Outback Dingo ha escrit:
> HEAD UP on 10.2 the instructions found at
> http://wiki.xen.org/wiki/FreeBSD_Dom0
>  git branch
>  master
> * stable-4.5
> 
> 
> 
> no longer appear to work
> 
> gmake -j8 install-tools HOSTCC=gcc48 CC=gcc48
> 
> fails with
> __SNIP__
> gmake[3]: Entering directory
> '/usr/home/dingo/xen/tools/qemu-xen-dir-remote'
>  GEN   config-host.h
>  GEN   trace/generated-tracers.h
>  GEN   trace/generated-tracers.c
>  LINK  qemu-nbd
>  LINK  qemu-img
> c++  LINK  qemu-io
> : error: unknown argument: '-fstack-protector-strong'
> c++: error: unknown argument: '-fstack-protector-strong'

I've tried to reproduce this with a fresh checkout without success. I
guess you have some libraries in your system that change the way Qemu is
built. In any case, can you try the following rune:

gmake -j8 install-tools HOSTCC=gcc48 CC=gcc48 HOSTCXX=g++48 CXX=g++48

Also, did you perform a distclean before building? (If the tree is not a
fresh checkout).

Roger.
___
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"


10.2-RELEASE guest in Hyper-V boot failed.

2015-08-17 Thread hshh
After upgrade to 10.2-RELEASE from 10.1, my FreeBSD guest hang on boot.
Kernel can not find out rootfs.
All daX devices size is 0MB !!
Someone has this issue too,
https://forums.freebsd.org/threads/10-2-cant-see-hdd-on-hyper-v-2k8r2.52797/

Hyper-V host is win2008.

As 10.1, HDD mounted in freebsd is da0p2.
# gpart show
=>  34  41942973  da0  GPT  (20G)
34  10241  freebsd-boot  (512K)
  1058   41943042  freebsd-swap  (2.0G)
   4195362 6   - free -  (3.0K)
   4195368  377476323  freebsd-ufs  (18G)
  41943000 7   - free -  (3.5K)

# df -h
FilesystemSizeUsed   Avail Capacity  Mounted on
/dev/da0p3 17G5.0G 11G31%/
devfs 1.0K1.0K  0B   100%/dev

# swapinfo
Device  1K-blocks UsedAvail Capacity
/dev/da0p22097152 2116  2095036 0%

-- 
@hshh
___
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"