[Bug 1096520] Re: lvm2 hangs when creating snapshot of live root and IO to the root filesystem is happening

2014-01-05 Thread pepa65
OK, on a non-luks encrypted bog-standard lvm2 install of the latest trusty tahr.
Note: the original bug was already solved. The case where the output of the 
lv-snapshot creation is directed to a file on the volume being snapshotted is a 
mixed bag with the latest trusty tahr. The first time it went OK; the second 
time I used a single verbosity flag, and it hung:
lvcreate -v -s -p r -L 700M -n oscopy /dev/mapper/ubuntu--vg-root 2/root/log
(Tried both a few times, no -v no hang, at least one -v and it hangs.)

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

Title:
  lvm2 hangs when creating snapshot of live root and IO to the root
  filesystem is happening

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1096520] Re: lvm2 hangs when creating snapshot of live root and IO to the root filesystem is happening

2014-01-05 Thread pepa65
Additional note: on the console I get messages like:

[  601.586905] INFO: task lvcreateL1999 blocked for more than 120 seconds.
[  601.593195]  Tainted: G   W 3.12.0-7-generic #15-Ubuntu
[  601.593195] echo 0  /proc/sys/kernel/hung_task_timeout_secs disables this 
message.

(3 times every 2 minutes)

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

Title:
  lvm2 hangs when creating snapshot of live root and IO to the root
  filesystem is happening

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1096520] Re: lvm2 hangs when creating snapshot of live root and IO to the root filesystem is happening

2014-01-05 Thread Christopher M. Penalver
pepa65, thank you for your comment. Given that as you noted in 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1096520/comments/38 the 
original bug is solved, in order to eliminate scope creep, and focus on your 
problem quickly and efficiently, it would be best to close this report, and 
start fresh with a new bug report via a terminal, with the latest logs focused 
on the scoped problem:
ubuntu-bug PACKAGE

where PACKAGE is the affected Ubuntu package (may want to start with
lvm2).

Thank you for reporting this bug and helping make Ubuntu better. Feel
free to report any future bugs you may find.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

** Changed in: linux (Ubuntu)
   Status: Incomplete = Invalid

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

Title:
  lvm2 hangs when creating snapshot of live root and IO to the root
  filesystem is happening

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1096520] Re: lvm2 hangs when creating snapshot of live root and IO to the root filesystem is happening

2014-01-04 Thread pepa65
I don't think the status should be invalid. A workaround is provided,
and there is an interaction with udev that causes it.

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

Title:
  lvm2 hangs when creating snapshot of live root and IO to the root
  filesystem is happening

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1096520] Re: lvm2 hangs when creating snapshot of live root and IO to the root filesystem is happening

2014-01-04 Thread Christopher M. Penalver
pepa65, thank you for your comments. Could you please confirm this issue
exists with the latest development release of Ubuntu? ISO images are
available from http://cdimage.ubuntu.com/daily-live/current/ . If the
issue remains, could you please run the following command in the
development release from a Terminal
(Applications-Accessories-Terminal), as it will automatically gather
and attach updated debug information to this report:

apport-collect -p linux replace-with-bug-number

If reproducible, could you also please test the latest upstream kernel 
available (not the daily folder) following 
https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional 
upstream developers to examine the issue. Once you've tested the upstream 
kernel, please comment on which kernel version specifically you tested. If this 
bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For 
example:
kernel-fixed-upstream-v3.13-rc6

This can be done by clicking on the yellow circle with a black pencil icon next 
to the word Tags located at the bottom of the bug description. As well, please 
remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's
Status as Confirmed. Please let us know your results. Thank you for your
understanding.

** Changed in: linux (Ubuntu)
   Status: Invalid = Incomplete

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

Title:
  lvm2 hangs when creating snapshot of live root and IO to the root
  filesystem is happening

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1096520] Re: lvm2 hangs when creating snapshot of live root and IO to the root filesystem is happening

2014-01-04 Thread pepa65
Sorry, the iso won't install. It's stuck at 98% CPU for over an hour at
'cryptsetup', which manually only takes a second... I don't even know if
the installer uses the proper setup, and I don't see a way to do it with
Something else.

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

Title:
  lvm2 hangs when creating snapshot of live root and IO to the root
  filesystem is happening

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1096520] Re: lvm2 hangs when creating snapshot of live root and IO to the root filesystem is happening

2014-01-04 Thread Christopher M. Penalver
pepa65, thank you for attempting to test Trusty. Would it be possible to
test an earlier release via http://releases.ubuntu.com/ ?

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

Title:
  lvm2 hangs when creating snapshot of live root and IO to the root
  filesystem is happening

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1096520] Re: lvm2 hangs when creating snapshot of live root and IO to the root filesystem is happening

