prism2 routing table issues

Travis Read travisr
Tue Jan 28 19:52:57 PST 2003


Greetings hostap'ers,

I'm having a really weird issue with the hostap driver. I currently have a
debian woody box with kernel 2.2.23 (custom compiled) + wavelan IEEE ISA
cradle + orinoco silver pcmcica card. I also have a compaq wl200 with
prism2 chipset.

I'm finding the the hostap driver and the orinoco driver both work fine
for a while. But after an unknown time period the route table goes away:

cs: IO port probe 0x0a00-0x0aff: clean.
cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
hostap_cs: index 0x01: Vcc 3.3, irq 9, io 0x0100-0x013f
hostap_cs: Registered netdevice wlan0
prism2_hw_init()
prism2_hw_config: initialized in 9442 iterations
wlan0: NIC: id=0x8002 v1.0.1
wlan0: PRI: id=0x15 v0.3.0
wlan0: STA: id=0x1f v0.8.0
Using data::nullfunc ACK workaround - firmware upgrade recommended
wlan0: INFO - fid=0x01bc - len=2 type=0xf200
  LinkStatus=2 (Disconnected)
wlan0: INFO - fid=0x01bd - len=2 type=0xf200
  LinkStatus=2 (Disconnected)
wlan0: INFO - fid=0x01be - len=2 type=0xf200
  LinkStatus=2 (Disconnected)
Setting ALC off
Setting TX power to 15 dBm
wlan0: INFO - fid=0x01bf - len=2 type=0xf200
  LinkStatus=2 (Disconnected)
hermes.c: 5 Apr 2002 David Gibson <hermes at gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes at gibson.dropbear.id.au> and others)
orinoco_cs.c 0.11b (David Gibson <hermes at gibson.dropbear.id.au> and
others)
eth0: Initial media type MII.
eth0: MII #24 status 786f, link partner capability 45e1, setting
full-duplex.
eth1: Station identity 001f:0001:0004:0034
eth1: Looks like a Lucent/Agere firmware version 4.52
eth1: Ad-hoc demo mode supported
eth1: WEP supported, 104-bit key
eth1: MAC address 00:60:1D:1B:F9:AD
eth1: Station name "HERMES I"
eth1: ready
eth1: index 0x01: Vcc 5.0, irq 3, io 0x0180-0x01bf
wlan0: prism2_open
wlan0: dropped received packet from 00:60:1d:1b:f9:ad with no ToDS flag
(type=0x02, subtype=0x00)
wlan0: RX status=0x2000 (port=0, type=1, fcserr=0) silence=0 signal=81
rate=20 rxflow=0; jiffies=1715
   FC=0x0008 (type=2:0) dur=0x0000 seq=0x0000 data_len=68
   A1=ff:ff:ff:ff:ff:ff A2=00:60:1d:1b:f9:ad A3=00:00:00:00:00:00
A4=e2:1b:a9:af:05:20
   dst=ff:ff:ff:ff:ff:ff src=00:60:1d:1b:f9:ad len=68
wlan0: prism2_close

after it ways prism2_close the entire route table for pcmcica devices goes
away and I'm left with:

wavelan:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.10.0    0.0.0.0         255.255.255.0   U     0      0        0
eth0

in /etc/init.d/pcmcia I have:
PCIC_OPTS="irq_mode=1 fast_pci=1 extra_sockets=1 poll_interval=100"

What am I missing?

wavelan:~# cat /proc/interrupts
           CPU0
  0:      34717          XT-PIC  timer
  1:          2          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:         15          XT-PIC  orinoco_cs
  9:          5          XT-PIC  i82365, hostap_cs
 11:        517          XT-PIC  eth0
 13:          1          XT-PIC  fpu
 14:       1613          XT-PIC  ide0
NMI:          0


The beginning of dmesg is:
Linux PCMCIA Card Services 3.2.3
  kernel build: 2.2.23 #1 Tue Jan 28 20:33:54 HKT 2003
  options:  [pci] [cardbus]
PCI routing table version 1.0 at 0xf7560
Intel ISA/PCI/CardBus PCIC probe:
  Cirrus PD6729 rev 00 PCI-to-PCMCIA at slot 00:0a, port 0xdff0
    host opts [0]: [ring] [pci irq 9] [1/5/0] [1/20/0]
    host opts [1]: [ring] [pci irq 9] [1/5/0] [1/20/0]
    PCI card interrupts, PCI status changes
  Vadem VG-469 rev 00 ISA-to-PCMCIA at port 0x3e2 ofs 0x00
    host opts [0]: none
    host opts [1]: none
    ISA irqs (scanned) = 3,4,7,15 polling interval = 1000 ms
cs: memory probe 0x0d0000-0x0dffff: clean.
hostap_cs: hostap_cs.c 0.0.0 2002-05-19 (SSH Communications Security Corp,
Jouni Malinen)
hostap_cs: (c) SSH Communications Security Corp <jkm at ssh.com>
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: setting Vcc=33 (from config)
CISTPL_MANFID: 0x0138, 0x0002
Checking CFTABLE_ENTRY 0x01 (default 0x01)
Config has no IRQ info, but trying to enable IRQ anyway..
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x370-0x37f
0x4d0-0x4d7
cs: IO port probe 0x0178-0x036f: clean.
cs: IO port probe 0x0380-0x04cf: clean.
cs: IO port probe 0x04d8-0x04ff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0a00-0x0aff: clean.
cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
hostap_cs: index 0x01: Vcc 3.3, irq 9, io 0x0100-0x013f
hostap_cs: Registered netdevice wlan0
prism2_hw_init()
prism2_hw_config: initialized in 9444 iterations
wlan0: NIC: id=0x8002 v1.0.1
wlan0: PRI: id=0x15 v0.3.0
wlan0: STA: id=0x1f v0.8.0
Using data::nullfunc ACK workaround - firmware upgrade recommended


I've tired the current version of hostap, the version before that, and the
version before that. I've used pcmcia-cs version pcmcia-cs-3.2.3,
pcmcia-cs-3.2.2 and pcmcia-cs-3.1.34. All do the same thing!?!?!?

I'm not 100% sure this is a problem with the hostap driver but I'm still
lost and can't figure out whats broken. What am I missing? Is it the
firmware?

Kind regards,

------------------------------------------------------------------------------
Travis Read
iiNet Senior Support       | Ph +61 8 9214 2222 Fx +61 8 9214 2211
travisr at staff.iinet.net.au | Level 6, Durack House, 263 Adelaide Terrace
------------------------------------------------------------------------------

" there is a war going on, it's not about who has the most bullets,
         it's about who controls the information " - SNEAKERS





More information about the Hostap mailing list