Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2021 08:28:20 -0700
From:      Neel Chauhan <nc@FreeBSD.org>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        current@freebsd.org
Subject:   Re: Kernel/driver hacking: panic: Assertion vm_object_busied((m->object)) failed at /usr/src/sys/vm/vm_page.c:5455
Message-ID:  <faa2032dde20ffbdc012bda307bce1f0@FreeBSD.org>
In-Reply-To: <b76f0409-1104-23bc-827b-76525a32bdc3@selasky.org>
References:  <e542a0c737f24d15df0fadd985e94938@neelc.org> <b76f0409-1104-23bc-827b-76525a32bdc3@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 2021-06-16 00:35, Hans Petter Selasky wrote:
> Do you have the full backtrace?

Yes.

I have attached a stack trace in the previous email, but if you didn't 
get it, I have uploaded it to GitHub: 
https://gist.github.com/neelchauhan/437bd10239f84c563aafb37ab440029a

> Doesn't this code work in the current DRM - kmod? What changed? Did
> you perhaps miss a patch?

I think there is new code with Linux 5.6 which changes how this is done.

I have been attempting to make a FreeBSD equivalent, but it panics. It 
is **not** from missing Linux commits since I believe I added them all.

The code in my GH repo: 
https://github.com/neelchauhan/drm-kmod/blob/5.7-wip/drivers/gpu/drm/i915/gem/i915_gem_mman.c#L346

> --HPS

-Neel (nc@)




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