All of lore.kernel.org
 help / color / mirror / Atom feed
* empty initcall section
@ 2004-09-09 22:57 Charles Coffing
  2004-09-09 23:14 ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Coffing @ 2004-09-09 22:57 UTC (permalink / raw)
  To: xen-devel

I just pulled the latest, and the initialization code for the writable
pagetables (ptwr_init) isn't running at boot time, so Xen crashes.

It appears like there is nothing in the .initcall.init section:
fc551aa0 g       *ABS*  00000000 __initcall_start
fc551aa0 g       *ABS*  00000000 __initcall_end

I would have expected to see ptwr_init listed.

I don't know linker scripts, but perhaps xen.lds is out of date?

Thanks.



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: empty initcall section
  2004-09-09 22:57 empty initcall section Charles Coffing
@ 2004-09-09 23:14 ` Keir Fraser
  2004-09-09 23:34   ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: Keir Fraser @ 2004-09-09 23:14 UTC (permalink / raw)
  To: Charles Coffing; +Cc: xen-devel

> I just pulled the latest, and the initialization code for the writable
> pagetables (ptwr_init) isn't running at boot time, so Xen crashes.
> 
> It appears like there is nothing in the .initcall.init section:
> fc551aa0 g       *ABS*  00000000 __initcall_start
> fc551aa0 g       *ABS*  00000000 __initcall_end
> 
> I would have expected to see ptwr_init listed.
> 
> I don't know linker scripts, but perhaps xen.lds is out of date?
> 
> Thanks.

Pretty odd. It works for me. :-)

Is __initcall_ptwr_init a symbol within arch/x86/memory.o?

.initcall.init is included in xen.lds, so it should appear in the
final output image.

Perhaps a gcc/binutils issue?

 -- Keir


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: empty initcall section
  2004-09-09 23:14 ` Keir Fraser
@ 2004-09-09 23:34   ` Keir Fraser
  0 siblings, 0 replies; 3+ messages in thread
From: Keir Fraser @ 2004-09-09 23:34 UTC (permalink / raw)
  To: Keir Fraser; +Cc: Charles Coffing, xen-devel

> > I just pulled the latest, and the initialization code for the writable
> > pagetables (ptwr_init) isn't running at boot time, so Xen crashes.
> > 
> > It appears like there is nothing in the .initcall.init section:
> > fc551aa0 g       *ABS*  00000000 __initcall_start
> > fc551aa0 g       *ABS*  00000000 __initcall_end
> > 
> > I would have expected to see ptwr_init listed.
> > 
> > I don't know linker scripts, but perhaps xen.lds is out of date?
> > 
> > Thanks.
> 
> Pretty odd. It works for me. :-)

Okay, it's due to a mad renaming of an attribute in recent versions of
GCC. I've checked in a fix.

 -- Keir


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-09-09 23:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-09 22:57 empty initcall section Charles Coffing
2004-09-09 23:14 ` Keir Fraser
2004-09-09 23:34   ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.