Open tdaede opened 1 month ago
@tdaede thanks for the report. As rigid hard drive support is still only experimental/in alpha, this isn't terribly surprising. Have you tried booting from a CD?
I tried using it as a CDROM drive (the machine can't boot from it), but with the same behavior. There is a bit more info in the logs though:
[661ms] DBG -- Config has_drive1=0, forcing second drive absence
[661ms] DBG -- Operating as primary drive, secondary drive not detected
[1156ms] DBG -- IDE regs: STATUS:0x00 CMD:0xFF DEV:0x00 DEVCTRL:0xFF ERROR:0x01 FEATURE:0xAA LBAL:0x01 LBAM:0x14 LBAH:0xEB
[2000ms] FPGA license request code: 0xE6 0x62 0x50 0x08 0xE3 0x78 0x25 0x2C 0xFB 0xFF 0xFF 0xFF 0x35 0x54 0x08 0xA4 0x76
[2000ms] FPGA license accepted with status 0x83
[33726ms] DBG IDE_EVENT_SWRST
[33729ms] DBG IDE Command for DEV0: 0xEC IDE_CMD_IDENTIFY_DEVICE (device 0xA0, dev_ctrl 0x00, feature 0xAA, sector_count 0x01, lba 0xEB 0x14 0x01)
[33730ms] DBG -- Command complete
[33731ms] DBG IDE_EVENT_SWRST
[33734ms] DBG IDE Command for DEV0: 0xC6 IDE_CMD_SET_MULTIPLE_MODE (device 0xA0, dev_ctrl 0x00, feature 0xAA, sector_count 0x10, lba 0xEB 0x14 0x01)
[33735ms] -- Command handler failed for IDE_CMD_SET_MULTIPLE_MODE
[34737ms] DBG -- IDE regs: STATUS:0x41 CMD:0xC6 DEV:0xA0 DEVCTRL:0x00 ERROR:0x04 FEATURE:0xAA LBAL:0x01 LBAM:0x14 LBAH:0xEB
I should probably note that this is on the IDE bus intended for the HDD, so not entirely sure if the BIOS would like to see a CD-ROM here.
I should probably note that this is on the IDE bus intended for the HDD, so not entirely sure if the BIOS would like to see a CD-ROM here.
Agreed, in that case, this is probably expected behavior
Installed as the primary (only) drive in a PC-9821As3, the machine's BIOS hangs while enumerating drives to boot from.
Debug log:
I have a Rev2023e.