From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 1778 invoked from network); 31 Jan 2000 20:15:53 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 31 Jan 2000 20:15:53 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA01884 for ; Mon, 31 Jan 2000 15:15:52 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id NAA10571 for axp-list@redhat.com; Mon, 31 Jan 2000 13:15:45 -0700 From: Michal Jaegermann Message-Id: <200001312015.NAA10571@ellpspace.math.ualberta.ca> Subject: vanishing floppy on Tsunami machines To: axp-list@redhat.com Date: Mon, 31 Jan 2000 13:15:45 -0700 (MST) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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