FlorenceOS/Florence

ps2: Keypresses cause kernel to hang

notYuriy opened this issue · 3 comments

If keypresses are spammed right after boot, it is possible to make kernel to hang like here
image
It is not known which subsystem causes that.

This may be due to an interrupt arriving before routing them to the CPU, as can be seen here, the IOAPIC has a pending keyboard interrupt but the LAPIC is oblivious to it:
image

No, the commit linked in the close

Problem was pressing a key and interrupting by printing during printing, and probably messing up some logger state (maybe virtio?)