Project

General

Profile

Actions

Bug #6760

closed

Hugepages Error for ARM64 and af-packet IPS mode

Added by Samiux A 10 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Suricata 7.0.3
Debian 12.x
CPU : ARM64 - 8 cores
af-packet IPS mode

I got the following error message :

[220680 - Suricata-Main] 2024-02-09 02:11:13 Error: hugepages: unable to open /sys/devices/system/node/
[220680 - Suricata-Main] 2024-02-09 02:11:13 Error: hugepages: failed to obtain number of NUMA nodes in the system


Subtasks 1 (0 open1 closed)

Bug #6761: Hugepages Error for ARM64 and af-packet IPS mode (7.0.x backport)ClosedLukas SismisActions

Related issues 1 (0 open1 closed)

Related to Suricata - Bug #6762: Hugepages Error for FreeBSD when kernel NUMA build option is not enabledClosedLukas SismisActions
Actions #1

Updated by Samiux A 10 months ago

The directory of /sys/devices/system/ is :

clockevents clocksource container cpu

The directory of /sys/devices/system/cpu is :

cpu0 cpu3 cpu6 cpuidle kernel_max online present vulnerabilities
cpu1 cpu4 cpu7 hotplug modalias possible smt
cpu2 cpu5 cpufreq isolated offline power uevent

Actions #2

Updated by Victor Julien 10 months ago

  • Status changed from New to Assigned
  • Assignee changed from OISF Dev to Lukas Sismis
  • Target version changed from TBD to 8.0.0-beta1
  • Label Needs backport to 7.0 added

It should start up as normal, but I agree the errors are noise for af-packet. This code really should only run for capture methods that require it. IIRC currently only DPDK.

Actions #3

Updated by OISF Ticketbot 10 months ago

  • Subtask #6761 added
Actions #4

Updated by OISF Ticketbot 10 months ago

  • Label deleted (Needs backport to 7.0)
Actions #5

Updated by Victor Julien 10 months ago

  • Related to Bug #6762: Hugepages Error for FreeBSD when kernel NUMA build option is not enabled added
Actions #6

Updated by Samiux A 10 months ago

It seems that after the device is rebooted, the warning message gone.

Actions #7

Updated by Lukas Sismis 10 months ago

  • Status changed from Assigned to In Review
Actions #8

Updated by Lukas Sismis 10 months ago

  • Status changed from In Review to Resolved
Actions #9

Updated by Lukas Sismis 9 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF