From owner-freebsd-bugs@freebsd.org Mon Apr 8 21:28:46 2019 Return-Path: Delivered-To: freebsd-bugs@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 1893B15697DC for ; Mon, 8 Apr 2019 21:28:46 +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 A5A368CD75 for ; Mon, 8 Apr 2019 21:28:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5C0E815697DB; Mon, 8 Apr 2019 21:28:45 +0000 (UTC) Delivered-To: bugs@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 1F12715697DA for ; Mon, 8 Apr 2019 21:28:45 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AA7368CD70 for ; Mon, 8 Apr 2019 21:28:44 +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 B04A116177 for ; Mon, 8 Apr 2019 21:28:43 +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 x38LShkh025781 for ; Mon, 8 Apr 2019 21:28:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x38LSh4C025780 for bugs@FreeBSD.org; Mon, 8 Apr 2019 21:28:43 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: bugs@FreeBSD.org Subject: [Bug 237124] [xen] Crash or freeze during boot with multiple network interfaces in HVM mode with i386 kernel Date: Mon, 08 Apr 2019 21:28:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsdbugs@linuxhosted.ca X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Apr 2019 21:28:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237124 Bug ID: 237124 Summary: [xen] Crash or freeze during boot with multiple network interfaces in HVM mode with i386 kernel Product: Base System Version: 12.0-RELEASE Hardware: i386 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: freebsdbugs@linuxhosted.ca While attempting to migrate some virtual machines from a Xen 3.4 host to Xen 4.8 host (both Linux), we discovered that some FreeBSD domU vms were either freezing or crashing during boot, once on the Xen 4.8 host. After a bit of investigation it was determined that the same issue was caus= ing both the crashes and freezes. In each case, the last kernel message seen wo= uld be: xn0: backend features: feature-sg feature-gso-tcp4 After some more investigation, it was determined that booting with only 1 network interface worked fine (the problem VMs have 2 interfaces), and that= the problem only seems to exist with the i386 kernels. I tried various versions= of 11.0, 11.1, 11.2, and 12.0 RELEASE kernels, the only ones that would work w= ith more than 1 network interface are the amd64 kernels. So to summarize, to reproduce the bug: Xen 4.8 host dom0 HVM domU VM with multiple network interfaces Boot FreeBSD i386 kernel (even just booting from a FreeBSD iso encounters t= he bug) Below is the VM's xen config file: name =3D "FreeBSD-test" maxmem =3D "1024" memory =3D "1024" vcpus =3D "2" builder =3D "hvm" kernel =3D "/usr/lib/xen/boot/hvmloader" device_model_version =3D "qemu-xen-traditional" device_model_override =3D "/usr/lib64/xen/bin/qemu-dm" xen_platform_pci =3D "1" boot =3D "d" pae =3D "1" acpi =3D "1" apic =3D "1" localtime =3D "0" on_poweroff =3D "destroy" on_reboot =3D "destroy" on_crash =3D "destroy" sdl =3D "0" serial =3D "pty" vnc =3D 1 vnclisten =3D "0.0.0.0" vncconsole =3D 0 vncunused =3D 0 vncdisplay =3D 1 shadow_memory =3D "8" disk =3D [ "file:/vms/FreeBSD-test.img,hda,w", "file:/iso/FreeBSD-12.0-RELEASE-i386-disc1.iso,hdc,r,devtype=3Dcdrom" ] vif =3D [ "mac=3D00:16:3e:00:3d:42,bridge=3Dxenbr0,model=3De1000", "mac=3D00:16:3e:00:3e:42,bridge=3Dxenbr1,model=3De1000" ] cpu_weight =3D "1024" --=20 You are receiving this mail because: You are the assignee for the bug.=