Re: PROBLEM:kernel BUG at mm/page_alloc.c:786!

From: Christian Borntraeger
Date: Thu Jun 03 2004 - 15:04:46 EST


Christian Borntraeger wrote:
> This function looks bogus: If ipw2100_tx_allocate fails, ipw2100_rx_free
> is called. Unfortunately the ipw2100_rx_allocate function was never
> called.

I just check the original mail:
actually ipw2100_rx_allocate fails to allocate memory. ipw2100_rx_free is
called nevertheless, which IMHO caused the bug message.

andreamrl@xxxxxxxxxx wrote:
> modprobe: page allocation failure. order:0, mode:0x20
> Call Trace:
>  [<c013afc1>] __alloc_pages+0x2e1/0x320
>  [<c013b01f>] __get_free_pages+0x1f/0x40
>  [<c013e507>] cache_grow+0xa7/0x290
>  [<c013e7be>] cache_alloc_refill+0xce/0x210
>  [<c013ebe9>] __kmalloc+0x69/0x70
>  [<c03252f7>] alloc_skb+0x47/0xf0
>  [<d0f3c880>] ipw2100_rx_allocate+0x140/0x2f0 [ipw2100]
>  [<d0f3dfaf>] ipw2100_queues_allocate+0x1f/0x60 [ipw2100]
>  [<d0f3fc97>] ipw2100_pci_init_one+0x367/0x5a0 [ipw2100]
>  [<c0187f0e>] sysfs_new_inode+0x5e/0xb0
>  [<c021c202>] pci_device_probe_static+0x52/0x70
>  [<c021c25c>] __pci_device_probe+0x3c/0x50


-
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/