precise install hangs; new install keeping existing filesystems from older release. umount fails after 'removing conflicting .. files'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
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.
* 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-
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-
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
ProcVersionSign
Uname: Linux 3.2.0-20-
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=
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)
fyi, b43 param in kernel command line relates to Bug #950295 - it has no bearing on this bug, cannot boot this system to precise without it.