-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot boot from VHD - I/O error #6 #2
Comments
Error 6 means there is no disk. Probably systems trying to access wrong drive, probably A. While HDD starts from C... |
Apologies, it was a typo, I am experimenting in 0011M mode, of course. Booting manually from drive number 2 by disabling the SMK and dropping out to the MONITOR (hitting SPACE while “Монитор БК-0011 В1.8” is moving towards the top of the screen) ultimately produces the same “Идет загрузка ANDOS, Ошибка #6, повторить?” and “Disk error #6, Retry, Skip” for CSIDOS. Surprisingly, MK-DOS does not boot that way at all, it stays in the MONITOR:
However, mounting MK-DOS vhd and performing reset without touching keyboard loads MK-DOS “kernel” (bootloader?). Few crazy ideas mentioned under "footnote 1" below. Image headers for all VHDs are simple (actual disk images are 819200 bytes long, that is 1600 blocks of 512 bytes = 0x640):
My MACRO-11 skills are quite rusty and there is a chance something got lost in translation when I was reading SMK API docs using google translate, but based on my experiments with HDDInfo it crashes during “sector read” test while trying to write 376 (one sector) to the register 177752 (sector count register) - line 828. Is it expected? footnote 1. To me it looks like MK-DOS loads bootloader/”kernel” from the vhd but tries to load the rest from the drive A (maybe that is what other OSes are doing, too, they just do not provide detailed logs). |
You would laughing but being an author of CSIDOS i hardly remember what was there as it was almost 30 years ago :) Format of HDD you describe, i've made at that time :) But i also remember logical disks weren't limited by 819200 bytes because i had much larger disks. |
It looks like there may be some issues with VHD support. Apologies if I missed any important set up steps (in which case it is a good opportunity to update the README :)
I was trying to boot the core from a VHD image(s) (BK001M, floppy/HDD enabled, SMK-512 enabled), but no matter what I do I always get I/O error #6. The only semi-working config is booting a [floppy] disk attached as the first drive plus a VHD image. Such configuration works once (apps accessing other data/overlay files fail, presumably due to that error #6), until the system reset/reboot and after reset it produces a lot of I/O error #6. Reproducible with ANDOS, CSIDOS and MK-DOS.
Steps to reproduce:
Expected results:
Actual results:
Footnote 1: the opposite operation - extract an OS image from a VHD/IMG and mount it as the first floppy yields a bootable system.
Not sure if it is related or not, but the HDDInfo tool from Good Apple demo does not work at all, just crashes hddtests.dsk.zip. Test ALTV475F seems to find
potential issues with “HDD registers” and “modes” (apologies, not sure it is supposed to be that way).
The text was updated successfully, but these errors were encountered: