Re: FDC motor left on

From: John Bradford
Date: Mon Oct 06 2003 - 09:26:32 EST


> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/