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.
Quoted 5 lines · Melvin Anderson
The update from
0x00030201to0x00030202introduced a change in theevent_channel_ophypercall. 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
Quoted 9 lines
Setting
XEN_INTERFACE_VERSIONto0x00030201in the Mini-OS makefile gets console output working again, although I don't guarantee it doesn't break other things.The update from
0x00030201to0x00030202introduced a change in theevent_channel_ophypercall. 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
Signature · 4 lines
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!
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
Quoted 18 lines · Mark Williamson
Quoted 9 lines
Setting
XEN_INTERFACE_VERSIONto0x00030201in the Mini-OS makefile gets console output working again, although I don't guarantee it doesn't break other things.The update from
0x00030201to0x00030202introduced a change in theevent_channel_ophypercall. 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
Signature · 4 lines
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!