[Touch-packages] [Bug 1581801] Re: UUID base RESUME always wait 5 seconds for activating LVM swap

2024-10-04 Thread Benjamin Drung
Thank you for taking the time to report this bug and helping to make
Ubuntu better. We appreciate that this bug may be old and you might not
be interested in discussing it anymore. But if you are then please
upgrade to the latest Ubuntu version and re-test. If you then find the
bug is still present in the newer Ubuntu version, please add a comment
here telling us which new version it is in.

** Changed in: initramfs-tools (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1581801

Title:
  UUID base RESUME always wait 5 seconds for activating LVM swap

Status in initramfs-tools package in Ubuntu:
  Incomplete

Bug description:
  Ubuntu 16.04 with LVM have delay around LVM mount.

    $ dmesg
    
    [1.126338] FDC 0 is a S82078B
    [1.830136] tsc: Refined TSC clocksource calibration: 3392.321 MHz
    [1.830140] clocksource: tsc: mask: 0x max_cycles:
    0x30e5f904771, max_idle_ns: 440795373543 ns
    [6.984151] EXT4-fs (dm-0): mounted filesystem with ordered data
    mode. Opts: (null)
    [   10.421370] systemd[1]: systemd 229 running in system mode.
    (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP
    +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID
    +ELFUTILS +KMOD -IDN)
    [   10.421397] systemd[1]: Detected virtualization kvm.
    

  LVM partition will be activated by scripts/local-top/lvm2 in initrd.
  But scripts/local-top/lvm2 does not take care of resume variable which
  is set from UUID base RESUME.

    $ cat /usr/share/initramfs-tools/scripts/local-top/lvm2
    
    activate() {
    
  /dev/mapper/*)
  
    }

    activate "$ROOT"
    activate "$resume"
    

  And then, scripts/local-premount/resume in initrd will always wait 5
  seconds for activating LVM swap.
  After mounting root filesystem, systemd will activate LVM swap.

    $ cat /usr/share/initramfs-tools/scripts/local-premount/resume
    
    SWAPTYPE=$(wait-for-root "${resume}" ${RESUMEDELAY:-5})
    

  RESUME is defined at /etc/initramfs-tools/conf.d/resume which is
  created by plugininstall.py.
  So plugininstall.py needs to support non-UUID base RESUME,
  e.g. RESUME=/dev/mapper/ubuntu--vg-swap_1.

$ sudo su -c 'echo RESUME=/dev/mapper/ubuntu--vg-swap_1 \
> /etc/initramfs-tools/conf.d/resume'
$ sudo update-initramfs -u && sudo reboot

$ dmesg # after boot

[1.095876] FDC 0 is a S82078B
[1.507060] EXT4-fs (dm-0): mounted filesystem with ordered data
mode. Opts: (null)
[1.807522] tsc: Refined TSC clocksource calibration: 3392.321 MHz
[1.807526] clocksource: tsc: mask: 0x max_cycles:
0x30e5f904771, max_idle_ns: 440795373543 ns
[2.648513] systemd[1]: systemd 229 running in system mode.
(+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP
+LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID
+ELFUTILS +KMOD -IDN)
[2.648542] systemd[1]: Detected virtualization kvm.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1581801/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1581801] Re: UUID base RESUME always wait 5 seconds for activating LVM swap

2016-09-14 Thread Martin Pitt
** Tags added: bootspeed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1581801

Title:
  UUID base RESUME always wait 5 seconds for activating LVM swap

Status in initramfs-tools package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 16.04 with LVM have delay around LVM mount.

    $ dmesg
    
    [1.126338] FDC 0 is a S82078B
    [1.830136] tsc: Refined TSC clocksource calibration: 3392.321 MHz
    [1.830140] clocksource: tsc: mask: 0x max_cycles:
    0x30e5f904771, max_idle_ns: 440795373543 ns
    [6.984151] EXT4-fs (dm-0): mounted filesystem with ordered data
    mode. Opts: (null)
    [   10.421370] systemd[1]: systemd 229 running in system mode.
    (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP
    +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID
    +ELFUTILS +KMOD -IDN)
    [   10.421397] systemd[1]: Detected virtualization kvm.
    

  LVM partition will be activated by scripts/local-top/lvm2 in initrd.
  But scripts/local-top/lvm2 does not take care of resume variable which
  is set from UUID base RESUME.

    $ cat /usr/share/initramfs-tools/scripts/local-top/lvm2
    
    activate() {
    
  /dev/mapper/*)
  
    }

    activate "$ROOT"
    activate "$resume"
    

  And then, scripts/local-premount/resume in initrd will always wait 5
  seconds for activating LVM swap.
  After mounting root filesystem, systemd will activate LVM swap.

    $ cat /usr/share/initramfs-tools/scripts/local-premount/resume
    
    SWAPTYPE=$(wait-for-root "${resume}" ${RESUMEDELAY:-5})
    

  RESUME is defined at /etc/initramfs-tools/conf.d/resume which is
  created by plugininstall.py.
  So plugininstall.py needs to support non-UUID base RESUME,
  e.g. RESUME=/dev/mapper/ubuntu--vg-swap_1.

$ sudo su -c 'echo RESUME=/dev/mapper/ubuntu--vg-swap_1 \
> /etc/initramfs-tools/conf.d/resume'
$ sudo update-initramfs -u && sudo reboot

$ dmesg # after boot

[1.095876] FDC 0 is a S82078B
[1.507060] EXT4-fs (dm-0): mounted filesystem with ordered data
mode. Opts: (null)
[1.807522] tsc: Refined TSC clocksource calibration: 3392.321 MHz
[1.807526] clocksource: tsc: mask: 0x max_cycles:
0x30e5f904771, max_idle_ns: 440795373543 ns
[2.648513] systemd[1]: systemd 229 running in system mode.
(+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP
+LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID
+ELFUTILS +KMOD -IDN)
[2.648542] systemd[1]: Detected virtualization kvm.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1581801/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1581801] Re: UUID base RESUME always wait 5 seconds for activating LVM swap

2016-09-11 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: initramfs-tools (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1581801

Title:
  UUID base RESUME always wait 5 seconds for activating LVM swap

Status in initramfs-tools package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 16.04 with LVM have delay around LVM mount.

    $ dmesg
    
    [1.126338] FDC 0 is a S82078B
    [1.830136] tsc: Refined TSC clocksource calibration: 3392.321 MHz
    [1.830140] clocksource: tsc: mask: 0x max_cycles:
    0x30e5f904771, max_idle_ns: 440795373543 ns
    [6.984151] EXT4-fs (dm-0): mounted filesystem with ordered data
    mode. Opts: (null)
    [   10.421370] systemd[1]: systemd 229 running in system mode.
    (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP
    +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID
    +ELFUTILS +KMOD -IDN)
    [   10.421397] systemd[1]: Detected virtualization kvm.
    

  LVM partition will be activated by scripts/local-top/lvm2 in initrd.
  But scripts/local-top/lvm2 does not take care of resume variable which
  is set from UUID base RESUME.

    $ cat /usr/share/initramfs-tools/scripts/local-top/lvm2
    
    activate() {
    
  /dev/mapper/*)
  
    }

    activate "$ROOT"
    activate "$resume"
    

  And then, scripts/local-premount/resume in initrd will always wait 5
  seconds for activating LVM swap.
  After mounting root filesystem, systemd will activate LVM swap.

    $ cat /usr/share/initramfs-tools/scripts/local-premount/resume
    
    SWAPTYPE=$(wait-for-root "${resume}" ${RESUMEDELAY:-5})
    

  RESUME is defined at /etc/initramfs-tools/conf.d/resume which is
  created by plugininstall.py.
  So plugininstall.py needs to support non-UUID base RESUME,
  e.g. RESUME=/dev/mapper/ubuntu--vg-swap_1.

$ sudo su -c 'echo RESUME=/dev/mapper/ubuntu--vg-swap_1 \
> /etc/initramfs-tools/conf.d/resume'
$ sudo update-initramfs -u && sudo reboot

$ dmesg # after boot

[1.095876] FDC 0 is a S82078B
[1.507060] EXT4-fs (dm-0): mounted filesystem with ordered data
mode. Opts: (null)
[1.807522] tsc: Refined TSC clocksource calibration: 3392.321 MHz
[1.807526] clocksource: tsc: mask: 0x max_cycles:
0x30e5f904771, max_idle_ns: 440795373543 ns
[2.648513] systemd[1]: systemd 229 running in system mode.
(+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP
+LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID
+ELFUTILS +KMOD -IDN)
[2.648542] systemd[1]: Detected virtualization kvm.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1581801/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1581801] Re: UUID base RESUME always wait 5 seconds for activating LVM swap

2016-05-24 Thread Phillip Susi
** Package changed: ubiquity (Ubuntu) => initramfs-tools (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1581801

Title:
  UUID base RESUME always wait 5 seconds for activating LVM swap

Status in initramfs-tools package in Ubuntu:
  New

Bug description:
  Ubuntu 16.04 with LVM have delay around LVM mount.

    $ dmesg
    
    [1.126338] FDC 0 is a S82078B
    [1.830136] tsc: Refined TSC clocksource calibration: 3392.321 MHz
    [1.830140] clocksource: tsc: mask: 0x max_cycles:
    0x30e5f904771, max_idle_ns: 440795373543 ns
    [6.984151] EXT4-fs (dm-0): mounted filesystem with ordered data
    mode. Opts: (null)
    [   10.421370] systemd[1]: systemd 229 running in system mode.
    (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP
    +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID
    +ELFUTILS +KMOD -IDN)
    [   10.421397] systemd[1]: Detected virtualization kvm.
    

  LVM partition will be activated by scripts/local-top/lvm2 in initrd.
  But scripts/local-top/lvm2 does not take care of resume variable which
  is set from UUID base RESUME.

    $ cat /usr/share/initramfs-tools/scripts/local-top/lvm2
    
    activate() {
    
  /dev/mapper/*)
  
    }

    activate "$ROOT"
    activate "$resume"
    

  And then, scripts/local-premount/resume in initrd will always wait 5
  seconds for activating LVM swap.
  After mounting root filesystem, systemd will activate LVM swap.

    $ cat /usr/share/initramfs-tools/scripts/local-premount/resume
    
    SWAPTYPE=$(wait-for-root "${resume}" ${RESUMEDELAY:-5})
    

  RESUME is defined at /etc/initramfs-tools/conf.d/resume which is
  created by plugininstall.py.
  So plugininstall.py needs to support non-UUID base RESUME,
  e.g. RESUME=/dev/mapper/ubuntu--vg-swap_1.

$ sudo su -c 'echo RESUME=/dev/mapper/ubuntu--vg-swap_1 \
> /etc/initramfs-tools/conf.d/resume'
$ sudo update-initramfs -u && sudo reboot

$ dmesg # after boot

[1.095876] FDC 0 is a S82078B
[1.507060] EXT4-fs (dm-0): mounted filesystem with ordered data
mode. Opts: (null)
[1.807522] tsc: Refined TSC clocksource calibration: 3392.321 MHz
[1.807526] clocksource: tsc: mask: 0x max_cycles:
0x30e5f904771, max_idle_ns: 440795373543 ns
[2.648513] systemd[1]: systemd 229 running in system mode.
(+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP
+LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID
+ELFUTILS +KMOD -IDN)
[2.648542] systemd[1]: Detected virtualization kvm.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1581801/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp