Next-in-Thread Next Message

Question PCI-PCMCIA can't get Interrupts (Wavelan's adapter) 

Forum: PCMCIA Installation and Configuration Issues
Date: 2000, Apr 21
From: Timothy Hamlin thamlin

I've been trying to get the newest wavelan card (Orinoco 11Mb "silver") card to work. Resounding success when using in laptops with built-in pcmcia services. (On the Dell Inspiron 7000 and IBM ThinkPad 380D with pcmcia-cs-3.1.14, kernel 2.2.14-5.0 on RedHat 6.2, and wavelan2_cs-6.00.)

Now that I think I understand the cards themselves well enough, I need to get them working in desktops. I'm doing a large field campaign this summer using an array of stations which map lightning, and each station (15 of them) will telemeter data via the wavelans. I have to be ready in the next week and am quite stuck on getting the cards to go on desktops running older pci chipsets.

I'm trying to get the pci-pcmcia host adapter wavelan sells with their cards to work (it is only $60.00 versus ~ $200 for similar adapters I found), and was able to get it to work (with the irq_mode=0 option) on a newer machine. The wavelan card did not work (in fact, the machine would give a high beep then hang upon insertion of the card, but come back upon removal). This problem is corrected in the wavelan2_cs-6.01BETA which came out a few days ago. (I believe the problem was that the wavelan driver didn't know how to handle PCI only interrupts until this version.) So, it seems to work correctly with the PCI 440BX controller chip.

The problem is, the machines I'm using are older than this 
(a mix of pentium 1 motherboards.  When I try to start 
pcmcia on these, it finds the contoller, but does not 
assign an interrupt.  Here are the details:
------
dmesg:
------
Linux version 2.2.14-5.0 (root@porky.devel.redhat.com) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Tue Mar 7 20:53:41 EST 2000
relocating initrd image:
    initrd_start:0xc0f97000    initrd_end:0xc0fff4af
    mem_start:0xc0272000    mem_end:0xc1ff0000
    initrd_size:0x000684af     dest:0xc1f87000
Detected 166451974 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 66.36 BogoMIPS
Memory: 30080k/32704k available (1084k kernel code, 416k reserved, 640k data, 64k init, 0k bigmem)
Dentry hash table entries: 262144 (order 9, 2048k)
Buffer cache hash table entries: 32768 (order 5, 128k)
Page cache hash table entries: 8192 (order 3, 32k)
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: Intel Pentium 75 - 200 stepping 0c
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
Intel Pentium with F0 0F bug - workaround enabled.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfdba1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 32768 bhash 32768)
Initializing RT netlink socket
Starting kswapd v 1.5 
Detected PS/2 Mouse Port.
Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ttyS02 at 0x03e8 (irq = 4) is a 16550A
ttyS03 at 0x02e8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9)
Real Time Clock Driver v1.09
RAM disk driver initialized:  16 RAM disks of 4096K size
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio
hda: QUANTUM FIREBALL EL2.5A, ATA DISK drive
hdb: ST328040A, ATA DISK drive
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: QUANTUM FIREBALL EL2.5A, 2445MB w/418kB Cache, CHS=621/128/63
hdb: ST328040A, 27199MB w/512kB Cache, CHS=3467/255/63
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: measuring checksumming speed
   8regs     :   168.783 MB/sec
   32regs    :   123.825 MB/sec
using fastest function: 8regs (168.783 MB/sec)
scsi : 0 hosts.
scsi : detected total.
md.c: sizeof(mdp_super_t) = 4096
Partition check:
 hda: hda1 hda2 hda3 hda4
 hdb: hdb1
RAMDISK: Compressed image found at block 0
autodetecting RAID arrays
autorun ...
... autorun DONE.
VFS: Mounted root (ext2 filesystem).
scsi0 : AdvanSys SCSI 3.2M: PCI Ultra 240 CDB: IO EC00/F, IRQ 10
scsi : 1 host.
autodetecting RAID arrays
autorun ...
... autorun DONE.
VFS: Mounted root (ext2 filesystem) readonly.
change_root: old root has d_count=1
Trying to unmount old root ... okay
Freeing unused kernel memory: 64k freed
Adding Swap: 68536k swap-space (priority -1)
Adding Swap: 68536k swap-space (priority -2)
Linux PCMCIA Card Services 3.1.14
  kernel build: 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000
  options:  [pci] [cardbus] [apm]
