From owner-freebsd-bugs@freebsd.org Thu Jan 9 18:13:24 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A9D401F5729 for ; Thu, 9 Jan 2020 18:13:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47tvPJ46jLz4WLP for ; Thu, 9 Jan 2020 18:13:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8D4271F5728; Thu, 9 Jan 2020 18:13:24 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8D0861F5727 for ; Thu, 9 Jan 2020 18:13:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::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.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47tvPJ3G8Jz4WLN for ; Thu, 9 Jan 2020 18:13:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6B60A5137 for ; Thu, 9 Jan 2020 18:13:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 009IDOHe030948 for ; Thu, 9 Jan 2020 18:13:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 009IDOja030941 for bugs@FreeBSD.org; Thu, 9 Jan 2020 18:13:24 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 243223] [vtnet] panic during boot when IP is assigned in /etc/rc.conf Date: Thu, 09 Jan 2020 18:13:24 +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 Some People X-Bugzilla-Who: alfredo.junior@eldorado.org.br 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: Thu, 09 Jan 2020 18:13:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243223 Bug ID: 243223 Summary: [vtnet] panic during boot when IP is assigned in /etc/rc.conf Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: alfredo.junior@eldorado.org.br While testing a custom kernel with virtio drivers bultin on FreeBSD 13/powerpc64, I hit a panic during boot. I have the following line in /etc/rc.conf: ifconfig_vtnet0=3D"inet 10.10.20.73 netmask 255.255.255.0" If I remove this line, kernel boots correctly. Also NIC works normally if I configure the IP address manually after boot. kernel log during boot: vtnet0: link state changed to UP panic: keg vtnet_tx_hdr initialization after use. cpuid =3D 0 time =3D 1578601768 KDB: stack backtrace: 0xe00000005a459140: at kdb_backtrace+0x60 0xe00000005a459250: at vpanic+0x1d8 0xe00000005a459300: at panic+0x40 0xe00000005a459330: at uma_zone_reserve+0x160 0xe00000005a4593e0: at vtnet_debugnet_init+0xac 0xe00000005a459440: at debugnet_any_ifnet_update+0x74 0xe00000005a4594f0: at dn_ifnet_event+0x28 0xe00000005a459520: at do_link_state_change+0x29c 0xe00000005a4595d0: at taskqueue_run_locked+0x184 0xe00000005a4596a0: at taskqueue_run+0x64 0xe00000005a4596e0: at taskqueue_swi_run+0x28 0xe00000005a459710: at ithread_loop+0x2cc 0xe00000005a459820: at fork_exit+0xc4 0xe00000005a4598c0: at fork_trampoline+0x18 0xe00000005a4598f0: at -0x4 KDB: enter: panic [ thread pid 12 tid 100024 ] Stopped at kdb_enter+0x78: ori r0, r0, 0x0 db> --=20 You are receiving this mail because: You are the assignee for the bug.=