FW: TI1510 probelm - can you help direct me?

Pavel Roskin proski at gnu.org
Thu May 6 13:10:30 BST 2004


On Thu, 6 May 2004, Russell King wrote:

> On Wed, May 05, 2004 at 08:59:12PM -0400, Pavel Roskin wrote:
> > On Wed, 5 May 2004, Pavel Roskin wrote:
> > > All you need to do is to find out what i82365 does right but
> > > yenta_socket does wrong.
> >
> > I compared the register dumps and found that the PCI config space between
> > 0x28 and 0x3b should be cleaned.  This fixes the problem with USB.  The
> > patch is against 2.6.6-rc3, but you should be able to apply it manually to
> > the 2.4 kernel.
>
> No.  This overwrites the cardbus IO windows, disabling them completely.
> The effect is that cards using IO accesses won't see those accesses.
>
> Maybe the cardbus IO regions are clashing with USB somehow?  Hidden
> SMI ports maybe?

In my case, I have found that the I/O window at 0x4000-0x40ff should not
be used by cardbus.  It can be achieved by adding "reserve=0x4000,0x100"
to the kernel command line.

By default, TI1410 would use 0x4000-0x40ff and 0x4400-0x48ff.  With the
"reserve" option it's moved up by 0x400.

The motherboard is MicroStar MS-6176, Award BIOS 1.4B2, Intel Pentium III
800 MHz.  Now the question is how to identify the owner of the ports and
what to about it.  Disabling USB in BIOS doesn't fix the hang without
"reserve".  I'm afraid its a "shadow" of 0x0000-0x00ff area, which is
motherboard specific.

Below is some information when the "reserve" option is used.

# lspci -s 01:00.0 -vvv
01:00.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus
Controller (rev 01)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 168, cache line size 08
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at d5103000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=01, secondary=02, subordinate=05, sec-latency=176
        Memory window 0: 10000000-103ff000 (prefetchable)
        Memory window 1: 10400000-107ff000
        I/O window 0: 00004400-000044ff
        I/O window 1: 00004800-000048ff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt- PostWrite+
        16-bit legacy interface ports at 0001


# lspci
00:00.0 Host bridge: Intel Corp. 82810E DC-133 GMCH [Graphics Memory Controller Hub] (rev 03)
00:01.0 VGA compatible controller: Intel Corp. 82810E DC-133 CGC [Chipset Graphics Controller] (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801AA PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corp. 82801AA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801AA IDE (rev 02)
00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02)
00:1f.3 SMBus: Intel Corp. 82801AA SMBus (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801AA AC'97 Audio (rev 02)
01:00.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01)
01:07.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)

# cat /proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0100-013f : orinoco_cs
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial
0cf8-0cff : PCI conf1
4000-40ff : reserved
4400-44ff : PCI CardBus #02
4800-48ff : PCI CardBus #02
5000-500f : 0000:00:1f.3
c000-c03f : 0000:01:07.0
  c000-c03f : e100
d000-d01f : 0000:00:1f.2
  d000-d01f : uhci_hcd
d400-d4ff : 0000:00:1f.5
d800-d83f : 0000:00:1f.5
f000-f00f : 0000:00:1f.1
  f000-f007 : ide0
  f008-f00f : ide1

-- 
Regards,
Pavel Roskin



More information about the linux-pcmcia mailing list