All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: 2.4.12-ac3 floppy module requires 0x3f0-0x3f1 ioports
@ 2001-11-03  2:02 Thomas Hood
  2001-11-05  0:00 ` Maciej Zenczykowski
  0 siblings, 1 reply; 14+ messages in thread
From: Thomas Hood @ 2001-11-03  2:02 UTC (permalink / raw)
  To: linux-kernel, Maciej Zenczykowski; +Cc: Alan Cox

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.

--
Thomas


^ permalink raw reply	[flat|nested] 14+ messages in thread
* 2.4.12-ac3 floppy module requires 0x3f0-0x3f1 ioports
@ 2001-11-03  0:00 Maciej Zenczykowski
  2001-11-03  0:21 ` Alan Cox
  0 siblings, 1 reply; 14+ messages in thread
From: Maciej Zenczykowski @ 2001-11-03  0:00 UTC (permalink / raw)
  To: linux-kernel

Hi All,

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.

I have taken a quick look at the port specification of the FDC and have
found no readon for any access to the 0x3f0 port, I have found a reason
for accessing the 0x3f1 port - but only on PS/2's.  This ain't a PS/2 so
that is irrelevant.  Furthermore analysis of the code fails to find any
place where these two ports would actually be used...

Deciding to take a try at it I changed the floppy module to reserve only
the 0x3f2-0x3f5 and 0x3f7 ports, recompiled and the module now loads.
I have not done any tests on it, however copying a diskette via mcopy,
mdir and plain old mount worked fine.

All in all I would say that at least in my case there is no reason for
floppy to reserve these two ports - I don't know about other machines
(especially PS/2's) - but I cannot see any use of them in the source code
any way.

Questions, Ideas?

Maciej Zenczykowski


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2001-11-07 19:11 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-03  2:02 2.4.12-ac3 floppy module requires 0x3f0-0x3f1 ioports Thomas Hood
2001-11-05  0:00 ` Maciej Zenczykowski
2001-11-05  0:15   ` Thomas Hood
2001-11-05  1:18     ` Maciej Zenczykowski
2001-11-05  2:40       ` Thomas Hood
2001-11-05  3:37       ` Thomas Hood
2001-11-05 12:02         ` Maciej Zenczykowski
2001-11-06 20:02           ` Gunther Mayer
2001-11-07 11:53             ` Maciej Zenczykowski
2001-11-07 19:09             ` Thomas Hood
2001-11-05  8:45       ` Alan Cox
2001-11-05 11:18         ` Maciej Zenczykowski
  -- strict thread matches above, loose matches on Subject: below --
2001-11-03  0:00 Maciej Zenczykowski
2001-11-03  0:21 ` Alan Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.