Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Possible corrupt file on Fat32 USB Flash killing OS X

Possible corrupt file on Fat32 USB Flash killing OS X
Thread Tools
Grizzled Veteran
Join Date: Aug 1999
Location: a void where there should be ecstasy
Status: Offline
Reply With Quote
Nov 18, 2005, 06:57 AM
 
Here is an interesting situation i ran into the other day whilst boosting the virtues and superiority of OS X over winhoez to my dad DOH !!

He copied some pictures from his XP PC to his USB Flash Drive. Plugged the device into the Powerbook with 10.4.3 freshly installed.
He dragged the files on the USB Flash Disk to the desktop of this machine's 60 gig free space hard disk. As we watched the progress bar, it stalled. After a few mins the machine beachballed into hell. I was unable to cancel the operation, iwas unable to force quit the Finder and the system locked me out out of ANY control of the machine. This , embarrassingly coerced me into force restarting the machine. When the machine booted to the desktop i noticed all the files were copied across. However, upon closer examination, i noticed the first 10 or so files had been successful the remainder of the files were 'Zero KB'. When i tried to delete them the system would not let me, the message 'this file cannot be deleted as it is being used by application OS X' was displayed.

Anyone experienced this situation or something similar where the machine loops uncontrollably out during a copy operation?

I am curious as to what exactly had caused this problem. I suspect a corrupt file on the flash drive. Questions here are could the PC have corrupted them in the copy from the PC, or did the Mac corrupt the files when the device was connected to the Mac. Or was it possibly NOT the result of a corrupt file?

If the corrupt file was the case, my cynical nature asks, why would Apple allow such a situation where copying a corrupt file would result in the system completely falling over forcing a user to force restart? Would it not have been better for the System to simply 'Skip' the corrupt files from the copy operation and continue to copy the rest of the good files across and then report at the end of the operation or in realtime 'x.file, y.file and z.file were not able to be copied due to possible file corruption' while the system still stayed online and behaved sensibly.

While embarrassed, I m still rather surprised by these events as such a task could so easily bring the system to its knees. It just happened to be unfortunate to occur after after convincing my Dad over the past 5 years how much better the Mac OS is over Windows, and this happened literally as the first operation he ever performed on a Mac OS X machine which he just bought. Personally i was shocked because i had never honestly seen anything like that before. :-(
     
Mac Elite
Join Date: Jan 2000
Location: Columbus, OH
Status: Offline
Reply With Quote
Nov 18, 2005, 07:58 AM
 
Did your dad eject the USB flash disk from the PC properly?

It might be corrupted if not.
HyperNova Software, LLC
     
Mac Enthusiast
Join Date: Oct 2004
Status: Offline
Reply With Quote
Nov 18, 2005, 04:47 PM
 
Originally Posted by Targon
When i tried to delete them the system would not let me, the message 'this file cannot be deleted as it is being used by application OS X' was displayed.
If you use the terminal and do rm and drag the file in then it should delete it. I find that sometimes secure delete ignores the file being in use when you know it clearly isn't.

Originally Posted by Targon
Anyone experienced this situation or something similar where the machine loops uncontrollably out during a copy operation?
Yeah but while burning a CD. All you have to do is pull out the device. I pulled out the firewire cable of my burner. It gives the warning about removing a device but since the machine was hung, it is unlikely it was doing anything with the drive. I've done the same thing with an external firewire hard drive without any problems.

Originally Posted by Targon
I am curious as to what exactly had caused this problem. I suspect a corrupt file on the flash drive. Questions here are could the PC have corrupted them in the copy from the PC, or did the Mac corrupt the files when the device was connected to the Mac. Or was it possibly NOT the result of a corrupt file?
It could be that the built-in driver had problems with the device. What happened with my external firewire hard drive was that there was a loose power cable or ide cable. It wasn't enough to unmount the device but it obviously caused a problem because it started hanging stuff up progressively like the Finder. Pulling it out freed everything up instantly.

Originally Posted by Targon
Would it not have been better for the System to simply 'Skip' the corrupt files from the copy operation and continue to copy the rest of the good files across and then report at the end of the operation or in realtime 'x.file, y.file and z.file were not able to be copied due to possible file corruption' while the system still stayed online and behaved sensibly.
I agree but I think the problem is that devices are operating on probably the lowest level of your system.This is outside the system's ability to protect from it. It's the same reason why you can get kernel panics. I wish they'd put that stuff in some sort of protective layer too because even 3rd party devices like my belkin wireless adaptor puts its extensions in the system folder. The OS X system is not supposed to have 3rd party stuff installed in it.

What really needs to happen is a major rethink of the way the system is designed so that kernel panics and hang ups are a thing of the past.

BTW, if you want to impress you dad, try opening 20 programs under Windows and then switch users and watch the system die. Do the same thing on OS X. OS X"s memory management is far better than Windows.

I don't know why that happens - poetic justice perhaps - but a PC user tried doing the same thing to me to convince me why Windows was better. He was showing me a graphics demo and then he tried to close the program and it froze on screen. This was under XP and he couldn't get rid of the program. He even admitted that it happened a few times.

One time I used Windows to install the Windows equivalent of toast and it made the system unbootable. On OS X, Toast is just a drag and drop app.

I was also trying to set up one of my relative's PCs and something got stuck in the print queue. According to Microsoft, the way to resolve this issue is to kill the print spooler, which inadvertently means you have to restart the system. Just to flush the print queue!

Irrespective of what happened that time, you are far better off with OS X than Windows. The main reason that you don't hear about the problems with Windows is that the users are accustomed to things going wrong regularly that they don't talk about it .
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:25 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2