Comment 0 for bug 970260

Revision history for this message
Laurent Riffard (laurent-riffard) wrote :

Installation of package memtest86+ fails, it does hang and never ends :

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

With another terminal :

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>
[...]

I have to kill process 9935 to unlock this.

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)