Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: vanishing floppy on Tsunami machines
Date: Mon, 31 Jan 2000 13:15:45 -0700 (MST)	[thread overview]
Message-ID: <200001312015.NAA10571@ellpspace.math.ualberta.ca> (raw)

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


             reply	other threads:[~2000-01-31 20:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-31 20:15 Michal Jaegermann [this message]
2000-01-31 20:56 ` vanishing floppy on Tsunami machines Greg Lindahl
read-only archive

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