Changing the legacybios code to forward debug output to a serial port will definitely help here.
thanks and I've added serial code and now able to see the output. It seems that legacybios cannot detect the ide disk... It said: ata0 master: unknown device. Maybe the ata code is ok for qemu emulated dirves but not for real hardware. I'll take a look at it.
I think this is a board-specific problem. The IDE code works on my Tyan boards.
Thanks, Myles