Melvin Anderson
2006-Sep-11 15:19 UTC
[Xen-devel] Console output stopped working in Mini-OS
Console output has stopped working in mini-os (architecture i386, changeset 11440:bfd00b317815), although output to the serial line using the console_io hypercall still works. Setting XEN_INTERFACE_VERSION to 0x00030201 in the Mini-OS makefile gets console output working again, although I don''t guarantee it doesn''t break other things. The update from 0x00030201 to 0x00030202 introduced a change in the event_channel_op hypercall. The Mini-OS console driver raises an event to indicate data has been written into the console ring. Is it possible that the Mini-OS console driver isn''t using the new event channel hypercall interface correctly? Regards, Melvin Anderson. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2006-Sep-13 09:44 UTC
Re: [Xen-devel] Console output stopped working in Mini-OS
On 11/9/06 16:19, "Melvin Anderson" <Melvin.Anderson@hp.com> wrote:> The update from 0x00030201 to 0x00030202 introduced a change in the > event_channel_op hypercall. The Mini-OS console driver raises an event > to indicate data has been written into the console ring. Is it possible > that the Mini-OS console driver isn''t using the new event channel > hypercall interface correctly?Yes. That hypercall now has an ioctl-style interface: event_channel_op(int cmd, void *arg). Take a look in the Linux sparse tree for examples of the new usage. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark Williamson
2006-Sep-14 01:43 UTC
Re: [Xen-devel] Console output stopped working in Mini-OS
> Setting XEN_INTERFACE_VERSION to 0x00030201 in the Mini-OS makefile gets > console output working again, although I don''t guarantee it doesn''t > break other things. > > The update from 0x00030201 to 0x00030202 introduced a change in the > event_channel_op hypercall. The Mini-OS console driver raises an event > to indicate data has been written into the console ring. Is it possible > that the Mini-OS console driver isn''t using the new event channel > hypercall interface correctly?I discovered the event channel problem before I read this e-mail and have just posted a patch to fix it. For me, console output is still not work properly though, so some more digging may be required. Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark Williamson
2006-Sep-14 02:08 UTC
Re: [Xen-devel] Console output stopped working in Mini-OS
Oops, I tell a lie :-) I missed converting one structure in my original patch. Fixed that, now console works fine. I''m sending the patch in a separate e-mail. Cheers, Mark On Thursday 14 September 2006 02:43, Mark Williamson wrote:> > Setting XEN_INTERFACE_VERSION to 0x00030201 in the Mini-OS makefile gets > > console output working again, although I don''t guarantee it doesn''t > > break other things. > > > > The update from 0x00030201 to 0x00030202 introduced a change in the > > event_channel_op hypercall. The Mini-OS console driver raises an event > > to indicate data has been written into the console ring. Is it possible > > that the Mini-OS console driver isn''t using the new event channel > > hypercall interface correctly? > > I discovered the event channel problem before I read this e-mail and have > just posted a patch to fix it. > > For me, console output is still not work properly though, so some more > digging may be required. > > Cheers, > Mark-- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel