From owner-freebsd-bugs@FreeBSD.ORG Sun Mar 14 00:50:02 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F07E1065670 for ; Sun, 14 Mar 2010 00:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F08928FC12 for ; Sun, 14 Mar 2010 00:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2E0o1h3088305 for ; Sun, 14 Mar 2010 00:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2E0o1CL088304; Sun, 14 Mar 2010 00:50:01 GMT (envelope-from gnats) Resent-Date: Sun, 14 Mar 2010 00:50:01 GMT Resent-Message-Id: <201003140050.o2E0o1CL088304@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joe Marcus Clarke Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 866311065670 for ; Sun, 14 Mar 2010 00:42:57 +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 761488FC18 for ; Sun, 14 Mar 2010 00:42:57 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o2E0gvRC018696 for ; Sun, 14 Mar 2010 00:42:57 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o2E0gv9C018695; Sun, 14 Mar 2010 00:42:57 GMT (envelope-from nobody) Message-Id: <201003140042.o2E0gv9C018695@www.freebsd.org> Date: Sun, 14 Mar 2010 00:42:57 GMT From: Joe Marcus Clarke To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/144724: if_bwn does not pass traffic when in PIO mode X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2010 00:50:02 -0000 >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: