• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AHCI Error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AHCI Error?


  • Subject: Re: AHCI Error?
  • From: Chris Sarcone <email@hidden>
  • Date: Wed, 10 Sep 2008 10:00:48 -0700

Brian --

I filed a bug (rdar:// 6184934) about this exact same error being returned from an SATA SMART service provider. I can reliably reproduce the bug on both my 2006 iMac and 2007 MBP, but the bug was closed by Apple as not reproducible because I don't have a SATA sniffer to get SATA dump.

This sample code is incorrect. I suggest you review the ATA-7 Command Set reference.

Under section 6.54.1.6 "Error outputs"

 

"If the device does not support this command, if SMART is not enabled, or if the values in the Features, LBA 
Mid, or LBA High registers are invalid, the device shall return command aborted."

Have you validated via the IDENTIFY DEVICE data that SMART is enabled? Your sample code does not enable SMART operations before asking for SMART status...Apple's code does.

If you interpret this error as SMART errors it maps to "SMART test aborted by host".

That would be an incorrect assumption as to error mappings.

So is there some more general AHCI/SATA problem?

No, I believe it indicates the sample code is incorrect.

-- Chris

------------------

6 Infinite Loop

M/S 306-2MS

Cupertino CA 95014

phone: (408) 974-4033

fax:   (408) 862-7577

email: email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: AHCI Error?
      • From: Brian Bergstrand <email@hidden>
References: 
 >AHCI Error? (From: "Duane Murphy" <email@hidden>)
 >Re: AHCI Error? (From: Chris Sarcone <email@hidden>)
 >Re: AHCI Error? (From: Brian Bergstrand <email@hidden>)

  • Prev by Date: Set breakpoints in IOUSBFamily with two machine debugging.
  • Next by Date: Leopard glibtool doesn't have -shrext option?
  • Previous by thread: Re: AHCI Error?
  • Next by thread: Re: AHCI Error?
  • Index(es):
    • Date
    • Thread