Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ndiswrapper/ 64 bit 32 bit conflict
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Marty Neal
n00b
n00b


Joined: 19 Jun 2006
Posts: 3
Location: WA

PostPosted: Fri Jul 07, 2006 5:16 am    Post subject: ndiswrapper/ 64 bit 32 bit conflict Reply with quote

I am attempting to get my netgear wireless PCI WG311 v3 to work. It works under windows so I know its not defective hardware, but Knoppix doesn't find the right drivers for it.

I've done a lot of looking and found that Netgear does not offer 64-bit drivers, nor does Ndiswrapper allow 32 bit drivers to run in 64-bit mode. Does this mean I can or can not get my wireless working under Gentoo with my AMD64-bit processor?

I've worked through the ndiswrapper how-to and gotten all the way to modprobe ndiswrapper when my computer deviates from what the how-to tells me.

Code:

root # lspci | grep Wireless
01:08.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)

root # ndiswrapper -l
Installed ndis drivers:
wg311v3 driver present, hardware present

root # modprobe ndiswrapper
root # dmesg

ndiswrapper version 1.2 loaded (preempt=no,smp=no)
ndiswrapper (check_nt_hdr:152): Windows driver is not 64-bit; bad magic: 010B
ndiswrapper (load_sys_files:520): unable to prepare driver 'wg311v3'
Unable to handle kernel NULL pointer dereference at 0000000000000050 RIP:
<ffffffff8800511a>{:ndiswrapper:unload_ndis_driver+116}
PGD 7205b067 PUD 71d5d067 PMD 0
Oops: 0000 [2]
CPU 0
Modules linked in: ndiswrapper snd_seq_midi snd_seq_midi_event snd_seq snd_intel8x0 snd_ca0106 snd_rawmidi snd_seq_device snd_ac97_codec snd_pcm snd_timer snd soundcore snd_ac97_bus snd_page_alloc nvidia
Pid: 7185, comm: loadndisdriver Tainted: P      2.6.15-gentoo-r5 #11
RIP: 0010:[<ffffffff8800511a>] <ffffffff8800511a>{:ndiswrapper:unload_ndis_driver+116}
RSP: 0018:ffff810072b0be18  EFLAGS: 00010246
RAX: 0000000000000040 RBX: ffff810072ea0418 RCX: ffffffff8043f070
RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000002
R10: 0000000000000000 R11: ffff810072ea05b8 R12: ffff81007f3dc600
R13: ffffc20011801048 R14: 0000000000000001 R15: ffffc20011801000
FS:  00002aaaaadecae0(0000) GS:ffffffff8058c800(0000) knlGS:0000000056125810
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000050 CR3: 00000000723e4000 CR4: 00000000000006e0
Process loadndisdriver (pid: 7185, threadinfo ffff810072b0a000, task ffff81007e0d63c0)
Stack: ffffc20011801000 ffff810072ea05b8 ffff810072ea0418 ffffffff8800612f
       0000000100000001 0000000000000000 0000000000000000 ffffffea00000000
       0000000000000000 ffff81007f3a5be0
Call Trace:<ffffffff8800612f>{:ndiswrapper:wrapper_ioctl+4066}
       <ffffffff80174994>{do_ioctl+72} <ffffffff80174be5>{vfs_ioctl+589}
       <ffffffff80174c2e>{sys_ioctl+60} <ffffffff8010e58a>{system_call+126}
       

Code: 48 8b 78 10 e8 2b c5 00 00 49 8d 7c 24 38 e8 d3 2a 00 00 49
RIP <ffffffff8800511a>{:ndiswrapper:unload_ndis_driver+116} RSP <ffff810072b0be18>
CR2: 0000000000000050
 <3>ndiswrapper (ndiswrapper_load_driver:93): loadndiswrapper failed (9); check system log for messages from 'loadndisdriver'


notice the complaint that the driver isn't 64 bits. It says at the end to check system log messages from loadndisdriver. How do you do that?

I would be happy to run my wireless card in a 32-bit emulation mode if I new how.

