[Bug 1758884] Re: 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

Steve Langasek steve.langasek at canonical.com
Mon Mar 26 19:02:19 UTC 2018


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

** Changed in: debian-installer (Ubuntu)
     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) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1758884

Title:
  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

Status in The Ubuntu-power-systems project:
  Triaged
Status in debian-installer package in Ubuntu:
  Incomplete

Bug description:
  == Comment: #0 - Praveen K. Pandey <Praveen.Pandey at in.ibm.com> - 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 at ltc-wspoon4:~# cat /proc/cmdline 
  root=UUID=06d5c342-2565-4df3-b7fc-eac365604469 ro quiet splash
  root at ltc-wspoon4:~#
  root at 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 at ltc-wspoon4:~# 
   
  Regards
  Praveen

  
  == Comment: #4 - Praveen K. Pandey <Praveen.Pandey at in.ibm.com> - 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 <kalshett at in.ibm.com> - 2018-03-19 02:17:31 ==
  Does this work on an already installed OS?

  
  == Comment: #11 - Praveen K. Pandey <Praveen.Pandey at in.ibm.com> - 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 at 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 at 128M
  root at 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 at ltc-wspoon4:~# 

  @kalpana yes it worked in already installed OS .

  Regards
  Praveen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1758884/+subscriptions



More information about the foundations-bugs mailing list