DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 432] Entering Non-numeric value for Setup hugepage mappings, dpdk-setup.sh still goes to create_mnt_huge function and prints misleading info
@ 2020-04-01 18:38 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2020-04-01 18:38 UTC (permalink / raw)
  To: dev

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: dev@dpdk.org
          Reporter: m.bilal@emumba.com
  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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-01 18:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-01 18:38 [dpdk-dev] [Bug 432] Entering Non-numeric value for Setup hugepage mappings, dpdk-setup.sh still goes to create_mnt_huge function and prints misleading info bugzilla

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ http://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git