brantley@vax1.acs.udel.EDU (brantley) (10/16/88)
I'm posting this for a friend whose Usenet access is temporarily not. Hello. I've just compiled Minix 1.2 on a 386 AT-clone ("Fountain 386") and lo and behold, Unrecoverable disk error on device 2/1. Disk in drive 0 is not root file system panic, etc... I managed to fix it - in kernel/floppy.c, in fdc_results(), in this area: if ((status & CTL_BUSY) == 0) return (OK); if ((status & (MASTER | DIRECTION)) = CTL_ACCEPTING) return (OK); if ((status & DIRECTION) == 0) return (ERR_STATUS); I inserted the middle line up there. What I would like to know, since I don't have diddly documentation on the floppy controller, is, is that a correct kind of thing to do? It was just an educated guess and I have no idea why it works... And has anybody else had this problem? Mark Buda hermit@shockeye.uucp / ...!rutgers!bpa!vu-vlsi!devon!shockeye!hermit -- ******************************************************************************* * "the heart and mind united in a single, perfect sphere" * * brantley@vax1.acs.udel.edu * *******************************************************************************