Comment 1 for bug 1834641

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1834641

I use Linux as my daily driver with a Kindle PaperWhite, running
kernel 5.1.9 and see no disconnects. The analysis in that bug report
makes no sense.

1) nobarrier is a really bad idea, it means applications cannot rely on
fsync() anymore, so there is no way to guarantee that data is actually
written to the disk. In particular this means you *have* to unmount the
disk before disconnecting the cable. And any database or similar software
running on a nobarrier fs will lead to data corruption.

2) If nobarrier is indeed the only way forward (which I highly doubt,
but...) then it should be done system wide. Otherwise depending on
whether the device is mounted by calibre or something else, you will get
different behavior, which is just chaos.

Since no one else has reported this issue and I cannot replicate it
either, I am guessing it is something specific to your system. I suggest
trying to update your Kindle firmware to the latest, also (although I
dont think this should matter) try a different USB cable and port (for
instance USB 2 vs 3 or a different USB hub).