Wednesday, October 10, 2007

madwifi - ath_pci: cannot reserve PCI memory region

(http://martin.wojtczyk.de/index.php?title=Leonardo1#Installation_of_the_madwifi_driver)

After the installation of the madwifi driver it seemed that there was still a memory allocation error:
ath_pci: cannot reserve PCI memory region

According to http://www.linuxquestions.org/questions/archive/41/2004/08/4/189870 I modified the file /usr/src/linux/drivers/pcmcia/yenta.c in function yenta_allocate_res from:

mask = ~0xfff;

to:

mask = ~0xffff;

to increase the granularity of the memory allocation. Afterwards the ath0 device came up properly.

No comments:

如何发掘出更多退休的钱?

如何发掘出更多退休的钱? http://bbs.wenxuecity.com/bbs/tzlc/1328415.html 按照常规的说法,退休的收入必须得有退休前的80%,或者是4% withdrawal rule,而且每年还得要加2-3%对付通胀,这是一个很大...