Thanks beforehand!
_________________
"don't bite the hand that feeds you, there is more meat further up" -- aurthor bear
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Fri Jul 07, 2006 8:17 am    Post subject: Re: ndiswrapper/ 64 bit 32 bit conflict Reply with quote

Marty Neal wrote:
I've done a lot of looking and found that Netgear does not offer 64-bit drivers, nor does Ndiswrapper allow 32 bit drivers to run in 64-bit mode. Does this mean I can or can not get my wireless working under Gentoo with my AMD64-bit processor?

You can't with a 64-bit kernel.
Marty Neal wrote:
I would be happy to run my wireless card in a 32-bit emulation mode if I new how.

32-bit emulation is just for userland programs. It can't be used for kernel-mode drivers due to the way it works.
Back to top
View user's profile Send private message
beerisgoodmate
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2005
Posts: 129

PostPosted: Thu Mar 29, 2007 2:44 pm    Post subject: Reply with quote

This thread is ancient, but just in case someone else is looking to get this card working in 64bit, the windows 64bit drivers can be found here:

http://www.skd.de/e_en/support/driver_searchresults.html?navanchor=&term=typ.treiber+produkt.SK-54C1&produkt=produkt.SK-54C1&typ=typ.treiber&system=

These are the the drivers for the Marvell chipset found in v3 only of this card.
Back to top
View user's profile Send private message
Morimando
Guru
Guru


Joined: 14 Feb 2005
Posts: 339
Location: Germany

PostPosted: Sat Sep 15, 2007 10:35 pm    Post subject: Reply with quote

Thanks for the driver, at least ndiswrapper works :)
But i sure would like to see it working with the in-kernel libertas driver...
_________________
That young girl is one of the least benightedly unintelligent organic life forms it has been my profound lack of pleasure not to be able to avoid meeting.
-- Marvin
Back to top
View user's profile Send private message
Maduser
n00b
n00b


Joined: 10 Dec 2006
Posts: 7

PostPosted: Tue Oct 02, 2007 8:47 am    Post subject: Reply with quote

I use these driver for a 64bit Gentoo and it works, but sometimes I have problems. (For example sometimes the wlan does not start)
On the netgear homepage is a vista 64 driver you can download it from http://kbserver.netgear.com/release_notes/d103079.asp. But I try to extract the 64 bit sys and inf and I don't get it. I only get on a 32 bit Windows the 32 bit driver. I think to get the 64 bit driver you need a 64 bit Windows (and I have not).
Maybe someone who have a 64 bit installed can try to get the driver. After starting the installer a dir with a msi is crated in the temp dir. (If your clear your temp dir before, it will be easy to find.) With
Code:
msiexec /a xyc.msi TARGETDIR="C:\Ordner
you can extract the msi.
I would be very thankful if someone can do this and publish the files.
Back to top
View user's profile Send private message
haimat
Apprentice
Apprentice


Joined: 05 Sep 2002
Posts: 239
Location: Vienna / Austria

PostPosted: Tue Oct 02, 2007 8:46 pm    Post subject: Reply with quote

Hello,

I have exactly the same problem with this card under amd64. I even can't get the marvel drivers to work with Ndisdriver. I tried to extract the Vista 64 bit drivers as you suggested, but it does not work, I get the error "can't extract the MSI file manually, please run setup.exe". I also tried with Universal Extractor (a freeware tool), but then it seems I get the 32 bit XP drivers, as you told.

As alternative I found the marvel driver shipped with Windows Vista x64, I use them now with this card. This driver worked out of the box, I did not have to install the Netgear driver. But: Where to find a suitable .inf file to install this .sys file under Ndiswrapper?

Kind regards, Matthias
Back to top
View user's profile Send private message
Maduser
n00b
n00b


Joined: 10 Dec 2006
Posts: 7

PostPosted: Sat Oct 06, 2007 3:00 pm    Post subject: Reply with quote

AFAIK ndiswrapper use the inf file only to check if the driver can be used with the card.
So you can use the in inf from the driver in this thread.
If this work I am interested in the sys file ...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum