fuzzybrain|daisychain|blogdrain

“Happiness is not a state to arrive at, but a manner of travelling” —Margaret Lee Runbeck

  • Categories

  • Archives

  • December 2006
    M T W T F S S
    « Nov   Jan »
     123
    45678910
    11121314151617
    18192021222324
    25262728293031
  • RSS Freeman

    • An error has occurred; the feed is probably down. Try again later.
  • RSS MacFUSE

    • An error has occurred; the feed is probably down. Try again later.
  • RSS MacFusion

    • An error has occurred; the feed is probably down. Try again later.

I/O error -36

Posted by Graham Perrin on 10 December 2006

A friend’s Mac presents the following error when he tries to copy a file from one disk to another:

-36

(minus thirty-six)

Considerations

  • Are both disks hard, and Mac OS Extended (HFS+)?
  • Or, is one disc optical?
  • In which direction is the copy failing?

Explanation

Error -36 basically equates to an I/O error, but it should be interpreted in context.

  • In some cases the error is symptomatic of bad media. If the error occurs whilst copying from one hard disk to another, then you probably do have bad media.
  • In some cases, I/O is properly restricted. I vaguely recall seeing -36 a few weeks ago, whilst using Finder to backup protected DVDs.

Some protected content can be handled by Finder.

If the protection is great enough, then DVD drive hardware and/or firmware may simply say “YOU’RE NOT GETTING IT” to most applications.

Such denials/failures are sometimes non-explicit. Think of a dirty/scratched CD: there’s nothing on it to say that it’s dirty, it’s just troublesome to work with (the computer doesn’t “get it”). So, we have generic error -36 and it’s up to us to guess or figure out the explanation.

Bad media

Apple’s Disk Utility can:

  • verify and usually repair critical metadata (the directory of a disk)
  • verify and repair permissions
  • display S.M.A.R.T. status for some disks.

Whilst Disk Utility handles metadata it does not necessarily verify the integrity or readability of data (your files), nor does it check for bad blocks.

Amongst the original CDs/DVDs that came with your computer, or with an AppleCare product, you might have Micromat TechTool Deluxe. If you have this, or something like it, you can check for bad blocks. Depending on the size of the disk etc., the block checking routine can be time consuming.

DVD drives, decoders and raw access

Most DVD drives have an on-board decoder. When you use Apple DVD Player software:

  • data passes through the drive’s decoder
  • you’re forced to observe any region code that applies to the disc
  • and so on.

Other software (VLC media player comes to mind) may interface with the drive at a different level —raw access— but modern drives with RPC-2 are making this increasingly difficult. If the drive allows it, VLC media player will read from the disc and use software (not the drive’s decoder) to

In the VideoLAN Wiki I found a suggestion that Linux users may modify the permissions of the block device that communicates with the DVD drive:

chmod 666 /dev/dvd

In Mac OS X: Finder logically prevents you from going to

/dev

In Terminal,

ls -l /dev/disk*

lists all disks, including those that are not mounted. The number of the block device for the DVD drive will depend on how many other disks are present. To check the current number of an optical disk:

Disk Utility | select the disk | File menu | Get Info

Whilst it may be possible to modify the permissions of a device, you should not do so.

Copy protection in other contexts

Some people have problems with files that have been successfully ripped, which makes me wonder whether protection extends beyond DVD drives.

Apple certainly use the Trusted Platform Module (TPM) but I'm not aware of its use in this context.

References and further information

Does VLC support DVDs from all regions?

On other RPC2 drives that DO allow raw access, it might take VLC a long time to crack the key. So just pop the disc in your drive and try it out, while you get a coffee. RPC1 drives should 'always' work regardless of the regioncode.

The VideoLAN Forums: VLC bypasses region encoding?

Is your dvd drive one of those new RPC2 drives ? If so, you're doomed. You can't bypass the protection (unless you find a way to downgrade the firmware which might help, but sometimes voids the waranty)

Mac Forums: Matshita Uj-846

AFAIK not all RPC-2 drives disable raw data access. IIRC this only became an issue with the most recent hardware revs, and earlier Macs still had RPC-2 firmware, but worked with VLC.

Error -36 I/O

Troubleshooting iDisk error -36

Error -36 (i/o error, bad media?)

Mac OS X Server: 10.4: Command-Line Administration: Working with Disks and Volumes Chapter 7

Error -36 in the context of Mac OS 8 and 9 Developer Documentation

AppleInsider: Code free DVD Playback on iMac G5?

Club CD Freaks: I/O ERROR With DVD Decrypter

a ton of bad sectors on the disc as a form of copy-protection

Roxio Community: I/O error

Roxio Community: Trying to Copy Data DVD & Vid DVD's, Error -36 before copying??!

Roxio Community: popcorn doesnt recognize dl dvd's with macbook pro

That last one is curious. It includes discussion of bugs in Apple firmware for DVD drives, but concludes with a simple observation that the user may have been using dual-layer media that was not supported by the drive.


On 8 Jul 2002 I noted:

Retrospect has performed a backup (AppleShare over AppleTalk to single file backup set on our server CENTRIM-A) and is currently comparing the data. Retrospect log so far shows that System [suitcase] could not be read, "error -36 (i/o error, bad media?)".

On 20 Dec 2004 I noted:

The Finder cannot complete the operation because some data in "April showers.cat" could not be read or written.
(Error code -36).
[OK]

About these ads

6 Responses to “I/O error -36”

  1. Eric said

    Could it be you are out of space?

  2. Anothr feed track -Comments for Graham Perrin | fuzzy brain | blog drain

    One new subscriber from Anothr Alerts

  3. Phil said

    I have the problem file name could not be read or written. (Error code -36) on my mac when i try to put any items in the trash. It is stopping me from deleting anything. Can anyone help?

  4. bob said

    thanks for your advice of disk utility, my harddrive went crazy and I couldn’t copy thing inside (error -36). I did a repair and it worked again

  5. G said

    Using Disk Utility to repair my external hard disk did the trick! I was copying video files from my macbook to external disk and a file was appearing as a folder with file size of zero. Deleting it didn’t work, as it would reappear. Thanks for the help!

  6. JK said

    I found my USB 3 drive that was plugged into the USB 3 Hub was getting detected and mounted on the USB 2 bus… unmounting and remounting all the devices on the USB 3 hub seemed to fix.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: