Re: Fw: 2.6.8.1-mm2: floppy magically disappaperd

From: Tomasz Torcz
Date: Sun Aug 22 2004 - 19:19:58 EST


On Fri, Aug 20, 2004 at 11:22:45AM -0600, Bjorn Helgaas wrote:
> > My flopped disappeared with this kernel becaouse of ACPI. It was
> > working earlier revisions. Modprobing floppy.ko fails:
> >
> > (in dmesg)
> > #v+
> > inserting floppy driver for 2.6.8.1-mm2
> > floppy: controller ACPI FDC0 at I/O 0x3f7-0x3f7 irq 6 dma channel 2
> > Floppy drive(s): fd0 is 1.44M
> > floppy0: Floppy io-port 0x03f7 in use
> > #v-
> I'm interested in the dmesg output whether it works or not.
>
> I suspect your ACPI is reporting two I/O regions for the floppy
> controller: 0x3f2-0x3f5, and 0x3f7. Strictly speaking, that's
> probably the correct thing. It happens that my box (an HP DL360)
> only reports 0x3f2-0x3f5. The driver uses 0x3f7, and I don't see
> how it could get along without it, so I think the HP BIOS is broken.
>
> In any case, the patch below should deal better with two I/O regions
> being reported.

Good news! With your patch floppy works:

#v+
inserting floppy driver for 2.6.8.1-mm2
acpi_floppy_resource: 4 ioports at 0x3f2
acpi_floppy_resource: 1 ioports at 0x3f7
floppy: controller ACPI FDC0 at I/O 0x3f2-0x3f5, 0x3f7-0x3f7 irq 6 dma
channel 2
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
#v-

Thank you!

--
Tomasz Torcz Only gods can safely risk perfection,
zdzichu@xxxxxxxxxxxxxxxxx it's a dangerous thing for a man. -- Alia

-
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/