Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2010 00:42:57 GMT
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/144724: if_bwn does not pass traffic when in PIO mode
Message-ID:  <201003140042.o2E0gv9C018695@www.freebsd.org>
Resent-Message-ID: <201003140050.o2E0o1CL088304@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         144724
>Category:       kern
>Synopsis:       if_bwn does not pass traffic when in PIO mode
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 14 00:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Joe Marcus Clarke
>Release:        9-CURRENT
>Organization:
>Environment:
FreeBSD 9.0-CURRENT #105: Wed Mar  3 23:37:36 EST 2010
    marcus@salami.marcuscom.com:/usr/obj/usr/src/sys/SALAMI i386
>Description:
When putting the bwn driver into PIO mode in my Dell Vostro 2510, the card associates, but does not pass traffic.

Weongyo Jeong has been looking into this, and asked me to file a PR.  Here is the link to the dmesg output when running with a debug patch.  This output is when the driver is in (working) DMA mode:

http://www.marcuscom.com/downloads/salami_dma.dmesg

This is when the driver is put into PIO mode:

http://www.marcuscom.com/downloads/salami_pio.dmesg

Note: running in DMA mode is spotty for me.  Sometimes it works, but other times, the driver enters a fatal DMA error loop, and the laptop must be rebooted (power cycled) to recover.

My card is an LP PHY card:

siba_bwn0@pci0:6:0:0:   class=0x028000 card=0x000b1028 chip=0x431514e4 rev=0x01 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'Broadcom Wireless b/g (BCM4315/BCM22062000)'
    class      = network
>How-To-Repeat:
Set hw.bwn.usedma="0" in loader.conf, then reboot.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003140042.o2E0gv9C018695>