Tips on remote debugging for filesystem code

Kirk McKusick mckusick at mckusick.com
Sun Aug 27 19:04:07 UTC 2017


> From: Aijaz Baig <aijazbaig1 at gmail.com>
> Date: Sun, 27 Aug 2017 22:04:41 +0530
> Subject: Re: Tips on remote debugging for filesystem code
> To: Kirk McKusick <mckusick at mckusick.com>
> 
> Thanks for the heads up Kirk. Unfortunately I just ran into a roadblock
> with Bhyve since I am running FreeBSD on core2duo which "officially"
> doesn't support Bhyve yet.
> 
> Is there some other way I can get this to work? I have installed FreeBSD
> bare metal now if it helps.

Best solution is to get some hardware that can run bhyve :-)

Absent that, you can revert to the historic method of remote
debugging over serial lines, see chapter 10 of the FreeBSD
handbook. More specifically:

https://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-gdb.html

	Kirk McKusick


More information about the freebsd-fs mailing list