Messages in this thread | | | Date | Tue, 18 Jan 2011 15:13:23 -0500 | From | Mathieu Desnoyers <> | Subject | Re: Bug#609371: linux-image-2.6.37-trunk-sparc64: module scsi_mod: Unknown relocation: 36 |
| |
* Steven Rostedt (rostedt@goodmis.org) wrote: > On Tue, 2011-01-18 at 13:16 -0500, Steven Rostedt wrote: > > On Tue, 2011-01-18 at 12:33 -0500, Steven Rostedt wrote: > > > On Tue, 2011-01-18 at 11:46 -0500, Mathieu Desnoyers wrote: > > > > > > Also align TRACE_PRINTKS on 8 bytes to make sure the beginning of the section is > > > > aligned on pointer size. > > > > > > If I can make it crash without the alignments and this fixes the issue, > > > I'll apply both patches. > > > > After applying David's patch, I do indeed get a crash. I'll now apply > > yours and see if it fixes the issue. > > Your patch doesn't seem to fix it either. I'll investigate this further.
I think David's patch missed kernel/trace/trace_export.c
struct ftrace_event_call __used \ __attribute__((__aligned__(4))) \ __attribute__((section("_ftrace_events"))) event_##call = { \
and kernel/trace/trace.h:
#define FTRACE_ENTRY(call, struct_name, id, tstruct, print) \ extern struct ftrace_event_call \ __attribute__((__aligned__(4))) event_##call;
does it help if you remove these ?
Mathieu
> > -- Steve > >
-- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com
| |