From nobody@FreeBSD.org  Tue Feb 17 11:44:40 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C5B111065672
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 17 Feb 2009 11:44:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id B411C8FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 17 Feb 2009 11:44:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1HBieTl087129
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 17 Feb 2009 11:44:40 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n1HBieTV087128;
	Tue, 17 Feb 2009 11:44:40 GMT
	(envelope-from nobody)
Message-Id: <200902171144.n1HBieTV087128@www.freebsd.org>
Date: Tue, 17 Feb 2009 11:44:40 GMT
From: Adam Kirchhoff <adamk@voicenet.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: wi driver fails to init
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         131776
>Category:       kern
>Synopsis:       [wi] driver fails to init
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-net
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 17 11:50:01 UTC 2009
>Closed-Date:    
>Last-Modified:  Wed Feb 18 22:28:27 UTC 2009
>Originator:     Adam Kirchhoff
>Release:        -STABLE
>Organization:
>Environment:
FreeBSD scroll 7.1-STABLE FreeBSD 7.1-STABLE #4: Mon Feb 16 16:37:18 EST 2009     root@scroll:/usr/obj/usr/src/sys/GENERIC  i386

>Description:

In an attempt to find some wireless network card that would work with the AP at my work (see http://www.freebsd.org/cgi/query-pr.cgi?pr=131153 and http://www.freebsd.org/cgi/query-pr.cgi?pr=131162 ) I tried an old D-Link DCF-650W.

It shows up as:

wi0: <D-Link DCF-650W> at port 0x100-0x13f irq 19 function 0 config 1 on pccard0
wi0: [ITHREAD]
wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A
wi0: Intersil Firmware: Primary (0.3.0), Station (0.8.3)
wi0: Ethernet address: 00:05:5d:f9:aa:51

Unfortunately, the driver starts throwing errors when trying to bring up the device:

wi0: timeout in wi_cmd 0x0002; event status 0x8000
wi0: wi_cmd: busy bit won't clear.
wi0: init failed
wi0: failed to allocate 2372 bytes on NIC
wi0: tx buffer allocation failed (error 12)
wi0: interface not running
wi0: timeout in wi_cmd 0x0021; event status 0x8000

When trying to get ifconfig to list all networks in the area, I get "ifconfig: unable to get scan results".

And the output of 'pciconf -vl':

hostb0@pci0:0:0:0:	class=0x060000 card=0x01821028 chip=0x25908086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '915GM Mobile Intel(R) 915GM/PM/GMS/910GML Express Processor to DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:	class=0x030000 card=0x01821028 chip=0x25928086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82915GM/GMS, 82910GML Integrated Graphics Device'
    class      = display
    subclass   = VGA
vgapci1@pci0:0:2:1:	class=0x038000 card=0x01821028 chip=0x27928086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 82915GLx/x/x Mobile Intel(R) 915GM/GMS/, 910GML Express Chipset Family'
    class      = display
pcib1@pci0:0:28:0:	class=0x060400 card=0x00000000 chip=0x26608086 rev=0x03 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801FB/FR/FW/FRW PCI Express Port 1'
    class      = bridge
    subclass   = PCI-PCI
uhci0@pci0:0:29:0:	class=0x0c0300 card=0x01821028 chip=0x26588086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FR/FW/FRW USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci1@pci0:0:29:1:	class=0x0c0300 card=0x01821028 chip=0x26598086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FR/FW/FRW USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci2@pci0:0:29:2:	class=0x0c0300 card=0x01821028 chip=0x265a8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FR/FW/FRW USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci3@pci0:0:29:3:	class=0x0c0300 card=0x01821028 chip=0x265b8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FR/FW/FRW USB UHCI Controller'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:29:7:	class=0x0c0320 card=0x01821028 chip=0x265c8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FR/FW/FRW USB 2.0 EHCI Controller'
    class      = serial bus
    subclass   = USB
pcib2@pci0:0:30:0:	class=0x060401 card=0x01821028 chip=0x24488086 rev=0xd3 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
pcm0@pci0:0:30:2:	class=0x040100 card=0x01821028 chip=0x266e8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Intel Corporation  82830M/MG SDRAM Controller / Ho AC '97 Audio Controller/ Sigmatel (SoundMAX Integrated Digital Audio)'
    class      = multimedia
    subclass   = audio
isab0@pci0:0:31:0:	class=0x060100 card=0x01821028 chip=0x26418086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FBM LPC Interface Bridge (ICH6-M)'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:31:2:	class=0x010180 card=0x01821028 chip=0x26538086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FBM (ICH6M) SATA Controller'
    class      = mass storage
    subclass   = ATA
none0@pci0:0:31:3:	class=0x0c0500 card=0x01821028 chip=0x266a8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB (ICH6) SMBus Controller'
    class      = serial bus
    subclass   = SMBus
bge0@pci0:2:0:0:	class=0x020000 card=0x01821028 chip=0x167714e4 rev=0x01 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'BCM5750A1 NetXtreme Gigabit Ethernet PCI Express'
    class      = network
    subclass   = ethernet
cbb0@pci0:3:1:0:	class=0x060700 card=0x01821028 chip=0x8036104c rev=0x00 hdr=0x02
    vendor     = 'Texas Instruments (TI)'
    class      = bridge
    subclass   = PCI-CardBus
none1@pci0:3:1:5:	class=0x078000 card=0x01821028 chip=0x8038104c rev=0x00 hdr=0x00
    vendor     = 'Texas Instruments (TI)'
    device     = 'ff101179 GemCore based SmartCard controller'
    class      = simple comms
iwi0@pci0:3:3:0:	class=0x028000 card=0x27518086 chip=0x42208086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'MPCI3B  driverIntel PRO/Wireless 2200BG'
    class      = network

>How-To-Repeat:

Install 7.1 on a latitude D610.  Upgrade to -STABLE.  Insert D-Link card and try to bring up the device.

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-net 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Wed Feb 18 22:25:55 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131776 
>Unformatted:
