[Parted-maintainers] Bug#757417: libparted2-udeb: breaks auto-lvm in d-i

Cyril Brulebois kibi at debian.org
Fri Aug 8 01:26:23 UTC 2014


Cyril Brulebois <kibi at 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: sse1x1    5192 MB/s
| Aug  8 01:02:18 kernel: [  111.736016] raid6: sse1x2    6531 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-devel at 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 name and logger tag, it might be
handy to merge such a patch into partman-auto-lvm to ease further
debugging; comments welcome. ]

I'll stop here for tonight because it's already past 3am, but I guess
that something changed in parted between 3.1 and 3.2 that might have led
the partman-server thing (that the various partman-* seem to be using)
to behave differently?

Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-log-message-before-autopartitioning_failed-cal.patch
Type: text/x-diff
Size: 2549 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/parted-maintainers/attachments/20140808/d0ac130a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/parted-maintainers/attachments/20140808/d0ac130a/attachment.sig>


More information about the Parted-maintainers mailing list