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

Bug #986558 reported by Ben Prescott
12
This bug affects 2 people
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.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)

Revision history for this message
Ben Prescott (ben.prescott) wrote :
Revision history for this message
Ben Prescott (ben.prescott) wrote :

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.

Revision history for this message
Ben Prescott (ben.prescott) wrote :

/var/log/syslog as requested during bug submission

Revision history for this message
Ben Prescott (ben.prescott) wrote :

/var/log/partman as requested during bug submission

Revision history for this message
Ben Prescott (ben.prescott) wrote :

current dmesg output
note that some crash occurred while reproducing the bug this time

[ 265.196014] EIP is at ext4_evict_inode+0x32/0x400
etc

Beleive this to be a co-incidence, as it switched to the console to show the call trace
I've tripped over this bug twice today, and several times since i started testing beta1, and its the first time it has done that.

Revision history for this message
Ben Prescott (ben.prescott) wrote :

install option to select
unable to reproduce this bug if, instead of this, the GUI only shows two options.

Revision history for this message
Ben Prescott (ben.prescott) wrote :

filesystem options
note, reformatting all the OS partitions, only keeping /home

Revision history for this message
Ben Prescott (ben.prescott) wrote :

it hangs at this point

Revision history for this message
Ben Prescott (ben.prescott) wrote :

root@ubuntu:~# df -h
Filesystem Size Used Avail Use% Mounted on
/cow 1002M 83M 920M 9% /
udev 995M 12K 995M 1% /dev
tmpfs 401M 804K 400M 1% /run
192.168.1.152:/srv/tftpboot/precise.i386 702M 702M 0 100% /cdrom
/dev/loop0 673M 673M 0 100% /rofs
tmpfs 1002M 232K 1002M 1% /tmp
none 5.0M 4.0K 5.0M 1% /run/lock
none 1002M 80K 1002M 1% /run/shm
/dev/sda4 27G 1.1G 25G 5% /mnt/tmpmount

Revision history for this message
Ben Prescott (ben.prescott) wrote :

at a glance, I think I've raised a separate bug for the issue noted in #5 above - Bug #986905

Revision history for this message
Ben Prescott (ben.prescott) wrote :

*unable* to reproduce on a KVM hosted virtual machine (the one which raised Bug #986905)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

Could you please test this with a daily build of 12.04? You can find them at http://cdimage.ubuntu.com/daily-live/.

Revision history for this message
Ben Prescott (ben.prescott) wrote :

system is installing correctly using the daily build.

ubuntu@ubuntu:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/cow 1002M 68M 935M 7% /
udev 995M 12K 995M 1% /dev
tmpfs 401M 792K 400M 1% /run
192.168.1.152:/srv/tftpboot/precise.i386 702M 702M 0 100% /cdrom
/dev/loop0 673M 673M 0 100% /rofs
tmpfs 1002M 44K 1002M 1% /tmp
none 5.0M 4.0K 5.0M 1% /run/lock
none 1002M 76K 1002M 1% /run/shm
/dev/sda3 76G 2.7G 69G 4% /target
/dev/sda1 2.0G 66M 1.8G 4% /target/boot
/dev/sda4 27G 1.1G 25G 5% /target/home
ubuntu@ubuntu:~$ cat /cdrom/.disk/info
Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)ubuntu@ubuntu:~$

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in ubiquity (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubiquity (Ubuntu) because there has been no activity for 60 days.]

Changed in ubiquity (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.