[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

vanishing floppy on Tsunami machines



At the very end of the last year Soohoon Lee posted a fix for
a "vanishing floppy" which is not always recognized by Linux
and he asked for comments.  I did not see comments from anybody
but this "magical write" seems to work for me.  At least nothing
crashed on a machine which showed up the problem it looks like that
it helps.  I have no idea at this moment if this will not mess up
on some other platform.

Once again - any comments from somebody who really knows what this
is doing?  Just in case, here is this patch once again.

--- linux-2.2.14/arch/alpha/kernel/smc37c669.c~	Sun Feb 21 22:06:36 1999
+++ linux-2.2.14/arch/alpha/kernel/smc37c669.c	Mon Jan 31 14:38:24 2000
@@ -2587,6 +2587,9 @@
             FDC_DRQ
         );
         SMC37c669_enable_device( FLOPPY_0 );
+
+	/* wake up sometimes forgotten floopy */
+	outb(0xc, 0x3f2);
           
         SMC37c669_disable_device( IDE_0 );
 

A not very convenient workaround does exist.  If before booting
one will access a floppy in SRM in any way then there are no problems
with a floppy recognition in Linux; so booting from a floppy will do
but you do not have to go to such extremes. :-)

  Michal



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []