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

From: Richard Mortimer
Date: Wed Jan 19 2011 - 10:27:31 EST




On 18/01/2011 06:08, David Miller wrote:
From: David Miller<davem@xxxxxxxxxxxxx>
Date: Mon, 17 Jan 2011 22:00:39 -0800 (PST)

ftrace: Remove unnecessary alignment tag from ftrace_event_call.

It's completely unnecessary and causes problems on platforms
where this tag down-aligns the structure's alignment.

Signed-off-by: David S. Miller<davem@xxxxxxxxxxxxx>
...

Ok, unless we can explain why these alignments are needed at all, we
should kill all of them:

--------------------
tracing: Remove unnecessary __aligned__(4) tag from trace data.

It's completely unnecessary and causes problems on platforms
where this tag down-aligns the structure's alignment.

Signed-off-by: David S. Miller<davem@xxxxxxxxxxxxx>


For reference my build with the above patch completed last night. That does boot on my sparc64 Sun Fire V120 so at the very least the relocation issues go away.

The machine wasn't very happy and networking/nfs was a little upset but I'll wait until the patchset is more refined before investigating further and trying to work out if it is related or not.

Regards

Richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/