lkml.org 
[lkml]   [2003]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: FDC motor left on
> If you can end up with another floppy drive motor on under
> any condition when the kernel is given control, then you
> can simply reset both (or all) floppy motor control bits.

This is not a problem to deal with in the kernel - what if there is
hardware other than a floppy controller at that address?

The bootloader needs to ensure that the hardware is at least in a
sensible state when the kernel is entered. Infact, unless the system
is being booted from floppy, why is the BIOS accessing the floppy at
all?

Re-configure the BIOS not to try to boot from the floppy, or to seek
the drive to see whether it is capable of 40 or 80 tracks.

If that is not possible, (on a laptop with an obscure BIOS for
example), add a delay to the bootloader. Assumng interupts are still
enabled, the BIOS will switch the floppy off after a few seconds.

John.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [from the cache]
©2003-2011 Jasper Spaans