[Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2021-08-19 Thread Merlin Hansen
FWIW, I ran into this issue on when booting the latest available kernel
(after an update) on a Debian VM running on a Debian host. Only booting
the latest kernel triggered the issue.

The key was the "Device out of space" message that lead me to this
bug/message.

As vt100 found, and christiank confirmed, the amount of space allocated
to /run was the issue. Extending /run solved the issue.

For those running into this issue and Googling, I saw two different
errors on two different VMs (taken from the consoles after a failed
boot):

VM 1 gave the following errors on boot (Note the lack of a 'out of
space' message):

libxl: error: libxl_device.c:1086:device_backend_callback: unable to add device 
with path /local/domain/0/backend/vbd/16/51714
libxl: error: libxl_device.c:1086:device_backend_callback: unable to add device 
with path /local/domain/0/backend/vbd/16/51715
libxl: error: libxl_create.c:1255:domcreate_launch_dm: unable to add disk 
devices
libxl: error: libxl.c:1575:libxl__destroy_domid: non-existant domain 16
libxl: error: libxl.c:1534:domain_destroy_callback: unable to destroy guest 
with domid 16
libxl: error: libxl.c:1463:domain_destroy_cb: destruction of domain 16 failed

Whereas VM 2 gave the following errors, which ultimately lead to this
thread:

Traceback (most recent call last):
File "/usr/lib/xen-4.8/bin/pygrub", line 917, in  os.write(fd, ostring)
OSError: [Errno 28] No space left on device

Maybe the above will help some other poor soul who has been beating
their head against this problem.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742789

Title:
  Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space
  left on device

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  # lsb_release -rd
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04

  
  This problem is related to the latest kernel for meltdown spectre patches for 
xen pv guest and pygrub.

  This is the kernel that was attempting to be upgraded.
  linux-image-4.4.0-109-generic   4.4.0-109.132 

  
  I tried to report this issue with the following command but it failed:

  
  ubuntu-bug linux



  *** Collecting problem information



  The collected information can be sent to the developers to improve the

  application. This might take a few minutes.

  ...



  *** Problem in linux-image-4.4.0-15-generic



  The problem cannot be reported:



  This is not an official Ubuntu package. Please remove any third party
  package and try again.



  Press any key to continue...



  No pending crash reports. Try --help for more information.

  


  I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
  that I'm having issues with it booting after upgrading the kernel for
  meltdown and spectre vulnerability.

  
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get dist-upgrade
  

  Ubuntu 14.04 xen host reboot failure log:
  
  $ tailf /var/log/xen/servername.log
  Domain 24 needs to be cleaned up: destroying the domain
  Done. Rebooting now
  libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - 
consult logfile /var/log/xen/bootloader.27.log
  libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] 
exited with error status 1
  libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build 
domain: -3
  

  
  
  cat /var/log/xen/bootloader.27.log
  Using  to parse /grub/grub.cfg
pyGRUB  version 0.6
   ┌┐
   │ Ubuntu │
   │ Ubuntu, with Linux 4.4.0-109-generic   │
   │ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-108-generic   │
   │ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-104-generic   │
   │ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-15-generic│
   └┘
  Use the ^ and ┴ keys to select which entry is highlighted.
  Press enter to boot the selected OS, 'e' to edit the
  commands before booting, 'a' to modify the kernel arguments
  before booting, or 'c' for a command line.

  Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub", line 905, in 
  os.write(fd, ostring)
  OSError: [Errno 28] No space left on device
  

  I was able to get the vm to boot only by rapidly attempt to access the
  menu options and boot the old kernel (4.4.0-15-generic). Disk space
  and inodes seems fine on the host Ubuntu 14.04LTS and 

[Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2019-08-28 Thread Christian Kujau
FWIW, this just happened again while trying out the latest mainline
kernel from https://kernel.ubuntu.com/~kernel-ppa/mainline

* Kernels up to v5.3-rc5 work fine, but booting it takes up ~36MB of /run 
(unpacking during boot)
  on the Dom0 here.
* Kernel v5.3-rc6 seems to take up even more, filling up the 40MB /run 
filesystem completely and
  booting fails.

But vt100 is correct of course, extending the /run filesystem solves
this issue.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742789

Title:
  Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space
  left on device

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  # lsb_release -rd
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04

  
  This problem is related to the latest kernel for meltdown spectre patches for 
xen pv guest and pygrub.

  This is the kernel that was attempting to be upgraded.
  linux-image-4.4.0-109-generic   4.4.0-109.132 

  
  I tried to report this issue with the following command but it failed:

  
  ubuntu-bug linux



  *** Collecting problem information



  The collected information can be sent to the developers to improve the

  application. This might take a few minutes.

  ...



  *** Problem in linux-image-4.4.0-15-generic



  The problem cannot be reported:



  This is not an official Ubuntu package. Please remove any third party
  package and try again.



  Press any key to continue...



  No pending crash reports. Try --help for more information.

  


  I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
  that I'm having issues with it booting after upgrading the kernel for
  meltdown and spectre vulnerability.

  
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get dist-upgrade
  

  Ubuntu 14.04 xen host reboot failure log:
  
  $ tailf /var/log/xen/servername.log
  Domain 24 needs to be cleaned up: destroying the domain
  Done. Rebooting now
  libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - 
consult logfile /var/log/xen/bootloader.27.log
  libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] 
exited with error status 1
  libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build 
domain: -3
  

  
  
  cat /var/log/xen/bootloader.27.log
  Using  to parse /grub/grub.cfg
pyGRUB  version 0.6
   ┌┐
   │ Ubuntu │
   │ Ubuntu, with Linux 4.4.0-109-generic   │
   │ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-108-generic   │
   │ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-104-generic   │
   │ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-15-generic│
   └┘
  Use the ^ and ┴ keys to select which entry is highlighted.
  Press enter to boot the selected OS, 'e' to edit the
  commands before booting, 'a' to modify the kernel arguments
  before booting, or 'c' for a command line.

  Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub", line 905, in 
  os.write(fd, ostring)
  OSError: [Errno 28] No space left on device
  

  I was able to get the vm to boot only by rapidly attempt to access the
  menu options and boot the old kernel (4.4.0-15-generic). Disk space
  and inodes seems fine on the host Ubuntu 14.04LTS and Ubuntu 16.04LTS
  Guest.

  Ubuntu 14.04 Host:
  
  root@host:/var/log/xen# df -hFilesystem  Size  Used Avail Use% Mounted on
  udev197M   12K  197M   1% /dev
  tmpfs42M  1.1M   41M   3% /run
  /dev/dm-0   104G   49G   50G  50% /
  none4.0K 0  4.0K   0% /sys/fs/cgroup
  none5.0M 0  5.0M   0% /run/lock
  none208M 0  208M   0% /run/shm
  none100M 0  100M   0% /run/user
  /dev/sda1   236M   40M  184M  18% /boot
  root@host:/var/log/xen# df -hi
  Filesystem Inodes IUsed IFree IUse% Mounted on
  udev  50K   721   49K2% /dev
  tmpfs 52K   849   52K2% /run
  /dev/dm-06.6M   86K  6.5M2% /
  none  52K 2   52K1% /sys/fs/cgroup
  none  52K 5   52K1% /run/lock
  none  52K 1   52K1% /run/shm
  none  52K 2   52K1% /run/user
  /dev/sda1 61K   298   61K1% /boot
  root@host:/var/log/xen#
  

  Ubuntu 16.04 PV Guest:
  
  root@guest:~# df -hFilesystem 

[Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2019-07-24 Thread Brad Figg
** Tags added: cscc

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742789

Title:
  Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space
  left on device

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  # lsb_release -rd
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04

  
  This problem is related to the latest kernel for meltdown spectre patches for 
xen pv guest and pygrub.

  This is the kernel that was attempting to be upgraded.
  linux-image-4.4.0-109-generic   4.4.0-109.132 

  
  I tried to report this issue with the following command but it failed:

  
  ubuntu-bug linux



  *** Collecting problem information



  The collected information can be sent to the developers to improve the

  application. This might take a few minutes.

  ...



  *** Problem in linux-image-4.4.0-15-generic



  The problem cannot be reported:



  This is not an official Ubuntu package. Please remove any third party
  package and try again.



  Press any key to continue...



  No pending crash reports. Try --help for more information.

  


  I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
  that I'm having issues with it booting after upgrading the kernel for
  meltdown and spectre vulnerability.

  
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get dist-upgrade
  

  Ubuntu 14.04 xen host reboot failure log:
  
  $ tailf /var/log/xen/servername.log
  Domain 24 needs to be cleaned up: destroying the domain
  Done. Rebooting now
  libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - 
consult logfile /var/log/xen/bootloader.27.log
  libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] 
exited with error status 1
  libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build 
domain: -3
  

  
  
  cat /var/log/xen/bootloader.27.log
  Using  to parse /grub/grub.cfg
pyGRUB  version 0.6
   ┌┐
   │ Ubuntu │
   │ Ubuntu, with Linux 4.4.0-109-generic   │
   │ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-108-generic   │
   │ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-104-generic   │
   │ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-15-generic│
   └┘
  Use the ^ and ┴ keys to select which entry is highlighted.
  Press enter to boot the selected OS, 'e' to edit the
  commands before booting, 'a' to modify the kernel arguments
  before booting, or 'c' for a command line.

  Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub", line 905, in 
  os.write(fd, ostring)
  OSError: [Errno 28] No space left on device
  

  I was able to get the vm to boot only by rapidly attempt to access the
  menu options and boot the old kernel (4.4.0-15-generic). Disk space
  and inodes seems fine on the host Ubuntu 14.04LTS and Ubuntu 16.04LTS
  Guest.

  Ubuntu 14.04 Host:
  
  root@host:/var/log/xen# df -hFilesystem  Size  Used Avail Use% Mounted on
  udev197M   12K  197M   1% /dev
  tmpfs42M  1.1M   41M   3% /run
  /dev/dm-0   104G   49G   50G  50% /
  none4.0K 0  4.0K   0% /sys/fs/cgroup
  none5.0M 0  5.0M   0% /run/lock
  none208M 0  208M   0% /run/shm
  none100M 0  100M   0% /run/user
  /dev/sda1   236M   40M  184M  18% /boot
  root@host:/var/log/xen# df -hi
  Filesystem Inodes IUsed IFree IUse% Mounted on
  udev  50K   721   49K2% /dev
  tmpfs 52K   849   52K2% /run
  /dev/dm-06.6M   86K  6.5M2% /
  none  52K 2   52K1% /sys/fs/cgroup
  none  52K 5   52K1% /run/lock
  none  52K 1   52K1% /run/shm
  none  52K 2   52K1% /run/user
  /dev/sda1 61K   298   61K1% /boot
  root@host:/var/log/xen#
  

  Ubuntu 16.04 PV Guest:
  
  root@guest:~# df -hFilesystemSize  Used Avail 
Use% Mounted on
  udev  950M 0  950M   0% /dev
  tmpfs 200M  3.1M  197M   2% /run
  /dev/mapper/guest--vg-root  47G  4.3G   40G  10% /
  tmpfs 997M 0  997M   0% /dev/shm
  tmpfs 5.0M 0  5.0M   0% /run/lock
  tmpfs  

[Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2019-06-27 Thread vt
The issue is solved. At least I found solution. Seems message "[Errno 28] No 
space left on device" was
absolutely correct. The problem was only to find correct device.
1) Usually RAM of domain0 for the XEN has very small size. It was 512M in my 
case.
2) Ram-disk and especially /run file-system has size as % from the domain0 RAM, 
in my case it was just near 50K and it is not enough to unpack new kernel 
images.

