← Back to team overview

kernel-packages team mailing list archive

[Bug 1396213] Re: LVM VG is not activated during system boot

 

MegaBrutal, just to reinforce
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396213/comments/22
you do not have to do any more apport-collect'ing at this time.

** Description changed:

  Hi all,
  
  I open this report based on the linked conversation I had on the linux-lvm mailing list, and the Ask Ubuntu question I posted regarding this case.
  https://www.redhat.com/archives/linux-lvm/2014-November/msg00023.html
  https://www.redhat.com/archives/linux-lvm/2014-November/msg00024.html
  http://askubuntu.com/questions/542656/lvm-vg-is-not-activated-during-system-boot
  
  I have 2 VGs on my system, and for some reason, only one of them gets
  activated during the initrd boot sequence, which doesn't have my root
  LV, so my boot sequence halts with an initrd prompt.
  
  When I get to the initrd BusyBox prompt, I can see my LVs are inactive
  with "lvm lvscan" – then, "lvm vgchange -ay" brings them online. The
  boot sequence continues as I exit the BusyBox prompt. The expected
  behaviour would be that both VGs should activate automatically.
  
  On LVM mailing list, I've been advised it may be a problem with Ubuntu
  initrd scripts, hence I report this problem here. (I'm not sure if I'm
  reporting it to the correct place by assigning it to "linux", but I
  didn't find a package directly related to the initrd only, so I assumed
  initrd scripts are maintained by the kernel team. If you think it's an
  error, and know the correct package, please reassign!) Our suspicion is,
  initrd prematurely issues "vgchange -ay" before all the PVs come online.
  This makes sense.
  
  I already tried to set the "rootdelay" kernel parameter to make initrd
  wait longer for the boot LV to come up, but it didn't work. Note
  however, it worked with previous kernel versions.
  
  The problem came up when I upgraded to Utopic, and got kernel vmlinuz-3.16.0-23-generic. When I boot with the old kernel from Trusty (vmlinuz-3.13.0-37-generic), it works fine.
- --- 
+ ---
  AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.16.0-23-generic.
  AplayDevices: Error: [Errno 2] No such file or directory
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/pcmC1D2p', '/dev/snd/pcmC1D1c', '/dev/snd/pcmC1D0c', '/dev/snd/pcmC1D0p', '/dev/snd/controlC1', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D3p', '/dev/snd/controlC0', '/dev/snd/timer'] failed with exit code 1:
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info: Error: [Errno 2] No such file or directory
  Card0.Amixer.values: Error: [Errno 2] No such file or directory
  Card1.Amixer.info: Error: [Errno 2] No such file or directory
  Card1.Amixer.values: Error: [Errno 2] No such file or directory
  DistroRelease: Ubuntu 14.10
  HibernationDevice: RESUME=/dev/mapper/vmhost--vg-vmhost--swap0
  InstallationDate: Installed on 2013-12-06 (354 days ago)
  InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64 (20131016)
  Lsusb:
-  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: WinFast 6150M2MA
  Package: linux (not installed)
  ProcEnviron:
-  LANGUAGE=en_US:en
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_US:en
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-23-generic root=/dev/mapper/hostname--vg-hostname--rootfs ro rootflags=subvol=@ rootdelay=300
  ProcVersionSignature: Ubuntu 3.16.0-23.31-generic 3.16.4
  RelatedPackageVersions:
-  linux-restricted-modules-3.16.0-23-generic N/A
-  linux-backports-modules-3.16.0-23-generic  N/A
-  linux-firmware                             1.138
+  linux-restricted-modules-3.16.0-23-generic N/A
+  linux-backports-modules-3.16.0-23-generic  N/A
+  linux-firmware                             1.138
  RfKill: Error: [Errno 2] No such file or directory
  Tags:  utopic utopic
  Uname: Linux 3.16.0-23-generic x86_64
  UnreportableReason: The report belongs to a package that is not installed.
  UpgradeStatus: Upgraded to utopic on 2014-10-28 (28 days ago)
  UserGroups:
-  
+ 
  _MarkForUpload: True
  dmi.bios.date: 01/19/2008
  dmi.bios.vendor: Phoenix Technologies, LTD
  dmi.bios.version: 686W1D28
  dmi.board.name: 6150M2MA
  dmi.board.vendor: WinFast
  dmi.board.version: FAB2.0
  dmi.chassis.type: 3
  dmi.chassis.vendor: WinFast
  dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr686W1D28:bd01/19/2008:svnWinFast:pn6150M2MA:pvrFAB2.0:rvnWinFast:rn6150M2MA:rvrFAB2.0:cvnWinFast:ct3:cvr:
  dmi.product.name: 6150M2MA
  dmi.product.version: FAB2.0
  dmi.sys.vendor: WinFast
- --- 
+ ---
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  DistroRelease: Ubuntu 14.10
  InstallationDate: Installed on 2013-12-06 (355 days ago)
  InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64 (20131016)
  Package: linux (not installed)
  ProcEnviron:
