On 04/28/09 05:48, Yves-Alexis Perez wrote:
It happens with all the usb devices you tried? Is there something in /var/log/syslog during the various mount/umounts? Could you try lshal -m during those operations, too?
It happens with all usb thumbdrive-type devices (actual usb thumbdrives, my Sony Reader and my Sony Walkman) and with external USB hard drives. There is nothing in syslog except the normal output from the kernel (dmesg), and there is nothing unusual in that output, and nothing different from in the past when this problem did not occur prior to upgrading from lenny to squeeze.
Attached are two logs from lshal -m, one with thunar run as a foreground process, the other with it running as a daemon. There is no other output to any other logs related to this problem.
The only other thing I have noticed during testing is that every time the device is removed and re-inserted, a new [scsi_eh_X] process appears in the process list, where 'X' is incremented each time. Similarly, in the kernel output (dmesg), when the device is scanned, it gets a different scsi device ID (as in 'sd XX:0:0:0: [sdb] ...', where XX increments each time).
Perhaps thunar is somehow caching hardware state when running as a daemon, and the change in scsi ID is not being picked up?
-- Scott Barker sc...@mostlylinux.ca Linux Consultant http://www.mostlylinux.ca/scott
Start monitoring devicelist: ------------------------------------------------- 07:51:04.893: usb_device_1976_6025_091155002041A100 added 07:51:04.912: usb_device_1976_6025_091155002041A100_if0 added 07:51:04.942: usb_device_1976_6025_091155002041A100_usbraw added 07:51:09.882: usb_device_1976_6025_091155002041A100_if0_scsi_host added 07:51:09.885: usb_device_1976_6025_091155002041A100_if0_scsi_host_scsi_device_lun0 added 07:51:10.034: storage_serial__USB_2_0_091155002041A100_0_0 added 07:51:10.039: storage_serial__USB_2_0_091155002041A100_0_0 property info.interfaces = {'org.freedesktop.Hal.Device.Storage.Removable'} (new) 07:51:10.136: volume_uuid_0021_CB1F added 07:51:14.176: volume_uuid_0021_CB1F property volume.mount_point = '/media/DISK_IMG' 07:51:14.191: volume_uuid_0021_CB1F property volume.is_mounted = true 07:51:19.699: volume_uuid_0021_CB1F property volume.mount_point = '' 07:51:19.700: volume_uuid_0021_CB1F property volume.is_mounted = false 07:51:23.528: usb_device_1976_6025_091155002041A100_if0_scsi_host_scsi_device_lun0 removed 07:51:23.531: usb_device_1976_6025_091155002041A100_if0_scsi_host removed 07:51:23.532: volume_uuid_0021_CB1F removed 07:51:23.554: usb_device_1976_6025_091155002041A100_if0 removed 07:51:23.558: usb_device_1976_6025_091155002041A100_usbraw removed 07:51:23.558: usb_device_1976_6025_091155002041A100 removed 07:51:23.558: storage_serial__USB_2_0_091155002041A100_0_0 removed 07:51:26.909: usb_device_1976_6025_091155002041A100 added 07:51:26.918: usb_device_1976_6025_091155002041A100_if0 added 07:51:26.944: usb_device_1976_6025_091155002041A100_usbraw added 07:51:31.905: usb_device_1976_6025_091155002041A100_if0_scsi_host added 07:51:31.907: usb_device_1976_6025_091155002041A100_if0_scsi_host_scsi_device_lun0 added 07:51:32.030: storage_serial__USB_2_0_091155002041A100_0_0 added 07:51:32.034: storage_serial__USB_2_0_091155002041A100_0_0 property info.interfaces = {'org.freedesktop.Hal.Device.Storage.Removable'} (new) 07:51:32.163: volume_uuid_0021_CB1F added 07:51:33.518: volume_uuid_0021_CB1F property volume.mount_point = '/media/DISK_IMG' 07:51:33.519: volume_uuid_0021_CB1F property volume.is_mounted = true 07:51:35.139: volume_uuid_0021_CB1F property volume.mount_point = '' 07:51:35.156: volume_uuid_0021_CB1F property volume.is_mounted = false 07:51:37.610: usb_device_1976_6025_091155002041A100_if0_scsi_host_scsi_device_lun0 removed 07:51:37.612: usb_device_1976_6025_091155002041A100_if0_scsi_host removed 07:51:37.613: volume_uuid_0021_CB1F removed 07:51:37.631: usb_device_1976_6025_091155002041A100_if0 removed 07:51:37.631: usb_device_1976_6025_091155002041A100_usbraw removed 07:51:37.633: usb_device_1976_6025_091155002041A100 removed 07:51:37.635: storage_serial__USB_2_0_091155002041A100_0_0 removed
Start monitoring devicelist: ------------------------------------------------- 07:52:51.142: usb_device_1976_6025_091155002041A100 added 07:52:51.150: usb_device_1976_6025_091155002041A100_if0 added 07:52:51.173: usb_device_1976_6025_091155002041A100_usbraw added 07:52:56.139: usb_device_1976_6025_091155002041A100_if0_scsi_host added 07:52:56.141: usb_device_1976_6025_091155002041A100_if0_scsi_host_scsi_device_lun0 added 07:52:56.291: storage_serial__USB_2_0_091155002041A100_0_0 added 07:52:56.301: storage_serial__USB_2_0_091155002041A100_0_0 property info.interfaces = {'org.freedesktop.Hal.Device.Storage.Removable'} (new) 07:52:56.384: volume_uuid_0021_CB1F added 07:53:10.288: usb_device_1976_6025_091155002041A100_if0_scsi_host_scsi_device_lun0 removed 07:53:10.291: usb_device_1976_6025_091155002041A100_if0_scsi_host removed 07:53:10.295: volume_uuid_0021_CB1F removed 07:53:10.302: usb_device_1976_6025_091155002041A100_if0 removed 07:53:10.303: usb_device_1976_6025_091155002041A100_usbraw removed 07:53:10.307: usb_device_1976_6025_091155002041A100 removed 07:53:10.313: storage_serial__USB_2_0_091155002041A100_0_0 removed