problem with TI adaptor

Lex Spoon lex at cc.gatech.edu
Fri May 13 23:51:37 EDT 2005


Daniel Ritz <daniel.ritz at gmx.ch> wrote:
> the socket status here is just wrong it has to looke lik 300000xxx (ie start with 3)
> so probably there's something overlapping with the socket iomem space.
> 
> your reserve= parameter only changes the iomem of the cardbus card itself which
> obviously doesn't help. my guess is that the cardbus bridge is not setup right
> so that the cardbus card doesn't get power...
> 
> so as a first step could you try replacing the reserve= on the command line
> with reserve=0x20000000,0x2000000
> 
> this reserves the area from 512MB to 544MB. so the socket itself get's another
> iomem range assigned.
> 
> another possibility is that the socket is not initialized right maybe because of
> the bios. the attached patch might help in that case...
> (the patch is hand-edited. if it applies at all then with some offsets :)

Thank you for the fast reply!  I just now had a chance to try all of
your suggestions.

The patch mentions the wrong file.  :)  Other than that it installs
perfectly.

Thank you for the fast reply, but neither idea worked.  I first  tried
changing the reserve= command, but nothing changed.  I then upgraded to
2.6.12-rc4  plus your patch installed and the reserve= line still there,
and I get the same kernel messages.  On a lark, I also tried toggling
the "OS is plug-and-play" setting in the computer's BIOS settings.  The
results were the same -- the weird 1xxxxx status and the failure of the
card's driver to initialize.

Drats.

Various info is appended again, though it looks pretty much the same as
before.  Do you have any other ideas?  I would love to get this working
but I don't know diddly about what's going on here.  :(

Thanks again,

Lex

==============================
kernel log:

May 13 23:39:06 logrus kernel: ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
May 13 23:39:06 logrus kernel: Yenta: CardBus bridge found at 0000:00:08.0 [133f:3000]
May 13 23:39:06 logrus kernel: Yenta: Enabling burst memory read transactions
May 13 23:39:06 logrus kernel: Yenta: Using CSCINT to route CSC interrupts to PCI
May 13 23:39:06 logrus kernel: Yenta: Routing CardBus interrupts to PCI
May 13 23:39:06 logrus kernel: Yenta TI: socket 0000:00:08.0, mfunc 0x00001d92,
devctl 0x02
May 13 23:39:06 logrus kernel: Yenta: ISA IRQ mask 0x0000, PCI irq 11
May 13 23:39:06 logrus kernel: Socket status: 10000061
May 13 23:39:06 logrus kernel: rtl8180: Configuring chip resources
May 13 23:39:06 logrus kernel: PCI: Enabling device 0000:02:00.0 (0000 -> 0003)
May 13 23:39:06 logrus kernel: ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
May 13 23:39:06 logrus kernel: PCI: Setting latency timer of device 0000:02:00.0 to 64
May 13 23:39:06 logrus kernel: rtl8180: Memory mapped space @ 0xdf002000
May 13 23:39:06 logrus kernel: rtl8180: Hardware frame sequence numbers disabledMay 13 23:39:06 logrus kernel: rtl8180: MAC controller is a RTL8180 (v2 ?)
May 13 23:39:06 logrus kernel: rtl8180: Reported EEPROM chip is a 93c46 (1Kbit)
May 13 23:39:06 logrus kernel: rtl8180: Card MAC address is 00:00:00:00:00:00
May 13 23:39:06 logrus kernel: rtl8180: EEPROM version 3fff
May 13 23:39:06 logrus kernel: rtl8180: RfParam: 42
May 13 23:39:06 logrus kernel: rtl8180: Unknown RF module 40
May 13 23:39:06 logrus kernel: rtl8180: Exiting...
May 13 23:39:06 logrus kernel: rtl8180: Initialization failed
May 13 23:39:06 logrus kernel: rtl8180: wlan driver load failed


=====================
kernel log after doing "cardctl eject": 

May 13 23:41:55 logrus kernel: PCMCIA: socket df42982c: *** DANGER *** unable to remove socket power


======================
lspci -v:

0000:00:08.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01)
        Subsystem: SCM Microsystems: Unknown device 3000
        Flags: bus master, medium devsel, latency 168, IRQ 11
        Memory at df005000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
        Memory window 0: df000000-df001000 (prefetchable)
        Memory window 1: df002000-df003000
        I/O window 0: 00004400-000044ff
        I/O window 1: 0000b800-0000bc03
        16-bit legacy interface ports at 0001



More information about the linux-pcmcia mailing list