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/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273715

--- Comment #12 from Mark Johnston <markj@FreeBSD.org> ---
Oh, I see.  It turns out that the ifnet pointer is optional, debugnet_connect()
will derive the correct ifnet using other netdump parameters, plus the routing
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 name
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...

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

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