Re: 2.6.10-rc3 b44 resume problem

From: Pekka Pietikainen
Date: Tue Dec 07 2004 - 06:12:29 EST


On Tue, Dec 07, 2004 at 10:25:31AM +0100, Robin Rosenberg wrote:
> Hi,
>
> I can't get my wired network running after resume from suspend to ram:
>
> Dec 7 18:48:36 xine kernel: ifconfig: page allocation failure. order:8,
> mode:0x21
> After stopping the network, and netplugd and rmmodding b44 and mii I still get
> this when trying to start my network (when b44 is activate
Hi

For a quick "fix", you can set B44_DMA_MASK to 0xffffffff. But this
is not really a fix (and will make your machine crash and burn if you have
more than a gig of memory and use something other than a 3:1 memory layout,
but it is essentially the pre-2.6.10 situation so if the driver worked
for you before it will do so again)

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118165,

"See last paragraph of comment #66. The problem is that the driver
needs about 750k of memory that has to be located under 1GB physically
to not trigger the hardware bug that causes crashes and other fun. The
driver tries to allocate that kind of memory
(pci_set_consistent_dma_mask(pdev, 0x3fffffff) ). There should be
plenty, right?

Unfortunately the way it's implemented right now in the generic x86
pci code is that if you ask for some memory with a dma mask of < 4GB,
it falls back to giving you memory from the first 16MB. Now that's a
pretty limited resource :-(. There seems to be 3 drivers that need
similar workarounds (wanxl, aacraid and b44)."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/