#157 cardbus problems (no irqs) with pci1130

open
nobody
None
5
2003-05-23
2003-05-23
Brad Langhorst
No

I'm using pcmcia-cs 3.2.4 built for a 2.4.20 kernel
with no internal pcmcia support.

I've tried kernel pcmcia (2.4.20 and 2.5.69) with no
success.

I am able to use non-cardbus cards.
I can use my cardbus ethernet card (3c575ct) in a
different machine.

The troublesome machine is a Dell Latitude XPi CD
(P150 - pico power vesuvius chipset cmd643 ide
controler pci1130 cardbus bridge)

In my search for answers I read through the
troubleshooting section of the pcmcia howto and have
tried all the irq_mode settings...
Extensive googling turned up only one report of similar
problem but no solution.

irq_mode 0
upon inserting i82365 i see
*NO* card interrupts, polling...
when i insert the card
cs: could not allocate interrupt for CardBus socket 0
3c575_cb: RequestIO: Out of resource

irq_mode 1
i get a stack dump from the kernel
during the insmod of i82365

irq_mode 2 (or no irq_mode)
the card's driver loads and it is assigned an irq (3 -
com ports are disabled in the bios)
I can lease an address and can ping with -s up to about
5000 bytes
any bigger transfers give tx timeouts

irq_mode 3
upon inserting i82365 i see
*NO* card interrupts, polling...
when i insert the card
cs: could not allocate interrupt for CardBus socket 0
3c575_cb: RequestIO: Out of resource

so no i tried has_ring=0
the tx error disappear but the transfer rate is VERY
slow (100B/s or thereabout).

I'm currently reading through i82365.c to see if i can
force some irqs on the bridge but i'm not familiar with
the code and it's taking me a while to figure it out.
But I'm just about at my wit's end

Thanks in advance for any help/suggestions!

brad

PS
I'm using pcmcia-cs 3.2.4 to debug this instead of the
kernel pcmcia because it seems more self contained and
easier to figure out - let me know if that is a bad
idea (plus it compiles faster).

Discussion

  • David Hinds
    David Hinds
    2003-05-23

    Logged In: YES
    user_id=7760

    Rebuild your kernel with CONFIG_ISA turned on.

    - Dave

     
  • Brad Langhorst
    Brad Langhorst
    2003-05-23

    Logged In: YES
    user_id=185822

    Unfortunately CONFIG_ISA is already on.
    I think non-cardbus cards would fail if it were off.

    brad

     
  • David Hinds
    David Hinds
    2003-05-23

    Logged In: YES
    user_id=7760

    Sorry, I read too fast and thought you had a different
    problem. You don't have an interrupt problem, at least, not
    until you tried fiddling with things; it was fine when you just
    used the defaults.

    I take it that you get tx timeouts when you do normal stuff
    too, not just with "ping"?

    In general you should use the kernel PCMCIA support
    because the pcmcia-cs modules are deprecated, obsolete,
    etc.

    -- Dave

     
  • Brad Langhorst
    Brad Langhorst
    2003-05-23

    Logged In: YES
    user_id=185822

    >You don't have an interrupt problem, at least, not
    >until you tried fiddling with things; it was fine when you
    >just
    >used the defaults.

    that's the same conclusion I'm drawing - i'm now using the
    the defaults and has_ring=0
    which eliminates the tx timeouts but exhibits very slow
    transfer rate.

    I've tried with kernel pcmcia from 2.5.69 and 2.4.20
    but i see
    Interrupt : pin A routed to IRQ 0
    in lspci -vv
    i get no information from the logs when i insert the card...

    and it complains bitterly about device 9 *the bridge) during
    boot having no interrupts.

    I'm recompiling 2.5.69 now so I'll post more exact info later.

     
  • David Hinds
    David Hinds
    2003-06-03

    Logged In: YES
    user_id=7760

    There is a good chance that this laptop does not support PCI
    interrupts for CardBus cards, in which case, you will probably
    not be able to use the kernel PCMCIA subsystem at all.

    During these very slow transfers, you get no system log
    messages from the 3c575_cb driver? What are you
    connecting to: 10baseT, 100baseT, hub, switch, etc? And
    when you say the card works fine in another system, did you
    test that in the same network setup (same cable, connection,
    etc)?

    -- Dave

    -- Dave

     
  • Logged In: NO

    I was finally able to compile 2.5.69 on this machine and
    still cant get interrupts to the card.

    In your second reply (thanks by the way)
    you asked if i tried the same network etc.
    Yes same cable, same network same, version of kernel.

    I've tried connecting to a 100baseT hub (crappy linksys model)
    and to another pc via crossover cable (negotiated 100baseT)
    Next on my list is a 10baseT hub

    I didn't see any log messages when set has_ring=0

    One other data point.
    This card does work in windows98 on the same network, same
    machine - so the hardware is capable of working - we just
    aren't doing something that it wants.

    thanks again for considering this problem!

    brad

     
  • David Hinds
    David Hinds
    2003-09-09

    Logged In: YES
    user_id=7760

    I'm running out of suggestions. You might check:

    http://planetbeta.mine.nu:8080/~mrbob/docs/laptop.html

    which describes another person's experience with this
    laptop. You could try comparing system log messages with
    this guy.

    -- Dave

     
  • David Hinds
    David Hinds
    2003-11-27

    Logged In: YES
    user_id=7760

    In the installation help forum, see the recent thread on "PCI
    IRQ router support". We've worked out a fix for this problem
    on this laptop. It requires a small kernel patch.

    -- Dave