Intel PCIC probe: 
  TI 1225 rev 01 PCI-to-CardBus at slot 00:13, mem 0x68000000
    host opts [0]: [pci only] [no pci irq] [lat 168/176] [bus 32/34]
    host opts [1]: [pci only] [no pci irq] [lat 168/176] [bus 35/37]
    NO card interrupts, polling interval = 1000 ms
cs: IO port probe 0x1000-0x17ff: excluding 0x12e8-0x12ef 0x13e8-0x13ef
cs: IO port probe 0x0100-0x04ff: excluding 0x158-0x15f 0x170-0x177 0x290-0x297 0x370-0x37f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
unloading PCMCIA Card Services
Linux PCMCIA Card Services 3.1.14
  kernel build: 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000
  options:  [pci] [cardbus] [apm]
Intel PCIC probe: 
  TI 1225 rev 01 PCI-to-CardBus at slot 00:13, mem 0x68000000
    host opts [0]: [pci only] [no pci irq] [lat 168/176] [bus 32/34]
    host opts [1]: [pci only] [no pci irq] [lat 168/176] [bus 35/37]
    NO card interrupts, polling interval = 1000 ms
cs: IO port probe 0x1000-0x17ff: excluding 0x12e8-0x12ef 0x13e8-0x13ef
cs: IO port probe 0x0100-0x04ff: excluding 0x158-0x15f 0x170-0x177 0x290-0x297 0x370-0x37f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
wavelan2_cs: RequestIRQ: Resource in use

----- /var/log/messages clip: -----

Apr 21 17:58:09 lma_e cardmgr[615]: watching 2 sockets
Apr 21 17:58:09 lma_e kernel: cs: IO port probe 0x1000-0x17ff: excluding 0x12e8-0x12ef 0x13e8-0x13ef 
Apr 21 17:58:09 lma_e kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x158-0x15f 0x170-0x177 0x290-0x297 0x370-0x37f 0x4d0-0x4d7 
Apr 21 17:58:09 lma_e kernel: cs: IO port probe 0x0a00-0x0aff: clean. 
Apr 21 18:00:07 lma_e cardmgr[615]: initializing socket 0
Apr 21 18:00:07 lma_e kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean. 
Apr 21 18:00:07 lma_e cardmgr[615]: socket 0: Lucent Technologies WaveLAN/IEEE
Apr 21 18:00:07 lma_e cardmgr[615]: executing: 'insmod /lib/modules/2.2.14-5.0/pcmcia/wavelan2_cs.o port_type=3 channel=5 network_name=LMA'
Apr 21 18:00:07 lma_e kernel: wavelan2_cs: RequestIRQ: Resource in use 
Apr 21 18:00:08 lma_e cardmgr[615]: get dev info on socket 0 failed: Resource temporarily unavailable

---
/proc/interrupts:
---
           CPU0       
  0:     117763          XT-PIC  timer
  1:       1178          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  8:          1          XT-PIC  rtc
 10:          7          XT-PIC  advansys
 12:          0          XT-PIC  PS/2 Mouse
 13:          1          XT-PIC  fpu
 14:      62736          XT-PIC  ide0
NMI:          0

--- lspci: ---

00:00.0 Host bridge: Intel Corporation 430TX - 82439TX MTXC (rev 01)
00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 01)
00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 01)
00:12.0 SCSI storage controller: Advanced System Products, Inc ABP940-U / ABP960-U (rev 03)
00:13.0 CardBus bridge: Texas Instruments PCI1225 (rev 01)
00:13.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)
00:14.0 VGA compatible controller: S3 Inc. ViRGE/DX or /GX (rev 01)

Any ideas?? - I'm really really getting getting nervous, much egg on face if I can't get these things going...

thanks!

Tim

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. More PS - PCI chipset bx works, but not tx by Timothy Hamlin, 2000, Apr 24
2. None PCI interrupt routing issues by David Hinds, 2000, Apr 25

Add Message to: "PCI-PCMCIA can't get Interrupts (Wavelan's adapter)"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10