ast@cs.vu.nl (Andy Tanenbaum) (05/28/90)
There have been some complaints about menu.c not doing fsck any more. Some people used fsck to initialize their disk controller. That doesn't work any more. The proposed fix to at_wini.c to make this work is below. I have tried it on my machines and it seems to work. I'd appreciate it if other people would try it and let me know if it works. This is not part of 1.5, but if it works, it will become part of the permanent system later. Andy Tanenbaum (ast@cs.vu.nl) echo x - at_wini.cdif sed '/^X/s///' > at_wini.cdif << '/' X*** /home/top/ast/minix/1.5/kernel/at_wini.c Sat Apr 21 22:26:22 1990 X--- at_wini.c Sun May 27 23:08:51 1990 X*************** X*** 394,400 **** X X retries = MAX_CONTROLLER_READY_RETRIES + 1; X while (--retries != 0 && X! (in_byte(WIN_STATUS) & (WIN_BUSY | WIN_OUTREADY)) != WIN_OUTREADY) X ; /* wait until not busy */ X return(retries); /* nonzero if ready */ X } X--- 394,400 ---- X X retries = MAX_CONTROLLER_READY_RETRIES + 1; X while (--retries != 0 && X! (in_byte(WIN_STATUS) & WIN_BUSY) == WIN_BUSY) X ; /* wait until not busy */ X return(retries); /* nonzero if ready */ X } /