Subject: Re: wi0 and cheapo cards
To: Peter Seebach <seebs@plethora.net>
From: Ed Gould <ed@left.wing.org>
List: port-i386
Date: 12/17/2000 21:21:03
This looks like the same problem I reported in port-i386/11642. There are a
few dmesg outputs there as well.
> In message <4.3.2.7.2.20001217165925.02276548@3am-software.com>, Matt Thomas
> wr
> ites:
> >At 06:49 PM 12/17/2000 -0600, Peter Seebach wrote:
> >>So, I have the option of trying to get this to work with either D-Link or
> >>Linksys cards. Both drivers find the card, claim they can't initialize it,
> >>can't find a MAC address, and end up not configuring. Anyone tried to make
> >>this work? Both cards are believed to be Intersil PRISIM II chipsets.
> >
> >dmesg output would be helpful. But it sounds like there's not enough I/O
> >space in the range assigned to the card.
>
> Hmm. There's 64k, or at least, the laptop is fine with a ray0. :) This
> is a weird laptop which doesn't really have BIOS setup. I'm using cardbus,
> if it matters.
>
> Here's my dmesg stuff. This machine just supped earlier today, and I nuked
> the compile directory before building.
>
> The card info all looks consistent with the comments in if_wi.c, down
> to the "01.02" version number.
>
> Note that the two "wi0" probes you see in this output are from "different"
> cards. :)
>
> NetBSD 1.5.1_ALPHA (GED) #0: Sun Dec 17 19:04:47 CST 2000
> root@ged.plethora.net:/usr/src/sys/arch/i386/compile/GED
> cpu0: Intel Pentium II (Deschutes) (686-class)
> total memory = 97728 KB
> avail memory = 87700 KB
> using 1247 buffers containing 4988 KB of memory
> biostramp installed @ 1000
> BIOS32 rev. 0 found at 0xfd820
> PCI BIOS rev. 2.1 found at 0xfd880
> pcibios: config mechanism [1][x], special cycles [1][x], last bus 0
> PCI IRQ Routing Table rev. 1.0 found at 0xfafd0, size 96 bytes (4 entries)
> PCI Interrupt Router at 000:06:0
> PCI Exclusive IRQs: 11
> ------------------------------------------
> device vendor product pin PIRQ IRQ stage
> ------------------------------------------
> 000:02:0 0x104c 0xac16 A 0x00 11 0 already assigned
> 000:02:1 0x104c 0xac16 B 0x01 11 0 already assigned
> 000:03:0 0x10c8 0x0005 A 0x00 11 0 already assigned
> 000:06:2 0x8086 0x7112 D 0x03 11 0 already assigned
> ------------------------------------------
> PCI bridge 0: primary 0, secondary 1, subordinate 1
> PCI bridge 1: primary 0, secondary 2, subordinate 2
> PCI bus #2 is the last bus
> mainbus0 (root)
> pnpbios0 at mainbus0: nodes 19, max len 329
> pnpbios0: not docked
> pckbc1 at pnpbios0 index 5 (PNP0303): kbd port
> pckbc2 at pnpbios0 index 6 (IBM3781, attached as PNP0F13): aux port
> pckbd0 at pckbc1 (kbd slot)
> pckbc1: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard
> pms0 at pckbc1 (aux slot)
> pckbc1: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> fdc1 at pnpbios0 index 8 (PNP0700)
> fdc1: unable to map CTL I/O space
> lpt0 at pnpbios0 index 11 (PNP0400)
> lpt0: io 3bc-3bf, irq 7
> com0 at pnpbios0 index 13 (PNP0501)
> com0: io 3f8-3ff, irq 4
> com0: ns16550a, working fifo
> wss0 at pnpbios0 index 14 (CSC0000)
> wss0: io 530-537 388-38b 220-233, irq 5, dma 1 0
> wss0: CS4237B
> audio0 at wss0: full duplex, mmap
> opl0 at wss0: model OPL3
> midi0 at opl0: WSS Yamaha OPL3
> com1 at pnpbios0 index 19 (IBM0071, attached as PNP0511)
> com1: io 2f8-2ff, irq 3, dma 3
> com1: ns16550a, working fifo
> pci0 at mainbus0 bus 0: configuration mode 1
> pci0: i/o space, memory space enabled
> pchb0 at pci0 dev 0 function 0
> pchb0: Intel 82443BX Host Bridge/Controller (AGP disabled) (rev. 0x02)
> cbb0 at pci0 dev 2 function 0: Texas Instruments PCI1250 PCI-CardBus Bridge (
> rev. 0x02)
> cbb1 at pci0 dev 2 function 1: Texas Instruments PCI1250 PCI-CardBus Bridge (
> rev. 0x02)
> vga0 at pci0 dev 3 function 0: Neomagic MagicMedia 256AV VGA (rev. 0x20)
> wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0
> pcib0 at pci0 dev 6 function 0
> pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
> pciide0 at pci0 dev 6 function 1: Intel 82371AB IDE controller (PIIX4) (rev.
> 0x01)
> pciide0: bus-master DMA support present
> pciide0: primary channel wired to compatibility mode
> atapibus0 at pciide0 channel 0
> cd0 at atapibus0 drive 1: <TOSHIBA CD-ROM XM-1702BC, \134377\134377\134377\13
> 4377, 1564> type 5 cdrom removable
> cd0: 32-bit data port
> cd0: drive supports PIO mode 4, DMA mode 2
> wd0 at pciide0 channel 0 drive 0: <IBM-DADA-26480>
> wd0: drive supports 16-sector pio transfers, lba addressing
> wd0: 6194 MB, 13424 cyl, 15 head, 63 sec, 512 bytes/sect x 12685680 sectors
> wd0: 32-bit data port
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
> pciide0: primary channel interrupting at irq 14
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfer
> s)
> cd0(pciide0:0:1): using PIO mode 4, DMA mode 2 (using DMA data transfers)
> pciide0: secondary channel wired to compatibility mode
> pciide0: secondary channel ignored (disabled)
> uhci0 at pci0 dev 6 function 2: Intel 82371AB USB Host Controller (PIIX4) (re
> v. 0x01)
> uhci0: interrupting at irq 11
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel 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 Controller (PIIX4) (miscellaneous bridge, revi
> sion 0x02) at pci0 dev 6 function 3 not configured
> cbb0: interrupting at irq 11
> cbb0: cacheline 0x8 lattimer 0xb0
> cbb0: bhlc 0x82a808 lscp 0xb0010100
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 1 device 0 cacheline 0x8, lattimer 0xb0
> pcmcia0 at cardslot0
> cbb1: interrupting at irq 11
> cbb1: cacheline 0x8 lattimer 0xb0
> cbb1: bhlc 0x82a808 lscp 0xb0020200
> cardslot1 at cbb1 slot 1 flags 0
> cardbus1 at cardslot1: bus 2 device 0 cacheline 0x8, lattimer 0xb0
> pcmcia1 at cardslot1
> isa0 at pcib0
> pcppi0 at isa0 port 0x61
> midi1 at pcppi0: PC speaker
> spkr0 at pcppi0
> sysbeep0 at pcppi0
> npx0 at isa0 port 0xf0-0xff: using exception 16
> apm0 at mainbus0: Power Management spec V1.2
> apm: 1 batteries, global standby, global suspend, rtimer suspend, internal st
> andby, pccard standby
> biomask ef45 netmask ef45 ttymask ffc7
> pcmcia0: CIS version PC Card Standard 5.0
> pcmcia0: CIS info: Instant Wireless , Network PC CARD, Version 01.02,
> pcmcia0: Manufacturer code 0x156, product 0x2
> pcmcia0: function 0: network adapter, ccr addr 3e0 mask 1
> pcmcia0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 6,
> iospace 0-3f; io16 irqpulse irqlevel
> wi0 at pcmcia0 function 0wi0: init failed
> : could not get mac address, attach failed
> boot device: wd0
> root on wd0a dumps on wd0b
> init: copying out path `/sbin/init' 11
> wsdisplay0: screen 1 added (80x25, vt100 emulation)
> wsdisplay0: screen 2 added (80x25, vt100 emulation)
> wsdisplay0: screen 3 added (80x50, vt100 emulation)
> wsmux1: connecting to wsdisplay0
> wi0 detached
> pcmcia1: CIS version PC Card Standard 5.0
> pcmcia1: CIS info: D, Link DWL-650 11Mbps WLAN Card, Version 01.02,
> pcmcia1: Manufacturer code 0x156, product 0x2
> pcmcia1: function 0: network adapter, ccr addr 3e0 mask 1
> pcmcia1: function 0, config table entry 1: I/O card; irq mask ffff; iomask 6,
> iospace 0-3f; io16 irqpulse irqlevel
> wi0 at pcmcia1 function 0wi0: init failed
> : could not get mac address, attach failed
> wi0 detached
> pcmcia1: CIS version PCMCIA 2.0 or 2.1
> pcmcia1: CIS info: WebGear, PC Card WLAN Adapter, Version 4.88 Jan 1999
> pcmcia1: Manufacturer code 0x1a6, product 0x0
> pcmcia1: function 0: network adapter, ccr addr f00 mask b
> pcmcia1: function 0, config table entry 1: I/O card; irq mask ffb8; memspace
> 0-bfff; mwait_required irqlevel
> ray0 at pcmcia1 function 0: WebGear, PC Card WLAN Adapter, Version 4.88 Jan 1
> 999
> ray0: firmware version 85
> ray0: 802.11 address 00:00:f1:11:5d:32
> ray0 detached
> pcmcia1: CIS version PCMCIA 2.0 or 2.1
> pcmcia1: CIS info: WebGear, PC Card WLAN Adapter, Version 4.88 Jan 1999
> pcmcia1: Manufacturer code 0x1a6, product 0x0
> pcmcia1: function 0: network adapter, ccr addr f00 mask b
> pcmcia1: function 0, config table entry 1: I/O card; irq mask ffb8; memspace
> 0-bfff; mwait_required irqlevel
> ray0 at pcmcia1 function 0: WebGear, PC Card WLAN Adapter, Version 4.88 Jan 1
> 999
> ray0: firmware version 85
> ray0: 802.11 address 00:00:f1:11:5d:32
>
> -s
--Ed