From owner-freebsd-wireless@FreeBSD.ORG Sun Mar 31 22:25:34 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1F3F4B9; Sun, 31 Mar 2013 22:25:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gg0-x22c.google.com (mail-gg0-x22c.google.com [IPv6:2607:f8b0:4002:c02::22c]) by mx1.freebsd.org (Postfix) with ESMTP id CA3A9355; Sun, 31 Mar 2013 22:25:33 +0000 (UTC) Received: by mail-gg0-f172.google.com with SMTP id f4so296425ggn.31 for ; Sun, 31 Mar 2013 15:25:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:to:cc:reply-to:subject:in-reply-to :x-mailer:mime-version:content-type; bh=fXE4wN77tC0UqtaoyGcS4bQo/dDamLcduwKllUrabDQ=; b=I6ibjaYJADM27c4QoVrO+qRNB/H2wWxFEYo0PR3WbRRigFgS/usFwb6saIzTpDlkRF F9Zqc4W4fYtCokqHCaNZ7TSR0i/jpVvrIArTxsWUh1JTB9rgrDymP/JF1P1XT44hTS6V WevuE397pXjQUdUGXnvU+Pl+zmdB/PGPguh+xkDzJBrSES46jbR6tzqA5fE8rX4A/jB7 G/VA2N4A33V5VV2ZobHa6LjHXWD1+Bp7OIlCXnlSK3Qx1Gq1A4/ZNl/im06nNAnmtoEF C89EROICnXaWddLQtIpnox/seUTorTL8Mn+t/knJSgC86/Tzyf1hgKlg9IsW1Ur+svaF qAqg== X-Received: by 10.236.116.33 with SMTP id f21mr7560538yhh.130.1364768732442; Sun, 31 Mar 2013 15:25:32 -0700 (PDT) Received: from www.palm.com ([107.225.197.182]) by mx.google.com with ESMTPS id t9sm22047068yhh.0.2013.03.31.15.25.28 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 31 Mar 2013 15:25:31 -0700 (PDT) Message-ID: <5158b7db.897aec0a.42d0.ffffaac4@mx.google.com> Date: Sun, 31 Mar 2013 18:24:28 -0400 From: "Adrian Chadd" To: "Joshua Isom" , "Adrian Chadd" Subject: Re: ath not working after a motherboard and ram upgrade In-Reply-To: <515892C4.1060002@gmail.com> X-Mailer: Palm webOS v1.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Adrian Chadd 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: Sun, 31 Mar 2013 22:25:34 -0000 The problem isn't contigmalloc, it's making sure that it gets bounced via= the local 32 bits of address space right. I'll talk with other developers and see what the deal is with 64 bit addres= s space for 32 bit nics. Thanks, Adrian Sent from my Palm Pre on AT&T On Mar 31, 2013 3:47 PM, Joshua Isom <jrisom@gmail.com> wrote:=20 From if_ath.c:2995: "For some situations (eg EDMA TX completion),=20 there isn't a requirement for the ath_buf entries to be allocated." The EDMA code uses malloc, but would contigmalloc work instead? On 3/31/2013 1:38 PM, Adrian Chadd wrote: > On 31 March 2013 10:49, Joshua Isom <jrisom@gmail.com> wrote: >> I seems someone working on the kernel's already figured out how to= deal with >> this. The hw.physmem sysctl can be set at boot time, with 2Gb it= seems to >> be working fine. I reinstalled all the sticks, and it's working= fine with >> the sysctl set to 2Gb. > > Ooooooo Yay! I mean, damn, that's busted. But yay, now we can narrow > down what the problem is! > > Try bumping it to 4GB. It should be fine at that. > > If it is, please create a PR with all the above information and I'll > start re-reviewing the DMA / buffer code to see what's going on. > > Thanks! > > > > > Adrian >