Hi,

I have exactly the same problem, and I dug a little further.

The problem occurs when you remove an USB key while some its partitions
are mounted. In that case, hald spaws an hald-addon-storage process,
which polls /dev/sda every 2 seconds:

[7417]: 19:56:49.153 [E] addon-storage.c:423: open failed for /dev/sda:
No such file or directory 

[7417]: 19:56:51.157 [E] addon-storage.c:423: open failed for /dev/sda:
No such file or directory

[7417]: 19:56:53.161 [E] addon-storage.c:423: open failed for /dev/sda:
No such file or directory

But of course, /dev/sda doesn't exist anymore. I suppose that udev
already removed it since the device has been unplugged. So hald stays
locked waiting for hald-addon-storage to exit (or to do something ?).

(FWIW, when hald-addon-storage is looping, the partitions have already
been automatically unmounted. So it takes place after the unmounting).

I don't know how to fix this.

However, if you unmount the various partitions of the removable device
before unplugging it, then it works nicely. But of course, there's
still a bug: it should work even when partitions are mounted.

Do not hesitate to ask for further details if needed. I'm also
available on request on IRC for a direct debugging session if needed.

Sincerly,

Thomas
-- 
PETAZZONI Thomas - [EMAIL PROTECTED] 
http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED]
http://{agenda,livret}dulibre.org - http://www.toulibre.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7

Attachment: signature.asc
Description: PGP signature

Reply via email to