hald loads a core 100% attempting lazy unmount
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Binary package hint: hal
Installed Jaunty yesterday. AMD 64 dual core. Experienced several freezes with applications attempting file dialogs.
This morning, found one cause. An application had finished an operation on a USB mass storage device, which I then removed from the system. Subsequent attempts with other applications to use file dialogs caused applications to freeze. System Monitor showed that hald was occupying virtually 100% of the CPU on one core.
Monitor shows many dozen instances of
hal-storage-unmount Sleeping .... 884.0 KiB flock_lock_
Use of the other core allowed other applications and the desktop to continue limited operation.
On inspection of logs:
-------
kern log, many instances of:
Apr 25 10:30:46 mikehome kernel: [ 2982.467307] FAT: Directory bread(block 8216) failed
-------
daemon.log, many instances of
Apr 25 11:07:27 mikehome last message repeated 2080 times
(with different counts) following a message:
Apr 25 10:30:41 mikehome hald[2850]: forcibly attempting to lazy unmount /dev/sdc as enclosing drive was disconnected
-------
syslog: combination of the two.
-------
This continued even after the application(s) which had connected to the USB device were closed.
Nautilus may be involved. (ver 2.26.2) - on restarting Nautilus, the USB device mount points were visible in the navigation bar with "Unmount" as a right-click option. Attempting to unmount these gave an error dialog "Unable to mount..." with the message: "DBus error org.freedesktop
description: | updated |
I've seen this happen as well. mount(8) shows that the device it is trying to unmount is not mounted at the time.
Apr 18 01:05:01 perseus hald[2821]: forcibly attempting to lazy unmount /dev/sdb as enclosing drive was disconnected errors= remount- ro) mode=0755) nosuid, nodev) nosuid, nodev) mode=0755) nosuid, nodev,mode= 1777) nosuid, gid=5,mode= 620) fuse/connection s type fusectl (rw) 2.6.28- 11-generic/ volatile type tmpfs (rw,mode=755) security type securityfs (rw) fuse-daemon (rw,nosuid, nodev,user= mdz)
Apr 18 01:05:32 perseus last message repeated 863 times
Apr 18 01:06:33 perseus last message repeated 1743 times
Apr 18 01:07:34 perseus last message repeated 1676 times
perseus:[~/iso] mount
/dev/sda1 on / type ext3 (rw,relatime,
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,
proc on /proc type proc (rw,noexec,
sysfs on /sys type sysfs (rw,noexec,
varrun on /var/run type tmpfs (rw,nosuid,
varlock on /var/lock type tmpfs (rw,noexec,
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,
fusectl on /sys/fs/
lrm on /lib/modules/
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
securityfs on /sys/kernel/
gvfs-fuse-daemon on /home/mdz/.gvfs type fuse.gvfs-