libhugetlbfs tests fail on powerpc/ppc64el
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
| Trusty |
Fix Released
|
Undecided
|
Tim Gardner | ||
| Utopic |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
The test provided for libhugetlbfs along with ubuntu_beta release fail.
Steps to recreate:
============
1. apt-get install libhugetlb
2. cd /usr/lib/
3. ./run_tests.py
./run_tests.py
Unable to find available page sizes, are you sure hugetlbfs
is mounted and there are available huge pages?
We see the above message.
- hugetlb: ensure hugepage access is denied if hugepages are not supported Edit (4.9 KiB, text/plain)
Commit 457c1b27ed56ec4
+ libhugetlbfs tests fail on powerpc/ppc64el
Hi Tim,
Note that the referenced commit only makes it so that if you don't back a PowerKVM guest with hugepages, hugepages do not (falsely) appear to be supported. In such an environment the message referenced in this bug report will still be displayed as it should -- hugepages aren't supported in such a guest.
To run the libhugetlbfs test suite in a PowerKVM guest, you must back the guest with hugepages in the host and then allocate hugepages in the guest as appropriate.
Thanks,
Nish
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/
Working on Enabling the proposed patch and testing the same.
Applied the proposed patch as follows:
1.Added below entry in /etc/apt/
deb http://
2. Did apt-get update
3. Check for libhugetlbfs
root@ubuntu:~# apt-cache policy libhugetlbfs*
libhugetlbfs-dev:
Installed: (none)
Candidate: 2.17-0ubuntu2
Version table:
2.17-0ubuntu2 0
500 http://
libhugetlbfs0:
Installed: (none)
Candidate: 2.17-0ubuntu2
Version table:
2.17-0ubuntu2 0
500 http://
libhugetlbfs-tests:
Installed: (none)
Candidate: 2.17-0ubuntu2
Version table:
2.17-0ubuntu2 0
500 http://
root@ubuntu:~#
4. Install libhugetlbfs
root@ubuntu:~# apt-get install libhugetlbfs*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libhugetlbfs-dev' for regex 'libhugetlbfs*'
Note, selecting 'libhugetlbfs0' for regex 'libhugetlbfs*'
Note, selecting 'libhugetlbfs-
The following extra packages will be installed:
hugepages
Suggested packages:
oprofile
The following NEW packages will be installed:
hugepages libhugetlbfs-dev libhugetlbfs-tests libhugetlbfs0
0 upgraded, 4 newly installed, 0 to remove and 56 not upgraded.
Need to get 526 kB of archives.
After this operation, 5,555 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Fetched 526 kB in 3s (171 kB/s)
Selecting previously unselected package libhugetlbfs0.
(Reading database ... 45325 files and directories currently installed.)
Preparing to unpack .../libhugetlbf
Unpacking libhugetlbfs0 (2.17-0ubuntu2) ...
Selecting previously unselected package hugepages.
Preparing to unpack .../hugepages_
Unpacking hugepages (2.17-0ubuntu2) ...
Selecting previously unselected package libhugetlbfs-dev.
Preparing to unpack .../libhugetlbf
Unpacking libhugetlbfs-dev (2.17-0ubuntu2) ...
Selecting previously unselected package libhugetlbfs-tests.
Preparing to unpack .../libhugetlbf
Unpacking libhugetlbfs-tests (2.17-0ubuntu2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up libhugetlbfs0 (2.17-0ubuntu2) ...
Setting up hugepages (2.17-0ubuntu2) ...
Setting up libhugetlbfs-dev (2.17-0ubuntu2) ...
Setting up libhugetlbfs-tests (2.17-0ubuntu2) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
root@ubuntu:~#
root@ubuntu:~#
5. performed 2 scenrio tests
Tests Performed:
===============
...
removed: verification-needed-trusty
This bug was fixed in the package linux - 3.13.0-30.54
---------------
linux (3.13.0-30.54) trusty; urgency=low
[ Adam Conrad ]
* [Config] Enable building the sata-modules udeb on ppc64el.
- LP: #1323980
[ Anton Blanchard ]
* SAUCE: (no-up) powerpc: 64bit sendfile is capped at 2GB
- LP: #1328230
[ Ben Widawsky ]
* SAUCE: i915_bdw: drm/i915: Fix PSR programming
- LP: #1321729
* SAUCE: i915_bdw: drm/i915: Correct PPGTT total size
- LP: #1321729
[ Chris Wilson ]
* SAUCE: i915_bdw: drm/i915: Broadwell expands ACTHD to 64bit
- LP: #1321729
[ Damien Lespiau ]
* SAUCE: i915_bdw: drm/i915/bdw: Implement
Wa4x4STCOpt
- LP: #1321729
[ Dave Chiluk ]
* [Config] Enable CONFIG_IP_VS_IPV6=y
- LP: #1300739
[ Kamal Mostafa ]
* [Config] add debian/gbp.conf
* Release Tracking Bug
- LP: #1328286
[ Mika Kuoppala ]
* SAUCE: i915_bdw: drm/i915: add render state initialization
- LP: #1321729
[ Paulo Zanoni ]
* SAUCE: i915_bdw: drm/i915: fix assert_cursor on BDW
- LP: #1321729
[ Steven Rostedt ]
* SAUCE: i915_bdw: drm/i915: Do not dereference pointers from ring buffer
in evict event
- LP: #1321729
[ Tim Gardner ]
* [Config] CONFIG_
- LP: #1324571
* [Debian] Treat vdso install as an environment variable
* [Config] Treat vdso install as an environment variable
* [Config] CONFIG_MLX4_DEBUG=y
- LP: #1328256
* [Config] CONFIG_I40EVF=m, CONFIG_I40E_DCB=y, CONFIG_I40E_VXLAN=y
- LP: #1328037
[ Timo Aaltonen ]
* SAUCE: i915_bdw: Rebase to drm-intel-
- LP: #1321729
* SAUCE: i915_bdw: Add BDW specific power well calls
- LP: #1317865
[ Upstream Kernel Changes ]
* drm: expose subpixel order name routine v3
* drm: dp helper: Add DP test sink CRC definition.
* drm: export cmdline and preferred mode functions from fb helper
* hugetlb: ensure hugepage access is denied if hugepages are not
supported
- LP: #1328251
* powerpc/powernv: Move SG list structure to header file
- LP: #1326015
* powerpc/powernv: Read OPAL error log and export it through sysfs
- LP: #1326015
* powerpc/powernv Platform dump interface
- LP: #1326015
* pci_regs.h: Add PCI bus link speed and width defines
- LP: #1328037
* net_tstamp: Add SIOCGHWTSTAMP ioctl to match SIOCSHWTSTAMP
- LP: #1328037
* PCI/MSI: Add pci_enable_
- LP: #1328037
* net: Change skb_get_rxhash to skb_get_hash
- LP: #1328037
* net: Add utility functions to clear rxhash
- LP: #1328037
* net: Add function to set the rxhash
- LP: #1328037
* i40e: set pf_id based on device and function numbers
- LP: #1328037
* i40e: register file updates
- LP: #1328037
* i40e: clear AQ head and tail registers
- LP: #1328037
* i40e: simplify aq head-tail-len setups
- LP: #1328037
* i40e: firmware version fields offsets update
- LP: #1328037
* i40e: allow one more vector for VFs
- LP: #1328037
* i40e: select reset counters correctly
- LP: #1328037
* i40e: retry call on timeout
- LP: #...