darylm@illian.UUCP (Daryl V. McDaniel) (04/13/88)
Hello, I have recently received a copy of Minix 1.0 and AST's book. When I try to boot minix everything seems to work fine until I hit '=' to boot the last disk. Once I have hit '=' the system seems to lock up and I need to hit reset. The disks boot fine on a friends IBM 640K PC-XT. My system configuration is: Leading Edge D2 (AT compatible) 1Mb RAM on motherboard of which DOS sees 640K EGA video card with Monochrome monitor Western Digital 16-bit disk controller (unknown model) 40Mb 28ms hard disk 1.2Mb and 360Kb floppies I would appreciate any help you can give me. Since I am unable to boot the floppies I am unable to read the sources, apply patches, and recompile. Please respond by E-Mail and I will summarize to this group when a fix is determined. Thanks -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Daryl V. McDaniel Micronetics USENET: ...tektronix!nosun!illian!darylm 4730 S.W. 182nd Ave. TELEX: WUI 6972206 Aloha, OR 97007 PHONE: (503) 224-7056
ogilvie@cs.vu.nl (Ogilvie Robert Paul) (04/19/88)
I had a much similar problem. The cause is the floppy driver doesn't wait
for 'master' to be ready. The changes are as follows:
lines 2853 must be loop that waits for the master to become ready, optionally
using a time-out or a specific number of iterations, e.g:
i= 0;
do {
port_in (FDC_STATUS, &status);
if ((status & MASTER)==0) i++;
else break;
} while (i< LOOPCOUNT);
if ((status & MASTER)==0) return (ERR_STATUS);
....
Regards,
Paul Ogilvie
P.s.: file:kernel/floppy.c