Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* vanishing floppy on Tsunami machines
@ 2000-01-31 20:15 Michal Jaegermann
  2000-01-31 20:56 ` Greg Lindahl
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Jaegermann @ 2000-01-31 20:15 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-01-31 21:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-31 20:15 vanishing floppy on Tsunami machines Michal Jaegermann
2000-01-31 20:56 ` Greg Lindahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox