public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Hal and ejected DVD not unmounting
@ 2009-06-28 11:40 Dale
  2009-06-28 14:58 ` Florian Philipp
  0 siblings, 1 reply; 5+ messages in thread
From: Dale @ 2009-06-28 11:40 UTC (permalink / raw
  To: gentoo-user

Hi,

I have ran into this from time to time and it is really irritating to
say it lightly.  When I use my DVD drive and eject the DVD, hal seems to
not unmount the device.  That then causes me to get messages like this
in /var/log/messages:

Jun 28 03:10:15 smoker VFS: busy inodes on changed media.
Jun 28 03:10:15 smoker VFS: busy inodes on changed media.
Jun 28 03:10:17 smoker VFS: busy inodes on changed media.
Jun 28 03:10:17 smoker VFS: busy inodes on changed media.
Jun 28 03:10:19 smoker VFS: busy inodes on changed media.
Jun 28 03:10:19 smoker VFS: busy inodes on changed media.
Jun 28 03:10:21 smoker VFS: busy inodes on changed media.
Jun 28 03:10:21 smoker VFS: busy inodes on changed media.
Jun 28 03:10:23 smoker VFS: busy inodes on changed media.
Jun 28 03:10:23 smoker VFS: busy inodes on changed media.
Jun 28 03:10:25 smoker VFS: busy inodes on changed media.
Jun 28 03:10:25 smoker VFS: busy inodes on changed media.
Jun 28 03:10:27 smoker VFS: busy inodes on changed media.
Jun 28 03:10:27 smoker VFS: busy inodes on changed media.
Jun 28 03:10:29 smoker VFS: busy inodes on changed media.
Jun 28 03:10:29 smoker VFS: busy inodes on changed media.
Jun 28 03:10:31 smoker VFS: busy inodes on changed media.
Jun 28 03:10:31 smoker VFS: busy inodes on changed media.

Since this happens every few seconds, my messages file can get pretty
large in a hurry.  I have logrotate and plenty of disk space but this is
still annoying as heck.  I can stop it by manually unmounting the drive
but I sometimes forget to do that.

Can someone tell me how to beat some sense into this thing and make it
unmount when I am done and the drive is empty?  This has happened over
many different versions of hal so specific versions doesn't seem to
matter.  Just in case:

root@smoker / # emerge -1vp udev hal

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-fs/udev-141  USE="(-selinux)" 0 kB
[ebuild   R   ] sys-apps/hal-0.5.11-r9  USE="X acpi crypt -apm -debug
-dell -disk-partition -doc -laptop (-selinux)" 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
root@smoker / # 

I threw in udev just in case.

Thanks !

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Hal and ejected DVD not unmounting
  2009-06-28 11:40 [gentoo-user] Hal and ejected DVD not unmounting Dale
@ 2009-06-28 14:58 ` Florian Philipp
  2009-06-28 20:55   ` Dale
  0 siblings, 1 reply; 5+ messages in thread
From: Florian Philipp @ 2009-06-28 14:58 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 990 bytes --]

Dale schrieb:
> Hi,
> 
> I have ran into this from time to time and it is really irritating to
> say it lightly.  When I use my DVD drive and eject the DVD, hal seems to
> not unmount the device.  That then causes me to get messages like this
> in /var/log/messages:
> 
[...]
>
> Since this happens every few seconds, my messages file can get pretty
> large in a hurry.  I have logrotate and plenty of disk space but this is
> still annoying as heck.  I can stop it by manually unmounting the drive
> but I sometimes forget to do that.
> 
> Can someone tell me how to beat some sense into this thing and make it
> unmount when I am done and the drive is empty?  This has happened over
> many different versions of hal so specific versions doesn't seem to
> matter.  Just in case:
> 
[...]

How did you eject the DVD? Did you press the button on the drive, did
you use `eject` or maybe your desktop environment offers you that option
(thunar, nautilus, kde, ...)?


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Hal and ejected DVD not unmounting
  2009-06-28 14:58 ` Florian Philipp
@ 2009-06-28 20:55   ` Dale
  2009-06-28 20:57     ` Alan McKinnon
  0 siblings, 1 reply; 5+ messages in thread
From: Dale @ 2009-06-28 20:55 UTC (permalink / raw
  To: gentoo-user

Florian Philipp wrote:
> Dale schrieb:
>   
>> Hi,
>>
>> I have ran into this from time to time and it is really irritating to
>> say it lightly.  When I use my DVD drive and eject the DVD, hal seems to
>> not unmount the device.  That then causes me to get messages like this
>> in /var/log/messages:
>>
>>     
> [...]
>   
>> Since this happens every few seconds, my messages file can get pretty
>> large in a hurry.  I have logrotate and plenty of disk space but this is
>> still annoying as heck.  I can stop it by manually unmounting the drive
>> but I sometimes forget to do that.
>>
>> Can someone tell me how to beat some sense into this thing and make it
>> unmount when I am done and the drive is empty?  This has happened over
>> many different versions of hal so specific versions doesn't seem to
>> matter.  Just in case:
>>
>>     
> [...]
>
> How did you eject the DVD? Did you press the button on the drive, did
> you use `eject` or maybe your desktop environment offers you that option
> (thunar, nautilus, kde, ...)?
>
>   

I just push the button on the drive.  I have always done it that way. 
At one time the eject thing in the KDE menu wouldn't actually eject.  It
just sat there blinking at me.  :/

Should I use the menu and not the button?

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Hal and ejected DVD not unmounting
  2009-06-28 20:55   ` Dale
@ 2009-06-28 20:57     ` Alan McKinnon
  2009-06-28 21:12       ` Dale
  0 siblings, 1 reply; 5+ messages in thread
From: Alan McKinnon @ 2009-06-28 20:57 UTC (permalink / raw
  To: gentoo-user

On Sunday 28 June 2009 22:55:50 Dale wrote:
> I just push the button on the drive.  I have always done it that way.
> At one time the eject thing in the KDE menu wouldn't actually eject.  It
> just sat there blinking at me.  :/
>
> Should I use the menu and not the button?

I think you should use KDE's eject function, then eject manually if the disc 
doesn't come out by itself.

I also think your expectations are completely reasonable - if hal polls the cd 
drive every two seconds to find when a disc is in it and then mount it, 
*surely* it should umount the disc when it knows for an absolute fact that the 
disc is no longer present. I can't think of a single reason why hal should 
every leave a disc mounted that isn't there any more ...

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Hal and ejected DVD not unmounting
  2009-06-28 20:57     ` Alan McKinnon
@ 2009-06-28 21:12       ` Dale
  0 siblings, 0 replies; 5+ messages in thread
From: Dale @ 2009-06-28 21:12 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon wrote:
> On Sunday 28 June 2009 22:55:50 Dale wrote:
>   
>> I just push the button on the drive.  I have always done it that way.
>> At one time the eject thing in the KDE menu wouldn't actually eject.  It
>> just sat there blinking at me.  :/
>>
>> Should I use the menu and not the button?
>>     
>
> I think you should use KDE's eject function, then eject manually if the disc 
> doesn't come out by itself.
>
> I also think your expectations are completely reasonable - if hal polls the cd 
> drive every two seconds to find when a disc is in it and then mount it, 
> *surely* it should umount the disc when it knows for an absolute fact that the 
> disc is no longer present. I can't think of a single reason why hal should 
> every leave a disc mounted that isn't there any more ...
>
>   

Yep, it's sort of like looking at your hand to see if it is still
there.  If nobody cut it off, why check every two seconds to see if it
is still there?  Now if you are expecting someone to cut it off, then
maybe check to see.  Of course, if this happens a lot, you either need
mental help or a body guard.  I think hal needs mental help myself.  I
just thought it may be me that needs help, maybe a setting or something.

This is another thing that doesn't restore my confidence hal.  Still on
the old xorg.

Thanks much. 

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-06-28 21:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-28 11:40 [gentoo-user] Hal and ejected DVD not unmounting Dale
2009-06-28 14:58 ` Florian Philipp
2009-06-28 20:55   ` Dale
2009-06-28 20:57     ` Alan McKinnon
2009-06-28 21:12       ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox