[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
awi driver & Zoom Air 4000
Hi,
I picked up some dirt cheap PCMCIA ZoomAir 4000 802.11 2meg wireless
ethernet cards recently & am seeing if I can get them to work with OBSD.
They are based on the PRISM1 wireless chipset from Harris & the AMD
PCnetMobile chipset. There exists a driver for this chipset within OpenBSD
and NetBSD (awi driver).
I've added the PCMCIA CIS vendor strings to the driver and have it
successfully matching the card & attaching the driver. It finds the
appropriate memory space, recognises the card as a an IEEE802.11 DS 2Mbps
card with PCnetMobile v2:01 firmware and appears to work OK.
If I ifconfig the card in adhoc mode, it finds the SSID of my wireless LAN
(without me having to specify it!!). On my other machine - a Windows ME box,
the driver indicates the cards are linked and see's the MAC address of the
other card. Ethernet Conversion mode on the Windows box is 'Encapsulated'
but I have options for 802.1h and RFC1042 (neither of which work any better.
>From reading the OBSD driver source code, it seems to simply encapsulate the
packets.
The OBSD box is set up on 192.168.0.2/255.255.255.0 and the windows box on
192.168.0.1/255.255.255.0.
If I ping the Windows box from the OBSD box, it tells me the host is down -
then changes to 'No buffer space available' once the drivers send buffer
fills. This seems to suggest to me it's having bother sending anything.
If I ping the OBSD box from windows, it also reports that the host is down
(as you'd expect). However, if I run a tcp dump on awi0 on the OBSD box, I
see 'arp who-has 192.168.0.2 tell 192.168.0.1'. I also see some NetBIOS
broadcast traffic and some broadcast udp. Interestingly enough, if I run
dhclient on the BSD box, I see bootp broadcast traffic coming back. All the
time though, I get 'No buffer space available' messages.
Looks very much like it can receive data but not send, for some reason.
I guess next step is to run OBSD on the server (the Windows box) as well and
tcpdump to see if it's receiving anything from the client.
Is there anyone who has experimented with using Zoom Air 4000 2meg cards on
OBSD? Anyone else who's using the awi driver with other cards who can share
any information?
dmesg attached below
--
Ian Cass
www.knowledge.com
The laptop is a Sony Vaio PCG-505G btw.
OpenBSD 2.8 (DEFENDER) #3: Thu Jan 25 19:56:45 GMT 2001
root@defender:/usr/src/sys/arch/i386/compile/DEFENDER
cpu0: F00F bug workaround installed
cpu0: Intel Pentium/MMX (Tillamook) ("GenuineIntel" 586-class) 199 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem = 66629632 (65068K)
avail mem = 58552320 (57180K)
using 838 buffers containing 3432448 bytes (3352K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(b2) BIOS, date 06/26/98, BIOS32 rev. 0 @ 0xfd7f0
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high, charging, estimated 3:00 hours
pcibios0 at bios0: rev. 2.1 found at 0xfd7f0[0x810]
pcibios0: PCI IRQ Routing Table rev. 1.0 found at 0xfdf80, size 96 bytes (4
entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB (Triton) PCI-ISA"
rev 0x00)
pcibios0: PCI bus #1 is the last bus
pci_addr_fixup: 000:10:0 0x1180 0x0475 new address 0x04000000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82439TX System (MTXC)" rev 0x01
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE (PIIX4)" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK8113MAT>
wd0: can use 32-bit, PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd0: 16-sector PIO, LBA, 7815MB, 16938 cyl, 15 head, 63 sec, 16006410
sectors
pciide0: channel 0 interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data
transfers)
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB (PIIX4)" rev 0x01: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power Management (PIIX4)" rev 0x02 at pci0 dev 7 function 3
not configured
"Neomagic Magicgraph NM2160" rev 0x01 at pci0 dev 8 function 0 not
configured
cbb0 at pci0 dev 10 function 0 "Ricoh 5C475 PCI-CardBus" rev 0x00
isa0 at pcib0
isadma0 at isa0
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
midi0 at sb0: <SB MIDI UART>
audio0 at sb0
opl0 at sb0: model OPL3
midi1 at opl0: <SB Yamaha OPL3>
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
midi2 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom2: irq 5 already in use
vt0 at isa0 port 0x60/16 irq 1: vga 80 col, color, 8 scr, mf2-kbd
pms0 at vt0 irq 12
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
cbb0: irq 9
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
biomask 4240 netmask 4240 ttymask 5242
pctr: 586-class performance counters and user-level cycle counter enabled
swdt: Software Watchdog Timer
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
awi0 at pcmcia0 function 0 "Zoom, Air-4000, ": Zoom Air 4000
awi0: IEEE802.11 DS 2Mbps (firmware PCnetMobile:v2.01 101498 API205)
awi0: address 00:40:36:01:6c:5c
awi0: could not run DAD, driver problem?