Public bug reported:

pre-reqs:

re-installation of ubuntu onto an existing (eg: Oneiric) Ubuntu system
disk is partitioned as follows.

/dev/sda1 -> /boot ; ext4
/dev/sda2 -> swap
/dev/sda3 -> / ; ext4
/dev/sda4 -> /home ; ext4

we will reformat all but /home, which for the sake of consistency should
have some stuff in it.

reproduce:

* boot off live disk
* start installer
* english
* don't select updates and 3rd party software
* 'something else' partitioning option
--- if the three options, see screenshot "2012-04-21 13:01:56.png", are not 
present, the bug does not reproduce.
* set up the partitions for use as above; format everything apart from /home
--- see "2012-04-21 13:02:45.png"
* install now.
* ubiquity GUI moves on to ask about location/timezone
* it does time servers stuff, formats partitions, and then hangs at 'removing 
conflicting operating system files'. 
--- see "2012-04-21 13:03:52.png"
--- Log output below copied from GUI shows it failed to unmount /dev/sda4 
* it doesn't seem to time out or move on in any reasonable timeframe

Apr 21 13:03:18 ubuntu clear_partitions: Considering /home,/dev/sda4. 
Apr 21 13:03:18 ubuntu kernel: [  406.598322] EXT4-fs (sda4): warning: maximal 
mount count reached, running e2fsck is recommended
Apr 21 13:03:18 ubuntu kernel: [  406.603309] EXT4-fs (sda4): mounted 
filesystem with ordered data mode. Opts: (null)
Apr 21 13:03:18 ubuntu ubiquity: umount: /mnt/tmpmount: device is busy.
Apr 21 13:03:18 ubuntu ubiquity:         (In some cases useful info about 
processes that use
Apr 21 13:03:18 ubuntu ubiquity:          the device is found by lsof(8) or 
fuser(1))
Apr 21 13:03:18 ubuntu ubiquity: 
Apr 21 13:03:18 ubuntu ubiquity: rmdir: 
Apr 21 13:03:18 ubuntu ubiquity: failed to remove `/mnt/tmpmount'
Apr 21 13:03:18 ubuntu ubiquity: : Device or resource busy
Apr 21 13:03:18 ubuntu ubiquity: 
Apr 21 13:03:18 ubuntu ubiquity[3462]: debconffilter_done: 
ubiquity.components.partman_commit (current: ubi-timezone)

* basic troubleshooting within five minutes shows the following

root@ubuntu:~# lsof | grep sda4
lsof: WARNING: can't stat() tmpfs file system /cow
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/ubuntu/.gvfs
      Output information may be incomplete.
jbd2/sda4 11906       root  cwd       DIR       0,19      280       8061 /
jbd2/sda4 11906       root  rtd       DIR       0,19      280       8061 /
jbd2/sda4 11906       root  txt   unknown                                
/proc/11906/exe
root@ubuntu:~# ps -fp 11906
UID        PID  PPID  C STIME TTY          TIME CMD
root     11906     2  0 13:03 ?        00:00:00 [jbd2/sda4-8]
root@ubuntu:~# lsof | grep tmpm
lsof: WARNING: can't stat() tmpfs file system /cow
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/ubuntu/.gvfs
      Output information may be incomplete.
root@ubuntu:~# fuser /dev/sda4
root@ubuntu:~# fuser -m /mnt/tmpmount
root@ubuntu:~#

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubiquity 2.10.4
ProcVersionSignature: Ubuntu 3.2.0-20.33-generic-pae 3.2.12
Uname: Linux 3.2.0-20-generic-pae i686
ApportVersion: 1.95-0ubuntu1
Architecture: i386
CasperVersion: 1.312
Date: Sat Apr 21 13:09:31 2012
InstallCmdLine: root=/dev/nfs boot=casper netboot=nfs 
nfsroot=192.168.1.152:/srv/tftpboot/precise.i386 
initrd=/precise.i386/casper/initrd.lz b43.blacklist=yes 
BOOT_IMAGE=/precise.i386/casper/vmlinuz
LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120328)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 precise ubiquity-2.10.4

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

Title:
  precise install hangs; new install keeping existing filesystems from
  older release. umount fails after 'removing conflicting .. files'

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to