Site icon EfmSoft

What does macOS kernel return 0xE00002D0 (kIOReturnNotAligned) mean?

 
Previous Next
kIOReturnNotWritable kIOReturnBadMedia

kIOReturnNotAligned

Alignment is part of the device I/O contract

kIOReturnNotAligned means that a memory range, offset, length, or related descriptor did not satisfy an alignment rule required by the IOKit path. The required boundary is not encoded in the error value. It can depend on the controller, bus, transfer mode, memory cursor, or the driver’s own descriptor format.

A buffer that looks aligned in user space can still be unsuitable after an offset is applied or when the operation requires a length that is a multiple of a hardware block. Conversely, forcing a pointer cast does not repair an invalid range. The driver must be able to map the complete transfer safely and describe it to the hardware.

What to verify

References


Looking for a different code? Search another status or error code.

Exit mobile version