lkml.org 
[lkml]   [2003]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PROBLEM: floppy motor spins when floppy module not installed
On Fri, Dec 12, 2003 at 05:27:45PM +0100, M?ns Rullg?rd wrote:
> Petr Vandrovec <vandrove@vc.cvut.cz> writes:
>
> > On Fri, Dec 12, 2003 at 04:33:57PM +0100, M?ns Rullg?rd wrote:
> >>
> >> I'm running 2.6.0-test11 on a machine with modular floppy driver,
> >> without any spinning motors. I think it boots from floppy before HD,
> >> but I'm not certain (can't check right now).
> >
> > Maybe because you run patched LILO which works around this 2.6.x
>
> GRUB, actually. Does it mess with the floppy drive?

AFAIK yes:

NEWS:

New in 0.5 - 1998-08-20, Erich Boleyn:

* GRUB now shuts off the floppy before transferring control to any
other programs/modules/loaders. (chain-loading doesn't matter here,
just loading 32-bit modules/kernels)


stage2/asm.S:

/*
* stop_floppy()
*
* Stops the floppy drive from spinning, so that other software is
* jumped to with a known state.
*/
ENTRY(stop_floppy)
movw $0x3F2, %dx
xorb %al, %al
outb %al, %dx
ret

Petr Vandrovec

-
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:59    [W:0.037 / U:0.068 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site