Re: modular floppy broken in 2.5.3

From: Alessandro Suardi (alessandro.suardi@oracle.com)
Date: Tue Feb 05 2002 - 05:13:27 EST


Gunther Mayer wrote:
>
> Alan Cox wrote:
>
> > > It turns out this is due to the new PnPBIOS kernel config option:
> > >
> > > [asuardi@dolphin asuardi]$ grep PnPBIOS /proc/ioports
> > > 03f0-03f1 : PnPBIOS PNP0c01
> > > 0600-067f : PnPBIOS PNP0c01
> > > 0680-06ff : PnPBIOS PNP0c01
> > > 0800-083f : PnPBIOS PNP0c01
> > > 0840-084f : PnPBIOS PNP0c01
> > > 0880-088f : PnPBIOS PNP0c01
> > > f400-f4fe : PnPBIOS PNP0c01
> > >
> > > But since modular floppy was working before without setting any
> > > ioport parameter I'm not entirely sure this is a "feature".
> >
> > Its a mix of fp and pnpbios things that need untangling. PnPBIOS should
> > register the resource as not in use, floppy should allocate the right
>
> PNPNIOS is right to reserve PNP0C01 as "used". Else there will be hangs
> when drivers poke in io space (e.g. laptops tend to have special
> hardware which doesn't like to be touched).
>
> PNPBIOS should not reserve 3f0/3f1 as a _workaround_ for this BIOS bug.
>
> The BIOS probably wants to tell you there is a superio chip at 0x3f0
> (try http://home.t-online.de/home/gunther.mayer/lssuperio-0.63.tar.gz).

And here it goes...

lssuperio V0.63 (EXPERIMENTAL)

Winbond Super-IO detection, now testing ports 3F0,370,250,4E,2E ...
SMSC Super-IO detection, now testing Ports 2F0, 370, 2E, 4E ...
SMSC chip at EFER=0x3f0 key=0x55 id=09 rev=08
oldid=0x00 oldrev=0x00
 LDN 0( FDC): io=0x3f0, irq= 6, dma= 1
 LDN 1(reserved): Disabled.
 LDN 2(reserved): Disabled.
 LDN 3( LPT): io=0x378, irq= 7, dma=No
 LDN 4( UART_A): io=0x3f8, irq= 4, dma=No
 LDN 5( UART_B): io=0x3e8, io2=0x290, irq= 4, dma= 3
 LDN 6(reserved): io=0x0, irq= 8, dma=No
 LDN 7( KBC): io=0x0, irq= 1, irq2=12, dma=No
 LDN 8(reserved): Disabled.
 LDN 9(Gameport): Disabled.
 LDN a( PME): Disabled.
 LDN b( MPU-401): Disabled.
LPT mode=ECP FIFO thresh.=7
SMSC chip type 37n958
National Semiconductor Super-IO detection,now testing port 2E,4E,15C,26E,398 ...ITE Super-IO detection testing ports 2E,4E,279,370/371 ...
ALI Super-IO detection testing ports 370,398,3F0 ...
Intel Super-IO detection testing ports 26E, 398 ...

--alessandro

 "this machine will, will not communicate
   these thoughts and the strain I am under
  be a world child, form a circle before we all go under"
                         (Radiohead, "Street Spirit [fade out]")
-
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/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:41 EST