Skip to contentSkip to conversation

empty initcall section

DISCUSSION Charles Coffing 2 participants 3 messages Sep 9, 2004

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 4 lines

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:

Quoted 8 lines
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

#2 lore raw
Quoted 7 lines
Quoted 7 lines

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
Quoted 7 lines
Quoted 5 lines

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