Date: 02 Jun 2001 15:34:01 -0400 From: Allan Strand <stranda@cofc.edu> To: freebsd-questions@freebsd.org Subject: troubles with D-link dwl-650 wireless NIC Message-ID: <86itiek76e.fsf@linum.cofc.edu>
next in thread | raw e-mail | index | archive | help
Hi all,
I have a desktop machine into which I am trying to install a D-link 650
wireless NIC. This is a PCMCIA card, so it is attached to the PCI
bus via a PCI-PCMCIA bridge that D-link provides. The bridge is
recognized. pccardd recognizes that a card exists in the slot. It
also seems to find the appropriate entry in /etc/defaults/pccard.conf.
The configuration always exits and complains that it cannot find the
MAC address.
I can use pccardc and examine the tuples stored in the CIS, so I know
that some communication is occurring between card and bus.
Below I have included output from dmesg, the dumpcis from pccardc, and
the entry in my version of pccard.conf. The system is a K-6 p450
running a stable 4.x cvsupped on 6/1/01.
Can anyone shed some light?
dmesg output->
===============================================================
Copyright (c) 1992-2001 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 4.3-STABLE #1: Fri Jun 1 16:28:39 EDT 2001
root@linum.cofc.edu:/usr/obj/usr/src/sys/LINUM40
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 501137426 Hz
CPU: AMD-K6(tm) 3D processor (501.14-MHz 586-class CPU)
Origin = "AuthenticAMD" Id = 0x58c Stepping = 12
Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
AMD Features=0x80000800<SYSCALL,3DNow!>
real memory = 134201344 (131056K bytes)
avail memory = 127164416 (124184K bytes)
Preloaded elf kernel "kernel" at 0xc0375000.
K6-family MTRR support enabled (2 registers)
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <AcerLabs M5243 PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mach64-GB graphics accelerator> at 0.0 irq 11
chip1: <AcerLabs M15x3 Power Management Unit> at device 3.0 on pci0
isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xb800-0xb83f irq 5 at device 10.0 on pci0
xl0: Ethernet address: 00:10:4b:95:5d:16
miibus0: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcic-pci0: <Ricoh RL5C475 PCI-CardBus Bridge> irq 12 at device 11.0 on pci0
atapci0: <AcerLabs Aladdin ATA33 controller> port 0xb400-0xb40f irq 0 at device 15.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
pcic0: <Intel i82365> at port 0x3e0 iomem 0xd0000 irq 10 on isa0
pcic0: management irq 10
pccard0: <PC Card bus -- kludge version> on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/7 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sbc0: <Creative ViBRA16C> at port 0x220-0x22f,0x300-0x301,0x388-0x38b irq 9 drq 1,5 on isa0
pcm0: <SB16 DSP 4.13> on sbc0
unknown: <PNP0401> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0000> can't assign resources
unknown: <PNP0303> can't assign resources
ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
ad0: 8056MB <ST38421A> [16368/16/63] at ata0-master UDMA33
pccard: card inserted, slot 0
ad1: 9671MB <WDC AC310100B> [19650/16/63] at ata0-slave UDMA33
no devsw (majdev=0 bootdev=0xa0200000)
Mounting root from ufs:/dev/ad0s1a
ad1: UDMA ICRC error reading fsbn 0 (ad1 bn 0; cn 0 tn 0 sn 0) retrying
ad1: UDMA ICRC error reading fsbn 0 (ad1 bn 0; cn 0 tn 0 sn 0) retrying
ad1: UDMA ICRC error reading fsbn 0 (ad1 bn 0; cn 0 tn 0 sn 0) retrying
ad1: UDMA ICRC error reading fsbn 0 (ad1 bn 0; cn 0 tn 0 sn 0) falling back to PIO mode
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled
wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 11 slot 0 on pccard0
wi0: mac read failed 5
device_probe_and_attach: wi0 attach returned 5
================================================
pccardc output->
================================================
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
000: 00 00 ff
Common memory device information:
Device number 1, type No device, WPS = OFF
Speed = No speed, Memory block size = 512b, 1 units
Tuple #2, code = 0x17 (Attribute memory descriptor), length = 4
000: 67 5a 08 ff
Attribute memory device information:
Device number 1, type SRAM, WPS = OFF
Speed = 5.0 x 100 ns, Memory block size = 512b, 2 units
Tuple #3, code = 0x1d (Other conditions for attribute memory), length = 5
000: 03 67 5a 08 ff
(MWAIT) (3V card)
Tuple #4, code = 0x15 (Version 1 info), length = 80
000: 05 00 44 00 4c 69 6e 6b 20 44 57 4c 2d 36 35 30
010: 20 31 31 4d 62 70 73 20 57 4c 41 4e 20 43 61 72
020: 64 00 56 65 72 73 69 6f 6e 20 30 31 2e 30 32 00
030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff
Version = 5.0, Manuf = [D], card vers = [Link DWL-650 11Mbps WLAN Card]
Addit. info = [Version 01.02],[]
Tuple #5, code = 0x20 (Manufacturer ID), length = 4
000: 56 01 02 00
PCMCIA ID = 0x156, OEM ID = 0x2
Tuple #6, code = 0x21 (Functional ID), length = 2
000: 06 00
Network/LAN adapter
Tuple #7, code = 0x22 (Functional EXT), length = 2
000: 01 07
Network technology: Wireless
Tuple #8, code = 0x22 (Functional EXT), length = 5
000: 02 40 42 0f 00
Network speed: 1 Mb/sec
Tuple #9, code = 0x22 (Functional EXT), length = 5
000: 02 80 84 1e 00
Network speed: 2 Mb/sec
Tuple #10, code = 0x22 (Functional EXT), length = 5
000: 02 60 ec 53 00
Network speed: 5 Mb/sec
Tuple #11, code = 0x22 (Functional EXT), length = 5
000: 02 c0 d8 a7 00
Network speed: 11 Mb/sec
Tuple #12, code = 0x22 (Functional EXT), length = 2
000: 03 07
Network media: 2.4 GHz
Tuple #13, code = 0x22 (Functional EXT), length = 8
000: 04 06 00 05 5d f1 26 ac
Network node ID: 00 05 5d f1 26 ac
Tuple #14, code = 0x22 (Functional EXT), length = 2
000: 05 01
Network connector: closed connector standard
Tuple #15, code = 0x1a (Configuration map), length = 7
000: 03 01 e0 03 00 00 01
Reg len = 4, config register addr = 0x3e0, last config = 0x1
Registers: X-------
Tuple #16, code = 0x1b (Configuration entry), length = 16
000: c1 01 19 77 b5 1e 35 b5 3c 36 36 05 46 7f ff ff
Config index = 0x1(default)
Interface byte = 0x1 (I/O)
Vcc pwr:
Nominal operating supply voltage: 3 x 1V, ext = 0x1e
Minimum operating supply voltage: 3 x 1V
Maximum operating supply voltage: 3 x 1V, ext = 0x3c
Max current average over 1 second: 3 x 100mA
Max current average over 10 ms: 3 x 100mA
Power down supply current: 1 x 10mA
Card decodes 6 address lines, limited 8/16 Bit I/O
IRQ modes: Level, Pulse
IRQs: NMI IOCK BERR VEND 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Tuple #17, code = 0xff (Terminator), length = 0
1 slots found
=======================================================
entry from pccard.conf ->
========================================================
# D Link DWL-650 11Mbps WLAN Card
card "D" "Link DWL-650 11Mbps WLAN Card"
config auto "wi" ? 0x10000
insert /etc/pccard_ether $device start
remove /etc/pccard_ether $device stop
=======================================================
Thanks,
a.
--
Allan
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86itiek76e.fsf>
