Date: Fri, 9 Dec 2011 19:30:12 +0000 From: "Larry Melia (Insight Global)" <v-lamel@microsoft.com> To: "Larry Melia (Insight Global)" <v-lamel@microsoft.com>, "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org> Subject: RE: Does the HV_VMBUS build/install disable/break certain operating features? Message-ID: <F8D977975AC2204AA17E85BDAD4A9A010A5332B7@TK5EX14MBXC288.redmond.corp.microsoft.com> In-Reply-To: <F8D977975AC2204AA17E85BDAD4A9A010A533219@TK5EX14MBXC288.redmond.corp.microsoft.com> References: <F8D977975AC2204AA17E85BDAD4A9A010A533219@TK5EX14MBXC288.redmond.corp.microsoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hey folks- I'm sorry, I meant to post this on our private mailing list. -----Original Message----- From: owner-freebsd-drivers@freebsd.org [mailto:owner-freebsd-drivers@freeb= sd.org] On Behalf Of Larry Melia (Insight Global) Sent: Friday, December 09, 2011 9:38 AM To: freebsd-drivers@freebsd.org Subject: Does the HV_VMBUS build/install disable/break certain operating fe= atures? 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 emu= lated 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 key= s) 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 k= ernel) Working: 1) Legacy network driver (emulated) 2) Netvsc (Hyper-v) network driver (haven't tried Jason's last code dr= op 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" f= or GENERIC (i.e., the GENERIC configuration should be included in the HV_VM= BUS "make"). So the only differences appear to be the options to disable ad= aptive mutexes and RW locks. The following sections in the are missing in t= he 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 0xffffffff811b189= 8. 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 0xffffffff811b30= c8. Preloaded elf obj module "/boot/kernel/geom_mirror.ko" at 0xffffffff811b373= 8. 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 0xffffffff811baa= 08. Preloaded elf obj module "/boot/kernel/msdosfs_iconv.ko" at 0xffffffff811ba= eb8. 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 pres= ent; to enable, add "vfs.zfs.prefetch_disable=3D0" to /boot/loader.c= onf. 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 16= 64 (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_VMBU= S) boot.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F8D977975AC2204AA17E85BDAD4A9A010A5332B7>