Solution: extent /run filesystem.
1) nano /etc/fstab add line:
tmpfs  /run  tmpfs   defaults,size=128M
Save changes and:
2) mount -o remount /run
3) Check new size with: df -h
4) Run pygrub guest with new kernel.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742789

Title:
  Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space
  left on device

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  # lsb_release -rd
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04

  
  This problem is related to the latest kernel for meltdown spectre patches for 
xen pv guest and pygrub.

  This is the kernel that was attempting to be upgraded.
  linux-image-4.4.0-109-generic   4.4.0-109.132 

  
  I tried to report this issue with the following command but it failed:

  
  ubuntu-bug linux



  *** Collecting problem information



  The collected information can be sent to the developers to improve the

  application. This might take a few minutes.

  ...



  *** Problem in linux-image-4.4.0-15-generic



  The problem cannot be reported:



  This is not an official Ubuntu package. Please remove any third party
  package and try again.



  Press any key to continue...



  No pending crash reports. Try --help for more information.

  


  I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
  that I'm having issues with it booting after upgrading the kernel for
  meltdown and spectre vulnerability.

  
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get dist-upgrade
  

  Ubuntu 14.04 xen host reboot failure log:
  
  $ tailf /var/log/xen/servername.log
  Domain 24 needs to be cleaned up: destroying the domain
  Done. Rebooting now
  libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - 
consult logfile /var/log/xen/bootloader.27.log
  libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] 
exited with error status 1
  libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build 
domain: -3
  

  
  
  cat /var/log/xen/bootloader.27.log
  Using  to parse /grub/grub.cfg
pyGRUB  version 0.6
   ┌┐
   │ Ubuntu │
   │ Ubuntu, with Linux 4.4.0-109-generic   │
   │ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-108-generic   │
   │ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-104-generic   │
   │ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-15-generic│
   └┘
  Use the ^ and ┴ keys to select which entry is highlighted.
  Press enter to boot the selected OS, 'e' to edit the
  commands before booting, 'a' to modify the kernel arguments
  before booting, or 'c' for a command line.

  Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub", line 905, in 
  os.write(fd, ostring)
  OSError: [Errno 28] No space left on device
  

  I was able to get the vm to boot only by rapidly attempt to access the
  menu options and boot the old kernel (4.4.0-15-generic). Disk space
  and inodes seems fine on the host Ubuntu 14.04LTS and Ubuntu 16.04LTS
  Guest.

  Ubuntu 14.04 Host:
  
  root@host:/var/log/xen# df -hFilesystem  Size  Used Avail Use% Mounted on
  udev197M   12K  197M   1% /dev
  tmpfs42M  1.1M   41M   3% /run
  /dev/dm-0   104G   49G   50G  50% /
  none4.0K 0  4.0K   0% /sys/fs/cgroup
  none5.0M 0  5.0M   0% /run/lock
  none208M 0  208M   0% /run/shm
  none100M 0  100M   0% /run/user
  /dev/sda1   236M   40M  184M  18% /boot
  root@host:/var/log/xen# df -hi
  Filesystem Inodes IUsed IFree IUse% Mounted on
  udev  50K   721   49K2% /dev
  tmpfs 52K   849   52K2% /run
  /dev/dm-06.6M   86K  6.5M2% /
  none  52K 2   52K1% /sys/fs/cgroup
  none  52K 5   52K1% /run/lock
  none  52K 1   52K1% /run/shm
  

[Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2019-06-26 Thread vt
Hi !  I have tried kernel version 5 and 4.20. The same error. Latest
kernel I can use is 4.4.0.137.

  pyGRUB  version 0.6
 ┌┐
 │ Ubuntu │
 │ Ubuntu, with Linux 4.20.17-042017-generic  │
 │ Ubuntu, with Linux 4.20.17-042017-generic (upstart)│
 │ Ubuntu, with Linux 4.20.17-042017-generic (recovery mode)  │
 │ Ubuntu, with Linux 4.4.0-137-generic   │
 │ Ubuntu, with Linux 4.4.0-137-generic (upstart) │
 │ Ubuntu, with Linux 4.4.0-137-generic (recovery mode)   │
 ││
 └┘
 Use the ^ and ┴ keys to select which entry is highlighted.
 Press enter to boot the selected OS, 'e' to edit the
 commands before booting, 'a' to modify the kernel arguments
 before booting, or 'c' for a command line.




[Errno 28] No space left on device
  Error writing temporary copy of ramdisk
 libxl: 
error: libxl_bootloader.c:649:bootloader_finished: Domain 72:bootloader failed 
- consult logfile /var/log/xen/bootloader.72.log
libxl: error: 
libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [24704] exited with 
error status 1

   libxl: 
error: libxl_create.c:1266:domcreate_rebuild_done: Domain 72:cannot (re-)build 
domain: -3

libxl: error: libxl_domain.c:1034:libxl__destroy_domid: Domain 72:Non-existant 
domain
libxl: error: libxl_domain.c:993:domain_destroy_callback: Domain 72:Unable to 
destroy guest
libxl: error: libxl_domain.c:920:domain_destroy_cb: Domain 72:Destruction of 
domain failed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742789

Title:
  Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space
  left on device

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  # lsb_release -rd
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04

  
  This problem is related to the latest kernel for meltdown spectre patches for 
xen pv guest and pygrub.

  This is the kernel that was attempting to be upgraded.
  linux-image-4.4.0-109-generic   4.4.0-109.132 

  
  I tried to report this issue with the following command but it failed:

  
  ubuntu-bug linux



  *** Collecting problem information



  The collected information can be sent to the developers to improve the

  application. This might take a few minutes.

  ...



  *** Problem in linux-image-4.4.0-15-generic



  The problem cannot be reported:



  This is not an official Ubuntu package. Please remove any third party
  package and try again.



  Press any key to continue...



  No pending crash reports. Try --help for more information.

  


  I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
  that I'm having issues with it booting after upgrading the kernel for
  meltdown and spectre vulnerability.

  
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get dist-upgrade
  

  Ubuntu 14.04 xen host reboot failure log:
  
  $ tailf /var/log/xen/servername.log
  Domain 24 needs to be cleaned up: destroying the domain
  Done. Rebooting now
  libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - 
consult logfile /var/log/xen/bootloader.27.log
  libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] 
exited with error status 1
  libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build 
domain: -3
  

  
  
  cat /var/log/xen/bootloader.27.log
  Using  to parse /grub/grub.cfg
pyGRUB  version 0.6
   ┌┐
   │ Ubuntu │
   │ Ubuntu, with Linux 4.4.0-109-generic   │
   │ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-108-generic   │
   │ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-104-generic   │
   │ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-15-generic│
   

[Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2018-11-16 Thread Joseph Salisbury
@vt, can you see if this issue occurs with the upstream 4.20-rc2 kernel?  It is 
available from:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20-rc2

Some mainline documentation:
 https://wiki.ubuntu.com/KernelMainlineBuilds

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742789

Title:
  Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space
  left on device

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  # lsb_release -rd
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04

  
  This problem is related to the latest kernel for meltdown spectre patches for 
xen pv guest and pygrub.

  This is the kernel that was attempting to be upgraded.
  linux-image-4.4.0-109-generic   4.4.0-109.132 

  
  I tried to report this issue with the following command but it failed:

  
  ubuntu-bug linux



  *** Collecting problem information



  The collected information can be sent to the developers to improve the

  application. This might take a few minutes.

  ...



  *** Problem in linux-image-4.4.0-15-generic



  The problem cannot be reported:



  This is not an official Ubuntu package. Please remove any third party
  package and try again.



  Press any key to continue...



  No pending crash reports. Try --help for more information.

  


  I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
  that I'm having issues with it booting after upgrading the kernel for
  meltdown and spectre vulnerability.

  
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get dist-upgrade
  

  Ubuntu 14.04 xen host reboot failure log:
  
  $ tailf /var/log/xen/servername.log
  Domain 24 needs to be cleaned up: destroying the domain
  Done. Rebooting now
  libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - 
consult logfile /var/log/xen/bootloader.27.log
  libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] 
exited with error status 1
  libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build 
domain: -3
  

  
  
  cat /var/log/xen/bootloader.27.log
  Using  to parse /grub/grub.cfg
pyGRUB  version 0.6
   ┌┐
   │ Ubuntu │
   │ Ubuntu, with Linux 4.4.0-109-generic   │
   │ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-108-generic   │
   │ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-104-generic   │
   │ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-15-generic│
   └┘
  Use the ^ and ┴ keys to select which entry is highlighted.
  Press enter to boot the selected OS, 'e' to edit the
  commands before booting, 'a' to modify the kernel arguments
  before booting, or 'c' for a command line.

  Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub", line 905, in 
  os.write(fd, ostring)
  OSError: [Errno 28] No space left on device
  

  I was able to get the vm to boot only by rapidly attempt to access the
  menu options and boot the old kernel (4.4.0-15-generic). Disk space
  and inodes seems fine on the host Ubuntu 14.04LTS and Ubuntu 16.04LTS
  Guest.

  Ubuntu 14.04 Host:
  
  root@host:/var/log/xen# df -hFilesystem  Size  Used Avail Use% Mounted on
  udev197M   12K  197M   1% /dev
  tmpfs42M  1.1M   41M   3% /run
  /dev/dm-0   104G   49G   50G  50% /
  none4.0K 0  4.0K   0% /sys/fs/cgroup
  none5.0M 0  5.0M   0% /run/lock
  none208M 0  208M   0% /run/shm
  none100M 0  100M   0% /run/user
  /dev/sda1   236M   40M  184M  18% /boot
  root@host:/var/log/xen# df -hi
  Filesystem Inodes IUsed IFree IUse% Mounted on
  udev  50K   721   49K2% /dev
  tmpfs 52K   849   52K2% /run
  /dev/dm-06.6M   86K  6.5M2% /
  none  52K 2   52K1% /sys/fs/cgroup
  none  52K 5   52K1% /run/lock
  none  52K 1   52K1% /run/shm
  none  52K 2   52K1% /run/user
  /dev/sda1 61K   298   61K1% /boot
  root@host:/var/log/xen#
  

  Ubuntu 16.04 PV Guest:
  
  root@guest:~# df -hFilesystemSize  Used Avail 
Use% Mounted on
  udev  950M 0  950M   0% /dev
  tmpfs 200M  3.1M  197M   2% /run
  

[Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2018-11-14 Thread vt
I have the same issue and I have tried latest kernels, but this is not
fixed. I would appreciate if you could help me on this issue.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742789

Title:
  Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space
  left on device

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  # lsb_release -rd
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04

  
  This problem is related to the latest kernel for meltdown spectre patches for 
xen pv guest and pygrub.

  This is the kernel that was attempting to be upgraded.
  linux-image-4.4.0-109-generic   4.4.0-109.132 

  
  I tried to report this issue with the following command but it failed:

  
  ubuntu-bug linux



  *** Collecting problem information



  The collected information can be sent to the developers to improve the

  application. This might take a few minutes.

  ...



  *** Problem in linux-image-4.4.0-15-generic



  The problem cannot be reported:



  This is not an official Ubuntu package. Please remove any third party
  package and try again.



  Press any key to continue...



  No pending crash reports. Try --help for more information.

  


  I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
  that I'm having issues with it booting after upgrading the kernel for
  meltdown and spectre vulnerability.

  
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get dist-upgrade
  

  Ubuntu 14.04 xen host reboot failure log:
  
  $ tailf /var/log/xen/servername.log
  Domain 24 needs to be cleaned up: destroying the domain
  Done. Rebooting now
  libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - 
consult logfile /var/log/xen/bootloader.27.log
  libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] 
exited with error status 1
  libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build 
domain: -3
  

  
  
  cat /var/log/xen/bootloader.27.log
  Using  to parse /grub/grub.cfg
pyGRUB  version 0.6
   ┌┐
   │ Ubuntu │
   │ Ubuntu, with Linux 4.4.0-109-generic   │
   │ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-108-generic   │
   │ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-104-generic   │
   │ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-15-generic│
   └┘
  Use the ^ and ┴ keys to select which entry is highlighted.
  Press enter to boot the selected OS, 'e' to edit the
  commands before booting, 'a' to modify the kernel arguments
  before booting, or 'c' for a command line.

  Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub", line 905, in 
  os.write(fd, ostring)
  OSError: [Errno 28] No space left on device
  

  I was able to get the vm to boot only by rapidly attempt to access the
  menu options and boot the old kernel (4.4.0-15-generic). Disk space
  and inodes seems fine on the host Ubuntu 14.04LTS and Ubuntu 16.04LTS
  Guest.

  Ubuntu 14.04 Host:
  
  root@host:/var/log/xen# df -hFilesystem  Size  Used Avail Use% Mounted on
  udev197M   12K  197M   1% /dev
  tmpfs42M  1.1M   41M   3% /run
  /dev/dm-0   104G   49G   50G  50% /
  none4.0K 0  4.0K   0% /sys/fs/cgroup
  none5.0M 0  5.0M   0% /run/lock
  none208M 0  208M   0% /run/shm
  none100M 0  100M   0% /run/user
  /dev/sda1   236M   40M  184M  18% /boot
  root@host:/var/log/xen# df -hi
  Filesystem Inodes IUsed IFree IUse% Mounted on
  udev  50K   721   49K2% /dev
  tmpfs 52K   849   52K2% /run
  /dev/dm-06.6M   86K  6.5M2% /
  none  52K 2   52K1% /sys/fs/cgroup
  none  52K 5   52K1% /run/lock
  none  52K 1   52K1% /run/shm
  none  52K 2   52K1% /run/user
  /dev/sda1 61K   298   61K1% /boot
  root@host:/var/log/xen#
  

  Ubuntu 16.04 PV Guest:
  
  root@guest:~# df -hFilesystemSize  Used Avail 
