I have a similar problem with my Zip 100 Plus parallel port drive under
Hardy. When ejecting a disk, sometimes it unmounts properly, but
sometimes it is as if the disk is ejected before hal recognizes that it
is unmounted.

Procedure:

1. Connect zip drive to parallel port and run sudo modprobe imm. The zip
drive is recognized as /dev/sdg4 and an icon named "Zip Drive" appears
in nautilus.

2. Insert a disk. The "Zip Drive" icon changes to whatever the disk name
is. My HFS disks are recognized properly, no problems so far.

3. Right click on the zip disk icon and choose Eject. The popup message
"Writing to disk" appears.

4a. If I'm lucky the popup message changes in a second to the one saying
that it is safe to remove the disk and the disk ejects automatically.
The icon changes back to "Zip Drive". The relevant lines from
/var/log/syslog are:

Feb 17 11:14:49 amadeus hald: unmounted /dev/sdg4 from '/media/Fonts 4' on 
behalf of 
uid 1000
Feb 17 11:14:52 amadeus NetworkManager: <debug> [1234865692.079986] 
nm_hal_device_rem
oved(): Device removed (hal udi is 
'/org/freedesktop/Hal/devices/volume_part1_size_40
960'). 
Feb 17 11:14:52 amadeus NetworkManager: <debug> [1234865692.086955] 
nm_hal_device_rem
oved(): Device removed (hal udi is 
'/org/freedesktop/Hal/devices/volume_part2_size_51
20'). 
Feb 17 11:14:52 amadeus NetworkManager: <debug> [1234865692.094285] 
nm_hal_device_rem
oved(): Device removed (hal udi is 
'/org/freedesktop/Hal/devices/volume_part3_size_20
4800'). 
Feb 17 11:14:52 amadeus NetworkManager: <debug> [1234865692.101504] 
nm_hal_device_rem
oved(): Device removed (hal udi is 
'/org/freedesktop/Hal/devices/volume_label_Fonts_4
'). 
Feb 17 11:14:52 amadeus NetworkManager: <debug> [1234865692.107112] 
nm_hal_device_rem
oved(): Device removed (hal udi is 
'/org/freedesktop/Hal/devices/volume_part5_size_51
2'). 
Feb 17 11:14:52 amadeus NetworkManager: <debug> [1234865692.110894] 
nm_hal_device_rem
oved(): Device removed (hal udi is 
'/org/freedesktop/Hal/devices/volume_part6_size_51
20'). 

4b. If I'm not so lucky the disk is ejected with the "Writing to disk"
message still displaying and the icon still displays the disk name. Now
/var/log/syslog just has the hald line and nothing from NetworkManager:

Feb 17 11:20:28 amadeus hald: unmounted /dev/sdg4 from '/media/Fonts 5'
on behalf of uid 1000

Moreover, umounting manually from the command line and then ejecting
works every time. So does gnome-umount -vbd which just gives the
following:

gnome-mount 0.8
** (gnome-umount:6944): DEBUG: Unmounting 
/org/freedesktop/Hal/devices/volume_label_Fonts_3
** (gnome-umount:6944): DEBUG: in unmount_done : user_data = 0x0
Unmounted /dev/sdg4

-- 
[gutsy] Ejecting zip disk works but then gives error messages
https://bugs.launchpad.net/bugs/162480
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to