Re: freebsd 10.0 not work carp protocol on Hyper-v

2014-03-03 Thread Julian Elischer

On 3/2/14, 2:49 AM, Giovanni Mattera wrote:

good morning
I installed freebsd 10.0 on Hyper -V Windows Server 2012 R2.
I would like to enable the CARP protocol but is still in a state of init .
The error in dmessage is  ifa_del_loopback_route : deletion failed: 48 .
How do you configure CARP on Hyper -V ?
I've used both the card  Legacy Network  and  Network but the result is the 
same.
We are available to pay for this.


have you tried this kernel with real hardware?


Thank you.

Giovanni Mattera
-
CoST - Computers Services and Technologies s.r.l.
Via Giuseppe Longhi 13
20137 Milano MI
tel: +39 02454461
fax: +39 0245446333
cell:+393351217481
http://www.cost.it

Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone 
indicate.
La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di 
queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo 
documento per errore siete cortesemente pregati di darne immediata 
comunicazione al mittente e di provvedere alla sua distruzione.
Grazie.

This e-mail and any attachment are confidential and may contain privileged 
information intended for the addressee(s) only.
Dissemination, copying, printing or use by anybody else is unauthorized. If you 
are not the intended recipient, please delete this message and any attachment 
and advise the sender by return e-mail.
Thank you


___
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


Current problem reports assigned to freebsd-virtualization@FreeBSD.org

2014-03-03 Thread FreeBSD bugmaster
Note: to view an individual PR, use:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=(number).

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker  Resp.  Description

p kern/183835  virtualizationKernel panic with VIMAGE on insertion of axe USB 
netwo
o kern/165252  virtualization[vimage] [pf] [panic] kernel panics with VIMAGE 
and PF
o kern/161094  virtualization[vimage] [pf] [panic] kernel panic with pf + 
VIMAGE wh
o kern/160541  virtualization[vimage][pf][patch] panic: userret: Returning on 
td 0x
o kern/160496  virtualization[vimage] [pf] [patch] kernel panic with pf + VIMAGE
o kern/148155  virtualization[vimage] [pf] Kernel panic with PF + VIMAGE kernel 
opt
a kern/147950  virtualization[vimage] [carp] VIMAGE + CARP = kernel crash
s kern/143808  virtualization[pf] pf does not work inside jail

8 problems total.

___
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.0 not work carp protocol on Hyper-v

2014-03-03 Thread Maurizio Marini
On Mon, 03 Mar 2014 02:17:14 -0800
Julian Elischer jul...@freebsd.org wrote:

 On 3/2/14, 2:49 AM, Giovanni Mattera wrote:
  good morning
  I installed freebsd 10.0 on Hyper -V Windows Server 2012 R2.
  I would like to enable the CARP protocol but is still in a state of init .
  The error in dmessage is  ifa_del_loopback_route : deletion failed: 48 .
  How do you configure CARP on Hyper -V ?
  I've used both the card  Legacy Network  and  Network but the result is
  the same. We are available to pay for this.
 
 have you tried this kernel with real hardware?
 
Hello Julian
CARP with this kernel in other environment does work fine.
The issue is that carp interface never goes MASTER, it stay in INIT state w/out
going into MASTER state.
The error we see on dmesg is:  ifa_del_loopback_route : deletion failed: 48.

There is no block on MAC-ADDRESSES on Hyper-v, no firewall, nothing.

We have tried with de interface (lelacy) and hn interface: same issue.

this is the hn interface:
hn0: Synthetic Network Interface on vmbus0

this is the ifconfig output:

hn0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 
1500
options=18VLAN_MTU,VLAN_HWTAGGING
ether 00:15:5d:2c:11:21
inet6 fe80::215:5dff:fe2c:1121%hn0 prefixlen 64 scopeid 0x3 
inet 192.168.222.201 netmask 0xff00 broadcast 192.168.222.255 
inet 192.168.222.200 netmask 0xff00 broadcast 192.168.222.255 vhid 
1 
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
carp: INIT vhid 1 advbase 1 advskew 0

In attach I provide you full dmesg output

