From owner-freebsd-wireless@FreeBSD.ORG Mon Oct 3 04:44:11 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CDB1106564A; Mon, 3 Oct 2011 04:44:11 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 06B868FC0C; Mon, 3 Oct 2011 04:44:10 +0000 (UTC) Received: by iadk27 with SMTP id k27so6718083iad.13 for ; Sun, 02 Oct 2011 21:44:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=aaQXHQK1IXyJGmSotI6X4RbSzpyeKI9Y4JBB0uJk+18=; b=QiPsAcqYmtmPbBQ6P5J1DjmxI1t8YGMYHBOfmvPiQxy29Pspl7IQR8O11jnOPP9gBR bBhj2WW3jz7fw1uLcbYRcI9T6QMi4sxzYVmv8iPHalQ8t/rQB+dXJ/iDmQBy4/L7KDbo Xp8IEPVrqJ4a6zJ9Nf8rSB7hOd6tzotEQ8BLo= Received: by 10.42.132.74 with SMTP id c10mr6944716ict.57.1317617050466; Sun, 02 Oct 2011 21:44:10 -0700 (PDT) Received: from reemsky ([12.204.99.170]) by mx.google.com with ESMTPS id g16sm26678346ibs.8.2011.10.02.21.44.08 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 02 Oct 2011 21:44:09 -0700 (PDT) Sender: Roman Bogorodskiy Date: Sun, 2 Oct 2011 21:43:51 -0700 From: Roman Bogorodskiy To: Adrian Chadd Message-ID: <20111003044350.GD1943@reemsky> References: <20111002232848.GA1943@reemsky> <20111003024406.GC1943@reemsky> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pY3vCvL1qV+PayAL" Content-Disposition: inline In-Reply-To: <20111003024406.GC1943@reemsky> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-wireless@freebsd.org Subject: Re: bwn + BETA3/ppc = very unstable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2011 04:44:11 -0000 --pY3vCvL1qV+PayAL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Roman Bogorodskiy wrote: > Adrian Chadd wrote: >=20 > > There've been a few comments about bwn stability and performance when > > running on ppc. > > Unfortunately I don't have any ppc hardware that's suitable. > >=20 > > The performance issue is likely due to endianness in some eeprom fiddli= ng code. > >=20 > > The illegal instruction? i'm not sure; can you please get a backtrace > > from the debugger so we can see exactly where it's dying? >=20 > Thanks for the info! >=20 > I will try to get a backtrace. >=20 > Unfortunately, keyboard for some reason stops working when kernel > crashes, so I cannot get it online and also there's nothing in > /var/crash (but it seems dumpdev and dumpdir are set correctly by > default), so will need to figure out how to do it. >=20 > Roman Bogorodskiy Hm, I have applied a fix similar to this one: http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/ic/bwi.c.diff?r1=3D1.88;r= 2=3D1.89 I'm not sure if it's a coincidence or not, but I had no panics since then. Packet loss rate are still very high - first packets go through without losses, but eventually loss rate goes up. Now uptime is 1 hour and loss rate is about 80-85%. Any directions how can I debug this? Roman Bogorodskiy --pY3vCvL1qV+PayAL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJOiT2GAAoJEMltX/4IwiJq6qkIAIQf13hGfGDsQaTl5ZEbrquX PgKCFI9MagibWZEmZRQVof0mYJGM7DEM7ujLQch2krC97dW5mI/bctw5pPvC0ePW fY1oCrRhefmInvlbIT0RX6MWoKPp2t5S59e0fs2FKEZY0AMXoL83prn3dTv2IlSF +30rjFKKMuz2avRb4bSr+yF4U7FXihGD+JFBS1k2fdHrCCaZbrpvbSmlPZbxOGI7 D1ezwyBqP+O1iy76tXpKA8jK4YMRA8nVcWC0Xd7bUYCgKLgQjl6m05BfgCpVMH70 hJI2s4lw1KWecha18X/Flt2ri0TQlRJk4Pbm9c8uZtgaEnPtWtpcgqBzY7f8NlE= =yg/8 -----END PGP SIGNATURE----- --pY3vCvL1qV+PayAL--