Date: Fri, 18 Jun 2021 09:02:51 -0700 From: Bakul Shah <bakul@iitbombay.org> To: Thomas Laus <lausts@acm.org> Cc: Current FreeBSD <freebsd-current@freebsd.org> Subject: Re: drm-kmod kernel crash fatal trap 12 Message-ID: <EF0C23A2-5080-41B9-BF2E-9DC74BF965B1@iitbombay.org> In-Reply-To: <0100017a1f70fe62-104983dd-cf19-40f8-8223-e2c91cf90138-000000@email.amazonses.com> References: <01000179f13a6d3e-da7dd183-162b-4d1e-bf61-cfae3c584814-000000@email.amazonses.com> <4894bd36-92bd-596e-cc18-cd3e6aafe47f@selasky.org> <01000179f645c406-d38fbce4-d9d4-41c2-8c20-54a278d44196-000000@email.amazonses.com> <046B931E-899A-4643-B516-C1863E3D3EC3@iitbombay.org> <0100017a1f70fe62-104983dd-cf19-40f8-8223-e2c91cf90138-000000@email.amazonses.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 18, 2021, at 7:05 AM, Thomas Laus <lausts@acm.org> wrote: > > On 6/10/21 11:13 AM, Bakul Shah wrote: >> This is what I did: >> >> git clone https://github.com/freebsd/drm-kmod >> ln -s $PWD/drm-kmod /usr/local/sys/modules >> >> Now it gets compiled every time you do make buildkernel. >> If things break you can do a git pull in the drm-kmod dir >> and rebuild. >> > That did not work for me. The buildkernel operation failed at the > operation 'cleandir' phase. The message was 'don't know how to make > cleandir stop'. I suspect you are not using WITH_META_MODE=yes. That seems to obviate the need for running cleandir though I don't how (and I don't have the patience to wade through the complex logic in /usr/src/Makefile*). FWIW, my build flags: $ cat /etc/{make,src,src-env}.conf MALLOC_PRODUCTION=yes WITHOUT_CLANG=yes WITH_CCACHE_BUILD=yes CCACHE_DIR=/usr/obj/ccache WITH_META_MODE=yes If you forget to "kldload filemon" make build{kernel,world} will remind you!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EF0C23A2-5080-41B9-BF2E-9DC74BF965B1>