Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] My Gentoo and Windows don't get along on vfat
Date: Fri, 22 Sep 2017 11:43:34
Message-Id: 1941869.EXJiEMQlr8@eve
In Reply to: [gentoo-user] My Gentoo and Windows don't get along on vfat by Frank Steinmetzger
1 On Friday, September 22, 2017 12:56:01 PM CEST Frank Steinmetzger wrote:
2 > He guys,
3 >
4 > I regularly attach a friend’s external HDD to my laptop or NAS, both running
5 > “standard” Gentoo. The main partition is fat32 formatted. On and off she
6 > has problems mounting the drive, usually after I had it connected to one of
7 > my machines.
8 >
9 > It happened again today. So chronologically:
10 > 1) Someone else attached the drive to his Windows 10 laptop and put a few
11 > Gigs into a single folder.
12 > 2) Then I attached it to my NAS, which didn’t even create a device for it. I
13 > read some hardware error in the system log.
14 > 3) I attached it to my laptop. It also showed the error message (see below),
15 > but it did create a device and I could mount the data partition.
16 >
17 > Sep 22 12:14:53 kern kernel: sd 7:0:0:0: [sdd] tag#0 FAILED Result:
18 > Sep 22 12:14:53 kern kernel: sd 7:0:0:0: [sdd] tag#0 FAILED Result:
19 > hostbyte=DID_ERROR driverbyte=DRIVER_SENSE Sep 22 12:14:53 kern kernel: sd
20 > 7:0:0:0: [sdd] tag#0 Sense Key : Hardware Error [current] [descriptor] Sep
21 > 22 12:14:53 kern kernel: sd 7:0:0:0: [sdd] tag#0 Add. Sense: No additional
22 > sense information Sep 22 12:14:53 kern kernel: sd 7:0:0:0: [sdd] tag#0 CDB:
23 > ATA command pass through(16) 85 06 20 00 00 00 00 00 00 00 00 00 00 00 e5
24 > 00
25 >
26 >
27 > When I had the drive hooked to my laptop in 3), I was shuffling stuff around
28 > on it (mostly copying and deleting a few files from the folder mentioned in
29 > 1) and renaming files in other places). Today she left me a note saying her
30 > Windows needed to check the drive and now that folder was missing. I found
31 > that Windows “recovered” its contend into /FOUND.001 with all filenames
32 > lost. m(
33 >
34 > Naturally, I always unmount the drive prior to removing it physically,
35 > usually with KDE’s media manager. The drive (or the controller in the case?)
36 > contains a cdrom emulation to offer drivers and something called “WD
37 > SmartWare”. *shiver* I always wonder whether this plays a part with our
38 > problems. When the drive is connected to Windows – IIRC – first the cdrom
39 > appears, and after a while disappears and makes way for the actual data
40 > partition.
41
42 aargh...
43 I stopped using those WD drives, if you want to disable that part, follow
44 instructions on the WD support page:
45 https://support.wdc.com/knowledgebase/answer.aspx?ID=3835
46 (If this works)
47
48 > Do you have similar experiences and maybe even a tip on how to make her and
49 > my systems play along better? The only thing coming to my mind right now is
50 > to ditch fat32 and go with something more robust like exfat(?) or ntfs.
51
52 As mentioned, I stopped using drives like that. Never did encounter similar
53 issues, but then I only used those with MS Windows systems in the past.
54
55 My guess is, you unmount the cd-partition, instead of the actual data
56 partition. The broken firmware in those drives cause issues with the drivers,
57 which is what that "cdrom" partition actually tries to fix.
58
59 Best advice: Scrap that drive and get one without the cdrom-partition.
60
61 I use WD Elements drives, these don't come with that cr*p.
62
63
64 --
65 Joost

Replies

Subject Author
Re: [gentoo-user] My Gentoo and Windows don't get along on vfat Frank Steinmetzger <Warp_7@×××.de>