Fails to umount

David Zeuthen david at fubar.dk
Thu Jan 27 09:51:37 PST 2005


On Thu, 2005-01-27 at 19:11 +0200, Paul Ionescu wrote:
> Hi,
> 
> On Thu, 27 Jan 2005 14:26:07 +0100, Pierre Ossman wrote:
> > I have a MP3 player with both internal memory and a card reader. When
> > connected to a computer it shows up as two block devices. These work fine
> > most of the time with hal. fstab-sync sets them up correctly and they are
> > umounted properly when removed.
> > 
> > However, now and then it fails to umount the second of the two devices. I
> > put some printf:s in the code and figured out that volume.is_mounted gets
> > cleared before force_unmount is called. Since it rarely happens I figure
> > it's some form of race condition. I was hoping someone with more intimate
> > knowledge of hal could have a look and see what the problem might be.
> > 
> > Hal version is 0.4.6 and it's running on a FC3 system.
> 
> I can confirm that it happened to me too, when I was pulling out my usb
> hub, with 3 usb memory-key (usbdisks) attached, only one of device was
> unmounted, the others were left mounted even if they don't exist any more.
> Tested on FC3 with both hal 0.4.6 and 0.4.7. Kernel is 2.6.10-1.741_FC3.
> 
> I don't know if it is a problem with HAL, could be with GVM.
> 

Well, you could debug it; here's a Wiki page I wrote some time ago

 http://freedesktop.org/wiki/Software_2fHalTraces

I've also fixed up the main hal site

 http://freedesktop.org/Software/hal

to link to this.

Thanks,
David


_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list