uvdl / linux-imx

i.MX Linux Kernel
Other
2 stars 1 forks source link

alloc_contig_range: [x, y) PFNs busy #7

Open bvacaliuc opened 4 years ago

bvacaliuc commented 4 years ago

Under certain conditions, this message continuously emits this on the console, pauses for a bit, then resumes. It seems to relate to a certain application running, anecdotally video streaming:

https://community.nxp.com/t5/i-MX-Processors/Why-kernel-print-quot-alloc-contig-range-5fc00-603ea-PFNs-busy/m-p/817446 https://bugzilla.redhat.com/show_bug.cgi?id=1387793 https://groups.google.com/g/linux.kernel/c/0FH77HAuDMQ https://lkml.org/lkml/2016/12/28/298 https://www.spinics.net/lists/linux-media/msg132506.html

Kernel version: Linux IMX6ee65ef19200b39d4 4.9.88-10284-ga554fb2 #1 SMP PREEMPT Thu Feb 27 18:52:54 EST 2020 armv7l GNU/Linux

bvacaliuc commented 4 years ago

Confirm video streaming is the trigger:

>>> no messages
uvdl@IMX6ee65ef19200b39d4:~$ sudo systemctl start video-stream
uvdl@IMX6ee65ef19200b39d4:~$ ERROR: v4l2 capture: slave not found!
alloc_contig_range: [44580, 44594) PFNs busy
alloc_contig_range: [44580, 44594) PFNs busy
alloc_contig_range: [44580, 44594) PFNs busy
alloc_contig_range: [44580, 44594) PFNs busy
alloc_contig_range: [44580, 44594) PFNs busy

uvdl@IMX6ee65ef19200b39d4:~$ alloc_contig_range: [44580, 44594) PFNs busy

uvdl@IMX6ee65ef19200b39d4:~$ alloc_contig_range: [44580, 44594) PFNs busy
sudo systemctl stop video-streamalloc_contig_range: [44580, 44594) PFNs busy

mxc_vpu 2040000.vpu_fsl: VPU interrupt received.
uvdl@IMX6ee65ef19200b39d4:~$ 
>>> no messages