Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Oct 2023 14:30:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 273715] dumpon: Kernel panic on boot when enabling dumpon over IP
Message-ID:  <bug-273715-227-BHk5Wd2hVJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273715-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273715-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273715

--- Comment #12 from Mark Johnston <markj@FreeBSD.org> ---
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273715-227-BHk5Wd2hVJ>