-  LANGUAGE=en_US:en
-  TERM=linux
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_US:en
+  TERM=linux
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  Tags:  utopic
  Uname: Linux 3.18.0-031800rc6-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: Upgraded to utopic on 2014-10-28 (29 days ago)
  UserGroups:
-  
+ 
  _MarkForUpload: True
- --- 
- AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.13.0-37-generic.
- AplayDevices: Error: [Errno 2] No such file or directory
- ApportVersion: 2.14.7-0ubuntu8
- Architecture: amd64
- ArecordDevices: Error: [Errno 2] No such file or directory
- AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC1', '/dev/snd/pcmC1D0c', '/dev/snd/pcmC1D0p', '/dev/snd/pcmC1D1c', '/dev/snd/pcmC1D2p', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D3p', '/dev/snd/timer'] failed with exit code 1:
- CRDA: Error: [Errno 2] No such file or directory
- Card0.Amixer.info: Error: [Errno 2] No such file or directory
- Card0.Amixer.values: Error: [Errno 2] No such file or directory
- Card1.Amixer.info: Error: [Errno 2] No such file or directory
- Card1.Amixer.values: Error: [Errno 2] No such file or directory
- DistroRelease: Ubuntu 14.10
- HibernationDevice: RESUME=/dev/mapper/vmhost--vg-vmhost--swap0
- InstallationDate: Installed on 2013-12-06 (356 days ago)
- InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64 (20131016)
- IwConfig:
-  br0       no wireless extensions.
-  
-  eth0      no wireless extensions.
-  
-  lo        no wireless extensions.
- Lsusb:
-  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-  Bus 002 Device 003: ID 04d9:1702 Holtek Semiconductor, Inc. 
-  Bus 002 Device 002: ID ffc0:0040  
-  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- MachineType: WinFast 6150M2MA
- Package: linux (not installed)
- ProcEnviron:
-  LANGUAGE=en_US:en
-  TERM=linux
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
- ProcFB: 0 radeondrmfb
- ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-37-generic root=/dev/mapper/hostname--vg-hostname--rootfs ro rootflags=subvol=@ rootdelay=300
- ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
- RelatedPackageVersions:
-  linux-restricted-modules-3.13.0-37-generic N/A
-  linux-backports-modules-3.13.0-37-generic  N/A
-  linux-firmware                             1.138
- RfKill: Error: [Errno 2] No such file or directory
- Tags:  utopic utopic
- Uname: Linux 3.13.0-37-generic x86_64
- UnreportableReason: The report belongs to a package that is not installed.
- UpgradeStatus: Upgraded to utopic on 2014-10-28 (30 days ago)
- UserGroups:
-  
- _MarkForUpload: True
- dmi.bios.date: 01/19/2008
- dmi.bios.vendor: Phoenix Technologies, LTD
- dmi.bios.version: 686W1D28
- dmi.board.name: 6150M2MA
- dmi.board.vendor: WinFast
- dmi.board.version: FAB2.0
- dmi.chassis.type: 3
- dmi.chassis.vendor: WinFast
- dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr686W1D28:bd01/19/2008:svnWinFast:pn6150M2MA:pvrFAB2.0:rvnWinFast:rn6150M2MA:rvrFAB2.0:cvnWinFast:ct3:cvr:
- dmi.product.name: 6150M2MA
- dmi.product.version: FAB2.0
- dmi.sys.vendor: WinFast

** Attachment removed: "WifiSyslog.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396213/+attachment/4269743/+files/WifiSyslog.txt

** Attachment removed: "UdevLog.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396213/+attachment/4269742/+files/UdevLog.txt

** Attachment removed: "UdevDb.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396213/+attachment/4269741/+files/UdevDb.txt

** Attachment removed: "ProcModules.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396213/+attachment/4269740/+files/ProcModules.txt

** Attachment removed: "ProcInterrupts.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396213/+attachment/4269739/+files/ProcInterrupts.txt

** Attachment removed: "ProcCpuinfo.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396213/+attachment/4269738/+files/ProcCpuinfo.txt

** Attachment removed: "PciMultimedia.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396213/+attachment/4269737/+files/PciMultimedia.txt

** Attachment removed: "Lspci.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396213/+attachment/4269736/+files/Lspci.txt

** Attachment removed: "CurrentDmesg.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396213/+attachment/4269735/+files/CurrentDmesg.txt

** Attachment removed: "Card1.Codecs.codec97.0.ac97.0.0.regs.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396213/+attachment/4269734/+files/Card1.Codecs.codec97.0.ac97.0.0.regs.txt

** Attachment removed: "Card1.Codecs.codec97.0.ac97.0.0.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396213/+attachment/4269733/+files/Card1.Codecs.codec97.0.ac97.0.0.txt

