[public] armadaxp kernel slow to umount
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-armadaxp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Build Version/Date: Linux armadaxp2 3.0.0-1500-armadaxp #3-Ubuntu SMP Wed Feb 22 18:12:33 UTC 2012 armv7l armv7l armv7l GNU/Linux, DISTRIB_ID=Ubuntu, DISTRIB_
Environment used for testing: armadaxp2
Summary: armadaxp kernel slow to unmount
Steps to Reproduce: mount /ext2fs, perform operations within the fs (ls -al /extfs, etc.), umount /ext2fs
Expected result: umount should be quick (unloaded system, no open file handles, etc.)
Actual result: umount takes 10s or longer (60s during shutdown)
***
/dev/sda2 on /boot type ext2 (rw)
/dev/sda2 4805760 89464 4472176 2% /boot
strace -t umount /boot:
...
04:21:51 rt_sigprocmask(
04:21:51 umount("/boot", 0) = 0
04:22:01 getuid32() = 0
04:22:01 geteuid32() = 0
...
***
...
[ 73.583710] init: plymouth-
* Stopping web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting . [ OK ]
Checking for running unattended-
* Asking all remaining processes to terminate... [ OK ]
* All processes ended within 1 seconds.... [ OK ]
* Deconfiguring network interfaces... [ 77.828405] eth0: stopped
* Deactivating swap... [ OK ]
* Unmounting local filesystems... [ OK ]
[ 140.182382] EXT4-fs (sda3): re-mounted. Opts: (null)
...
description: | updated |
no longer affects: | eilt |
visibility: | private → public |
Changed in eilt: | |
assignee: | nobody → Bryan Wu (cooloney) |
summary: |
- armadaxp kernel slow to unmount + [public] armadaxp kernel slow to umount |
Changed in eilt: | |
importance: | Undecided → Low |
Update: I thought initially this was related to ext2fs fs only but it appears that one system with ext3 & ext4 only appears to have the same problem:
/dev/sda3 on / type ext4 (rw,errors= remount- ro) nosuid, nodev) nosuid, nodev) nosuid, gid=5,mode= 0620) nosuid, size=10% ,mode=0755) 0,gid=0, mode=0755) security type securityfs (rw) nosuid, nodev,size= 5242880)
proc on /proc type proc (rw,noexec,
sysfs on /sys type sysfs (rw,noexec,
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,
tmpfs on /run type tmpfs (rw,noexec,
cgroup on /sys/fs/cgroup type tmpfs (rw,uid=
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
none on /run/lock type tmpfs (rw,noexec,
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sda2 on /boot type ext3 (rw)
u@armadaxp1:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 72093008 11032700 57398180 17% /
udev 1512272 12 1512260 1% /dev
tmpfs 607148 204 606944 1% /run
cgroup 1517864 0 1517864 0% /sys/fs/cgroup
none 5120 0 5120 0% /run/lock
none 1517864 0 1517864 0% /run/shm
/dev/sda2 4805760 230144 4331496 6% /boot
ls -al /boot ; ls -la /boot ; strace -t umount /boot GET_DUMPABLE) = 1 "/etc/mtab" , {st_mode= S_IFREG| 0644, st_size=550, ...}) = 0 O_LARGEFILE) = 3 S_IFREG| 0644, st_size=550, ...}) = 0 PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0xb6c87000 remou". .., 4096) = 550 "/sbin/ umount. ext3", 0xbe9d44c0) = -1 ENOENT (No such file or directory) SIG_BLOCK, ~[TRAP SEGV RTMIN RT_1], NULL, 8) = 0 GET_DUMPABLE) = 1 "/etc/mtab" , {st_mode= S_IFREG| 0644, st_size=550, ...}) = 0 O_CREAT| O_LARGEFILE, 0644) = 3
...
05:14:37 getegid32() = 0
05:14:37 prctl(PR_
05:14:37 lstat64(
05:14:37 open("/etc/mtab", O_RDONLY|
05:14:37 fstat64(3, {st_mode=
05:14:37 mmap2(NULL, 4096, PROT_READ|
05:14:37 read(3, "/dev/sda3 / ext4 rw,errors=
05:14:37 read(3, "", 4096) = 0
05:14:37 close(3) = 0
05:14:37 munmap(0xb6c87000, 4096) = 0
05:14:37 stat64(
05:14:37 rt_sigprocmask(
05:14:37 umount("/boot", 0) = 0
05:14:41 getuid32() = 0
05:14:41 geteuid32() = 0
05:14:41 getgid32() = 0
05:14:41 getegid32() = 0
05:14:41 prctl(PR_
05:14:41 lstat64(
05:14:41 open("/etc/mtab", O_RDWR|
05:14:41 close(3) = 0
...