1 PCMCIA card good, 2 PCMCIA cards bad

1 PCMCIA card good, 2 PCMCIA cards bad

Post by James Amunds » Thu, 24 Apr 1997 04:00:00



Here's the problem. I have three PCMCIA cards: a Megahertz modem, an
Accton ethernet card and an Adaptec SlimSCSI card. Any one of them
works fine. When I try to use two at once, however, the second one
always fails.

This is on my Micron Millennia Transport running Red Hat 4.0 (kernel
2.0.18) and version 2.8.23 of the pcmcia package. I know that there
are newer versions of the pcmcia package, but I read the change log
and didn't see any relevant-looking changes. If there is any reason to
believe that upgrading will solve my problems, I will do so immediately.

Here's what "cardctl config" has to say when I have both cards plugged
in with the default settings:
------------------
Socket 0:
  Vcc = 5.0, Vpp1 = 0.0, Vpp2 = 0.0
  Card type is memory and I/O
  IRQ 3 is exclusive, level mode, enabled
  Function 0:
    Config register base = 0x03f8
      Option = 0x60, status = 0000
    I/O window 1: 0x0300 to 0x030f, 8 bit
    I/O window 2: 0x0310 to 0x031f, 16 bit
Socket 1:
  Vcc = 5.0, Vpp1 = 0.0, Vpp2 = 0.0
  Card type is memory and I/O
  IRQ 5 is exclusive, level mode, enabled
  Function 0:
    Config register base = 0x2000
      Option = 0x49
    I/O window 1: 0x0340 to 0x035f, auto sized
------------------

I believe this must be an interrupt conflict, but I cannot seem to fix
it. I've tried adding
        exclude irq 5
to config.opts. Then the second card is assigned to IRQ 9. The problem
persists. Additionally excluding IRQ 9 leads to both cards being
assigned to IRQ 3, which, not surprisingly, doesn't work either.

I've tried using both cards under Windows 95. Everything works
fine there. (Wow! This is the only time that Windows 95 has worked
better for *anything* for me.) W95 assigns the ethernet card to IRQ 15
and the SCSI card to IRQ 11. I've tried to get Linux to use these
interrupts by adding
        module "aha152x_cs" opts "irq_mask=0x8800"
to config.opts. (If I've done my arithmetic correctly, that mask
limits the possibilities to IRQ's 11 and 15.) When I do that, I get
the following complaint:
------------------
cardmgr[160]: executing: '/sbin/insmod
        /lib/modules/2.0.18/pcmcia/aha152x_cs.o irq_mask=0x8800'
kernel: aha152x_cs: RequestIRQ: Resource in use
kernel: scsi : 0 hosts.
cardmgr[160]: get dev info on socket 0 failed: Try again

------------------

I am now officially at a loss. If anyone can help me, I will be
eternally grateful. More details are available if anyone cares.

Thanks,
Jim Amundson

 
 
 

1 PCMCIA card good, 2 PCMCIA cards bad

Post by James Amunds » Fri, 25 Apr 1997 04:00:00




Quote:> Here's the problem. I have three PCMCIA cards: a Megahertz modem, an
> Accton ethernet card and an Adaptec SlimSCSI card. Any one of them
> works fine. When I try to use two at once, however, the second one
> always fails.

> This is on my Micron Millennia Transport running Red Hat 4.0 (kernel
> 2.0.18) and version 2.8.23 of the pcmcia package. I know that there
> are newer versions of the pcmcia package, but I read the change log
> and didn't see any relevant-looking changes. If there is any reason to
> believe that upgrading will solve my problems, I will do so immediately.

Oh, never mind. I have now convinced the pcmcia package to use
interrupts 10 and 11. Everything works now.

 
 
 

1. PCMCIA Ethernet Card Driver Problem - SMC EZ Card 10/100 PC Card

I just bought an "SMC EZ Card 10/100 Mbps PC Card", which from looking at
some lists of supported cards, looks like it is supported by tulip_cb.  
However, apparenly tulip_cb has been integrated into tulip for the 2.4
kernel using the hotplug interface.  

The card is detected.

"cardctl ident" reveals:

Socket 0:
  no product info available
Socket 1:
  product info: "SMC", "8041TX-10/100-PC-Card", "", ""
  manfid: 0x01bf, 0x8041
  function: 6 (network)

After adding the manfid info to /etc/pcmcia/config, it recognizes the card
by name, but fails with one high and one low beep.  /var/log/messages shows:

Jan 18 23:54:53 localhost cardmgr[1067]: initializing socket 1
Jan 18 23:54:53 localhost cardmgr[1067]: socket 1: SMC 8041TX-10/100-PC-Card
Jan 18 23:54:53 localhost cardmgr[1067]: executing: 'modprobe cb_enabler'
Jan 18 23:54:53 localhost cardmgr[1067]: executing: 'modprobe tulip'
Jan 18 23:54:54 localhost kernel: Linux Tulip driver version 0.9.15-pre6
(July 2, 2001)
Jan 18 23:54:54 localhost cardmgr[1067]: +
/lib/modules/2.4.9-13/kernel/drivers/net/tulip/original/tulip.o:
init_module: No such device
Jan 18 23:54:54 localhost cardmgr[1067]: +
/lib/modules/2.4.9-13/kernel/drivers/net/tulip/original/tulip.o: insmod
/lib/modules/2.4.9-13/kernel/drivers/net/tulip/original/tulip.o failed
Jan 18 23:54:54 localhost cardmgr[1067]: + Hint: insmod errors can be
caused by incorrect module parameters, including invalid IO or IRQ
parameters

I'm running a RedHat 7.1 system  Does this mean that the tulip driver is
not compatible with my new card?  If so, can anyone recommend a very
well-supported and compatible pcmcia ethernet card?

Thanks,
bg

2. mounting multisession CD's on Linux

3. Hawking Wireless PCMCIA card / pcmcia-cs

4. Linux reference at trial...

5. Texas Instrument PCI7420 PCMCIA controlers don't see any PCMCIA Card

6. starting x on boot?

7. PCMCIA Grey Cell Network Card and PCMCIA Modem don't work together

8. OPL3 Sound card

9. IDE Booting from Flash - Positive report: Adton PCMCIA Card Drive - PCMCIA vs. Compact Flash

10. 3c589D pcmcia card - /etc/pcmcia/network.opts

11. Installing Linux on a notebook - PCMCIA/CD-ROM or PCMCIA/NE2000 card?

12. PCMCIA Flash Card *need direction past PCMCIA howto*

13. Bad bridge mapping problem: PCMCIA card not started