All of lore.kernel.org
 help / color / mirror / Atom feed
* save/restore solution
@ 2005-01-20 19:22 Todd Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Todd Jones @ 2005-01-20 19:22 UTC (permalink / raw)
  To: xen-devel

Hi all,
I reported that I was having a problem restoring a saved domain.  I have 
found a fix that appears to solve my issue. 

During restore, time_resume is called which tries to call init_tsc as 
timer_tsc_init.init.  Both init_tsc and timer_tsc_init are declared 
_init or __initdata and are therefore no longer available when the 
domain is restored.  Removing the __init and __initdata specifiers from 
declarations in 
linux-2.6.10-xen-sparse/arch/xen/i386/kernel/timers/timer_tsc.c appears 
to solve the problem.

Todd


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 2+ messages in thread
* RE: save/restore solution
@ 2005-01-20 22:10 Ian Pratt
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Pratt @ 2005-01-20 22:10 UTC (permalink / raw)
  To: Todd Jones, xen-devel

> During restore, time_resume is called which tries to call init_tsc as 
> timer_tsc_init.init.  Both init_tsc and timer_tsc_init are declared 
> _init or __initdata and are therefore no longer available when the 
> domain is restored.  Removing the __init and __initdata 
> specifiers from 
> declarations in 
> linux-2.6.10-xen-sparse/arch/xen/i386/kernel/timers/timer_tsc.
> c appears 
> to solve the problem.

Well spotted! This bug has been lurking for a while, and has been biting
people using certain gcc versions. 

thanks,
Ian


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

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

end of thread, other threads:[~2005-01-20 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-20 19:22 save/restore solution Todd Jones
  -- strict thread matches above, loose matches on Subject: below --
2005-01-20 22:10 Ian Pratt

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.