Re: 2.4.12-ac3 floppy module requires 0x3f0-0x3f1 ioports

Maciej Zenczykowski (maze@druid.if.uj.edu.pl)
Mon, 5 Nov 2001 01:00:09 +0100 (CET)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

---1667900096-871493789-1004918409=:27009
Content-Type: TEXT/PLAIN; charset=US-ASCII

On 2 Nov 2001, Thomas Hood wrote:
> Alan Cox wrote:
> > Maciej Zenczykowski wrote:
> >> Is there any reason why the floppy module requires
> >> the ioport range 0x3f0-0x3f1 in order to load? On
> >> my computer /proc/ioports reports this range as used
> >> by PnPBIOS PNP0c02, thus the floppy module cannot
> >> reserve the range 0x3f0-0x3f5 and refuses to load.
> >
> > This is a bug in the PnPBIOS experimental code -
> > turn off PnPBIOS and/or update for the moment
>
> A fix for this problem went in to 2.4.13-ac2. Please
> try that kernel (or a later -ac kernel) and report back.

Well just tried kernel 2.4.13-ac6 and there is absolutely no difference.

After applying the attached patch all works OK...

Maciej Zenczykowski

nb. modprobe rivafb leaves the kernel's idea of whats on screen out of
sync with the truth. i.e. modprobe rivafb on tty2 and you end up with
tty1 on the screen, but keypresses going to tty2...

---1667900096-871493789-1004918409=:27009
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=mz-floppy-patch
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.33.0111050100090.27009@druid.if.uj.edu.pl>
Content-Description: floppy patch
Content-Disposition: attachment; filename=mz-floppy-patch

LS0tIGRyaXZlcnMvYmxvY2svZmxvcHB5LmMuYmVmb3JlLW1hemUJU3VuIE9j
dCAyMSAxOTowOToyMSAyMDAxDQorKysgZHJpdmVycy9ibG9jay9mbG9wcHku
YwlUdWUgT2N0IDMwIDIxOjQ2OjQ2IDIwMDENCkBAIC00MjI4LDcgKzQyMjgs
NyBAQA0KIAkJRkRDUy0+cmF3Y21kID0gMjsNCiAJCWlmICh1c2VyX3Jlc2V0
X2ZkYygtMSxGR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oRkRDUy0+
YWRkcmVzcysyLCA0KTsNCiAJCQlyZWxlYXNlX3JlZ2lvbihGRENTLT5hZGRy
ZXNzKzcsIDEpOw0KIAkJfQ0KIAlmZGMgPSBvbGRfZmRjOw0K
---1667900096-871493789-1004918409=:27009--
-
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/