FreeBSD 11 als Hyper-V Guest klappt nicht

handwerker

Well-Known Member
Hi !

Ich versuche gerade eine neue virtuelle Maschine unter Windows Server 2012R2 aufzusetzen.
Boote von einem FreeBSD 11.0-RELEASE ISO Image.
Scheitere beim Partitionieren.
Auf der Shell finde ich auch keine Platte mit
Code:
camcontrol devlist -v zeigt nur 
<Msft Virtual CD/ROM 1.0> at scbus0 target 0 lun 0 (cd0,pass0)
ein Rescan bringt auch nichts

Beim Booten vom ISO Image sehe ich eine Meldung:
Code:
(da0:blkvsc0:0:0:0): Periph destroyed

Die Shell friert dann auch ein und reagiert nur noch STRG-ALT-ENTF

Mit einer FreeBSD 10.3 ISO Image keine Probleme.

Habe ich was in den RELEASE Notes übersehen ?

Da gabs doch mal ein "error 19" Problem
 
Schreibe am besten mal an freebsd-virtualization@. Die Microsoft-Jungs sind da sehr aktiv und hilfsbereit.
 
Schauen wir mal ob die "Gurus" das Problem lösen können :)

Hi !

I tried to install a FreeBSD 11.0-RELEASE from the FreeBSD-11.0-RELEASE-amd64-disc1.iso.
I have no success. The bsdinstall has a problem while partitioning the virtual disk.
I investigated into the problem and found that the virtual machine “looses” the connection to the disk.
If I go the shell immediately after booting from the isoimage I have no hard disk.

Please have a look at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212721

Bellow my dmesg piped via nc to another maschine ☺ I assume I have the same problem.
-----------------------------------------------------------------------------------------------------------------------------------------------
Code:
Uptime: 4m17s
Rebooting...
Copyright (c) 1992-2016 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 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016
  [EMAIL]root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC[/EMAIL] amd64 FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
VT(vga): text 80x25
Hyper-V Version: 6.3.9600 [SP18]
  Features=0xe7f<VPRUNTIME,TMREFCNT,SYNIC,SYNTM,APIC,HYPERCALL,VPINDEX,REFTSC,IDLE,TMFREQ>
  PM Features=0x0 [C2]
  Features3=0x17b2<DEBUG,XMMHC,IDLE,NUMA,TMFREQ,SYNCMC,CRASH,NPIEP>
Timecounter "Hyper-V" frequency 10000000 Hz quality 2000
CPU: Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz (2300.00-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x306f2  Family=0x6  Model=0x3f  Stepping=2
  Features=0xf83fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,SS>
  Features2=0xfed83203<SSE3,PCLMULQDQ,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND,HV>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x21<LAHF,ABM>
  Structured Extended Features=0x2328<BMI1,AVX2,BMI2,ERMS,NFPUSG>
  XSAVE Features=0x1<XSAVEOPT>
Hypervisor: Origin = "Microsoft Hv"
real memory  = 4294967296 (4096 MB)
avail memory = 4114669568 (3924 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
random: entropy device external interface
kbd1 at kbdmux0
netmap: loaded module
module_register_init: MOD_LOAD (vesa, 0xffffffff8101c950, 0) error 19
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
vtvga0: <VT VGA driver> on motherboard
cryptosoft0: <software crypto> on motherboard
acpi0: <VRTUAL MICROSFT> on motherboard
acpi0: Power Button (fixed)
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)
vgapci0: <VGA-compatible display> mem 0xf8000000-0xfbffffff irq 11 at device 8.0 on pci0
vgapci0: Boot video device
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
vmbus0: <Hyper-V Vmbus> irq 5,7 on acpi0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: cannot reserve I/O port range
Timecounters tick every 1.000 msec
nvme cam probe device init
cd0 at ata1 bus 0 scbus0 target 0 lun 0
cd0: <Msft Virtual CD/ROM 1.0> Removable CD-ROM SPC-3 SCSI device
cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: 656MB (336104 2048 byte sectors)
Trying to mount root from cd9660:/dev/iso9660/11_0_RELEASE_P1_AMD64_CD [ro]...
hvet0: <Hyper-V event timer> on vmbus0
Event timer "Hyper-V" frequency 10000000 Hz quality 1000
storvsc0: <Hyper-V IDE Storage Interface> on vmbus0
storvsc1: <Hyper-V SCSI Storage Interface> on vmbus0
(probe0:blkvsc0:0:0:0): storvsc scsi_status = 2
(probe1:blkvsc0:0:1:1): invalid LUN 1
da0 at blkvsc0 bus 0 scbus1 target 0 lun 0
da0: <Msft Virtual Disk 1.0> Fixed Direct Access SPC-2 SCSI device
da0: 300.000MB/s transfers
da0: Command Queueing enabled
da0: 40960MB (83886080 512 byte sectors)
(probe0:blkvsc0:0:0:1): invalid LUN 1
da0 at blkvsc0 bus 0 scbus1 target 0 lun 0
da0: <Msft Virtual Disk 1.0> detached
hvheartbeat0: <Hyper-V Heartbeat Service> on vmbus0
hvkvp0: <Hyper-V KVP Service> on vmbus0
(probe0:storvsc1:0:0:1): invalid LUN 1
(probe1:storvsc1:0:1:1): invalid LUN 1
hvshutdown0: <Hyper-V Shutdown Service> on vmbus0
hvtimesync0: <Hyper-V Time Synch Service> on vmbus0
hn0: <Hyper-V Network Interface> on vmbus0
hn0: LRO: entry count 128
hn0: unknown status 1073872902 received
hn0: unknown status 1073872902 received
hn0: hv send offload request succeeded
hn0: 1 TX ring, 1 RX ring
hn0: Ethernet address: 00:15:5d:1a:dc:22
hn0: TSO: 65517/31/4096
vmbus0: device scan, probe and attach done taskqgroup_adjust failed cnt: 1 stride: 1 mp_ncpus: 1 smp_started: 0 taskqgroup_adjust failed cnt: 1 stride: 1 mp_ncpus: 1 smp_started: 0 Timecounter "TSC-low" frequency 1149998624 Hz quality 800
(da0:blkvsc0:0:0:0): Periph destroyed
random: unblocking device.
hn0: link state changed to UP
camcontrol devlist -v results to:
Code:
scbus0 on ata1 bus 0:
<Msft Virtual CD/ROM 1.0>  at scbus0 target 0 lun 0 (cd0,pass0)
<>  at scbus0 target -1 lun ffffffff ()
scbus1 on blkvsc0 bus 0:
<>  at scbus1 target -1 lun ffffffff ()
scbus2 on storvsc1 bus 0:
<>  at scbus2 target -1 lun ffffffff ()
scbus-1 on xpt0 bus 0:
<>  at scbus-1 target -1 lun ffffffff (xpt0)
With FreeBSD 10.3-Release ISO-Image no problems.
 
Sorry, das ist das erste mal, das ich in einen solchen Bugreport gelesen habe. Insbesondere der letzte Comment #43 hat mich rätseln lassen.
Anscheinend gibt es da schon einen Lösungsvorschlag. Der Bug ist aber noch offen, also ist er noch nicht drin? oder muss ich das anders lesen ?
 
MFC heißt "move from current". Du wirst den Patch dann nicht im -RELEASE finden, nur in 10-STABLE und 11-STABLE. Man kann sich aber sicherlich selbst ein Installationsmedium erstellen, das auf -STABLE basiert.

Rob
 
Zurück
Oben