Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Hal and ejected DVD not unmounting
Date: Sun, 28 Jun 2009 11:40:12
Message-Id: 4A475694.9040606@gmail.com
1 Hi,
2
3 I have ran into this from time to time and it is really irritating to
4 say it lightly. When I use my DVD drive and eject the DVD, hal seems to
5 not unmount the device. That then causes me to get messages like this
6 in /var/log/messages:
7
8 Jun 28 03:10:15 smoker VFS: busy inodes on changed media.
9 Jun 28 03:10:15 smoker VFS: busy inodes on changed media.
10 Jun 28 03:10:17 smoker VFS: busy inodes on changed media.
11 Jun 28 03:10:17 smoker VFS: busy inodes on changed media.
12 Jun 28 03:10:19 smoker VFS: busy inodes on changed media.
13 Jun 28 03:10:19 smoker VFS: busy inodes on changed media.
14 Jun 28 03:10:21 smoker VFS: busy inodes on changed media.
15 Jun 28 03:10:21 smoker VFS: busy inodes on changed media.
16 Jun 28 03:10:23 smoker VFS: busy inodes on changed media.
17 Jun 28 03:10:23 smoker VFS: busy inodes on changed media.
18 Jun 28 03:10:25 smoker VFS: busy inodes on changed media.
19 Jun 28 03:10:25 smoker VFS: busy inodes on changed media.
20 Jun 28 03:10:27 smoker VFS: busy inodes on changed media.
21 Jun 28 03:10:27 smoker VFS: busy inodes on changed media.
22 Jun 28 03:10:29 smoker VFS: busy inodes on changed media.
23 Jun 28 03:10:29 smoker VFS: busy inodes on changed media.
24 Jun 28 03:10:31 smoker VFS: busy inodes on changed media.
25 Jun 28 03:10:31 smoker VFS: busy inodes on changed media.
26
27 Since this happens every few seconds, my messages file can get pretty
28 large in a hurry. I have logrotate and plenty of disk space but this is
29 still annoying as heck. I can stop it by manually unmounting the drive
30 but I sometimes forget to do that.
31
32 Can someone tell me how to beat some sense into this thing and make it
33 unmount when I am done and the drive is empty? This has happened over
34 many different versions of hal so specific versions doesn't seem to
35 matter. Just in case:
36
37 root@smoker / # emerge -1vp udev hal
38
39 These are the packages that would be merged, in order:
40
41 Calculating dependencies... done!
42 [ebuild R ] sys-fs/udev-141 USE="(-selinux)" 0 kB
43 [ebuild R ] sys-apps/hal-0.5.11-r9 USE="X acpi crypt -apm -debug
44 -dell -disk-partition -doc -laptop (-selinux)" 0 kB
45
46 Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
47 root@smoker / #
48
49 I threw in udev just in case.
50
51 Thanks !
52
53 Dale
54
55 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Hal and ejected DVD not unmounting Florian Philipp <lists@××××××××××××××××××.net>