From owner-freebsd-questions@FreeBSD.ORG Mon Jan 7 02:29:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00ACE16A417 for ; Mon, 7 Jan 2008 02:29:59 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by mx1.freebsd.org (Postfix) with ESMTP id 819A013C45A for ; Mon, 7 Jan 2008 02:29:58 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq4HAAIZgUd5LTV8/2dsb2JhbACBV6R6 X-IronPort-AV: E=Sophos;i="4.24,251,1196602200"; d="scan'208";a="30438376" Received: from ppp121-45-53-124.lns11.adl2.internode.on.net (HELO mail.clearchain.com) ([121.45.53.124]) by ipmail05.adl2.internode.on.net with ESMTP; 07 Jan 2008 12:44:46 +1030 Received: from benjamin-closes-powerbook-g4-12.local (wcl.ml.unisa.edu.au [130.220.166.5]) (authenticated bits=0) by mail.clearchain.com (8.13.8/8.13.8) with ESMTP id m072EbK5055770 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 Jan 2008 12:44:44 +1030 (CST) (envelope-from Benjamin.Close@clearchain.com) Message-ID: <47818BED.1000701@clearchain.com> Date: Mon, 07 Jan 2008 12:48:21 +1030 From: Benjamin Close User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: vittorio References: <200801061852.29274.vdemart1@tin.it> In-Reply-To: <200801061852.29274.vdemart1@tin.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on pegasus.clearchain.com X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (mail.clearchain.com [192.168.154.1]); Mon, 07 Jan 2008 12:44:44 +1030 (CST) Cc: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: wpi error: bus_dmamem_alloc failed to align memory properly X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2008 02:29:59 -0000 vittorio wrote: > Context: HP laptop DV6000, centrino duo, FreeBSD 7.0-BETA4 > When loading if_wpi I get the following line saying that "bus_dmamem_alloc > failed to align memory properly" > > wpi0: mem 0xd8000000-0xd8000fff irq 16 at > device 0.0 on pci2 > bus_dmamem_alloc failed to align memory properly. > last message repeated 30 times > wpi0: Ethernet address: 00:19:d2:99:e3:cb > wpi0: [ITHREAD] > wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps > wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps > 36Mbps 48Mbps 54 > > > Therefore I'm unable to make wpi0 work at all. > > Could you please tell me what should I do? > > Ciao, Vittorio > > The bus_dmamem_alloc message is harmless in your case. Due to limitations in the freebsd allocator, sometimes requesting a 16k aligned block of dma memory fails. As a temporary work around the wpi driver reattempts the allocation. If it truely does fail you'll not get a wpi0 device showing up, which clearly you did :). These warning messages will go away when I sync the next lot of updates to the driver which aren't quite ready yet. Can you describe a little more what you mean by wpi doesn't work? Cheers, Benjamin wpi driver maintainer