Hi Will,
Can you tell me more about the mxd and raster data you are trying to publish to ArcGIS Online?
What type of raster is it?
How big is it?
What parameters have you set for the hosted service?
If you run the Consolidate Map GP tool from Data Management Tools.tbx > Package, does it successfully consolidate the mxd and the data?
Thanks,
Joanne