On Fri, May 25, 2007 at 03:09:32PM +0900, Akio Takebe wrote:
Hi, Horms
I did find one thing which is interesting, which is that if
I boot into the first kernel with xencons_poll, and the second
kernel without it, then the console in both kernels works.
I wonder if perhaps the first kernel needs to unhook something
irq related.
For completeness I tested all the combinations of booting with
and without xencons_poll
First Kernel Second Kernel
- - No input on serial console
- xencons_poll Success
xencons_poll - Success
xencons_poll xencons_poll Success
I think RTE information don't be cleared.
Or first kernel may have to write EOI to ioapic (please see
kexec_disable_iosapic() in linux code).
How about calling iosapic_unregister_intr() for serial console
before booting second kernel?
Calling iosapic_unregister_intr() as you suggest seems to work :-)
I'll play around a bit more and get a patch together.