2018-05-24 15:25 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004657Kali Linux[All Projects] General Bugpublic2018-05-16 16:04
Reporterbroomdodger 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
Product Versionkali-dev 
Target VersionFixed in Version 
Summary0004657: eject drives "Writing data to device" dialog never closes
Descriptioneject drives "Writing data to device" dialog never closes

Toshiba L675 - cpu i5 - ram 4 GB
also other machines with kali linux light amd64 (fully upgraded

SanDisk cruzer mini USB flash drives (all 3)
eject drives "Writing data to device" dialog never closes
then about 30 minutes later another dialog:
  Failed to eject "DATA-DISK".
  Timeout was reached.

most other brand USB flash drives eject correctly

Formatted with either:
gnome-disk-utility
gparted

I expect all drives to mount and eject correctly.

Steps To Reproduceinsert drive
add or remove files
eject drive
dialog appears
Attached Files

-Relationships
+Relationships

-Notes

~0008968

broomdodger (reporter)

Another machine that had not been upgraded since 20180116 did not have the problem with the SanDisk cruzer mini USB flash drives.

I upgraded it, now has the same problem:
eject drives "Writing data to device" dialog never closes

~0008969

rhertzog (administrator)

Is this problem specific to the "light" image or can you reproduce with another image too?

I expect it to not be specific to the light images, and to be a kernel problem. We will soon switch to kernel 4.15, you might want to try out this one (it's already available in kali-experimental if you want to try it out right now).

~0008971

broomdodger (reporter)

Yes I will try other than light.

Is 'kali-experimental' the daily?
If not where?

Also the problem just occurred with a USB hard drive.

~0008972

broomdodger (reporter)

I tried the daily
kali-linux-light-rolling-amd64.iso 29-Mar-2018 02:15 943390720
It has kernel 4.14

Where is 'kali-experimental' ?

~0008973

rhertzog (administrator)

kali-experimental is a repository that you add to /etc/apt/sources.list

You duplicate the line with "kali-rolling" and replace "kali-rolling" with "kali-experimental".

But the package of this repository will not be installed automatically, you will have to add "-t kali-experimental" to your apt command:

apt -t kali-experimental full-upgrade

~0008974

broomdodger (reporter)

I made the change to /etc/apt/sources.list adding the line:
deb http://http.kali.org/kali/ kali-experimental main non-free contrib

reboot

root@kali:~# apt -t kali-experimental full-upgrade
Reading package lists... Done
E: The value 'kali-experimental' is invalid for APT::Default-Release as such a release is not available in the sources

~0008975

broomdodger (reporter)

I needed to do:

apt update

BEFORE

apt -t kali-experimental full-upgrade

now the kernel is 4.15.11

The problem ejecting the drives still exists!

Tomorrow I will test other images.

~0008976

rhertzog (administrator)

I'm afraid that we will not be able to help you further with this hardware support issue.

However this looks like a recent regression since you said that on January 16th, it was working. At that date, we have linux 4.14.12 (see https://pkg.kali.org/pkg/linux). And you also said that 4.14.17 was not working for you.

It would be really helpful if you could "git bisect" the kernel to find out the problematic commit. As a first step, you could try to build 4.14.14 or 4.14.15 and see if the problem is present.

~0008977

rhertzog (administrator)

https://kali.training/topic/recompiling-the-linux-kernel/ if you need help to rebuild the kernel you download from kernel.org (or from git).

~0008979

broomdodger (reporter)

The 'kali-linux-light-2018-W12-amd64.iso' (most recent weekly) image does NOT have the 'Writing data to device" stuck dialog problem.

It has kernel 4.14.17. The after 'apt update && apt upgrade' it has the eject problem and still has kernel 4.14.17.
So... it is NOT a kernel problem.

I looked at the upgrade list, sorted for the most likely problem files, then upgraded the least likely first.

And yes, my guess was correct, it is 'gvfs', which I upgraded last. 'gvfs' had the most extreme revision number.

install a fresh kali-linux-light-2018-W12-amd64.iso
upgrade gvfs, gvfs-common, gvfs-daemons, gvfs-libs
reboot
eject certain usb flash or usb hard drives and...
BAM! 'Writing data to device" stuck dialog problem

These were my suspect files:

# 04 upgrade 'Writing data to device" stuck dialog problem
01 gvfs/kali-rolling 1.36.0-1 amd64 [upgradable from: 1.34.1-2]
01 gvfs-common/kali-rolling 1.36.0-1 all [upgradable from: 1.34.1-2]
01 gvfs-daemons/kali-rolling 1.36.0-1 amd64 [upgradable from: 1.34.1-2]
01 gvfs-libs/kali-rolling 1.36.0-1 amd64 [upgradable from: 1.34.1-2]

# 01 upgrade no problem
02 mount/kali-rolling 2.31.1-0.5 amd64 [upgradable from: 2.31.1-0.4]
02 libmount1/kali-rolling 2.31.1-0.5 amd64 [upgradable from: 2.31.1-0.4]

# 02 upgrade no problem
04 libblkid1/kali-rolling 2.31.1-0.5 amd64 [upgradable from: 2.31.1-0.4]

# 03 upgrade no problem
05 udev/kali-rolling 238-3 amd64 [upgradable from: 238-2]
05 libudev1/kali-rolling 238-3 amd64 [upgradable from: 238-2]

~0009158

broomdodger (reporter)

On another laptop
+ install Kali 2018 w12
+ install synaptic
+ update and upgrade but HOLD BACK ALL gvfs to 1.34.1-2

All usb storage devices work without the eject problem

Kali 2018 w19 has gvfs 1.36.1-1 has problem ejecting many storage devices
+Notes

-Issue History
Date Modified Username Field Change
2018-03-28 19:08 broomdodger New Issue
2018-03-28 19:08 broomdodger File Added: writing-data-to-device.jpg
2018-03-29 05:42 broomdodger File Added: time-out.jpg
2018-03-29 05:42 broomdodger Note Added: 0008968
2018-03-29 06:28 rhertzog Note Added: 0008969
2018-03-29 15:57 broomdodger Note Added: 0008971
2018-03-29 16:08 broomdodger Note Added: 0008972
2018-03-29 20:23 rhertzog Note Added: 0008973
2018-03-30 04:50 broomdodger Note Added: 0008974
2018-03-30 05:13 broomdodger Note Added: 0008975
2018-03-30 07:27 rhertzog Note Added: 0008976
2018-03-30 07:29 rhertzog Note Added: 0008977
2018-03-31 00:31 broomdodger Note Added: 0008979
2018-05-16 16:04 broomdodger Note Added: 0009158
+Issue History