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

Bug#609371: linux-image-2.6.37-trunk-sparc64: module scsi_mod: Unknown relocation: 36



From: Richard Mortimer <richm@oldelvet.org.uk>
Date: Fri, 14 Jan 2011 10:53:35 +0000

> On 13/01/2011 23:57, David Miller wrote:
>>
>> Relocation type 36 is R_SPARC_LM22.
> 
> I'm confused now! Maybe I've missed something but looking at
> arch/sparc/kernel/module.c it seems that the 36 is hexadecimal.
> 
>                printk(KERN_ERR "module %s: Unknown relocation: %x\n",
>                       me->name,
>                       (int) (ELF_R_TYPE(rel[i].r_info) & 0xff));
> 
> So that means that the kernel is complaining about type 54 which is
> R_SPARC_UA64. That matches with the objdump output which doesn't list
> R_SPARC_LM22 for scsi_mod.ko

Indeed, good catch :-)

That makes things different, I'll look into this, thanks.



Reply to: