wireless card config problem

andy at neu.net andy at neu.net
Wed Nov 17 11:23:51 PST 2004


I am trying to setup a wireless AP/gateway on FBSD 5.3 Rlease.  The
machine is an IBM Thinkpad A20m.    After
consulting the wi manpage I bought a  DLINK DWL-650.  When I insert the
card I get the following message:

wi0: <D-Link DWL-650 Wireless PC Card RevP> at port 0x200-0x27f irq 11
function 0 config 1 on pccard0
wi0: wi_cmd: busy bit won't clear.
: init failed
device_attach: wi0 attach returned 6

I searched Google and it seems there is a patch, but I did not see any
confirmation that the patch fixed the problem.  I did not try the patch to
see if it works.  I want something that works with a generic install.

So I tried another card to see if that would work, I bought a Linksys
WPC11 ver.4 (it is also on the list from man wi).  However, this did not
work either, and this is the message when the card is inserted:

cardbus0: <network, ethernet> at device 0.0 (no driver attached)
cbb0: CardBus card activation failed

I did not try to rebuild the kernel, as support is included in the GENERIC
config file.  Here are the relevent parts of the Kernel config file.

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device		cbb		# cardbus (yenta) bridge
device		pccard		# PC Card (16-bit) bus
device		cardbus		# CardBus (32-bit) bus

# Wireless NIC cards
device		wlan		# 802.11 support
device		an		# Aironet 4500/4800 802.11 wireless NICs.
device		awi		# BayStack 660 and others
device		wi		# WaveLAN/Intersil/Symbol 802.11 wireless
NICs.
#device		wl		# Older non 802.11 Wavelan wireless NIC.

Here is dmesg:
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
    root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (696.97-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3

Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 134152192 (127 MB)
avail memory = 121626624 (115 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 11 Entries> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem
0xf8000000-0xfbffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
cbb0: <TI1450 PCI-CardBus Bridge> mem 0x50000000-0x50000fff irq 11 at
device 2.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <TI1450 PCI-CardBus Bridge> mem 0x50100000-0x50100fff irq 11 at
device 2.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
fxp0: <Intel 82559ER Pro/100 Ethernet> port 0x1800-0x183f mem
0xf4100000-0xf411ffff,0xf4120000-0xf4120fff irq 11 at device 3.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:b3:04:9e:e1
pci0: <simple comms, UART> at device 3.1 (no driver attached)
pci0: <multimedia, audio> at device 5.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port
0x1850-0x185f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1860-0x187f irq 11
at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Logitech Optical USB Mouse, rev 2.00/3.40, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
cpu0 on motherboard
orm0: <ISA Option ROMs> at iomem
0xe0000-0xeffff,0xd0000-0xd17ff,0xc0000-0xcffff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x3bc-0x3c3 irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (port)
unknown: <IBM3780> can't assign resources (irq)
unknown: <PNP0680> can't assign resources (port)
unknown: <PNP0680> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
Timecounter "TSC" frequency 696973534 Hz quality 800
Timecounters tick every 10.000 msec
cardbus0: <network, ethernet> at device 0.0 (no driver attached)
cbb0: CardBus card activation failed
ad0: 11513MB <HITACHI DK23AA-12/00XDA0A1> [23392/16/63] at ata0-master
UDMA33
acd0: CDROM <CD-224E/2.7B> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a
wi0: <D-Link DWL-650 Wireless PC Card RevP> at port 0x200-0x27f irq 11
function 0 config 1 on pccard0
wi0: wi_cmd: busy bit won't clear.
: init failed

I would really appreciate feedback on the following:

1. How to configure one of the cards I have, and or documentation (I have
read all the documentation I could find)

2. A suggestion for a wireless card that is known to work in BSS mode
(Acess Point mode) to use as a base station.

TIA,

Andy


More information about the freebsd-mobile mailing list