[dpdk-dev] FreeBSD 13 Memory / Contigmem Issues With Booting

Brandon Lo blo at iol.unh.edu
Wed Jun 16 22:24:05 CEST 2021


Hi everyone,

I have been trying to expand the UNH IOL unit testing coverage over to
FreeBSD 13.
Following this documentation:
https://doc.dpdk.org/guides/freebsd_gsg/build_dpdk.html#loading-the-dpdk-contigmem-module

I compiled the contigmem kernel module from the latest DPDK v21.05 and
set the variables in /boot/loader.conf.
This results in a kernel trap 12 on boot with a machine that has 4GB
of RAM available and 1 GB assigned for contigmem.

If I only set the loader.conf to load the contigmem kernel module
without setting any variables, then it boots fine.
However, using these default settings, DPDK unit tests (fast-suite)
fail in some of the test cases.

Is this a memory-related issue where the virtual machine does not have
enough memory allocated (if so, how much RAM is needed?),
or is it related to compatibility issues between the different FreeBSD versions?

Thanks,
Brandon

-- 
Brandon Lo

UNH InterOperability Laboratory

21 Madbury Rd, Suite 100, Durham, NH 03824

blo at iol.unh.edu

www.iol.unh.edu


More information about the dev mailing list