Re: Bug#757417: libparted2-udeb: breaks auto-lvm in d-i
On Sun, Aug 10, 2014 at 08:26:56AM +0200, Petter Reinholdtsen wrote: Hi. Could this issue also affect the grub installer udeb? Not directly. But of course it's possible you manually partitioned wrongly in some way. -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140810082405.gd5...@riva.ucam.org
Re: Bug#757417: libparted2-udeb: breaks auto-lvm in d-i
On Sun, Aug 10, 2014 at 09:24:05AM +0100, Colin Watson wrote: On Sun, Aug 10, 2014 at 08:26:56AM +0200, Petter Reinholdtsen wrote: Hi. Could this issue also affect the grub installer udeb? Not directly. But of course it's possible you manually partitioned wrongly in some way. Well, it's possible that ensure-active might be failing, actually, in which case http://anonscm.debian.org/cgit/parted/debian/parted.git/commit/?id=6b352883e20e7eb998e0acfeab9a7c6edbe2b3fa would fix it. -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140810082945.ga2...@riva.ucam.org
Re: Bug#757417: libparted2-udeb: breaks auto-lvm in d-i
clone 757417 -1 -2 -3 -4 -5 -6 reassign -1 partman-auto-lvm retitle -1 partman-auto-lvm: cope with automatic creation of partitions in loop labels reassign -2 partman-base retitle -2 partman-base: make tests cope with automatic creation of partitions in loop labels severity -2 normal reassign -3 partman-crypto retitle -3 partman-crypto: cope with automatic creation of partitions in loop labels reassign -4 partman-lvm retitle -4 partman-lvm: cope with automatic creation of partitions in loop labels reassign -5 partman-md retitle -5 partman-md: cope with automatic creation of partitions in loop labels reassign -6 partman-zfs retitle -6 partman-zfs: cope with automatic creation of partitions in loop labels thanks On Fri, Aug 08, 2014 at 12:53:07AM +0200, Cyril Brulebois wrote: 3.2-2 fixes the non-LVM case, while it doesn't fix the second one, since we're now getting a different issue, apparently about primary partition count. I'll try to post more details soon. There are two problems here, both caused by apparently-intentional upstream changes: 1) parted 3.2 now automatically creates a partition when you create a loop label. Various bits of partman expect there to be free space after creating a loop label, and fail or misbehave when this isn't the case. 2) parted 3.2 no longer probes LVM logical volumes, or indeed any device-mapper devices other than dmraid whole disks. As a result, those devices never show up in partman at all. 2) is a distinctly unhelpful change at least in the context of d-i, although I guess it might be helpful elsewhere (parted -l tends to be pretty noisy if you have device-mapper devices present). For now I'm reverting it since it's a one-line change to undo just this bit. However, 1) is trickier. Reverting that change to parted results in different breakage, and it looks like I would have to do some quite complicated disentangling to revert it successfully. I'm not convinced this would result in something more stable. On the other hand, the end result is actually more convenient for d-i because it needs to do less work, so I'm minded to leave it in place and adjust the calling code instead. I've successfully tested changes to partman-auto-lvm and partman-lvm; as indicated by the control commands above there are a few other things to change too. Given this particular bug was also present in 3.2-1 (even if masked by the alignment issue), I'm versioning it as found in 3.2-1, so that 3.2-2 has a chance to migrate when it's old enough. If that doesn't sound like a good idea, please adjust version [and explain why ;)]. That sounds quite sensible, yes. Apologies for the inconvenience casued by all this; I clearly didn't test the new upstream version of parted well enough. I will sort all this out as quickly as I can. -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140810095637.ge5...@riva.ucam.org
Re: Bug#757417: libparted2-udeb: breaks auto-lvm in d-i
On Fri, Aug 08, 2014 at 03:26:23AM +0200, Cyril Brulebois wrote: [ Except for the stupid log function name and logger tag, it might be handy to merge such a patch into partman-auto-lvm to ease further debugging; comments welcome. ] I don't object, but it's generally simpler to just look at /var/log/partman, which has a full trace of all the parted_server commands issued, the replies to them, and various other information. I tracked this down quite quickly using that by reference to the code. -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140810095821.gf5...@riva.ucam.org
Processed: Re: Bug#757417: libparted2-udeb: breaks auto-lvm in d-i
Processing commands for cont...@bugs.debian.org: clone 757417 -1 -2 -3 -4 -5 -6 Bug #757417 [libparted2-udeb] libparted2-udeb: breaks auto-lvm in d-i Bug 757417 cloned as bugs 757661-757666 reassign -1 partman-auto-lvm Bug #757661 [libparted2-udeb] libparted2-udeb: breaks auto-lvm in d-i Bug reassigned from package 'libparted2-udeb' to 'partman-auto-lvm'. No longer marked as found in versions parted/3.2-1. Ignoring request to alter fixed versions of bug #757661 to the same values previously set retitle -1 partman-auto-lvm: cope with automatic creation of partitions in loop labels Bug #757661 [partman-auto-lvm] libparted2-udeb: breaks auto-lvm in d-i Changed Bug title to 'partman-auto-lvm: cope with automatic creation of partitions in loop labels' from 'libparted2-udeb: breaks auto-lvm in d-i' reassign -2 partman-base Bug #757662 [libparted2-udeb] libparted2-udeb: breaks auto-lvm in d-i Bug reassigned from package 'libparted2-udeb' to 'partman-base'. No longer marked as found in versions parted/3.2-1. Ignoring request to alter fixed versions of bug #757662 to the same values previously set retitle -2 partman-base: make tests cope with automatic creation of partitions in loop labels Bug #757662 [partman-base] libparted2-udeb: breaks auto-lvm in d-i Changed Bug title to 'partman-base: make tests cope with automatic creation of partitions in loop labels' from 'libparted2-udeb: breaks auto-lvm in d-i' severity -2 normal Bug #757662 [partman-base] partman-base: make tests cope with automatic creation of partitions in loop labels Severity set to 'normal' from 'serious' reassign -3 partman-crypto Bug #757663 [libparted2-udeb] libparted2-udeb: breaks auto-lvm in d-i Bug reassigned from package 'libparted2-udeb' to 'partman-crypto'. No longer marked as found in versions parted/3.2-1. Ignoring request to alter fixed versions of bug #757663 to the same values previously set retitle -3 partman-crypto: cope with automatic creation of partitions in loop labels Bug #757663 [partman-crypto] libparted2-udeb: breaks auto-lvm in d-i Changed Bug title to 'partman-crypto: cope with automatic creation of partitions in loop labels' from 'libparted2-udeb: breaks auto-lvm in d-i' reassign -4 partman-lvm Bug #757664 [libparted2-udeb] libparted2-udeb: breaks auto-lvm in d-i Bug reassigned from package 'libparted2-udeb' to 'partman-lvm'. No longer marked as found in versions parted/3.2-1. Ignoring request to alter fixed versions of bug #757664 to the same values previously set retitle -4 partman-lvm: cope with automatic creation of partitions in loop labels Bug #757664 [partman-lvm] libparted2-udeb: breaks auto-lvm in d-i Changed Bug title to 'partman-lvm: cope with automatic creation of partitions in loop labels' from 'libparted2-udeb: breaks auto-lvm in d-i' reassign -5 partman-md Bug #757665 [libparted2-udeb] libparted2-udeb: breaks auto-lvm in d-i Bug reassigned from package 'libparted2-udeb' to 'partman-md'. No longer marked as found in versions parted/3.2-1. Ignoring request to alter fixed versions of bug #757665 to the same values previously set retitle -5 partman-md: cope with automatic creation of partitions in loop labels Bug #757665 [partman-md] libparted2-udeb: breaks auto-lvm in d-i Changed Bug title to 'partman-md: cope with automatic creation of partitions in loop labels' from 'libparted2-udeb: breaks auto-lvm in d-i' reassign -6 partman-zfs Bug #757666 [libparted2-udeb] libparted2-udeb: breaks auto-lvm in d-i Bug reassigned from package 'libparted2-udeb' to 'partman-zfs'. No longer marked as found in versions parted/3.2-1. Ignoring request to alter fixed versions of bug #757666 to the same values previously set retitle -6 partman-zfs: cope with automatic creation of partitions in loop labels Bug #757666 [partman-zfs] libparted2-udeb: breaks auto-lvm in d-i Changed Bug title to 'partman-zfs: cope with automatic creation of partitions in loop labels' from 'libparted2-udeb: breaks auto-lvm in d-i' thanks Stopping processing here. Please contact me if you need assistance. -- 757417: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757417 757661: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757661 757662: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757662 757663: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757663 757664: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757664 757665: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757665 757666: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757666 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/handler.s.c.14076646118336.transcr...@bugs.debian.org
Bug#757417: libparted2-udeb: breaks auto-lvm in d-i
Package: libparted2-udeb Version: 3.2-1 Severity: serious Justification: what subject says [X-D-Cc: -boot@, please keep it in the loop.] Hi, 3.2-1 had this alignment bug that prevented at least two scenarios in guided mode (with a blank disc) from working properly: - Full disc installation - Full disc installation with LVM 3.2-2 fixes the non-LVM case, while it doesn't fix the second one, since we're now getting a different issue, apparently about primary partition count. I'll try to post more details soon. I've rebuilt a netinst image with 3.1-4 and I can confirm that just downgrading parted's udebs to this version makes d-i work again like it did past week when I uploaded d-i in preparation for the D-I Jessie Beta 1 release. Given this particular bug was also present in 3.2-1 (even if masked by the alignment issue), I'm versioning it as found in 3.2-1, so that 3.2-2 has a chance to migrate when it's old enough. If that doesn't sound like a good idea, please adjust version [and explain why ;)]. Mraw, KiBi. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140807225307.7279.26197.report...@wodi.home.mraw.org
Re: Bug#757417: libparted2-udeb: breaks auto-lvm in d-i
Cyril Brulebois k...@debian.org (2014-08-08): 3.2-2 fixes the non-LVM case, while it doesn't fix the second one, since we're now getting a different issue, apparently about primary partition count. I'll try to post more details soon. I've looked into it a bit more and discovered that the failing reason was autopartitioning_failed, which belongs to partman-auto-lvm's perform_recipe_by_lvm. I've therefore added some debug as can be seen in the attached patch. The syslog got augmented accordingly with the final line in this excerpt (which isn't much but better than before): | Aug 8 01:02:14 main-menu[213]: INFO: Menu item 'partman-base' selected | Aug 8 01:02:14 anna-install: Installing partman-auto-lvm | Aug 8 01:02:14 anna[4582]: DEBUG: resolver (cdebconf-udeb): package doesn't exist (ignored) | Aug 8 01:02:14 anna[4582]: DEBUG: resolver (di-utils): package doesn't exist (ignored) | Aug 8 01:02:14 anna[4582]: DEBUG: resolver (kernel-image-3.14-2-486-di): package doesn't exist (ignored) | Aug 8 01:02:14 anna[4582]: DEBUG: resolver (core-modules-3.14-2-486-di): package doesn't exist (ignored) | Aug 8 01:02:14 anna[4582]: DEBUG: resolver (fat-modules): package doesn't exist (ignored) | Aug 8 01:02:14 anna[4582]: DEBUG: resolver (libdebian-installer4-udeb): package doesn't exist (ignored) | Aug 8 01:02:14 anna[4582]: DEBUG: resolver (archdetect): package doesn't exist (ignored) | Aug 8 01:02:14 anna[4582]: DEBUG: resolver (hw-detect): package doesn't exist (ignored) | Aug 8 01:02:14 anna[4582]: DEBUG: retrieving lvm2-udeb 2.02.106-2 | Aug 8 01:02:15 anna[4582]: DEBUG: retrieving partman-lvm 90 | Aug 8 01:02:15 anna[4582]: DEBUG: retrieving partman-auto-lvm 53+nmu2 | Aug 8 01:02:15 anna-install: Installing partman-auto-crypto | Aug 8 01:02:15 anna[4682]: DEBUG: resolver (cdebconf-udeb): package doesn't exist (ignored) | Aug 8 01:02:15 anna[4682]: DEBUG: resolver (di-utils): package doesn't exist (ignored) | Aug 8 01:02:15 anna[4682]: DEBUG: resolver (kernel-image-3.14-2-486-di): package doesn't exist (ignored) | Aug 8 01:02:15 anna[4682]: DEBUG: resolver (core-modules-3.14-2-486-di): package doesn't exist (ignored) | Aug 8 01:02:15 anna[4682]: DEBUG: resolver (fat-modules): package doesn't exist (ignored) | Aug 8 01:02:15 anna[4682]: DEBUG: resolver (libdebian-installer4-udeb): package doesn't exist (ignored) | Aug 8 01:02:15 anna[4682]: DEBUG: resolver (archdetect): package doesn't exist (ignored) | Aug 8 01:02:15 anna[4682]: DEBUG: resolver (hw-detect): package doesn't exist (ignored) | Aug 8 01:02:15 anna[4682]: DEBUG: retrieving partman-auto-crypto 22 | Aug 8 01:02:16 anna[4682]: DEBUG: retrieving partman-crypto 73 | Aug 8 01:02:17 kernel: [ 111.532021] raid6: mmxx1 6180 MB/s | Aug 8 01:02:18 kernel: [ 111.600018] raid6: mmxx2 6640 MB/s | Aug 8 01:02:18 kernel: [ 111.668015] raid6: sse1x15192 MB/s | Aug 8 01:02:18 kernel: [ 111.736016] raid6: sse1x26531 MB/s | Aug 8 01:02:18 kernel: [ 111.804009] raid6: sse2x1 10550 MB/s | Aug 8 01:02:18 kernel: [ 111.872013] raid6: sse2x2 13226 MB/s | Aug 8 01:02:18 kernel: [ 111.872014] raid6: using algorithm sse2x2 (13226 MB/s) | Aug 8 01:02:18 kernel: [ 111.872015] raid6: using intx1 recovery algorithm | Aug 8 01:02:18 kernel: [ 111.872298] xor: measuring software checksum speed | Aug 8 01:02:18 kernel: [ 111.912008]pIII_sse : 16192.000 MB/sec | Aug 8 01:02:18 kernel: [ 111.952011]prefetch64-sse: 17323.000 MB/sec | Aug 8 01:02:18 kernel: [ 111.952013] xor: using function: prefetch64-sse (17323.000 MB/sec) | Aug 8 01:02:18 kernel: [ 111.954730] bio: create slab bio-1 at 1 | Aug 8 01:02:18 kernel: [ 111.954773] Btrfs loaded | Aug 8 01:02:18 kernel: [ 111.963252] JFS: nTxBlock = 8068, nTxLock = 64548 | Aug 8 01:02:18 kernel: [ 111.972423] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled | Aug 8 01:02:18 md-devices: mdadm: No arrays found in config file or automatically | Aug 8 01:02:18 kernel: [ 112.353097] device-mapper: uevent: version 1.0.3 | Aug 8 01:02:18 kernel: [ 112.353275] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-de...@redhat.com | Aug 8 01:02:18 partman: No matching physical volumes found | Aug 8 01:02:18 partman: Reading all physical volumes. This may take a while... | Aug 8 01:02:18 partman: | Aug 8 01:02:18 partman: No volume groups found | Aug 8 01:02:18 partman: | Aug 8 01:02:18 partman-lvm: | Aug 8 01:02:18 partman-lvm: No volume groups found | Aug 8 01:02:18 partman-lvm: | Aug 8 01:02:28 partman-lvm: Physical volume /dev/sda5 successfully created | Aug 8 01:02:28 partman-lvm: Volume group foobar-vg successfully created | Aug 8 01:02:29 kernel: [ 123.231502] bio: create slab bio-2 at 2 | Aug 8 01:02:29 partman-lvm: Logical volume root created | Aug 8 01:02:29 partman-auto-lvm-debug: free_space handling failed [ Except for the stupid log function