** Attachment removed: "Card0.Codecs.codec.0.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396213/+attachment/4269732/+files/Card0.Codecs.codec.0.txt

** Attachment removed: "BootDmesg.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396213/+attachment/4269731/+files/BootDmesg.txt

** Attachment removed: "AlsaDevices.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396213/+attachment/4269730/+files/AlsaDevices.txt

-- 
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/1396213

Title:
  LVM VG is not activated during system boot

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  Hi all,

  I open this report based on the linked conversation I had on the linux-lvm mailing list, and the Ask Ubuntu question I posted regarding this case.
  https://www.redhat.com/archives/linux-lvm/2014-November/msg00023.html
  https://www.redhat.com/archives/linux-lvm/2014-November/msg00024.html
  http://askubuntu.com/questions/542656/lvm-vg-is-not-activated-during-system-boot

  I have 2 VGs on my system, and for some reason, only one of them gets
  activated during the initrd boot sequence, which doesn't have my root
  LV, so my boot sequence halts with an initrd prompt.

  When I get to the initrd BusyBox prompt, I can see my LVs are inactive
  with "lvm lvscan" – then, "lvm vgchange -ay" brings them online. The
  boot sequence continues as I exit the BusyBox prompt. The expected
  behaviour would be that both VGs should activate automatically.

  On LVM mailing list, I've been advised it may be a problem with Ubuntu
  initrd scripts, hence I report this problem here. (I'm not sure if I'm
  reporting it to the correct place by assigning it to "linux", but I
  didn't find a package directly related to the initrd only, so I
  assumed initrd scripts are maintained by the kernel team. If you think
  it's an error, and know the correct package, please reassign!) Our
  suspicion is, initrd prematurely issues "vgchange -ay" before all the
  PVs come online. This makes sense.

  I already tried to set the "rootdelay" kernel parameter to make initrd
  wait longer for the boot LV to come up, but it didn't work. Note
  however, it worked with previous kernel versions.

  The problem came up when I upgraded to Utopic, and got kernel vmlinuz-3.16.0-23-generic. When I boot with the old kernel from Trusty (vmlinuz-3.13.0-37-generic), it works fine.
  ---
  AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.16.0-23-generic.
  AplayDevices: Error: [Errno 2] No such file or directory
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/pcmC1D2p', '/dev/snd/pcmC1D1c', '/dev/snd/pcmC1D0c', '/dev/snd/pcmC1D0p', '/dev/snd/controlC1', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D3p', '/dev/snd/controlC0', '/dev/snd/timer'] failed with exit code 1:
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info: Error: [Errno 2] No such file or directory
  Card0.Amixer.values: Error: [Errno 2] No such file or directory
  Card1.Amixer.info: Error: [Errno 2] No such file or directory
  Card1.Amixer.values: Error: [Errno 2] No such file or directory
  DistroRelease: Ubuntu 14.10
  HibernationDevice: RESUME=/dev/mapper/vmhost--vg-vmhost--swap0
  InstallationDate: Installed on 2013-12-06 (354 days ago)
  InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64 (20131016)
  Lsusb:
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: WinFast 6150M2MA
  Package: linux (not installed)
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-23-generic root=/dev/mapper/hostname--vg-hostname--rootfs ro rootflags=subvol=@ rootdelay=300
  ProcVersionSignature: Ubuntu 3.16.0-23.31-generic 3.16.4
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-23-generic N/A
   linux-backports-modules-3.16.0-23-generic  N/A
   linux-firmware                             1.138
  RfKill: Error: [Errno 2] No such file or directory
  Tags:  utopic utopic
  Uname: Linux 3.16.0-23-generic x86_64
  UnreportableReason: The report belongs to a package that is not installed.
  UpgradeStatus: Upgraded to utopic on 2014-10-28 (28 days ago)
  UserGroups:

  _MarkForUpload: True
  dmi.bios.date: 01/19/2008
  dmi.bios.vendor: Phoenix Technologies, LTD
  dmi.bios.version: 686W1D28
  dmi.board.name: 6150M2MA
  dmi.board.vendor: WinFast
  dmi.board.version: FAB2.0
  dmi.chassis.type: 3
  dmi.chassis.vendor: WinFast
  dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr686W1D28:bd01/19/2008:svnWinFast:pn6150M2MA:pvrFAB2.0:rvnWinFast:rn6150M2MA:rvrFAB2.0:cvnWinFast:ct3:cvr:
  dmi.product.name: 6150M2MA
  dmi.product.version: FAB2.0
  dmi.sys.vendor: WinFast
  ---
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  DistroRelease: Ubuntu 14.10
  InstallationDate: Installed on 2013-12-06 (355 days ago)
  InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64 (20131016)
  Package: linux (not installed)
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=linux
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  Tags:  utopic
  Uname: Linux 3.18.0-031800rc6-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: Upgraded to utopic on 2014-10-28 (29 days ago)
  UserGroups:

  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396213/+subscriptions


References