[Bug 234341] [Hyper-V] accessing hn0 when running CURRENT under Hyper-V on Windows 10 Pro crashes the machine

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 2 15:50:37 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234341

Martin Birgmeier <d8zNeCFG at aon.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|accessing hn0 when running  |[Hyper-V] accessing hn0
                   |CURRENT under Hyper-V on    |when running CURRENT under
                   |Windows 10 Pro crashes the  |Hyper-V on Windows 10 Pro
                   |machine                     |crashes the machine

--- Comment #1 from Martin Birgmeier <d8zNeCFG at aon.at> ---
I just tried this again with head as of r343663, again with an immediate panic
when accessing the virtual network interface.

I can run FreeBSD under Hyper-V only using the legacy network adapter. Alas,
this is de(4) which is slated for removal soon. So the problem is becoming more
pressing.

Is there anyone running FreeBSD successfully under Hyper-V on Windows 10 Pro?
If yes, are there any special settings needed?

Here is a kgdb session of the crash dump written from ddb. Note that if_de was
not loaded when the crash occurred, I guess it is only read by kgdb because I
changed /boot/loader.conf back to using it.

[0]# /usr/libexec/kgdb /boot/kernel/kernel /var/crash/vmcore.0
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...

Unread portion of the kernel message buffer:
<118>Clearing /tmp (X related).

Fatal double fault
rip 0x226489 rsp 0x7fffffffe3d0 rbp 0x7fffffffe3d0
rax 0 rdx 0 rbx 0x80072f005
rcx 0x80072ba18 rsi 0x80079b000 rdi 0x80072b9e7
r8 0x1 r9 0x80072ba88 r10 0x80072ba00
r11 0 r12 0 r13 0x7fffffffe4e0
r14 0x80072b9c0 r15 0 rflags 0x10206
cs 0x43 ss 0x3b ds 0x3b es 0x3b fs 0x13 gs 0x1b
fsbase 0x8002548d0 gsbase 0xffffffff80e14500 kgsbase 0
cpuid = 1; apic id = 01
timeout stopping cpus
panic: double fault
cpuid = 1
time = 1549121393
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00012f5da0
vpanic() at vpanic+0x1b4/frame 0xfffffe00012f5e00
panic() at panic+0x43/frame 0xfffffe00012f5e60
dblfault_handler() at dblfault_handler+0x1de/frame 0xfffffe00012f5f30
Xdblfault() at Xdblfault+0xc3/frame 0xfffffe00012f5f30
--- trap 0x17, rip = 0x226489, rsp = 0x7fffffffe3d0, rbp = 0x7fffffffe3d0 ---
KDB: enter: panic

