Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2021 16:16:22 -0700
From:      Bakul Shah <bakul@iitbombay.org>
To:        Thomas Laus <lausts@acm.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: drm-kmod kernel crash fatal trap 12
Message-ID:  <00D17F0E-B039-4FFA-B14D-2C0AD0FDBA2A@iitbombay.org>
In-Reply-To: <0100017a2692a709-a1c4025a-7548-4710-a673-5f63f11eaf4c-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> <EF0C23A2-5080-41B9-BF2E-9DC74BF965B1@iitbombay.org> <0100017a24aa52fd-6ef077f4-77b9-4443-85d4-2614a825a44f-000000@email.amazonses.com> <B9F6FCAD-6A7D-4093-8598-82221B17DEC5@iitbombay.org> <0100017a2692a709-a1c4025a-7548-4710-a673-5f63f11eaf4c-000000@email.amazonses.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 19, 2021, at 4:19 PM, Thomas Laus <lausts@acm.org> wrote:
>=20
> On 6/19/21 2:21 PM, Bakul Shah wrote:
>>=20
>> You may wish to see if Andriy Gapon's method (LOCAL_MODULES_DIR, =
LOCAL_MODULES)
>> works better for you.
>>=20
>> I trust Makefile* to do the right thing with META_MODE and CCACHE =
(and if they
>> don't, it is a bug that would need to be fixed) so I personally don't =
see the
>> need to "rm -rf /usr/obj/*".
>>=20
> I have been performing the rm -rf /usr/obj/* procedure almost weekly
> since FreeBSD 4.1 and has kept me out of trouble for many years.  The =
PC
> that I use to update Current can build both world and kernel in under =
an
> hour with a clean object directory.  Performing a 'git up ports' and
> rebuilding the drm module before building world is not a major time
> consumer for me if I remember to do it first.

One final response in this thread!

# cd /usr/src; git pull
Already up to date.
# make -j8 buildworld buildkernel >& err
# grep 'built in' err
>>> World built in 132 seconds, ncpu: 4, make -j8
>>> Kernel(s)  GENERIC built in 459 seconds, ncpu: 4, make -j8
# reboot
...
# uname -v
FreeBSD 14.0-CURRENT #6 main-n247581-0bcd49c13ada: Fri Jun 25 14:45:59 =
PDT 2021
...

This includes drm-kmod. I had run the same 4 days back.=20

This is on a bhyve *virtual machine* (4 cores, 8GB RAM).
Its "disk" is a zfs file (pretending to be NVME) on a
3 year old ryzen box with 8 cores and 64GB RAM. The host
is running 13.0-RELEASE-p1.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00D17F0E-B039-4FFA-B14D-2C0AD0FDBA2A>