An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Previous Thread
Next Thread
Print Thread
USB flash drive
#26861 09/26/13 03:00 PM
Joined: Aug 2009
Likes: 2
jaybass Offline OP
OP Offline

Joined: Aug 2009
Likes: 2
OS 10.6.8 Is there a way of detecting a glitch in a flash drive that has downloaded a program? I ask because this particular program froze about 75% through the playback. I had to restart from the beginning and fast forward to a point just past where it froze and then it played on to the end. This has happened twice on the same consecutive TV program downloads. I use a Kingston 64 GB USB flash drive on a sony player. jaybass


OS 13.6.6 iMac (Retina 5K, 27", 2017, 3.4 GHz Intel Core i5, 24 GB RAM, 2400 MHz DDR4. SuperDuper. 1 TB Lacie HD
Re: USB flash drive
jaybass #26862 09/26/13 05:46 PM
Joined: Aug 2009
Likes: 16
Moderator
Offline
Moderator

Joined: Aug 2009
Likes: 16
Disk Utility, and Drive Genius can check the volume structure of a Flash Drive, but that does not validate the contents of the files on the volume. TechTool Pro will validate files, but TTP 7 does not even "see" a flash drive mounted on the Mac. If yo know or can obtain the checksum of the suspect file MD5 can calculate and verify the checksum.


If we knew what it was we were doing, it wouldn't be called research, would it?

— Albert Einstein
Re: USB flash drive
joemikeb #26869 09/26/13 08:08 PM
Joined: Aug 2009
Likes: 2
jaybass Offline OP
OP Offline

Joined: Aug 2009
Likes: 2
joe, thanks for your reply.
a93d4b5595ff46d31a8d8944db0610c7 and c253481c5a1f24837edfa4c26bfcf3e9 The first one is MP4 ad the second one is DivX. I converted the MP4 to DivX but I don't know what those numbers mean... or do I need to know? The error did not occur in the DivX playback. Why I have no idea. I used iskysoft to convert. I am not conversant with 'checksum'. I'll google it and see if I can understand it. I have TTP6, is that version of any use? jaybass


OS 13.6.6 iMac (Retina 5K, 27", 2017, 3.4 GHz Intel Core i5, 24 GB RAM, 2400 MHz DDR4. SuperDuper. 1 TB Lacie HD
Re: USB flash drive
jaybass #26874 09/26/13 09:59 PM
Joined: Aug 2009
Likes: 16
Moderator
Offline
Moderator

Joined: Aug 2009
Likes: 16
For a checksum to be of any value you would have to have the checksum for the original undamaged file and compare it to the checksum created from the copy you have.

Try a new download if that is possible


If we knew what it was we were doing, it wouldn't be called research, would it?

— Albert Einstein
Re: USB flash drive
jaybass #26889 09/27/13 01:55 PM
Joined: Aug 2009
Offline

Joined: Aug 2009
could also be a sign of bad RAM in your computer.

Of all the OS installs I've done throughout the years, of the ones that failed (5%? yes really that many) maybe 1/8 of those were due to an error reported with the media. 80% of THOSE were actually due to bad ram. What happens is the package is decompressed, and then the entire package is checksummed against the stored checksum in the package. If they don't match, it usually reports an error that looks like a bad DVD. But that error is actually indicating bad RAM. (the data while it lived in memory during the decompress got corrupted, and written to disk badly, then failed the checksum later)

Also "detecting a glitch in a flash drive that has downloaded a program?" - as in, you are downloading directly to a usb flash drive? or are you talking about an SSD? Or a Flash player (web browser) download?

A few groups of things publish checksums. When you go to an apple software update download page, it lists the MD5 checksum iirc. And almost all unix repos list the CRC or MD5 or SHA1 of the packages. (geeky users like that have no problem with checksumming packages)

cat (drop flie from Finder into terminal window now) | openssl md5

example in terminal:

apple:~ virtual1 $ cat /Users/virtual1/Desktop/for_mom.jpg | openssl md5

displays:

8a78a24424ccc8372991951bcfcd978a

That is the MD5 checksum of the file. Openssl will only checksum the data fork, and only of a single file. You can use that to verify if a file has been damaged, altered, or truncated by comparing this number on the sending and receiving end. there are other options besides md5. Bizarrely enough, CRC32 is not one of them.


I work for the Department of Redundancy Department
Re: USB flash drive
Virtual1 #26900 09/27/13 03:23 PM
Joined: Aug 2009
Likes: 2
jaybass Offline OP
OP Offline

Joined: Aug 2009
Likes: 2
Great stuff Virtual1, I wish I understood everything you said. If I did, I wouldn't have asked for help. I download from torrent search engine and then from kickasstorrent directly to my HD. I download about a dozen TV episodes/movies a week without any problems except for the odd fake. I have 8Gb Kingston ram which I renewed a few months ago which I'm sure is okay considering all the downloads I've done. Yesterday I downloaded the TV episode that followed the 2 episodes that froze and it played just fine. Maybe it's something that's inexplicable. However, since DivX copies are not corrupted, I'm satisfied.
Thank you for your comprehensive reply. jaybass


OS 13.6.6 iMac (Retina 5K, 27", 2017, 3.4 GHz Intel Core i5, 24 GB RAM, 2400 MHz DDR4. SuperDuper. 1 TB Lacie HD

Moderated by  alternaut, cyn 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.4.33 Page Time: 0.021s Queries: 26 (0.014s) Memory: 0.5943 MB (Peak: 0.6663 MB) Data Comp: Zlib Server Time: 2024-04-19 15:06:41 UTC
Valid HTML 5 and Valid CSS