2014-01-03 Thread Christopher M. Penalver
pepa65, this bug report is being closed due to your last comments:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1096520/comments/21
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1096520/comments/32

regarding this being fixed with an update. For future reference you can
manage the status of your own bugs by clicking on the current status in
the yellow line and then choosing a new status in the revealed drop down
box. You can learn more about bug statuses at
https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time
to report this bug and helping to make Ubuntu better. Please submit any
future bugs you may find.

** Tags removed: linux live lvcreate lvm2 root
** Tags added: bios-outdated-7.16

** Changed in: linux (Ubuntu)
   Status: Triaged = Invalid

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

Title:
  lvm2 hangs when creating snapshot of live root and IO to the root
  filesystem is happening

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1096520] Re: lvm2 hangs when creating snapshot of live root and IO to the root filesystem is happening

2013-01-12 Thread pepa
This comment from Zdenek Kabelac 'closes' this bug report as far as I'm
concerned:

Hmm you are doing snapshot of 'root' filesystem - and there could
be actually some problems with delivering of cookie since udev
might get frozen. 

So folks, don't do: lvcreate -s ... /file/on/rootfs
But instead do: out=$(lvcreate -s ... 21); echo $out /file/on/rootfs

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

Title:
  lvm2 hangs when creating snapshot of live root and IO to the root
  filesystem is happening

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1096520] Re: lvm2 hangs when creating snapshot of live root and IO to the root filesystem is happening

2013-01-10 Thread pepa
Response from Zdenek Kabelac:

 1. One-line summary
 lvm2 hangs when creating snapshot of live root and IO to the root filesystem
 is happening


 2. Full description
 Root filesystem ext4 on lvm2 extent in luks-encrypted
 partition with mainline kernel 3.8-rc2.
 This is causing a hang:
 lvcreate -s -n oscopy -v -l 100%FREE /dev/secret/root 2/root/savefile

 See: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1096520


Attach full - trace.

Hmm bugreport talks about  2.6.35 kernel.

My first suspect would be the 'Debian way' of handling udev rules -
handling differes from the upstream solution and must be tracked and
fixed on Debian.


 6. Script to replicate the problem
 lvcreate -s -n oscopy -v -l 100%FREE /dev/secret/root 2/root/savefile

'-'


Attach also 'changes' to udev rules from the upstream solution.

Probably  udevadm  monitoring output would be also useful.

Any cookies left unfinished  'dmsetup udevcookies' ?


Zdenek

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

Title:
  lvm2 hangs when creating snapshot of live root and IO to the root
  filesystem is happening

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1096520] Re: lvm2 hangs when creating snapshot of live root and IO to the root filesystem is happening

2013-01-10 Thread pepa
I replied this back, I hope it doesn't have negative unintended consequences...
 
I think this happens everywhere. I just did a Fedora 18-beta install (no 
cryptsetup, just default lvm2 setup), and this hangs:
lvcreate -s -n oscopy - -l 100%FREE /dev/fedora/root 2savefile

I don't know how to do all the things you say in your post, but is there
a reference implementation where this can be proven to hang?? You could
try it yourself -- I am happy to help, but I have been spending many
hours filing this bug report, and I feel it's not getting anywhere.
Should I demonstrate this on RHEL? Should I install the mainline kernel
on Fedora? Which version??

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

Title:
  lvm2 hangs when creating snapshot of live root and IO to the root
  filesystem is happening

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1096520] Re: lvm2 hangs when creating snapshot of live root and IO to the root filesystem is happening

2013-01-09 Thread pepa
** Summary changed:

- lvm2 hangs when creating snapshot of live root
+ lvm2 hangs when creating snapshot of live root and IO to the root filesystem 
is happening

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

Title:
  lvm2 hangs when creating snapshot of live root and IO to the root
  filesystem is happening

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1096520] Re: lvm2 hangs when creating snapshot of live root and IO to the root filesystem is happening

2013-01-09 Thread pepa
** Description changed:

  On Lucid LTS 10.04.4 with package linux-image-2.6.32-45-generic-pae 
2.6.32-45.101 (2.6.32.45.52),
  also happens on linux-image-2.6.35-32-generic-pae 2.6.35-32.68~lucid1 
(2.6.35.14)
  Root filesystem ext4 (e2fslibs 1.41.11-1ubuntu2.1) on lvm2 2.02.54-1ubuntu4.1,
  vg resides on luks-encrypted partition (cryptsetup 2:1.1.0~rc2-1ubuntu13)
  
- This might be a regression of bug 615911, 595489, 604807, 605551 - same 
symptoms:
+ This might be a regression of bug 615911, bug 595489, bug 604807, bug 605551 
- same symptoms:
  after lvcreate -s -p r -L 3G -n oscopy /dev/secret/ubuntu the system becomes 
