Skip to contentSkip to conversation

Entering Non-numeric value for Setup hugepage mappings, dpdk-setup.sh still goes to create_mnt_huge function and prints misleading info

dpdk-dev [email protected] 1 participant 1 message Apr 1, 2020

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=432

Bug ID: 432
Summary: Entering Non-numeric value for Setup hugepage
mappings, dpdk-setup.sh still goes to create_mnt_huge function and prints misleading info
Product: DPDK
Version: 20.02
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: other
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

During creating hugepages by running dpdk-setup.sh script, if we give Non-Numeric inputs, the dpdk-setup.sh still goes to the create_mnt_huge function and prints the misleading information on terminal The output of terminal is as follow

Reserving hugepages
sh: echo: I/O error
Creating /mnt/huge and mounting as hugetlbfs

Press enter to continue ...

Here "Creating /mnt/huge and mounting as hugetlbfs" is showing that hugepages has been created, And actually hugepages were not created on system. So this is giving the misleading information.

We can solve this issue by putting the Non-Numeric check on the input from the user to create hugepages.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.