I can provide you an ssh access to this freebsd virtual machine, no problem at 
all.

Googling around we find many people facing the same issue (CARP on Hyper-v),
none was able to provide a solution in forums or mailing lists.

Looking forward to hear from you.

Best Regards


-- 
Cordiali Saluti
Maurizio Marini 
CoST - Computers Services and Technologies S.r.l.
Via Longhi, 13  - 20137 Milano
P. IVA   09585780159
Tel +39 02 45446.207
Fax +39 02 45446.333

Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone
indicate. La diffusione, copia o qualsiasi altra azione derivante dalla
conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate
ricevuto questo documento per errore siete cortesemente pregati di darne
immediata comunicazione al mittente e di provvedere alla sua distruzione.
Grazie. This e-mail and any attachment are confidential and may contain
privileged information intended for the addressee(s) only. Dissemination,
copying, printing or use by anybody else is unauthorized. If you are not the
intended recipient, please delete this message and any attachment and advise
the sender by return e-mail. Thank you



Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014
r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
module vmbus already present!
module storvsc already present!
module hn already present!
module atapci_dis already present!
CPU: Intel(R) Xeon(R) CPU5140  @ 2.33GHz (1262.62-MHz K8-class CPU)
  Origin = GenuineIntel  Id = 0x6f6  Family = 0x6  Model = 0xf  Stepping = 6
  
Features=0xf83fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,SS
  Features2=0x80002201SSE3,SSSE3,CX16,HV
  AMD Features=0x20100800SYSCALL,NX,LM
  AMD Features2=0x1LAHF
real memory  = 2147483648 (2048 MB)
avail memory = 2052059136 (1956 MB)
Event timer LAPIC quality 400
ACPI APIC Table: VRTUAL MICROSFT
ioapic0: Changing APIC ID to 0
ioapic0 Version 1.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
random: Software, Yarrow initialized
vmbus0: Vmbus Devices on motherboard
acpi0: VRTUAL MICROSFT on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, f7f0 (3) failed
cpu0: ACPI CPU on acpi0
attimer0: AT timer port 0x40-0x43 irq 0 on acpi0
Timecounter i8254 frequency 1193182 Hz quality 0
Event timer i8254 frequency 1193182 Hz quality 100
atrtc0: AT realtime clock port 0x70-0x71 irq 8 on acpi0
Event timer RTC frequency 32768 Hz quality 0
Timecounter ACPI-fast frequency 3579545 Hz quality 900
acpi_timer0: 32-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 UDMA33 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on pci0
ata0: Hyper-V ATA storage disengage driver at channel 0 on atapci0
ata1: ATA channel at channel 1 on atapci0
pci0: bridge at device 7.3 (no driver attached)

Re: bhyve core dump...

2014-03-03 Thread Peter Grehan

Hi Andrea,

I was installing mysql56 in a freebsd10 inside freebsd 10 and while doing
the install the machine bombed out. In the console this is what I got:

Assertion failed: (aior != NULL), function ahci_handle_dma, file
/usr/src/usr.sbin/bhyve/pci_ahci.c, line 445.
Abort trap (core dumped)

The VM was calculating the SHA256 of the distfile when it bombed out.
Nothing else was going on inside the VM at that time.

I even have the .core if it matters.


 This is the issue that was fixed in HEAD with

http://svnweb.freebsd.org/base?view=revisionrevision=260999

 Not yet in stable: should be there soon. The workaround is to use 
virtio block as the disk emulation.


later,

Peter.

___
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: bhyvectl

2014-03-03 Thread Peter Grehan

Hi Andrea,


I just throw away at least one hour because I was running bhyvectl destroy
--vm=something instead of bhyvectl --destroy --vm=something. Bhyvectl just
silently ignored the wrong destroy instead of --destroy.

Maybe it's worth printing out something in such circumstances??? :-)


 The simple fix, which should show up soon, is to exit in bhyveload if 
the VM has already been created (i.e. is must be deleted before 
re-running bhyveload). This will also fix the case of not running the 
delete.


 And, bhyvectl should be fixed to flag an error for this case.

later,

Peter.

___
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