On 01.10.2018 06:18, Nobody III wrote:
I've tried replacing novga with spinner in the NOVA command line (in tool/run/boot_dir/nova), but nothing happens. What do i have to do to enable IRQ spinners?
If you switch to multiboot (MBI) 1, it seems to work. See attachment for an example. For MBI 2 more investigations is required, it seems indeed not to work.
Also, when I enable TRACE_APIC or TRACE_ACPI in stdio.hpp in the NOVA contrib source, the kernel crashes and QEMU gets stuck in a boot loop. How can I add this trace information to the serial log and/or log_core?
Yes, some of the trace messages are just to early in code when not everything is setup to work properly - you can't use them, as you noticed.
You may try to replace some of trace (TRACE_APIC, "<message>") resp. trace(TRACE_ACPI, "<message"> with Console::print("<message>\n") manually one-by-one. (without enabling the TRACE_ACPI/TRACE_APIC actually).
Good luck,