>>>>> "Leslie" == Leslie Katz <[EMAIL PROTECTED]> writes:
Leslie> I'm trying to get a PCMCIA wireless card going. Leslie> I know it requires the use of ndiswrapper. I'm trying to Leslie> follow the installation instructions that come from the Leslie> ndiswrapper website. Leslie> All is fine until I do modprobe ndiswrapper. When I run that, Leslie> I get the prompt back with no output having appeared on the Leslie> screen. However, when I look at the ndiswrapper entries in Leslie> dmesg, I find: Leslie> <3> ndiswrapper (NdisMAllocateSharedMemory: 926): couldn't Leslie> allocate 261376 bytes of un-cached DMA memory Hmmm. The device driver is trying to get 256k of memory in a single chunk. If your machine has been up for any lenght of time, that's going to be very difficult. Try rebooting, and then modprobing ndiswrapper immediately after boot --- you're more likely to have free memory then. The stuff you quote below is for SystemV shared memory, not dmaable kenel memory. Leslie> At Leslie> www.idevelopment.info/data/Oracle/DBA_tips/Linux/LINUX_8.shtml, Leslie> I found a discussion about configuring shared memory which Leslie> even I could follow. What are said to be the default outcomes Leslie> when one does the following four commands are exactly what I Leslie> get: Leslie> # ipcs -lm ------ Shared Memory Limits -------- max number of Leslie> segments = 4096 max seg size (kbytes) = 32768 max total shared Leslie> memory (kbytes) = 8388608 min seg size (bytes) = 1 Leslie> #cat /proc/sys/kernel/shmmax 33554432 Leslie> #cat /proc/sys/kernel/shmmni 4096 Leslie> #cat /proc/sys/kernel/shmall 2097152 Leslie> It seems from those outcomes that I have enough shared memory Leslie> to be allocated, so I'm now focusing on the reference to Leslie> "un-cached DMA" memory. Leslie> I haven't been able to find an explanation of what that Leslie> particular type of memory is, so as to know whether that's my Leslie> problem. -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
