Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Fastmap kernel panic

Open
#2 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
28/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
c, debian, linux

Research direction

Start by reproducing the listed setup with commit 1af50c1, the dmap module loaded via modprobe, and scripts/load-it-blkdev.sh creating /dev/dmap/dmap1. Run rand_threads_read and rand_threads_write, then inspect the kernel panic details and the dmap-related entry points. Done means identifying the failure cause and documenting a fix or the additional information needed to diagnose it.

Written by the indexing model from the issue text.

Description

Hi,
I am trying to use Fastmap in combination with libvmmalloc or vmem to offload memory for quantum chemistry applications to many nvme-drives. I have gotten libvmmalloc and pmem to work. However, Fastmap gives me some trouble by causing kernel panics.
Could you please have a look an give or do you have any idea what the reason could be? Or which additional information would be helpful.

Steps to reproduce:

  • Debian oldstable with Mainline Kernel 4.14.123 running in qemu 7.0.0
  • fastmap commit 1af50c1
  • swap off, transparent huge pages disabled
  • modprobe dmap perma_mmap_buf_size=16
  • /dev/dmap/dmap1 created using scripts/load-it-blkdev.sh
  • rand_threads_read /dev/dmap/dmap1 2
    • seems to work in the sense that is read from the device
  • rand_threads_write /dev/dmap/dmap1 2
    • starts to fill up the dram memory and finally leads to a kernel panic:

image

Things I have tried so far:

  • reducing the size of the cache (perma_mmap_buf_size=16)
Dominant language
C
Stars
37
Forks
6
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CARV-ICS-FORTH/FastMap

All issues in CARV-ICS-FORTH/FastMap

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.