Skip to content

Trixie - no support for Huge_pages in latest kernel? #7076

@byzantic

Description

@byzantic

Describe the bug

Hi - I have just upgraded to Trixie, and I'm having problems compiling a tool that I used on bookworm.

I get a warning during compile : ** Warning: madvise: MADV_HUGEPAGE: Invalid argument

This seems to be a custom warning in the code, related to huge_pages. I checked for huge_page support by running

grep "Hugepagesize:" /proc/meminfo

there's no result from this search, so I conclude there's no support for huge pages in the kernel? Is that correct? I would have thought it was usually enabled by default.

Regards Rob

Steps to reproduce the behaviour

Attempt to compile a program that requires huge page support (I was compiling nvc from https://github.com/nickg/nvc

Device (s)

Raspberry Pi 5

System

cat /etc/rpi-issue:
Raspberry Pi reference 2025-10-01
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 7dadcf1fc5ce1648ab09409ab978831690c9a955, stage4
vcgencmd version:
2025/08/27 20:01:47 
Copyright (c) 2012 Broadcom
version 000d3ca2 (release) (embedded)
uname -a
Linux carnelian 6.12.47+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16) aarch64 GNU/Linux

Logs

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions