Alright, some progress yesterday.
philscomputerlab wrote:Enter manual settings 1023 cylinders, 16 heads and 63 sector and see if it continues. Is the drive empty?
After I tried this, I started getting "Primary HDC failure", very strange.
Also tried a brand new cable etc, but no luck there either. I rummaged in my drawer and found a PCI disk controller with two SATA connectors and one IDE. So I tried connecting the HDD to that, and finally started having some progress. Disabled the HDD in the AMI BIOS. The VIA BIOS on the card found my hard drive, and I could boot from a DOS floppy and run FDISK on the drive. Then I could also connect the CD-ROM, which I ended up connecting to the builtin IDE as primary master, and started installing DOS and stuff.
So this works OK now, but also have some drawbacks:
* I lose the IDE activity LED
* The controller takes a while to find the HDD at startup, so a delay by 30 seconds or so.