From owner-freebsd-virtualization@freebsd.org Mon Jul 16 15:24:15 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 932B7102CF06 for ; Mon, 16 Jul 2018 15:24:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1387B760C5 for ; Mon, 16 Jul 2018 15:24:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C4E8C102CF05; Mon, 16 Jul 2018 15:24:14 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A0B6A102CF03 for ; Mon, 16 Jul 2018 15:24:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 39B04760C2 for ; Mon, 16 Jul 2018 15:24:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4A68113804 for ; Mon, 16 Jul 2018 15:24:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6GFODqD005585 for ; Mon, 16 Jul 2018 15:24:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6GFODhn005584 for virtualization@FreeBSD.org; Mon, 16 Jul 2018 15:24:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 229167] [Hyper-V] [Jun 19, 2018] Recently FreeBSD VM panics during boot-up, especially with Mellanox VF configured Date: Mon, 16 Jul 2018 15:24:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pete@twisted.org.uk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 15:24:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229167 --- Comment #27 from pete@twisted.org.uk --- Here is a 'bt' from the last ZFS boot attempt, in case it helps. ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 10.000 msec usb_needs_explore_all: no devclass vmbus0: version 3.0 hvet0: on vmbus0 Event timer "Hyper-V" frequency 10000000 Hz quality 1000 storvsc0: on vmbus0 storvsc1: on vmbus0 hvkbd0: on vmbus0 hvheartbeat0: on vmbus0 hvkvp0: on vmbus0 da0 at blkvsc0 bus 0 scbus2 target 0 lun 0 da0: Fixed Direct Access SPC-3 SCSI device da0: 300.000MB/s transfers da0: Command Queueing enabled da0: 30720MB (62914560 512 byte sectors) hvshutdown0: da1 at blkvsc1 bus 0 scbus3 target 1 lun 0 da1: Fixed Direct Access SPC-3 SCSI device da1: 300.000MB/s transfers da1: Command Queueing enabled da1: 32768MB (67108864 512 byte sectors) on vmbus0 hvtimesync0: on vmbus0 hvtimesync0: RTT hvvss0: on vmbus0 hn0: on vmbus0 hn0: got notify, nvs type 128 hn0: Ethernet address: 00:0d:3a:2e:a3:c7 hn0: link state changed to UP storvsc2: on vmbus0 storvsc3: on vmbus0 pcib1: on vmbus0 WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from zfs:zroot/ROOT/default []... pci1: on pcib1 mlx4_core0: at device 2.0 on pci1 <6>mlx4_core: Mellanox ConnectX core driver v3.4.1 (October 2017) mlx4_core: Initializing mlx4_core mlx4_core0: Detected virtual function - running in slave mode mlx4_core0: Sending reset mlx4_core0: Sending vhcr0 mlx4_core0: HCA minimum page size:512 mlx4_core0: Timestamping is not supported in slave mode mlx4_en mlx4_core0: Activating port:1 mlxen0: Ethernet address: 00:0d:3a:2e:a3:c7 <4>mlx4_en: mlx4_core0: Port 1: Using 4 TX rings mlxen0: link state changed to DOWN <4>mlx4_en: mlx4_core0: Port 1: Using 4 RX rings hn0: link state changed to DOWN <4>mlx4_en: mlxen0: Using 4 TX rings <4>mlx4_en: mlxen0: Using 4 RX rings <4>mlx4_en: mlxen0: Initializing port Fatal trap 12: page fault while in kernel mode cpuid =3D 3; apic id =3D 03 fault virtual address =3D 0x1d8 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80c6a3ea stack pointer =3D 0x28:0xfffffe00004bb950 frame pointer =3D 0x28:0xfffffe00004bb960 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 0 (vmbusdev) [ thread pid 0 tid 100105 ] Stopped at vrefact+0xa: cmpl $0x4,ll+0x1b7(%r14) db> bt Tracing pid 0 tid 100105 td 0xfffff80004a02580 vrefact() at vrefact+0xa/frame 0xfffffe00004bb960 namei() at namei+0x20d/frame 0xfffffe00004bba20 vn_open_cred() at vn_open_cred+0x213/frame 0xfffffe00004bbb60 linker_load_module() at linker_load_module+0x4cf/frame 0xfffffe00004bbe70 kern_kldload() at kern_kldload+0xf1/frame 0xfffffe00004bbec0 mlx4_request_modules() at mlx4_request_modules+0x93/frame 0xfffffe00004bbf80 mlx4_load_one() at mlx4_load_one+0x3196/frame 0xfffffe00004bc630 mlx4_init_one() at mlx4_init_one+0x410/frame 0xfffffe00004bc690 linux_pci_attach() at linux_pci_attach+0x411/frame 0xfffffe00004bc6f0 device_attach() at device_attach+0x3f3/frame 0xfffffe00004bc730 device_probe_and_attach() at device_probe_and_attach+0x71/frame 0xfffffe00004bc760 bus_generic_attach() at bus_generic_attach+0x18/frame 0xfffffe00004bc780 pci_attach() at pci_attach+0xd5/frame 0xfffffe00004bc7c0 device_attach() at device_attach+0x3f3/frame 0xfffffe00004bc800 device_probe_and_attach() at device_probe_and_attach+0x71/frame 0xfffffe00004bc830 bus_generic_attach() at bus_generic_attach+0x18/frame 0xfffffe00004bc850 vmbus_pcib_attach() at vmbus_pcib_attach+0x95e/frame 0xfffffe00004bc940 device_attach() at device_attach+0x3f3/frame 0xfffffe00004bc980 device_probe_and_attach() at device_probe_and_attach+0x71/frame 0xfffffe00004bc9b0 vmbus_add_child() at vmbus_add_child+0x6a/frame 0xfffffe00004bc9e0 taskqueue_run_locked() at taskqueue_run_locked+0x14c/frame 0xfffffe00004bca= 40 taskqueue_thread_loop() at taskqueue_thread_loop+0x88/frame 0xfffffe00004bc= a70 fork_exit() at fork_exit+0x84/frame 0xfffffe00004bcab0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00004bcab0 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- db> --=20 You are receiving this mail because: You are the assignee for the bug.=