From nobody Wed Oct 4 14:30:25 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S0xtT4KxQz4w2CP for ; Wed, 4 Oct 2023 14:30:25 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S0xtT3FDkz4D2K for ; Wed, 4 Oct 2023 14:30:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696429825; a=rsa-sha256; cv=none; b=scziyrR0jbwZ/WzxcQisLb4k9ijVMm3kAxouQu6d7Xs7QoqakpCNAMxVrQqIlHJIJO577f o3CssTaMK4wGFC6dW218ZgeB+JkSB+VSCA6ZgaCv7IQEsvSZN6XHkVpcFyLQ/PO2m9IYh1 3WvvXv5pIMrlO32oZj11JICDmQgiAJVZwkHU8KeeI5iBclP11hr+/jECNw47KLc13CeFC+ gkX9m3BbeBM8FOxpyigtfrGahPcBJfAMNi7qvwTzx87o4D/bYuvkOZ2UmG9mn6DJF2xU8Q pUrH4/srtU0OHPBQltqGAx21sqpVN6IGDddJMvF+53zSBTMiulNv6pOSRgNcEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696429825; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GKbyeNDv05R3S3Hhfa0bLEteDCI0LLT/aKCz01irnp4=; b=m7PlbCna4TAonBmaYgLpAtrJ/G1Vh1IcNs4mlWdJgkbvyA4FiVbG4iHdmaVndnj+Vo3c2W /or2ERHM146epvscxnxpadNGz+cIY1WQVzrFpuy6FTyrdPQUTrnYu0sAdPWqyKA2NNZ377 O7RLGctbNMdfpH/YhgQJdR61OfpDvnbvJV7n577rOaPtkEUF6J0eQ3fYXsY5AgZGGDz+ov 9Y/DaxLYmyX3Esntnpfu8kcQMRkveQaXyBZHzukrWkLvT7m4WBrwEm9p+wSnmCEPgIK0uf M8e2N0vElMLvGxgMs3ujfv6TtJsn7dwT/B6q0gRTV3WlMiC+0OR8eUj7SUXVKw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S0xtT2BVSzgwd for ; Wed, 4 Oct 2023 14:30:25 +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 394EUPUs048708 for ; Wed, 4 Oct 2023 14:30:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 394EUPGb048707 for bugs@FreeBSD.org; Wed, 4 Oct 2023 14:30:25 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 273715] dumpon: Kernel panic on boot when enabling dumpon over IP Date: Wed, 04 Oct 2023 14:30:25 +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: 13.2-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273715 --- Comment #12 from Mark Johnston --- Oh, I see. It turns out that the ifnet pointer is optional, debugnet_conne= ct() will derive the correct ifnet using other netdump parameters, plus the rout= ing table. So to provide the old behaviour we should continue if ifunit_ref() returns NULL (and maybe print a warning...?), or look up ifnets by device n= ame as well. But this also means that to configure netdump, you don't need an interface = name at all. But the rc.d/dumpon script requires it (you need to set "dumpdev" = to something). So yes, maybe we should have a rc.d/netdump script instead... --=20 You are receiving this mail because: You are the assignee for the bug.=