unresponsive at the root filesystem becomes inaccessible. The lv is never 
properly created, but on reboot there are some vestiges that cannot be mounted 
(/dev/secret/oscopy).
- --- 
+ ---
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
  Architecture: i386
  ArecordDevices:
-  XOpenDisplay() failed
-   List of CAPTURE Hardware Devices 
-  card 0: PCH [HDA Intel PCH], device 0: ALC662 rev1 Analog [ALC662 rev1 
Analog]
-Subdevices: 1/1
-Subdevice #0: subdevice #0
+  XOpenDisplay() failed
+   List of CAPTURE Hardware Devices 
+  card 0: PCH [HDA Intel PCH], device 0: ALC662 rev1 Analog [ALC662 rev1 
Analog]
+    Subdevices: 1/1
+    Subdevice #0: subdevice #0
  AudioDevicesInUse:
-  USERPID ACCESS COMMAND
-  /dev/snd/controlC0:  gdm1869 F pulseaudio
+  USERPID ACCESS COMMAND
+  /dev/snd/controlC0:  gdm1869 F pulseaudio
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
-  Card hw:0 'PCH'/'HDA Intel PCH at 0xfe70 irq 49'
-Mixer name : 'Realtek ALC662 rev1'
-Components : 'HDA:10ec0662,103c2ac2,00100101'
-Controls  : 21
-Simple ctrls  : 13
+  Card hw:0 'PCH'/'HDA Intel PCH at 0xfe70 irq 49'
+    Mixer name : 'Realtek ALC662 rev1'
+    Components : 'HDA:10ec0662,103c2ac2,00100101'
+    Controls  : 21
+    Simple ctrls  : 13
  Card1.Amixer.info:
-  Card hw:1 'Generic'/'HD-Audio Generic at 0xfe64 irq 50'
-Mixer name : 'ATI R6xx HDMI'
-Components : 'HDA:1002aa01,00aa0100,00100200'
-Controls  : 4
-Simple ctrls  : 1
+  Card hw:1 'Generic'/'HD-Audio Generic at 0xfe64 irq 50'
+    Mixer name : 'ATI R6xx HDMI'
+    Components : 'HDA:1002aa01,00aa0100,00100200'
+    Controls  : 4
+    Simple ctrls  : 1
  Card1.Amixer.values:
-  Simple mixer control 'IEC958',0
-Capabilities: pswitch pswitch-joined penum
-Playback channels: Mono
-Mono: Playback [off]
+  Simple mixer control 'IEC958',0
+    Capabilities: pswitch pswitch-joined penum
+    Playback channels: Mono
+    Mono: Playback [off]
  DistroRelease: Ubuntu 10.04
  HibernationDevice: RESUME=UUID=03a0c90e-c2e3-4eaf-bab1-3160a73be6c1
  InstallationMedia: Ubuntu-Server 10.04.3 LTS Lucid Lynx - Release i386 
(20110719.2)
  IwConfig:
-  lono wireless extensions.
-  
-  eth0  no wireless extensions.
+  lono wireless extensions.
+ 
+  eth0  no wireless extensions.
  MachineType: Hewlett-Packard p7-1022l
  Package: linux (not installed)
  ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-32-generic-pae 
root=/dev/mapper/secret-ubuntu ro quiet
  ProcEnviron:
-  SHELL=/bin/bash
-  LANG=en_US.UTF-8
+  SHELL=/bin/bash
+  LANG=en_US.UTF-8
  ProcVersionSignature: Ubuntu 2.6.35-32.68~lucid1-generic-pae 2.6.35.14
  Regression: Yes
  RelatedPackageVersions: linux-firmware 1.34.14
  Reproducible: Yes
  RfKill:
-  
+ 
  Tags: lucid  regression-update needs-upstream-testing
  Uname: Linux 2.6.35-32-generic-pae i686
  UserGroups:
-  
+ 
  dmi.bios.date: 07/04/2011
  dmi.bios.vendor: AMI
  dmi.bios.version: 7.11
  dmi.board.name: 2AC2
  dmi.board.vendor: PEGATRON CORPORATION
  dmi.board.version: 1.02A
  dmi.chassis.asset.tag: 4CE13108SV
  dmi.chassis.type: 3
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: 
dmi:bvnAMI:bvr7.11:bd07/04/2011:svnHewlett-Packard:pnp7-1022l:pvr1.02A:rvnPEGATRONCORPORATION:rn2AC2:rvr1.02A:cvnHewlett-Packard:ct3:cvr:
  dmi.product.name: p7-1022l
  dmi.product.version: 1.02A
  dmi.sys.vendor: Hewlett-Packard

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

Title:
  lvm2 hangs when creating snapshot of live root and IO to the root
  filesystem is happening

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs