From owner-freebsd-bugs@FreeBSD.ORG Mon Jan 13 12:30:00 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A540B4DA for ; Mon, 13 Jan 2014 12:30:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7F86A18EC for ; Mon, 13 Jan 2014 12:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0DCU0p9020425 for ; Mon, 13 Jan 2014 12:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0DCU0Bc020424; Mon, 13 Jan 2014 12:30:00 GMT (envelope-from gnats) Resent-Date: Mon, 13 Jan 2014 12:30:00 GMT Resent-Message-Id: <201401131230.s0DCU0Bc020424@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Igor Mozolevsky Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D204D40A for ; Mon, 13 Jan 2014 12:26:26 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BD55218BF for ; Mon, 13 Jan 2014 12:26:26 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s0DCQPgE033925 for ; Mon, 13 Jan 2014 12:26:25 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s0DCQPe9033912; Mon, 13 Jan 2014 12:26:25 GMT (envelope-from nobody) Message-Id: <201401131226.s0DCQPe9033912@oldred.freebsd.org> Date: Mon, 13 Jan 2014 12:26:25 GMT From: Igor Mozolevsky To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/185742: r260387 breaks Hyper-V (Win 2012r2 Server) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jan 2014 12:30:00 -0000 >Number: 185742 >Category: kern >Synopsis: r260387 breaks Hyper-V (Win 2012r2 Server) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 13 12:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Igor Mozolevsky >Release: 10-stable >Organization: >Environment: FreeBSD 10.0-PRERELEASE #0: Mon Jan 13 12:10:38 GMT 2014 root@buildbox:/usr/obj/usr/src/sys/BUILDBOX amd64 FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 >Description: 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-PRERELEASE #0: Mon Jan 13 12:10:38 GMT 2014 root@buildbox:/usr/obj/usr/src/sys/BUILDBOX amd64 FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 CPU: Intel(R) Xeon(R) CPU E3-1240 V2 @ 3.40GHz (1715.16-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x306a9 Family = 0x6 Model = 0x3a Stepping = 9 Features=0x1f83fbff Features2=0xfe982203 AMD Features=0x20100800 AMD Features2=0x1 Standard Extended Features=0x200 real memory = 6442450944 (6144 MB) avail memory = 6224138240 (5935 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 8 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 … storvsc0 on vmbus0 kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x20 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff804173b7 stack pointer = 0x28:0xfffffe0175acb5d0 frame pointer = 0x28:0xfffffe0175acb600 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process = 0 (hv_control_1 taskq) [ thread pid 0 tid 100046 ] Stopped at turnstile_broadcast+0x67: movq 0x20(%rbx,%rax,1),%rdx db> bt Tracing pid 0 tid 100046 td 0xfffff8000453d920 turnstile_broadcast() at turnstile_broadcast+0x67/frame 0xfffffe0175acb600 __mtx_unlock_sleep() at __mtx_unlock_sleep+0x60/frame 0xfffffe0175acb630 unlock_mtx() at unlock_mtx+0x2a/frame 0xfffffe0175acb640 _sleep() at _sleep+0x16e/frame 0xfffffe0175acb6c0 cam_periph_runccb() at cam_periph_runccb+0x9e/frame 0xfffffe0175acb7f0 storvsc_attach() at storvsc_attach+0x6d4/frame 0xfffffe0175acb890 device_attach() at device_attach+0x3a2/frame 0xfffffe0175acb8f0 hv_vmbus_child_device_register() at hv_vmbus_child_device_register+0xdb/frame 0xfffffe0175acb990 vmbus_channel_process_offer() at vmbus_channel_process_offer+0x133/frame 0xfffffe0175acb9d0 work_item_callback() at work_item_callback+0x26/frame 0xfffffe0175acb9f0 taskqueue_run_locked() at taskqueue_run_locked+0xe6/frame 0xfffffe0175acba40 taskqueue_thread_loop() at taskqueue_thread_loop+0xa8/frame 0xfffffe0175acba70 fork_exit() at fork_exit+0x75/frame 0xfffffe0175acbab0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0175acbab0 --- trap 0, rip = 0, rsp = 0xfffffe0175acbb70, rbp = 0 --- >How-To-Repeat: Compile the system with: === Start === BUILDBOX Kernel === cpu HAMMER ident BUILDBOX makeoptions DEBUG=-g options NO_SYSCTL_DESCR options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options TCP_OFFLOAD options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_EXTATTR options UFS_EXTATTR_AUTOSTART options MSDOSFS # MSDOS Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. options KBD_INSTALL_CDEV # install a CDEV entry in /dev options SMP # Symmetric MultiProcessor Kernel options KDB options DDB options BREAK_TO_DEBUGGER device uart device acpi device pci device hyperv # ATA controllers device ahci # AHCI-compatible SATA controllers device ata # Legacy ATA/SATA controllers options ATA_STATIC_ID # Static device numbering # ATA/SCSI peripherals device scbus # SCSI bus (required for ATA/SCSI) device da # Direct Access (disks) device pass # Passthrough device (direct ATA/SCSI access) #device ctl # CAM Target Layer device atkbdc device atkbd device kbdmux # keyboard multiplexer device vga # VGA video card driver device sc options SC_PIXEL_MODE # add support for the raster text mode device loop # Network loopback device random # Entropy device device ether # Ethernet support device vlan # 802.1Q VLAN support #device tun # Packet tunnel. device pty # BSD-style compatibility pseudo ttys device md # Memory "disks" #device gif # IPv6 and IPv4 tunneling #device faith # IPv6-to-IPv4 relaying (translation) device crypto options IPSTEALTH options TCP_SIGNATURE options NFSCL options IPSEC device bpf # Berkeley packet filter === End === BUILDBOX Kernel === === Start === BUILDBOX make.conf === NO_MODULES=1 KERNCONF=BUILDBOX CFLAGS+=-O2 -pipe -fno-builtin -fomit-frame-pointer COPTFLAGS+=-O2 -pipe -fno-builtin -fomit-frame-pointer CPUTYPE?=native === End === BUILDBOX make.conf === === Start === BUILDBOX src.conf === WITHOUT_ACCT=1 WITHOUT_AMD=1 WITHOUT_ATM=1 WITHOUT_AUDIT=1 WITHOUT_AUTHPF=1 WITHOUT_BIND=1 WITHOUT_BLUETOOTH=1 WITHOUT_CALENDAR=1 WITHOUT_CDDL=1 WITHOUT_CTM=1 WITHOUT_CVS=1 WITHOUT_DICT=1 WITHOUT_DYNAMICROOT=1 WITHOUT_EXAMPLES=1 WITHOUT_FLOPPY=1 WITHOUT_FREEBSD_UPDATE=1 WITHOUT_GAMES=1 WITHOUT_GCOV=1 WITHOUT_GDB=1 WITHOUT_GPIB=1 WITHOUT_GPIO=1 WITHOUT_GSSAPI=1 WITHOUT_HTML=1 WITHOUT_INFO=1 WITHOUT_IPFILTER=1 WITHOUT_IPFW=1 WITHOUT_IPX=1 WITHOUT_KERBEROS=1 WITHOUT_LIB32=1 WITHOUT_LOCALES=1 WITHOUT_LPR=1 WITHOUT_MAIL=1 WITHOUT_MAILWRAPPER=1 WITHOUT_NCP=1 WITHOUT_NDIS=1 WITHOUT_NETGRAPH=1 WITHOUT_NIS=1 WITHOUT_NLS=1 WITHOUT_NLS_CATALOGS=1 WITHOUT_PC_SYSINSTALL=1 WITHOUT_PKG_BOOTSTRAP=1 WITHOUT_PKGTOOLS=1 WITHOUT_PMC=1 WITHOUT_PORTSNAP=1 WITHOUT_PPP=1 WITHOUT_PROFILE=1 WITHOUT_QUOTAS=1 WITHOUT_RESCUE=1 WITHOUT_ROUTED=1 WITHOUT_SENDMAIL=1 WITHOUT_SHAREDOCS=1 WITHOUT_SYSINSTALL=1 WITHOUT_TESTS=1 WITHOUT_USB=1 WITHOUT_WIRELESS=1 WITHOUT_WPA_SUPPLICANT_EAPOL=1 WITHOUT_ZFS=1 === End === BUILDBOX src.conf === >Fix: >Release-Note: >Audit-Trail: >Unformatted: