KolibriOS cdrom hangs after boot
- Version of v86: ec3ecde2 (Feb 23, 2025 11:02)
- Browser/OS: Chrome 134.0.6998.166 / macOS 14.5
- KolibriOS, https://copy.sh/v86/?profile=kolibrios
I can't run DOSBox or anything else from this menu. After clicking, the system continues to work, but programs from this menu are not launched.
KolibriOS comes as a 1.4 MB floppy disk or a ~100 MB live CD image, and the emulators are available on the CD only.
However, if I boot the current live CD image "20 mar 2025" of KolibriOS in v86 it freezes after about a minute, and from then only unfreezes for such short periods that it is not usable.
To make sure I then booted the live CD image in qemu and was able to start DOSBox from the system menu.
Can confirm: LiveCD freezes shortly after KOS enables networking.
@chschnell - please can you share some directions for QEMU? I cannot get to run on UTM. 🙏
@chschnell - please can you share some directions for QEMU? I cannot get to run on UTM. 🙏
Sure!
qemu-system-i386 -cdrom kolibri.iso
So nothing special. Tested with MINGW64 (Windows) and Debian Linux.
@ace-dent: By the way, KolibriOS is impressive, its boot time is outlandish!
Testing the kolibrios cdrom:
- It's not completely frozen. The mouse stops moving for 10 seconds, and then moves for one second. The clock still updates. If you manage to open an application, it updates every 10 seconds like the mouse
- The issue also happens if the network is disabled
- There is nothing interesting going on from v86's point of view. Timer interrupts are handled normally ~~, besides that there is no port IO~~ (see below). The CPU is not idling though, so some code is executing.
- I managed to open process manager, but there is nothing unusual:
The bootloader presents an early menu, press c to enable debug output. Debug output is printed directly onto the desktop, here's what I got after one of the freeze phases:
At the top center it says:
Searchap: additional partition is not found!
Searchap: second attempt after 5 seconds!
Do they really mean "partition" here? Because that would be an error in a partition table, but all I did was to boot from the CD-ROM.
@ace-dent: I might be wrong, but are you involved with KolibriOS? I'd like to know what "Searchap" is/does and what this debug output means.
Might be a problem with the v86 floppy controller, v86 debug output before and after freeze (note the 10 second gap):
17:56:09+145 [FLOP] 3F5 command received: 0x0 0x0 0x0 0x1 0x2 0x12 0x1B 0xFF
17:56:09+145 [FLOP] Floppy Read
17:56:09+145 [FLOP] from 0x0 length 0x2400
17:56:09+145 [FLOP] 0 / 0 / 1
17:56:19+654 [FLOP] start motors: 0x0
17:56:19+654 [FLOP] enable dma/irq: true
17:56:19+655 [FLOP] reset fdc: false
17:56:19+655 [FLOP] drive select: 0
17:56:19+655 [FLOP] DOR = 0xC
KolibriOS is issuing a read command to the floppy controller without (!) a floppy inserted, freezes for 10 seconds, and then repeats.
I have only v86 IDE and FLOP debug output enabled here, not sure what else is going on in these 10 seconds.
Can't promise anything, but I'll see that I look into the floppy controller when I find some time.
@chschnell - I only contribute minor tweaks to KolibriOS. x86 ASM is outside my skill set! 😅 ... Thanks for investigating this!!
... I'd like to know what "Searchap" is/does ...
Would recommend posting to the project's Discord.