Reading symbols from /boot/kernel/agp.ko...Reading symbols from
/usr/lib/debug//boot/kernel/agp.ko.debug...done.
done.
Loaded symbols for /boot/kernel/agp.ko
Reading symbols from /boot/kernel/ataintel.ko...Reading symbols from
/usr/lib/debug//boot/kernel/ataintel.ko.debug...done.
done.
Loaded symbols for /boot/kernel/ataintel.ko
Reading symbols from /boot/kernel/atapci.ko...Reading symbols from
/usr/lib/debug//boot/kernel/atapci.ko.debug...done.
done.
Loaded symbols for /boot/kernel/atapci.ko
Reading symbols from /boot/kernel/ata.ko...Reading symbols from
/usr/lib/debug//boot/kernel/ata.ko.debug...done.
done.
Loaded symbols for /boot/kernel/ata.ko
Reading symbols from /boot/kernel/ahci.ko...Reading symbols from
/usr/lib/debug//boot/kernel/ahci.ko.debug...done.
done.
Loaded symbols for /boot/kernel/ahci.ko
Reading symbols from /boot/kernel/smb.ko...Reading symbols from
/usr/lib/debug//boot/kernel/smb.ko.debug...done.
done.
Loaded symbols for /boot/kernel/smb.ko
Reading symbols from /boot/kernel/smbus.ko...Reading symbols from
/usr/lib/debug//boot/kernel/smbus.ko.debug...done.
done.
Loaded symbols for /boot/kernel/smbus.ko
Reading symbols from /boot/kernel/intpm.ko...Reading symbols from
/usr/lib/debug//boot/kernel/intpm.ko.debug...done.
done.
Loaded symbols for /boot/kernel/intpm.ko
Reading symbols from /boot/kernel/speaker.ko...Reading symbols from
/usr/lib/debug//boot/kernel/speaker.ko.debug...done.
done.
Loaded symbols for /boot/kernel/speaker.ko
Reading symbols from /boot/kernel/snd_hda.ko...Reading symbols from
/usr/lib/debug//boot/kernel/snd_hda.ko.debug...done.
done.
Loaded symbols for /boot/kernel/snd_hda.ko
Reading symbols from /boot/kernel/sound.ko...Reading symbols from
/usr/lib/debug//boot/kernel/sound.ko.debug...done.
done.
Loaded symbols for /boot/kernel/sound.ko
Reading symbols from /boot/kernel/if_le.ko...Reading symbols from
/usr/lib/debug//boot/kernel/if_le.ko.debug...done.
done.
Loaded symbols for /boot/kernel/if_le.ko
Reading symbols from /boot/kernel/hv_netvsc.ko...Reading symbols from
/usr/lib/debug//boot/kernel/hv_netvsc.ko.debug...done.
done.
Loaded symbols for /boot/kernel/hv_netvsc.ko
Reading symbols from /boot/kernel/hv_vmbus.ko...Reading symbols from
/usr/lib/debug//boot/kernel/hv_vmbus.ko.debug...done.
done.
Loaded symbols for /boot/kernel/hv_vmbus.ko
Reading symbols from /boot/kernel/geom_label.ko...Reading symbols from
/usr/lib/debug//boot/kernel/geom_label.ko.debug...done.
done.
Loaded symbols for /boot/kernel/geom_label.ko
Reading symbols from /boot/kernel/geom_md.ko...Reading symbols from
/usr/lib/debug//boot/kernel/geom_md.ko.debug...done.
done.
Loaded symbols for /boot/kernel/geom_md.ko
Reading symbols from /boot/kernel/procfs.ko...Reading symbols from
/usr/lib/debug//boot/kernel/procfs.ko.debug...done.
done.
Loaded symbols for /boot/kernel/procfs.ko
Reading symbols from /boot/kernel/pseudofs.ko...Reading symbols from
/usr/lib/debug//boot/kernel/pseudofs.ko.debug...done.
done.
Loaded symbols for /boot/kernel/pseudofs.ko
Reading symbols from /boot/kernel/fdescfs.ko...Reading symbols from
/usr/lib/debug//boot/kernel/fdescfs.ko.debug...done.
done.
Loaded symbols for /boot/kernel/fdescfs.ko
Reading symbols from /boot/kernel/if_de.ko...Reading symbols from
/usr/lib/debug//boot/kernel/if_de.ko.debug...done.
done.
Loaded symbols for /boot/kernel/if_de.ko
#0  doadump (textdump=<value optimized out>) at pcpu.h:230
230     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) where
#0  doadump (textdump=<value optimized out>) at pcpu.h:230
#1  0xffffffff80343dcb in db_dump (dummy=<value optimized out>, 
    dummy2=<value optimized out>, dummy3=<value optimized out>, 
    dummy4=<value optimized out>)
    at /.../hal/z/SRC/FreeBSD/head/sys/ddb/db_command.c:574
#2  0xffffffff80343b99 in db_command (cmd_table=<value optimized out>, 
    dopager=1) at /.../hal/z/SRC/FreeBSD/head/sys/ddb/db_command.c:481
#3  0xffffffff80343914 in db_command_loop ()
    at /.../hal/z/SRC/FreeBSD/head/sys/ddb/db_command.c:534
#4  0xffffffff80346b5f in db_trap (type=<value optimized out>, 
    code=<value optimized out>)
    at /.../hal/z/SRC/FreeBSD/head/sys/ddb/db_main.c:252
#5  0xffffffff804fcc14 in kdb_trap (type=3, code=0, tf=<value optimized out>)
    at /.../hal/z/SRC/FreeBSD/head/sys/kern/subr_kdb.c:692
#6  0xffffffff8073fcbc in trap (frame=0xfffffe00012f5cd0)
    at /.../hal/z/SRC/FreeBSD/head/sys/amd64/amd64/trap.c:619
#7  0xffffffff8071c445 in calltrap ()
    at /.../hal/z/SRC/FreeBSD/head/sys/amd64/amd64/exception.S:232
#8  0xffffffff804fc31b in kdb_enter (why=0xffffffff807fea12 "panic", 
    msg=<value optimized out>) at cpufunc.h:65
#9  0xffffffff804b2781 in vpanic (fmt=<value optimized out>, 
    ap=0xfffffe00012f5e40)
    at /.../hal/z/SRC/FreeBSD/head/sys/kern/kern_shutdown.c:866
---Type <return> to continue, or q <return> to quit---
#10 0xffffffff804b25a3 in panic (fmt=<value optimized out>)
    at /.../hal/z/SRC/FreeBSD/head/sys/kern/kern_shutdown.c:804
#11 0xffffffff807406ce in dblfault_handler (frame=<value optimized out>)
    at /.../hal/z/SRC/FreeBSD/head/sys/amd64/amd64/trap.c:970
#12 0xffffffff8071c573 in Xdblfault ()
    at /.../hal/z/SRC/FreeBSD/head/sys/amd64/amd64/exception.S:294
#13 0x0000000000226489 in ?? ()
Previous frame inner to this frame (corrupt stack?)
Current language:  auto; currently minimal
(kgdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list