Use% Mounted on
  udev  950M 0  950M   0% /dev
  tmpfs 200M  3.1M  197M   2% /run
  /dev/mapper/guest--vg-root  47G  4.3G   40G  10% /
  tmpfs 997M 0 

[Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2018-03-09 Thread Joseph Salisbury
Is it possible that you are really running out of disk space?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742789

Title:
  Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space
  left on device

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  # lsb_release -rd
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04

  
  This problem is related to the latest kernel for meltdown spectre patches for 
xen pv guest and pygrub.

  This is the kernel that was attempting to be upgraded.
  linux-image-4.4.0-109-generic   4.4.0-109.132 

  
  I tried to report this issue with the following command but it failed:

  
  ubuntu-bug linux



  *** Collecting problem information



  The collected information can be sent to the developers to improve the

  application. This might take a few minutes.

  ...



  *** Problem in linux-image-4.4.0-15-generic



  The problem cannot be reported:



  This is not an official Ubuntu package. Please remove any third party
  package and try again.



  Press any key to continue...



  No pending crash reports. Try --help for more information.

  


  I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
  that I'm having issues with it booting after upgrading the kernel for
  meltdown and spectre vulnerability.

  
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get dist-upgrade
  

  Ubuntu 14.04 xen host reboot failure log:
  
  $ tailf /var/log/xen/servername.log
  Domain 24 needs to be cleaned up: destroying the domain
  Done. Rebooting now
  libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - 
consult logfile /var/log/xen/bootloader.27.log
  libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] 
exited with error status 1
  libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build 
domain: -3
  

  
  
  cat /var/log/xen/bootloader.27.log
  Using  to parse /grub/grub.cfg
pyGRUB  version 0.6
   ┌┐
   │ Ubuntu │
   │ Ubuntu, with Linux 4.4.0-109-generic   │
   │ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-108-generic   │
   │ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-104-generic   │
   │ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-15-generic│
   └┘
  Use the ^ and ┴ keys to select which entry is highlighted.
  Press enter to boot the selected OS, 'e' to edit the
  commands before booting, 'a' to modify the kernel arguments
  before booting, or 'c' for a command line.

  Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub", line 905, in 
  os.write(fd, ostring)
  OSError: [Errno 28] No space left on device
  

  I was able to get the vm to boot only by rapidly attempt to access the
  menu options and boot the old kernel (4.4.0-15-generic). Disk space
  and inodes seems fine on the host Ubuntu 14.04LTS and Ubuntu 16.04LTS
  Guest.

  Ubuntu 14.04 Host:
  
  root@host:/var/log/xen# df -hFilesystem  Size  Used Avail Use% Mounted on
  udev197M   12K  197M   1% /dev
  tmpfs42M  1.1M   41M   3% /run
  /dev/dm-0   104G   49G   50G  50% /
  none4.0K 0  4.0K   0% /sys/fs/cgroup
  none5.0M 0  5.0M   0% /run/lock
  none208M 0  208M   0% /run/shm
  none100M 0  100M   0% /run/user
  /dev/sda1   236M   40M  184M  18% /boot
  root@host:/var/log/xen# df -hi
  Filesystem Inodes IUsed IFree IUse% Mounted on
  udev  50K   721   49K2% /dev
  tmpfs 52K   849   52K2% /run
  /dev/dm-06.6M   86K  6.5M2% /
  none  52K 2   52K1% /sys/fs/cgroup
  none  52K 5   52K1% /run/lock
  none  52K 1   52K1% /run/shm
  none  52K 2   52K1% /run/user
  /dev/sda1 61K   298   61K1% /boot
  root@host:/var/log/xen#
  

  Ubuntu 16.04 PV Guest:
  
  root@guest:~# df -hFilesystemSize  Used Avail 
Use% Mounted on
  udev  950M 0  950M   0% /dev
  tmpfs 200M  3.1M  197M   2% /run
  /dev/mapper/guest--vg-root  47G  4.3G   40G  10% /
  tmpfs 997M 0  997M   0% /dev/shm
  tmpfs 5.0M 0 

[Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2018-02-26 Thread Michael
Alright, I think I'm starting to narrow down the issue.  I was able to
use apt-get and install kernels up to linux-image-4.4.0-112-generic.
I'm even able to install the latest, if I uninstall package 'linux-
generic' and manually install linux-image-4.4.0-116-generic, e.g.,

sudo apt-get purge linux-generic
sudo apt-get install linux-image-4.4.0-116-generic

But, as soon as I install 'linux-generic' the no-boot issue returns with
xen.

sudo apt-get install linux-generic

I'm not certain what to check at this point?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742789

Title:
  Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space
  left on device

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  # lsb_release -rd
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04

  
  This problem is related to the latest kernel for meltdown spectre patches for 
xen pv guest and pygrub.

  This is the kernel that was attempting to be upgraded.
  linux-image-4.4.0-109-generic   4.4.0-109.132 

  
  I tried to report this issue with the following command but it failed:

  
  ubuntu-bug linux



  *** Collecting problem information



  The collected information can be sent to the developers to improve the

  application. This might take a few minutes.

  ...



  *** Problem in linux-image-4.4.0-15-generic



  The problem cannot be reported:



  This is not an official Ubuntu package. Please remove any third party
  package and try again.



  Press any key to continue...



  No pending crash reports. Try --help for more information.

  


  I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
  that I'm having issues with it booting after upgrading the kernel for
  meltdown and spectre vulnerability.

  
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get dist-upgrade
  

  Ubuntu 14.04 xen host reboot failure log:
  
  $ tailf /var/log/xen/servername.log
  Domain 24 needs to be cleaned up: destroying the domain
  Done. Rebooting now
  libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - 
consult logfile /var/log/xen/bootloader.27.log
  libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] 
exited with error status 1
  libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build 
domain: -3
  

  
  
  cat /var/log/xen/bootloader.27.log
  Using  to parse /grub/grub.cfg
pyGRUB  version 0.6
   ┌┐
   │ Ubuntu │
   │ Ubuntu, with Linux 4.4.0-109-generic   │
   │ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-108-generic   │
   │ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-104-generic   │
   │ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-15-generic│
   └┘
  Use the ^ and ┴ keys to select which entry is highlighted.
  Press enter to boot the selected OS, 'e' to edit the
  commands before booting, 'a' to modify the kernel arguments
  before booting, or 'c' for a command line.

  Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub", line 905, in 
  os.write(fd, ostring)
  OSError: [Errno 28] No space left on device
  

  I was able to get the vm to boot only by rapidly attempt to access the
  menu options and boot the old kernel (4.4.0-15-generic). Disk space
  and inodes seems fine on the host Ubuntu 14.04LTS and Ubuntu 16.04LTS
  Guest.

  Ubuntu 14.04 Host:
  
  root@host:/var/log/xen# df -hFilesystem  Size  Used Avail Use% Mounted on
  udev197M   12K  197M   1% /dev
  tmpfs42M  1.1M   41M   3% /run
  /dev/dm-0   104G   49G   50G  50% /
  none4.0K 0  4.0K   0% /sys/fs/cgroup
  none5.0M 0  5.0M   0% /run/lock
  none208M 0  208M   0% /run/shm
  none100M 0  100M   0% /run/user
  /dev/sda1   236M   40M  184M  18% /boot
  root@host:/var/log/xen# df -hi
  Filesystem Inodes IUsed IFree IUse% Mounted on
  udev  50K   721   49K2% /dev
  tmpfs 52K   849   52K2% /run
  /dev/dm-06.6M   86K  6.5M2% /
  none  52K 2   52K1% /sys/fs/cgroup
  none  52K 5   52K1% /run/lock
  none  52K 1   52K1% /run/shm
  none  52K 2   52K1% /run/user
  /dev/sda1 61K   298   61K1% /boot
  

[Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2018-02-26 Thread Michael
Alright, I'm thinking something else is the issue, since after manually
installing 4.4.117 it also boots?

4.4.117 http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.117/

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742789

Title:
  Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space
  left on device

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  # lsb_release -rd
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04

  
  This problem is related to the latest kernel for meltdown spectre patches for 
xen pv guest and pygrub.

  This is the kernel that was attempting to be upgraded.
  linux-image-4.4.0-109-generic   4.4.0-109.132 

  
  I tried to report this issue with the following command but it failed:

  
  ubuntu-bug linux



  *** Collecting problem information



  The collected information can be sent to the developers to improve the

  application. This might take a few minutes.

  ...



  *** Problem in linux-image-4.4.0-15-generic



  The problem cannot be reported:



  This is not an official Ubuntu package. Please remove any third party
  package and try again.



  Press any key to continue...



  No pending crash reports. Try --help for more information.

  


  I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
  that I'm having issues with it booting after upgrading the kernel for
  meltdown and spectre vulnerability.

  
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get dist-upgrade
  

  Ubuntu 14.04 xen host reboot failure log:
  
  $ tailf /var/log/xen/servername.log
  Domain 24 needs to be cleaned up: destroying the domain
  Done. Rebooting now
  libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - 
consult logfile /var/log/xen/bootloader.27.log
  libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] 
exited with error status 1
  libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build 
domain: -3
  

  
  
  cat /var/log/xen/bootloader.27.log
  Using  to parse /grub/grub.cfg
pyGRUB  version 0.6
   ┌┐
   │ Ubuntu │
   │ Ubuntu, with Linux 4.4.0-109-generic   │
   │ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-108-generic   │
   │ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-104-generic   │
   │ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-15-generic│
   └┘
  Use the ^ and ┴ keys to select which entry is highlighted.
  Press enter to boot the selected OS, 'e' to edit the
  commands before booting, 'a' to modify the kernel arguments
  before booting, or 'c' for a command line.

  Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub", line 905, in 
  os.write(fd, ostring)
  OSError: [Errno 28] No space left on device
  

  I was able to get the vm to boot only by rapidly attempt to access the
  menu options and boot the old kernel (4.4.0-15-generic). Disk space
  and inodes seems fine on the host Ubuntu 14.04LTS and Ubuntu 16.04LTS
  Guest.

  Ubuntu 14.04 Host:
  
  root@host:/var/log/xen# df -hFilesystem  Size  Used Avail Use% Mounted on
  udev197M   12K  197M   1% /dev
  tmpfs42M  1.1M   41M   3% /run
  /dev/dm-0   104G   49G   50G  50% /
  none4.0K 0  4.0K   0% /sys/fs/cgroup
  none5.0M 0  5.0M   0% /run/lock
  none208M 0  208M   0% /run/shm
  none100M 0  100M   0% /run/user
  /dev/sda1   236M   40M  184M  18% /boot
  root@host:/var/log/xen# df -hi
  Filesystem Inodes IUsed IFree IUse% Mounted on
  udev  50K   721   49K2% /dev
  tmpfs 52K   849   52K2% /run
  /dev/dm-06.6M   86K  6.5M2% /
  none  52K 2   52K1% /sys/fs/cgroup
  none  52K 5   52K1% /run/lock
  none  52K 1   52K1% /run/shm
  none  52K 2   52K1% /run/user
  /dev/sda1 61K   298   61K1% /boot
  root@host:/var/log/xen#
  

  Ubuntu 16.04 PV Guest:
  
  root@guest:~# df -hFilesystemSize  Used Avail 
Use% Mounted on
  udev  950M 0  950M   0% /dev
  tmpfs 200M  3.1M  197M   2% /run
  /dev/mapper/guest--vg-root  47G  4.3G   40G  10% /
  tmpfs  

[Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2018-02-26 Thread Michael
Yes, when I select 4.4.0-15 from the GRUB menu it boots.

I tested the requested upstream kernels:
4.4.6: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.6-wily/
4.4.15: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.15/
4.4.50: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.50/

All of these upstream kernels worked.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742789

Title:
  Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space
  left on device

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  # lsb_release -rd
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04

  
  This problem is related to the latest kernel for meltdown spectre patches for 
xen pv guest and pygrub.

  This is the kernel that was attempting to be upgraded.
  linux-image-4.4.0-109-generic   4.4.0-109.132 

  
  I tried to report this issue with the following command but it failed:

  
  ubuntu-bug linux



  *** Collecting problem information



  The collected information can be sent to the developers to improve the

  application. This might take a few minutes.

  ...



  *** Problem in linux-image-4.4.0-15-generic



  The problem cannot be reported:



  This is not an official Ubuntu package. Please remove any third party
  package and try again.



  Press any key to continue...



  No pending crash reports. Try --help for more information.

  


  I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
  that I'm having issues with it booting after upgrading the kernel for
  meltdown and spectre vulnerability.

  
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get dist-upgrade
  

  Ubuntu 14.04 xen host reboot failure log:
  
  $ tailf /var/log/xen/servername.log
  Domain 24 needs to be cleaned up: destroying the domain
  Done. Rebooting now
  libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - 
consult logfile /var/log/xen/bootloader.27.log
  libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] 
exited with error status 1
  libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build 
domain: -3
  

  
  
  cat /var/log/xen/bootloader.27.log
  Using  to parse /grub/grub.cfg
pyGRUB  version 0.6
   ┌┐
   │ Ubuntu │
   │ Ubuntu, with Linux 4.4.0-109-generic   │
   │ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-108-generic   │
   │ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-104-generic   │
   │ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-15-generic│
   └┘
  Use the ^ and ┴ keys to select which entry is highlighted.
  Press enter to boot the selected OS, 'e' to edit the
  commands before booting, 'a' to modify the kernel arguments
  before booting, or 'c' for a command line.

  Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub", line 905, in 
  os.write(fd, ostring)
  OSError: [Errno 28] No space left on device
  

  I was able to get the vm to boot only by rapidly attempt to access the
  menu options and boot the old kernel (4.4.0-15-generic). Disk space
  and inodes seems fine on the host Ubuntu 14.04LTS and Ubuntu 16.04LTS
  Guest.

  Ubuntu 14.04 Host:
  
  root@host:/var/log/xen# df -hFilesystem  Size  Used Avail Use% Mounted on
  udev197M   12K  197M   1% /dev
  tmpfs42M  1.1M   41M   3% /run
  /dev/dm-0   104G   49G   50G  50% /
  none4.0K 0  4.0K   0% /sys/fs/cgroup
  none5.0M 0  5.0M   0% /run/lock
  none208M 0  208M   0% /run/shm
  none100M 0  100M   0% /run/user
  /dev/sda1   236M   40M  184M  18% /boot
  root@host:/var/log/xen# df -hi
  Filesystem Inodes IUsed IFree IUse% Mounted on
  udev  50K   721   49K2% /dev
  tmpfs 52K   849   52K2% /run
  /dev/dm-06.6M   86K  6.5M2% /
  none  52K 2   52K1% /sys/fs/cgroup
  none  52K 5   52K1% /run/lock
  none  52K 1   52K1% /run/shm
  none  52K 2   52K1% /run/user
  /dev/sda1 61K   298   61K1% /boot
  root@host:/var/log/xen#
  

  Ubuntu 16.04 PV Guest:
  
  root@guest:~# df -hFilesystemSize  Used Avail 
Use% Mounted on
  udev  950M 0  

[Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2018-01-15 Thread Joseph Salisbury
Is you select 4.4.0-15 from GRUB menu it boots, correct?

We should be able to perform a kernel bisect to narrow down the commit
that introduced this regression.  We first need to identify the last
good kernel version and the first bad one.

Can you test the following upstream kernels:

4.4.6: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.6-wily/
4.4.15: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.15/
4.4.50: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.50/

** Tags removed: kernel-key needs-bisect
** Tags added: performing-bisect

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742789

Title:
  Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space
  left on device

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  # lsb_release -rd
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04

  
  This problem is related to the latest kernel for meltdown spectre patches for 
xen pv guest and pygrub.

  This is the kernel that was attempting to be upgraded.
  linux-image-4.4.0-109-generic   4.4.0-109.132 

  
  I tried to report this issue with the following command but it failed:

  
  ubuntu-bug linux



  *** Collecting problem information



  The collected information can be sent to the developers to improve the

  application. This might take a few minutes.

  ...



  *** Problem in linux-image-4.4.0-15-generic



  The problem cannot be reported:



  This is not an official Ubuntu package. Please remove any third party
  package and try again.



  Press any key to continue...



  No pending crash reports. Try --help for more information.

  


  I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
  that I'm having issues with it booting after upgrading the kernel for
  meltdown and spectre vulnerability.

  
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get dist-upgrade
  

  Ubuntu 14.04 xen host reboot failure log:
  
  $ tailf /var/log/xen/servername.log
  Domain 24 needs to be cleaned up: destroying the domain
  Done. Rebooting now
  libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - 
consult logfile /var/log/xen/bootloader.27.log
  libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] 
exited with error status 1
  libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build 
domain: -3
  

  
  
  cat /var/log/xen/bootloader.27.log
  Using  to parse /grub/grub.cfg
pyGRUB  version 0.6
   ┌┐
   │ Ubuntu │
   │ Ubuntu, with Linux 4.4.0-109-generic   │
   │ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-108-generic   │
   │ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-104-generic   │
   │ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-15-generic│
   └┘
  Use the ^ and ┴ keys to select which entry is highlighted.
  Press enter to boot the selected OS, 'e' to edit the
  commands before booting, 'a' to modify the kernel arguments
  before booting, or 'c' for a command line.

  Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub", line 905, in 
  os.write(fd, ostring)
  OSError: [Errno 28] No space left on device
  

  I was able to get the vm to boot only by rapidly attempt to access the
  menu options and boot the old kernel (4.4.0-15-generic). Disk space
  and inodes seems fine on the host Ubuntu 14.04LTS and Ubuntu 16.04LTS
  Guest.

  Ubuntu 14.04 Host:
  
  root@host:/var/log/xen# df -hFilesystem  Size  Used Avail Use% Mounted on
  udev197M   12K  197M   1% /dev
  tmpfs42M  1.1M   41M   3% /run
  /dev/dm-0   104G   49G   50G  50% /
  none4.0K 0  4.0K   0% /sys/fs/cgroup
  none5.0M 0  5.0M   0% /run/lock
  none208M 0  208M   0% /run/shm
  none100M 0  100M   0% /run/user
  /dev/sda1   236M   40M  184M  18% /boot
  root@host:/var/log/xen# df -hi
  Filesystem Inodes IUsed IFree IUse% Mounted on
  udev  50K   721   49K2% /dev
  tmpfs 52K   849   52K2% /run
  /dev/dm-06.6M   86K  6.5M2% /
  none  52K 2   52K1% /sys/fs/cgroup
  none  52K 5   52K1% /run/lock
  none  52K 1   52K1% /run/shm
  none  52K 2   52K1% /run/user
  /dev/sda1 61K   298   

Re: [Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2018-01-12 Thread Michael
Thanks for your help on this issue.  4.15-rc7 also fails to boot.


[Errno 28] No space left on device
Error writing temporary copy of ramdisk

libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed
- consult logfile /var/log/xen/bootloader.48.log
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader
[-1] exited with error status 1
libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build
domain: -3



On Fri, Jan 12, 2018 at 9:43 AM, Joseph Salisbury <
joseph.salisb...@canonical.com> wrote:

> Thanks for testing.  That suggests this bug is not due to the PTI
> security patches.
>
> Can you next test the latest mainline kernel to see if this bug is
> already fixed upstream.  It can be downloaded from:
>
> http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15-rc7
>
> ** Tags removed: pti
>
> ** Tags added: needs-bisect
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1742789
>
> Title:
>   Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space
>   left on device
>
> Status in linux package in Ubuntu:
>   Confirmed
>
> Bug description:
>   # lsb_release -rd
>   Description:  Ubuntu 16.04.3 LTS
>   Release:  16.04
>
>
>   This problem is related to the latest kernel for meltdown spectre
> patches for xen pv guest and pygrub.
>
>   This is the kernel that was attempting to be upgraded.
>   linux-image-4.4.0-109-generic   4.4.0-109.132
>
>
>   I tried to report this issue with the following command but it failed:
>
>   
>   ubuntu-bug linux
>
>
>
>   *** Collecting problem information
>
>
>
>   The collected information can be sent to the developers to improve the
>
>   application. This might take a few minutes.
>
>   ...
>
>
>
>   *** Problem in linux-image-4.4.0-15-generic
>
>
>
>   The problem cannot be reported:
>
>
>
>   This is not an official Ubuntu package. Please remove any third party
>   package and try again.
>
>
>
>   Press any key to continue...
>
>
>
>   No pending crash reports. Try --help for more information.
>
>   
>
>
>   I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
>   that I'm having issues with it booting after upgrading the kernel for
>   meltdown and spectre vulnerability.
>
>   
>   sudo apt-get update
>   sudo apt-get upgrade
>   sudo apt-get dist-upgrade
>   
>
>   Ubuntu 14.04 xen host reboot failure log:
>   
>   $ tailf /var/log/xen/servername.log
>   Domain 24 needs to be cleaned up: destroying the domain
>   Done. Rebooting now
>   libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader
> failed - consult logfile /var/log/xen/bootloader.27.log
>   libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
> bootloader [-1] exited with error status 1
>   libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot
> (re-)build domain: -3
>   
>
>
>   
>   cat /var/log/xen/bootloader.27.log
>   Using  to parse /grub/grub.cfg
>   pyGRUB  version 0.6
>┌───
> ─┐
>│ Ubuntu
>  │
>│ Ubuntu, with Linux 4.4.0-109-generic
>  │
>│ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)
>  │
>│ Ubuntu, with Linux 4.4.0-108-generic
>  │
>│ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)
>  │
>│ Ubuntu, with Linux 4.4.0-104-generic
>  │
>│ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)
>  │
>│ Ubuntu, with Linux 4.4.0-15-generic
>   │
>└───
> ─┘
>   Use the ^ and ┴ keys to select which entry is highlighted.
>   Press enter to boot the selected OS, 'e' to edit the
>   commands before booting, 'a' to modify the kernel arguments
>   before booting, or 'c' for a command line.
>
>   Traceback (most recent call last):
> File "/usr/lib/xen-4.4/bin/pygrub", line 905, in 
>   os.write(fd, ostring)
>   OSError: [Errno 28] No space left on device
>   
>
>   I was able to get the vm to boot only by rapidly attempt to access the
>   menu options and boot the old kernel (4.4.0-15-generic). Disk space
>   and inodes seems fine on the host Ubuntu 14.04LTS and Ubuntu 16.04LTS
>   Guest.
>
>   Ubuntu 14.04 Host:
>   
>   root@host:/var/log/xen# df -hFilesystem  Size  Used Avail Use%
> Mounted on
>   udev197M   12K  197M   1% /dev
>   tmpfs42M  1.1M   41M   3% /run
>   /dev/dm-0   104G   49G   50G  50% /
>   none4.0K 0  4.0K   0% /sys/fs/cgroup
>   none5.0M 0  5.0M   0% /run/lock
>   none208M 0  208M   0% /run/shm
>   none100M 0  100M   0% /run/user
>   /dev/sda1   236M   40M  184M  18% /boot
>   root@host:/var/log/xen# df -hi
>   Filesystem Inodes IUsed IFree IUse% Mounted on
>   udev  50K   721   49K2% /dev
>   tmpfs 52K   849   52K2% 

[Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2018-01-12 Thread Joseph Salisbury
Thanks for testing.  That suggests this bug is not due to the PTI
security patches.

Can you next test the latest mainline kernel to see if this bug is
already fixed upstream.  It can be downloaded from:

http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15-rc7

** Tags removed: pti

** Tags added: needs-bisect

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742789

Title:
  Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space
  left on device

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  # lsb_release -rd
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04

  
  This problem is related to the latest kernel for meltdown spectre patches for 
xen pv guest and pygrub.

  This is the kernel that was attempting to be upgraded.
  linux-image-4.4.0-109-generic   4.4.0-109.132 

  
  I tried to report this issue with the following command but it failed:

  
  ubuntu-bug linux



  *** Collecting problem information



  The collected information can be sent to the developers to improve the

  application. This might take a few minutes.

  ...



  *** Problem in linux-image-4.4.0-15-generic



  The problem cannot be reported:



  This is not an official Ubuntu package. Please remove any third party
  package and try again.



  Press any key to continue...



  No pending crash reports. Try --help for more information.

  


  I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
  that I'm having issues with it booting after upgrading the kernel for
  meltdown and spectre vulnerability.

  
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get dist-upgrade
  

  Ubuntu 14.04 xen host reboot failure log:
  
  $ tailf /var/log/xen/servername.log
  Domain 24 needs to be cleaned up: destroying the domain
  Done. Rebooting now
  libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - 
consult logfile /var/log/xen/bootloader.27.log
  libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] 
exited with error status 1
  libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build 
domain: -3
  

  
  
  cat /var/log/xen/bootloader.27.log
  Using  to parse /grub/grub.cfg
pyGRUB  version 0.6
   ┌┐
   │ Ubuntu │
   │ Ubuntu, with Linux 4.4.0-109-generic   │
   │ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-108-generic   │
   │ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-104-generic   │
   │ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-15-generic│
   └┘
  Use the ^ and ┴ keys to select which entry is highlighted.
  Press enter to boot the selected OS, 'e' to edit the
  commands before booting, 'a' to modify the kernel arguments
  before booting, or 'c' for a command line.

  Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub", line 905, in 
  os.write(fd, ostring)
  OSError: [Errno 28] No space left on device
  

  I was able to get the vm to boot only by rapidly attempt to access the
  menu options and boot the old kernel (4.4.0-15-generic). Disk space
  and inodes seems fine on the host Ubuntu 14.04LTS and Ubuntu 16.04LTS
  Guest.

  Ubuntu 14.04 Host:
  
  root@host:/var/log/xen# df -hFilesystem  Size  Used Avail Use% Mounted on
  udev197M   12K  197M   1% /dev
  tmpfs42M  1.1M   41M   3% /run
  /dev/dm-0   104G   49G   50G  50% /
  none4.0K 0  4.0K   0% /sys/fs/cgroup
  none5.0M 0  5.0M   0% /run/lock
  none208M 0  208M   0% /run/shm
  none100M 0  100M   0% /run/user
  /dev/sda1   236M   40M  184M  18% /boot
  root@host:/var/log/xen# df -hi
  Filesystem Inodes IUsed IFree IUse% Mounted on
  udev  50K   721   49K2% /dev
  tmpfs 52K   849   52K2% /run
  /dev/dm-06.6M   86K  6.5M2% /
  none  52K 2   52K1% /sys/fs/cgroup
  none  52K 5   52K1% /run/lock
  none  52K 1   52K1% /run/shm
  none  52K 2   52K1% /run/user
  /dev/sda1 61K   298   61K1% /boot
  root@host:/var/log/xen#
  

  Ubuntu 16.04 PV Guest:
  
  root@guest:~# df -hFilesystemSize  Used Avail 
Use% Mounted on
  udev  950M 0  950M   0% /dev
  

Re: [Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2018-01-11 Thread Michael
Sure, 4.4.0-104 kernel gave the same message as 4.4.0-109-generic and
didn't boot as well.


pyGRUB  version 0.6
 lk
 x Ubuntu x
 x Ubuntu, with Linux 4.4.0-109-generic   x
 x Ubuntu, with Linux 4.4.0-109-generic (recovery mode)   x
 x Ubuntu, with Linux 4.4.0-108-generic   x
 x Ubuntu, with Linux 4.4.0-108-generic (recovery mode)   x
 x Ubuntu, with Linux 4.4.0-104-generic   x
 x Ubuntu, with Linux 4.4.0-104-generic (recovery mode)   x
 x Ubuntu, with Linux 4.4.0-15-genericx
 mj
 Use the ^ and v keys to select which entry is highlighted.
 Press enter to boot the selected OS, 'e' to edit the
 commands before booting, 'a' to modify the kernel arguments
 before booting, or 'c' for a command line.




Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub",
line 905, in 
os.write(fd, ostring)
 OSError: [Errno 28] No space left on device

libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed
- consult logfile /var/log/xen/bootloader.37.log
  libxl: error:
libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] exited with
error status 1
 libxl: error:
libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build domain: -3


Michael Barkdoll

On Thu, Jan 11, 2018 at 8:53 PM, Joseph Salisbury <
joseph.salisb...@canonical.com> wrote:

> Can you see if the 4.4.0-104 kernel boots?  It can be downloaded from:
>
> https://launchpad.net/~canonical-kernel-
> team/+archive/ubuntu/ppa/+build/13841470
>
>
> ** Tags added: kernel-key pti
>
> ** Changed in: linux (Ubuntu)
>Importance: Undecided => High
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1742789
>
> Title:
>   Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space
>   left on device
>
> Status in linux package in Ubuntu:
>   Confirmed
>
> Bug description:
>   # lsb_release -rd
>   Description:  Ubuntu 16.04.3 LTS
>   Release:  16.04
>
>
>   This problem is related to the latest kernel for meltdown spectre
> patches for xen pv guest and pygrub.
>
>   This is the kernel that was attempting to be upgraded.
>   linux-image-4.4.0-109-generic   4.4.0-109.132
>
>
>   I tried to report this issue with the following command but it failed:
>
>   
>   ubuntu-bug linux
>
>
>
>   *** Collecting problem information
>
>
>
>   The collected information can be sent to the developers to improve the
>
>   application. This might take a few minutes.
>
>   ...
>
>
>
>   *** Problem in linux-image-4.4.0-15-generic
>
>
>
>   The problem cannot be reported:
>
>
>
>   This is not an official Ubuntu package. Please remove any third party
>   package and try again.
>
>
>
>   Press any key to continue...
>
>
>
>   No pending crash reports. Try --help for more information.
>
>   
>
>
>   I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
>   that I'm having issues with it booting after upgrading the kernel for
>   meltdown and spectre vulnerability.
>
>   
>   sudo apt-get update
>   sudo apt-get upgrade
>   sudo apt-get dist-upgrade
>   
>
>   Ubuntu 14.04 xen host reboot failure log:
>   
>   $ tailf /var/log/xen/servername.log
>   Domain 24 needs to be cleaned up: destroying the domain
>   Done. Rebooting now
>   libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader
> failed - consult logfile /var/log/xen/bootloader.27.log
>   libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
> bootloader [-1] exited with error status 1
>   libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot
> (re-)build domain: -3
>   
>
>
>   
>   cat /var/log/xen/bootloader.27.log
>   Using  to parse /grub/grub.cfg
>   pyGRUB  version 0.6
>┌───
> ─┐
>│ Ubuntu
>  │
>│ Ubuntu, with Linux 4.4.0-109-generic
>  │
>│ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)
>  │
>│ Ubuntu, with Linux 4.4.0-108-generic
>  │
>│ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)
>  │
>│ Ubuntu, with Linux 4.4.0-104-generic
>  │
>│ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)
>  │
>│ Ubuntu, with Linux 4.4.0-15-generic
>   │
>└───
> ─┘
>   Use the ^ and ┴ keys to select which entry is highlighted.
>   Press enter to boot the selected OS, 'e' to edit the
>   commands before booting, 

[Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2018-01-11 Thread Joseph Salisbury
Can you see if the 4.4.0-104 kernel boots?  It can be downloaded from:

https://launchpad.net/~canonical-kernel-
team/+archive/ubuntu/ppa/+build/13841470


** Tags added: kernel-key pti

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742789

Title:
  Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space
  left on device

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  # lsb_release -rd
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04

  
  This problem is related to the latest kernel for meltdown spectre patches for 
xen pv guest and pygrub.

  This is the kernel that was attempting to be upgraded.
  linux-image-4.4.0-109-generic   4.4.0-109.132 

  
  I tried to report this issue with the following command but it failed:

  
  ubuntu-bug linux



  *** Collecting problem information



  The collected information can be sent to the developers to improve the

  application. This might take a few minutes.

  ...



  *** Problem in linux-image-4.4.0-15-generic



  The problem cannot be reported:



  This is not an official Ubuntu package. Please remove any third party
  package and try again.



  Press any key to continue...



  No pending crash reports. Try --help for more information.

  


  I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
  that I'm having issues with it booting after upgrading the kernel for
  meltdown and spectre vulnerability.

  
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get dist-upgrade
  

  Ubuntu 14.04 xen host reboot failure log:
  
  $ tailf /var/log/xen/servername.log
  Domain 24 needs to be cleaned up: destroying the domain
  Done. Rebooting now
  libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - 
consult logfile /var/log/xen/bootloader.27.log
  libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] 
exited with error status 1
  libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build 
domain: -3
  

  
  
  cat /var/log/xen/bootloader.27.log
  Using  to parse /grub/grub.cfg
pyGRUB  version 0.6
   ┌┐
   │ Ubuntu │
   │ Ubuntu, with Linux 4.4.0-109-generic   │
   │ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-108-generic   │
   │ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-104-generic   │
   │ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-15-generic│
   └┘
  Use the ^ and ┴ keys to select which entry is highlighted.
  Press enter to boot the selected OS, 'e' to edit the
  commands before booting, 'a' to modify the kernel arguments
  before booting, or 'c' for a command line.

  Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub", line 905, in 
  os.write(fd, ostring)
  OSError: [Errno 28] No space left on device
  

  I was able to get the vm to boot only by rapidly attempt to access the
  menu options and boot the old kernel (4.4.0-15-generic). Disk space
  and inodes seems fine on the host Ubuntu 14.04LTS and Ubuntu 16.04LTS
  Guest.

  Ubuntu 14.04 Host:
  
  root@host:/var/log/xen# df -hFilesystem  Size  Used Avail Use% Mounted on
  udev197M   12K  197M   1% /dev
  tmpfs42M  1.1M   41M   3% /run
  /dev/dm-0   104G   49G   50G  50% /
  none4.0K 0  4.0K   0% /sys/fs/cgroup
  none5.0M 0  5.0M   0% /run/lock
  none208M 0  208M   0% /run/shm
  none100M 0  100M   0% /run/user
  /dev/sda1   236M   40M  184M  18% /boot
  root@host:/var/log/xen# df -hi
  Filesystem Inodes IUsed IFree IUse% Mounted on
  udev  50K   721   49K2% /dev
  tmpfs 52K   849   52K2% /run
  /dev/dm-06.6M   86K  6.5M2% /
  none  52K 2   52K1% /sys/fs/cgroup
  none  52K 5   52K1% /run/lock
  none  52K 1   52K1% /run/shm
  none  52K 2   52K1% /run/user
  /dev/sda1 61K   298   61K1% /boot
  root@host:/var/log/xen#
  

  Ubuntu 16.04 PV Guest:
  
  root@guest:~# df -hFilesystemSize  Used Avail 
Use% Mounted on
  udev  950M 0  950M   0% /dev
  tmpfs 200M  3.1M  197M   2% 

[Kernel-packages] [Bug 1742789] Re: Xen PV Guest won't boot latest kernel- OSError: [Errno 28] No space left on device

2018-01-11 Thread Michael
apport information

** Tags added: apport-collected

** Description changed:

  # lsb_release -rd
  Description:  Ubuntu 16.04.3 LTS
  Release:  16.04
  
  
  This problem is related to the latest kernel for meltdown spectre patches for 
xen pv guest and pygrub.
  
  This is the kernel that was attempting to be upgraded.
  linux-image-4.4.0-109-generic   4.4.0-109.132 
  
  
  I tried to report this issue with the following command but it failed:
  
  
  ubuntu-bug linux
  
  
  
  *** Collecting problem information
  
  
  
  The collected information can be sent to the developers to improve the
  
  application. This might take a few minutes.
  
  ...
  
  
  
  *** Problem in linux-image-4.4.0-15-generic
  
  
  
  The problem cannot be reported:
  
  
  
  This is not an official Ubuntu package. Please remove any third party
  package and try again.
  
  
  
  Press any key to continue...
  
  
  
  No pending crash reports. Try --help for more information.
  
  
  
  
  I have an Ubuntu 14.04 running Xen and a VM running Ubuntu 16.04 LTS
  that I'm having issues with it booting after upgrading the kernel for
  meltdown and spectre vulnerability.
  
  
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get dist-upgrade
  
  
  Ubuntu 14.04 xen host reboot failure log:
  
  $ tailf /var/log/xen/servername.log
  Domain 24 needs to be cleaned up: destroying the domain
  Done. Rebooting now
  libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - 
consult logfile /var/log/xen/bootloader.27.log
  libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [-1] 
exited with error status 1
  libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build 
domain: -3
  
  
  
  
  cat /var/log/xen/bootloader.27.log
  Using  to parse /grub/grub.cfg
pyGRUB  version 0.6
   ┌┐
   │ Ubuntu │
   │ Ubuntu, with Linux 4.4.0-109-generic   │
   │ Ubuntu, with Linux 4.4.0-109-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-108-generic   │
   │ Ubuntu, with Linux 4.4.0-108-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-104-generic   │
   │ Ubuntu, with Linux 4.4.0-104-generic (recovery mode)   │
   │ Ubuntu, with Linux 4.4.0-15-generic│
   └┘
  Use the ^ and ┴ keys to select which entry is highlighted.
  Press enter to boot the selected OS, 'e' to edit the
  commands before booting, 'a' to modify the kernel arguments
  before booting, or 'c' for a command line.
  
  Traceback (most recent call last):
File "/usr/lib/xen-4.4/bin/pygrub", line 905, in 
  os.write(fd, ostring)
  OSError: [Errno 28] No space left on device
  
  
  I was able to get the vm to boot only by rapidly attempt to access the
  menu options and boot the old kernel (4.4.0-15-generic). Disk space and
  inodes seems fine on the host Ubuntu 14.04LTS and Ubuntu 16.04LTS Guest.
  
  Ubuntu 14.04 Host:
  
  root@host:/var/log/xen# df -hFilesystem  Size  Used Avail Use% Mounted on
  udev197M   12K  197M   1% /dev
  tmpfs42M  1.1M   41M   3% /run
  /dev/dm-0   104G   49G   50G  50% /
  none4.0K 0  4.0K   0% /sys/fs/cgroup
  none5.0M 0  5.0M   0% /run/lock
  none208M 0  208M   0% /run/shm
  none100M 0  100M   0% /run/user
  /dev/sda1   236M   40M  184M  18% /boot
  root@host:/var/log/xen# df -hi
  Filesystem Inodes IUsed IFree IUse% Mounted on
  udev  50K   721   49K2% /dev
  tmpfs 52K   849   52K2% /run
  /dev/dm-06.6M   86K  6.5M2% /
  none  52K 2   52K1% /sys/fs/cgroup
  none  52K 5   52K1% /run/lock
  none  52K 1   52K1% /run/shm
  none  52K 2   52K1% /run/user
  /dev/sda1 61K   298   61K1% /boot
  root@host:/var/log/xen#
  
  
  Ubuntu 16.04 PV Guest:
  
  root@guest:~# df -hFilesystemSize  Used Avail 
Use% Mounted on
  udev  950M 0  950M   0% /dev
  tmpfs 200M  3.1M  197M   2% /run
  /dev/mapper/guest--vg-root  47G  4.3G   40G  10% /
  tmpfs 997M 0  997M   0% /dev/shm
  tmpfs 5.0M 0  5.0M   0% /run/lock
  tmpfs 997M 0  997M   0% /sys/fs/cgroup
  /dev/xvda1472M  192M  256M  43% /boot
  tmpfs 200M 0  200M   0%