From owner-freebsd-bugs@freebsd.org Thu Aug 23 15:25:13 2018 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 A7C4B1090565 for ; Thu, 23 Aug 2018 15:25:13 +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 454B2767B2 for ; Thu, 23 Aug 2018 15:25:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 098AC1090564; Thu, 23 Aug 2018 15:25:13 +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 BFC961090562 for ; Thu, 23 Aug 2018 15:25:12 +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 471CC767B1 for ; Thu, 23 Aug 2018 15:25:12 +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 78CE022C78 for ; Thu, 23 Aug 2018 15:25:11 +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 w7NFPBQW023488 for ; Thu, 23 Aug 2018 15:25:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w7NFPBBV023466 for bugs@FreeBSD.org; Thu, 23 Aug 2018 15:25:11 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 230845] VIMAGE regression: breaks netfront suspend/resume Date: Thu, 23 Aug 2018 15:25:07 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: royger@freebsd.org 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.27 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2018 15:25:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230845 Bug ID: 230845 Summary: VIMAGE regression: breaks netfront suspend/resume Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: royger@freebsd.org Hello, It seems like some VIMAGE changes have broken netfront suspend/resume, here= is the trace on resume from suspension: Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0x28 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80c92f18 stack pointer =3D 0x28:0xfffffe0000571670 frame pointer =3D 0x28:0xfffffe0000571690 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 16 (xenwatch) Tracing pid 16 tid 100074 td 0xfffff80003890580 ether_output_frame() at ether_output_frame+0x58/frame 0xfffffe0000571690 ether_output() at ether_output+0x68b/frame 0xfffffe0000571730 arprequest() at arprequest+0x444/frame 0xfffffe0000571840 arp_ifinit() at arp_ifinit+0x58/frame 0xfffffe0000571880 netfront_backend_changed() at netfront_backend_changed+0x1b4/frame 0xfffffe0000571940 xenwatch_thread() at xenwatch_thread+0x182/frame 0xfffffe0000571970 fork_exit() at fork_exit+0x84/frame 0xfffffe00005719b0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00005719b0 The code that triggers the bug in netfront is: /** * If this interface has an ipv4 address, send an arp for it. This * helps to get the network going again after migrating hosts. */ static void netfront_send_fake_arp(device_t dev, struct netfront_info *info) { struct ifnet *ifp; struct ifaddr *ifa; ifp =3D info->xn_ifp; CK_STAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) { if (ifa->ifa_addr->sa_family =3D=3D AF_INET) { arp_ifinit(ifp, ifa); } } } I really have no idea of what's missing here, so any help by people involved with VIMAGE in order to fix this regression would be greatly appreciated. --=20 You are receiving this mail because: You are the assignee for the bug.=