hal does not clean up after unmount

David Zeuthen david at fubar.dk
Thu Nov 4 11:16:01 PST 2004


On Thu, 2004-11-04 at 10:44 -0800, Igor Pruchanskiy wrote:
> Couple of days ago i noticed that hald stopped removing old directories from
> /media and /etc/fstab
> 
> After i plug in my camera it creates /media/SONY_MMS and an entry in 
> /etc/fstab.
> Unpluggin the camera and plugging it back in creates /media/SONY_MMS1 
> and fstab entry for it
> and so on. Same goes for my iPod. /media/usbdisk, /media/usbdisk1, 
> /media/usbdisk2.
> You get the idea... Does anyone know how to fix that ?
> 
> i am running
> sid with gnome2 from experimental
> kernel   2.6.8.1 (2.6.9 is having some weird problems with my ide burner 
> or /dev/ub/a )
> hal        0.4.0-1
> g-v-m   1.0.2-4
> 

Sounds like something you should report to your distributor; In Fedora
we use the no-op mount option 'managed' and all entries are cleaned up
when the haldaemon starts up.

> 
> This gets written to syslog every 5 seconds with 2.6.9
> Not related to the question above though.
> Is my burner dying ?
> -- snip --
> Nov  3 18:19:17 solefald kernel: uba: made changed
> Nov  3 18:19:17 solefald kernel: uba: device 2 capacity nsec 50 bsize 512
> Nov  3 18:19:17 solefald kernel: uba: device 2 capacity nsec 50 bsize 512
> Nov  3 18:19:17 solefald kernel:  /dev/ub/a:end_request: I/O error, dev 
> uba, sector 2
> Nov  3 18:19:17 solefald kernel: end_request: I/O error, dev uba, sector 4
> Nov  3 18:19:17 solefald kernel: end_request: I/O error, dev uba, sector 6
> Nov  3 18:19:17 solefald kernel: end_request: I/O error, dev uba, sector 0
> Nov  3 18:19:17 solefald kernel: end_request: I/O error, dev uba, sector 2
> Nov  3 18:19:17 solefald kernel: end_request: I/O error, dev uba, sector 4
> Nov  3 18:19:17 solefald kernel: end_request: I/O error, dev uba, sector 6
> Nov  3 18:19:17 solefald kernel: end_request: I/O error, dev uba, sector 0
> Nov  3 18:19:17 solefald kernel:  unable to read partition table
> -- snip --

I tried the ub driver back in August and encountered many problems with
it (see Red Hat Bug 131234); I'm not sure how much of this is fixed now;
you might want to use the usb-storage driver instead.

Good luck,
David


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



More information about the Hal mailing list