Ubuntu18.04[P9, WSP]: Not able to configure 2MB hugepage while installation as i provided default_hugepagesz=2MB hugepagesz=2MB huegpage=20000 while installation cmdline

Bug #1758884 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Ubuntu-power-systems project
Won't Fix
High
Canonical Foundations Team
debian-installer (Ubuntu)
Won't Fix
Undecided
Canonical Foundations Team

Bug Description

== Comment: #0 - Praveen K. Pandey <email address hidden> - 2018-03-01 02:06:35 ==
Problem Description:
 Not able to configure 2MB hugepage while installation as i provided default_hugepagesz=2MB hugepagesz=2MB huegpage=20000 while installation cmdline

Reproducible Step:
1- Try to install Ubutnu18.04 using neboot image
2- Pass hugepage info while installation

Kernel :
http://ports.ubuntu.com/ubuntu-ports/ubuntu-ports/dists/bionic-proposed/main/installer-ppc64el/current/images/netboot/ubuntu-installer/ppc64el/vmlinux

Initrd:
http://ports.ubuntu.com/ubuntu-ports/ubuntu-ports/dists/bionic-proposed/main/installer-ppc64el/current/images/netboot/ubuntu-installer/ppc64el/initrd.gz

Boot Param :

auto console=ttyS0 console-setup/layoutcode=us BOOTIF=70-e2-84-14-24-54 netcfg/disable_autoconfig=true netcfg/choose_interface=auto netcfg/get_nameservers=<ip> netcfg/get_ipaddress=<ip> netcfg/get_netmask=<ip> netcfg/get_gateway=<ip> netcfg/get_hostname=ltc-wspoon4 netcfg/get_domain=aus.stglabs.ibm.com priority=low default_hugepagesz=2MB hugepagesz=2MB huegpage=20000

3- Install system and boot

4- check huge page setting in cmdline as well in meminfo

LOG:
root@ltc-wspoon4:~# cat /proc/cmdline
root=UUID=06d5c342-2565-4df3-b7fc-eac365604469 ro quiet splash
root@ltc-wspoon4:~#
root@ltc-wspoon4:~# cat /proc/meminfo | grep -i huge
AnonHugePages: 0 kB
ShmemHugePages: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
root@ltc-wspoon4:~#

Regards
Praveen

== Comment: #4 - Praveen K. Pandey <email address hidden> - 2018-03-18 23:59:07 ==
Hi
   I tried again with today's daily build still facing same issue

below is kernel,Initrd and Boot Param details
Kernel :
http://ports.ubuntu.com/ubuntu-ports/ubuntu-ports/dists/bionic-proposed/main/installer-ppc64el/current/images/netboot/ubuntu-installer/ppc64el/vmlinux

Initrd:
http://ports.ubuntu.com/ubuntu-ports/ubuntu-ports/dists/bionic-proposed/main/installer-ppc64el/current/images/netboot/ubuntu-installer/ppc64el/initrd.gz

Boot Param :
auto console=ttyS0 console-setup/layoutcode=us BOOTIF=70-e2-84-14-24-54 netcfg/disable_autoconfig=true netcfg/choose_interface=auto netcfg/get_nameservers=<ip> netcfg/get_ipaddress=<ip> netcfg/get_netmask=<ip> netcfg/get_gateway=<ip> netcfg/get_hostname=ltc-wspoon4 netcfg/get_domain=aus.stglabs.ibm.com default_hugepagesz=2MB hugepagesz=2MB hugepages=20000

Regards
Praveen

== Comment: #5 - Kalpana Shetty <email address hidden> - 2018-03-19 02:17:31 ==
Does this work on an already installed OS?

== Comment: #11 - Praveen K. Pandey <email address hidden> - 2018-03-26 04:00:26 ==
(In reply to comment #6)
> Hi Praveen,
> Can you provide logs for this when you retried. And output of cat
> /proc/meminfo.

HI

  Please find below details

root@ltc-wspoon4:~# cat /proc/cmdline
root=UUID=0266024d-8ea3-4132-ad62-b49befd6f8d9 ro quiet splash crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M@128M
root@ltc-wspoon4:~# cat /proc/meminfo | grep -i Huge
AnonHugePages: 0 kB
ShmemHugePages: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
root@ltc-wspoon4:~#

@kalpana yes it worked in already installed OS .

Regards
Praveen

Revision history for this message
bugproxy (bugproxy) wrote : sos report

Default Comment by Bridge

tags: added: architecture-ppc64le bugnameltc-165257 severity-high targetmilestone-inin1804
Changed in ubuntu:
assignee: nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
affects: ubuntu → debian-installer (Ubuntu)
Revision history for this message
Frank Heimes (fheimes) wrote :

I assume you tool the "Boot Param" data listed above from within an d-i installer shell?
Can you please also provide the installer logs (full content of /var/log/installer)? thx

Changed in ubuntu-power-systems:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Canonical Foundations Team (canonical-foundations)
tags: added: triage-g
Revision history for this message
Steve Langasek (vorlon) wrote :

The debian-installer requires a delimiter on the kernel commandline to separate boot options for the installer, from options to the kernel that you want to be carried forward post-installation.

Does this work if you instead boot with:

auto console=ttyS0 console-setup/layoutcode=us BOOTIF=70-e2-84-14-24-54 netcfg/disable_autoconfig=true netcfg/choose_interface=auto netcfg/get_nameservers=<ip> netcfg/get_ipaddress=<ip> netcfg/get_netmask=<ip> netcfg/get_gateway=<ip> netcfg/get_hostname=ltc-wspoon4 netcfg/get_domain=aus.stglabs.ibm.com --- default_hugepagesz=2MB hugepagesz=2MB hugepages=20000

?

(You might also wish to place the console=ttyS0 option after this separator.)

This behavior is documented at <https://help.ubuntu.com/lts/installation-guide/ppc64el/ch05s03.html>.

Changed in debian-installer (Ubuntu):
status: New → Incomplete
assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Foundations Team (canonical-foundations)
Changed in ubuntu-power-systems:
assignee: Canonical Foundations Team (canonical-foundations) → nobody
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2018-04-15 14:36 EDT-------
@Praveen: what is the update on this?

Manoj Iyer (manjo)
Changed in ubuntu-power-systems:
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Revision history for this message
Andrew Cloke (andrew-cloke) wrote :

Praveen, have you tried the suggestion made in comment #3. Does that resolve your issue?
If so, please close this bug.

Changed in ubuntu-power-systems:
status: Triaged → Incomplete
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-04-24 02:42 EDT-------
(In reply to comment #20)
> Praveen, have you tried the suggestion made in comment #3. Does that resolve
> your issue?
> If so, please close this bug.

Praveen: your immediate attention is required. Please attend this bug.

Revision history for this message
Manoj Iyer (manjo) wrote :

Based on Comments #5 and #6 I am making this as wont fix. Please reopen if this is still a valid issue.

Changed in debian-installer (Ubuntu):
status: Incomplete → Won't Fix
Changed in ubuntu-power-systems:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.