b44 requires an order-8 allocation? Good luck...
Begin forwarded message:
Date: Wed, 29 Dec 2004 05:57:28 +0100
From: Stefan Knoblich <stkn@xxxxxxxxxx>
To: linux-kernel@xxxxxxxxxxxxxxx
Cc: pp@xxxxxxxxxx
Subject: b44 ifconfig fails with ENOMEM
Hi,
ifconfig eth0 192.168.1.2 up returns the following error message:
laptop ~ # ifconfig eth0 192.168.1.2 up
SIOCSIFFLAGS: Cannot allocate memory
SIOCSIFFLAGS: Cannot allocate memory
output of dmesg:
ifconfig: page allocation failure. order:8, mode:0x21
[<c01382f2>] __alloc_pages+0x1d2/0x3a0
[<c01384df>] __get_free_pages+0x1f/0x40
[<c010923a>] dma_alloc_coherent+0xca/0x100
[<e00dec87>] b44_alloc_consistent+0xc7/0x1a0 [b44]
[<e00df1a1>] b44_open+0x21/0xd0 [b44]
[<c035e3ae>] schedule+0x2be/0x4e0
[<c02e0445>] dev_open+0x85/0xa0
[<c02e1953>] dev_change_flags+0x53/0x130
[<c031ec17>] devinet_ioctl+0x257/0x5b0
[<c0320f36>] inet_ioctl+0x66/0xb0
[<c02d76c9>] sock_ioctl+0xd9/0x2b0
[<c0162215>] sys_ioctl+0xd5/0x220
[<c0107417>] do_syscall_trace+0x47/0x90
[<c0102f43>] syscall_call+0x7/0xb
there's plenty of free memory available:
laptop ~ # free
total used free shared buffers cached
Mem: 506320 499728 6592 0 20036 274712
-/+ buffers/cache: 204980 301340
Swap: 987988 3144 984844
unloading and reloading the module didn't help, only a reboot fixed it (after
~36hours uptime)
the wlan nic (ipw2100) worked fine (i was abled to ifconfig down and up it
again, add an ip alias...)
more hardware information:
Fujitsu-Siemens Amilo 7400M, Pentium-m 1500MHz, i855GM Chipset
0000:02:05.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T
(rev 01)
Subsystem: Wistron Corp.: Unknown device 1082
Flags: bus master, fast devsel, latency 64, IRQ 10
Memory at e0200000 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 2
if you need more information, please tell me
since it 2.6.9 worked fine, i guess the recent PCI DMA changes in b44.c may
cause this problem
stefan
config-2.6.10
Description: Text document
|