Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:57737 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752877Ab2IHS4u (ORCPT ); Sat, 8 Sep 2012 14:56:50 -0400 Message-ID: <1347130641.11167.0.camel@jlt4.sipsolutions.net> (sfid-20120908_205654_374994_2998A2BE) Subject: Re: kernel 3.5.2/amd64: iwlwifi 0000:03:00.0: failed to allocate pci memory From: Johannes Berg To: Marc MERLIN Cc: wey-yi.w.guy@intel.com, ilw@linux.intel.com, linux-wireless@vger.kernel.org, netdev@ger.kernel.org Date: Sat, 08 Sep 2012 20:57:21 +0200 In-Reply-To: <20120908170128.GK3347@merlins.org> (sfid-20120908_190214_109241_625AC686) References: <20120908161038.GF3347@merlins.org> <1347122927.1234.849.camel@edumazet-glaptop> <20120904003014.GB6287@merlins.org> <20120908170128.GK3347@merlins.org> (sfid-20120908_190214_109241_625AC686) Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sat, 2012-09-08 at 10:01 -0700, Marc MERLIN wrote: > I realize it's likely a memory fragmentation problem, but I have 8GB and > plenty of 'free' space, so I'm hoping that somehow it can be defragmented > enough for module loading ot work? > [856806.443647] cfg80211: Calling CRDA to update world regulatory domain > [856806.448428] iwlwifi: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d > [856806.448431] iwlwifi: Copyright(c) 2003-2012 Intel Corporation > [856806.448929] cfg80211: World regulatory domain updated: > [856806.448931] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) > [856806.448933] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) > [856806.448941] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) > [856806.448942] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) > [856806.448943] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) > [856806.448945] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) > [856806.483929] iwlwifi 0000:03:00.0: pci_resource_len = 0x00002000 > [856806.483932] iwlwifi 0000:03:00.0: pci_resource_base = ffffc900057bc000 > [856806.483933] iwlwifi 0000:03:00.0: HW Revision ID = 0x3E > [856806.484004] iwlwifi 0000:03:00.0: irq 46 for MSI/MSI-X > [856806.497476] iwlwifi 0000:03:00.0: loaded firmware version 9.221.4.1 build 25532 > [856806.497944] kworker/3:0: page allocation failure: order:5, mode:0xd0 > [856806.497948] Pid: 17936, comm: kworker/3:0 Tainted: G W O 3.5.2-amd64-preempt-noide-20120731 #1 > [856806.497949] Call Trace: > [856806.497959] [] warn_alloc_failed+0x117/0x12c > [856806.497963] [] __alloc_pages_nodemask+0x6e3/0x792 > [856806.497969] [] ? pfn_to_dma_pte+0x116/0x15e > [856806.497976] [] alloc_pages_current+0xcd/0xee > [856806.497979] [] __get_free_pages+0x9/0x45 > [856806.497982] [] intel_alloc_coherent+0x84/0xe7 > [856806.497986] [] ? arch_local_irq_save+0x15/0x1b > [856806.497999] [] iwl_ucode_callback+0xa49/0xc0d [iwlwifi] Yes, unfortunately we need a whole bunch of contiguous memory to load the firmware. > Any ideas? Nothing we can do from the driver side, I'm afraid. johannes