Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Can't get ndiswrapper to load Windows driver< Next Oldest | Next Newest >
lesliek Offline





Group: Members
Posts: 91
Joined: Feb. 2006
Posted: Mar. 26 2007,09:59 QUOTE

I'm using the current version of DSL on an old laptop with 64MB of RAM.

I'm trying to get going a Netgear WG511v2 wireless card. The PCMCIA tool tells me that my card has the Marvell 88W8310 chipset.

I understand that my only possibilities are the Windows driver, together with either ndiswrapper or the Linuxant driverloader. I'm trying the first for now.

I've followed the instructions at the ndiswrapper site as far as I can. When I run ndiswrapper -l, I get the message that says "driver installed, hardware present". However, when I do modprobe ndiswrapper and then check the dmesg output, I get a line saying:
<3> ndiswrapper (NdisMAllocateSharedMemory:926): couldn't allocate 261376 bytes of un-cached DMA memory

followed by another line saying that the Windows driver couldn't initialise the device.

I found in the forums a post with the title "WG511v2 - works, but doesn't work....", in which dare2bfree said he'd got a WG511v2 with the Marvell chipset going by following earlier instructions given by Winter Knight. I assume that dare2bfree didn't get at any stage the dmesg output I got.

Am I unable to get the card going because I only have 64MB of RAM or is there some way I can overcome this problem?

Thanks for reading this,

Leslie
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Mar. 26 2007,10:56 QUOTE

I don't think this is the problem, but have you copied both the *.inf and *.sys windows driver files? I believe ndiswrapper needs both.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Mar. 26 2007,13:17 QUOTE

Quote
<3> ndiswrapper (NdisMAllocateSharedMemory:926): couldn't allocate 261376 bytes of un-cached DMA memory
To me, that is the main problem.  Afaik this has happened mostly to low-memory users... did you try booting with "lowram base norestore" etc. just to see if it works?
Back to top
Profile PM 
lesliek Offline





Group: Members
Posts: 91
Joined: Feb. 2006
Posted: Mar. 26 2007,18:44 QUOTE

@Juanito

Yes, I did copy the .sys file as well as the .INF file.

@^thehatsrule^

I am running DSL via frugal install.

I'm not sure how to try what you suggest.

What I'm thinking of doing is editing the menu.lst file to add an additional option similar to the existing default one, with the first and last lines the same, but with the middle line edited.

The line in my current default option that begins with "kernel" reads as follows:

kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal

Would it be sufficient just to add to the end of that line in my new option the words "loram base norestore" or am I misunderstanding altogether how to do what you're suggesting?

Also, could there be any relevance to my problem that, as I now see, I boot up with nodma, given the complaint I get about no un-cached DMA memory?

Thanks to both for your replies.

Leslie
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Mar. 26 2007,22:40 QUOTE

Quote
Would it be sufficient just to add to the end of that line in my new option the words "loram base norestore" or am I misunderstanding altogether how to do what you're suggesting?
Yes, or you could create another entry just for testing purposes.

Quote
Also, could there be any relevance to my problem that, as I now see, I boot up with nodma, given the complaint I get about no un-cached DMA memory?
afaik the nodma boot parameter is to turn off dma for IDE devices only (although if your system supports it, you should use it for better drive access) and shouldn't have anything to do with ndiswrapper.
Back to top
Profile PM 
9 replies since Mar. 26 2007,09:59 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Can't get ndiswrapper to load Windows driver

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code