[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Need help debugging silo



Hi,

On 29/12/2015 10:16, John Paul Adrian Glaubitz wrote:
> Hi Mark!
> 
> On 12/29/2015 11:03 AM, Mark Cave-Ayland wrote:
>> The a.out magic (0x107) is located at bytes 0x202-0x204 in the working
>> image but appears at bytes 0x206-0x207 in the broken image. It looks
>> like somehow your 64-bit SILO build is extending the a.out header fields
>> from 32-bits to 64-bits which is why the bootloader fails to be detected
>> by the PROM.
> 
> Great work, you're absolutely right. The offsets for the magic are
> different when comparing both isofs.b files. My suspicion is that there
> is maybe a patch we need on sparc64 that's missing.
>From memory the conversion to a.out is done by the elftoaout binary from
sparc-utils. It maybe that the problem lies in there rather than in silo
itself.

Regards

Richard

> 
> @Jose: Any idea?
> 
> Adrian
> 


Reply to: