Does the HV_VMBUS build/install disable/break certain operating features?

Larry Melia (Insight Global) v-lamel at microsoft.com
Fri Dec 9 19:30:36 UTC 2011


Hey folks-

I'm sorry, I meant to post this on our private mailing list.

-----Original Message-----
From: owner-freebsd-drivers at freebsd.org [mailto:owner-freebsd-drivers at freebsd.org] On Behalf Of Larry Melia (Insight Global)
Sent: Friday, December 09, 2011 9:38 AM
To: freebsd-drivers at freebsd.org
Subject: Does the HV_VMBUS build/install disable/break certain operating features?

After installing a kernel with Hyper-V support (HV_VMBUS) certain functions are either disabled or broken. If I re-install a GENERIC kernel, however, everything works again.  Any suggestions?

After booting with Hyper-V support (HV_VMBUS):

       Not working:

1)      Mouse support is disabled or broken (this should continue to be emulated via Hyper-V)

2)      Keyboard reverts to dumb terminal mode (e.g., arrow keys no longer work and Vt102 encoded char sequences appear after depressing the arrow keys)

3)      X-windows doesn't launch (i.e., PC-BSD desktop disabled or broken), VGA driver may be disabled or broken (emulated in Hyper-V with a GENERIC kernel)

       Working:

1)      Legacy network driver (emulated)

2)      Netvsc (Hyper-v) network driver (haven't tried Jason's last code drop for storage devices)

3)      Hyper-v utilities

4)      IDE drives (emulated in Hyper-V)

5)      File system

My installation includes a full release of 8.2 with desktop support (PC-BSD 8.2). I reviewed the Hyper-V (HV_VMBUS) makefile and it has an "include" for GENERIC (i.e., the GENERIC configuration should be included in the HV_VMBUS "make"). So the only differences appear to be the options to disable adaptive mutexes and RW locks. The following sections in the are missing in the HV_VMBUS boot-up trace, but appear in the GENERIC trace:

Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff811b0000.
Preloaded elf obj module "/boot/kernel/ntfs.ko" at 0xffffffff811b01a8.
Preloaded elf obj module "/boot/kernel/ntfs_iconv.ko" at 0xffffffff811b0790.
Preloaded elf obj module "/boot/kernel/libiconv.ko" at 0xffffffff811b0c40.
Preloaded elf obj module "/boot/kernel/zfs.ko" at 0xffffffff811b1230.
Preloaded elf obj module "/boot/kernel/opensolaris.ko" at 0xffffffff811b1898.
Preloaded elf obj module "/boot/kernel/geom_eli.ko" at 0xffffffff811b1e88.
Preloaded elf obj module "/boot/kernel/crypto.ko" at 0xffffffff811b24f8.
Preloaded elf obj module "/boot/kernel/zlib.ko" at 0xffffffff811b2b60.
Preloaded elf obj module "/boot/kernel/geom_journal.ko" at 0xffffffff811b30c8.
Preloaded elf obj module "/boot/kernel/geom_mirror.ko" at 0xffffffff811b3738.
Preloaded elf obj module "/boot/kernel/geom_uzip.ko" at 0xffffffff811b3da8.
Preloaded elf obj module "/boot/kernel/sbp.ko" at 0xffffffff811b4358.
Preloaded elf obj module "/boot/kernel/if_bwn.ko" at 0xffffffff811b49c0.
Preloaded elf obj module "/boot/kernel/siba_bwn.ko" at 0xffffffff811b4fa8.
Preloaded elf obj module "/boot/kernel/if_ipw.ko" at 0xffffffff811b5518.
Preloaded elf obj module "/boot/kernel/if_iwi.ko" at 0xffffffff811b5b00.
Preloaded elf obj module "/boot/kernel/if_iwn.ko" at 0xffffffff811b60e8.
Preloaded elf obj module "/boot/kernel/if_wpi.ko" at 0xffffffff811b6650.
Preloaded elf obj module "/boot/kernel/sound.ko" at 0xffffffff811b6c38.
Preloaded elf obj module "/boot/kernel/snd_uaudio.ko" at 0xffffffff811b72a0.
Preloaded elf obj module "/boot/modules/cuse4bsd.ko" at 0xffffffff811b7890.
Preloaded elf obj module "/boot/modules/pwc.ko" at 0xffffffff811b7e40.
Preloaded elf obj module "/boot/kernel/mmc.ko" at 0xffffffff811b8368.
Preloaded elf obj module "/boot/kernel/mmcsd.ko" at 0xffffffff811b8950.
Preloaded elf obj module "/boot/kernel/ahci.ko" at 0xffffffff811b8e38.
Preloaded elf obj module "/boot/kernel/siis.ko" at 0xffffffff811b9420.
Preloaded elf obj module "/boot/kernel/sdhci.ko" at 0xffffffff811b9a08.
Preloaded elf obj module "/boot/kernel/scd.ko" at 0xffffffff811b9ff0.
Preloaded elf obj module "/boot/kernel/libmchain.ko" at 0xffffffff811ba558.
Preloaded elf obj module "/boot/kernel/cd9660_iconv.ko" at 0xffffffff811baa08.
Preloaded elf obj module "/boot/kernel/msdosfs_iconv.ko" at 0xffffffff811baeb8.
Preloaded elf obj module "/boot/kernel/udf.ko" at 0xffffffff811bb368.
Preloaded elf obj module "/boot/kernel/udf_iconv.ko" at 0xffffffff811bb950.
Preloaded elf obj module "/boot/kernel/tmpfs.ko" at 0xffffffff811bbe00.

Also missing:

cryptosoft0: <software crypto> on motherboard
crypto: assign cryptosoft0 driver id 0, flags 100663296
crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 2 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 3 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 4 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 5 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 16 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 6 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 7 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 18 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 19 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 20 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 8 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 15 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 9 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 10 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 13 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 14 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 11 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 22 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 21 flags 0 maxoplen 0
crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0

Also missing:

ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present;
            to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
ZFS filesystem version 4
ZFS storage pool version 15

Also missing (this is probably to be expected):

Linux ELF exec handler installed
linprocfs registered
t_delta 16.012fc18026605e80 too long
lo1: bpf attached
t_delta 15.fee85b3cc625f900 too short
calcru: runtime went backwards from 1639023 usec to 1198925 usec for pid 1664 (Xorg)
calcru: runtime went backwards from 24651 usec to 18037 usec for pid 1562 (console-kit-daemon) t_delta 16.01567110d969f000 too long

I've attached trace files for a normal (GENERIC) boot and a failed (HV_VMBUS) boot.



More information about the freebsd-drivers mailing list