** Description changed: - Installation of package memtest86+ fails, it does hang and never ends : + Installation of package memtest86+ fails, it does hang and never ends if + lvm snapshot is present. - laurent@calimero:~$ sudo apt-get -f install - Reading package lists... Done - Building dependency tree - Reading state information... Done - The following packages were automatically installed and are no longer required: - libapt-inst1.3 libgdata1.7-cil openoffice.org-common - Use 'apt-get autoremove' to remove them. - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. - 2 not fully installed or removed. - After this operation, 0 B of additional disk space will be used. - Setting up memtest86+ (4.20-1.1ubuntu1) ... - Generating grub.cfg ... - Found linux image: /boot/vmlinuz-3.3.0 - Found initrd image: /boot/initrd.img-3.3.0 - Found linux image: /boot/vmlinuz-3.3.0-rc7 - Found initrd image: /boot/initrd.img-3.3.0-rc7 - Found linux image: /boot/vmlinuz-3.3.0-rc6 - Found initrd image: /boot/initrd.img-3.3.0-rc6 - Found linux image: /boot/vmlinuz-3.3.0-rc3 - Found initrd image: /boot/initrd.img-3.3.0-rc3 - Found linux image: /boot/vmlinuz-3.2.0-21-generic - Found initrd image: /boot/initrd.img-3.2.0-21-generic - Found linux image: /boot/vmlinuz-3.2.0 - Found initrd image: /boot/initrd.img-3.2.0 - Found linux image: /boot/vmlinuz-3.1.0 - Found initrd image: /boot/initrd.img-3.1.0 - Found linux image: /boot/vmlinuz-3.0.0-16-generic - Found initrd image: /boot/initrd.img-3.0.0-16-generic - Found linux image: /boot/vmlinuz-3.0.0-15-generic - Found initrd image: /boot/initrd.img-3.0.0-15-generic - Found linux image: /boot/vmlinuz-3.0.0-00007-g5f5cb0b - Found initrd image: /boot/initrd.img-3.0.0-00007-g5f5cb0b - Found linux image: /boot/vmlinuz-2.6.39-00005-g82f1802 - Found initrd image: /boot/initrd.img-2.6.39-00005-g82f1802 - Found memtest86+ image: /memtest86+.bin - File descriptor 3 (pipe:[85856]) leaked on lvs invocation. Parent PID 11152: /bin/sh - File descriptor 61 (/var/log/apt/history.log) leaked on lvs invocation. Parent PID 11152: /bin/sh - umount: /var/lib/os-prober/mount: not mounted - rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy - rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy - rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy - rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy - rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy - rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy - rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy - rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy - rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy - rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy - rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy - rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy - grub-probe: error: unknown filesystem. - done - <=========== it hangs there + Prepare: + * create active lvm snapshot + Test case: + $ sudo apt-get install --reinstall memtest86+ - With another terminal : + <hang> - laurent@calimero:~$ ps axf - [...] - 2573 pts/0 Ss 0:00 \_ bash - 9923 pts/0 S+ 0:00 | \_ sudo apt-get -f install - 9924 pts/0 S+ 0:01 | \_ apt-get -f install - 9934 pts/2 Ss+ 0:00 | \_ /usr/bin/dpkg --status-fd 63 --configure memtest86+:amd64 ubuntu-standard:amd64 - 9935 pts/2 S+ 0:00 | \_ /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/memtest86+.postinst configure 4.20-1ubuntu1 - 9942 pts/2 Z+ 0:00 | \_ [memtest86+.post] <defunct> - [...] + Recover from the hang with: + $ sudo pkill -f 'frontend /var/lib/dpkg/info/memtest86\+.postinst' + $ sudo killall grub-mount + $ sudo umount /var/lib/os-prober/mount - I have to kill process 9935 to unlock this. + (don't kill grub-mount nor umount if you want the next run to "succeed", + well not run) - - FYI, this desktop does have a couple of reiser4 filesystems : - - laurent@calimero:~$ sudo lvs - LV VG Attr LSize Origin Snap% Move Log Copy% Convert - lv_001 vgaux -wi-a- 30,00g - lv_diske vgaux -wi-a- 5,00g - lv_maxtor1 vgaux -wi-a- 10,00g - lv_ccache vglinux1 -wi-a- 2,00g - lv_ccache_r4 vglinux1 -wc-a- 2,00g - lv_kernel vglinux1 -wi-a- 4,00g - lv_kernel2 vglinux1 -wi-a- 4,00g - lv_kernel_r4 vglinux1 -wi-a- 4,00g - lv_ubuntu vglinux1 owi-ao 10,00g - lv_ubunutu_oneiric vglinux1 swi-ao 10,00g lv_ubuntu 47,37 - lvhome vglinux1 -wn-ao 16,00g - lvswap vglinux1 -wi-ao 1,00g - lvvirt1 vglinux1 -wi-a- 2,00g - lvvirt2 vglinux1 -wi-a- 2,00g - - lv_ccache_r4 and lv_kernel_r4 are reiser4 FS. - - - laurent@calimero:~$ lsb_release -rd - Description: Ubuntu precise (development branch) - Release: 12.04 - - laurent@calimero:~$ LC_ALL=C apt-cache policy memtest86+ - memtest86+: - Installed: 4.20-1.1ubuntu1 - Candidate: 4.20-1.1ubuntu1 - Version table: - *** 4.20-1.1ubuntu1 0 - 500 http://fr.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages - 100 /var/lib/dpkg/status - - ProblemType: Bug - DistroRelease: Ubuntu 12.04 - Package: memtest86+ 4.20-1.1ubuntu1 - ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13 - Uname: Linux 3.2.0-21-generic x86_64 - ApportVersion: 2.0-0ubuntu2 - Architecture: amd64 - CheckboxSubmission: cd31f79434975300924d9b5f073398a4 - CheckboxSystem: 6eb8730080cbfd79b263a12c9014eb13 - Date: Sat Mar 31 19:56:41 2012 - InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011) - SourcePackage: memtest86+ - UpgradeStatus: Upgraded to precise on 2012-03-31 (0 days ago) + Actual problem: + update-grub / os-prober leave stray grub-mount behing. + workarounds applied in os-prober 1.57 doesn't actually help here. + upgrading to quantal's grub2 package resolves the hangs. + A minimal backport from grub has not been identified yet.
** Bug watch added: Debian Bug tracker #673573 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673573 ** Also affects: grub2 (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673573 Importance: Unknown Status: Unknown ** Changed in: memtest86+ (Ubuntu Precise) Status: Invalid => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/970260 Title: Setting up memtest86+ hangs because of "grub-probe: error: unknown filesystem" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/970260/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs