Tips on remote debugging for filesystem code

Aijaz Baig aijazbaig1 at gmail.com
Fri Aug 25 01:03:27 UTC 2017


Yes please I would love to hear about this as well. Nonetheless if any one
of you Kirk or Julian could help me get started a bit with what how you
guys use it (and those scripts that Kirk talks about), it would be really
nice.

By the way is this bhyve the only way to go for fs code debugging?

On Fri, Aug 25, 2017 at 12:00 AM, Kirk McKusick <mckusick at mckusick.com>
wrote:

> > To: Aijaz Baig <aijazbaig1 at gmail.com>, freebsd-fs at freebsd.org
> > Subject: Re: Tips on remote debugging for filesystem code
> > From: Julian Elischer <julian at freebsd.org>
> > Date: Thu, 24 Aug 2017 16:24:50 +0800
> >
> > On 24/8/17 1:40 pm, Aijaz Baig wrote:
> >
> >> ...
> >> How do you guys normally do it? Keen to hear tips and best practices
> >
> > I have had more success recently using BHype to make a Virtual FreeBSD
> > machine and connecting to it using the built-in gdb interface.
> >
> > Firstly it is easier than a serial interface and secondly you don't
> > need two machines.
>
> Is there documentation that describes how to do this? I have been using
> a patched up set of scripts provided by John Baldwin a couple of years
> ago to use kgdb with a bhyve VM. But if there is an existing way to do
> it now, I would rather switch to it.
>
>         Kirk McKusick
>



-- 

Best Regards,
Aijaz Baig


More information about the freebsd-fs mailing list