LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-23-2005, 05:24 PM   #1
raxxal
Member
 
Registered: Jul 2004
Location: Los Angeles
Distribution: Mandrake 2007
Posts: 109

Rep: Reputation: 15
FATAL: Error inserting ndiswrapper


Probably every situation is different, but some one else may be having the same problem out there with mandriva LE2005 and ndiswrapper.

I installed ndiswrapper, I ran modprobe, and I got the famous error :

FATAL: Error inserting ndiswrapper (/lib/modules/2.6.11-6mdksmp/misc/ndiswrapper.ko): Operation not permitted

I ran ndiswrapper -e ndiswrapper.ko, and bingo! This solve the problem. modprobe ndiswrapper did not complain anymore, as a matter of fact, I am writing this messages using my wireless card.

The machine is an HP laptop ZD7260.
 
Old 04-25-2005, 04:44 AM   #2
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
ndiswrapper must have the driver loaded before the module is loaded. Also, "operation not permitted" sounds like you was not root when modprobing. Anyway, great that it worked out for you.
 
Old 09-29-2006, 05:13 PM   #3
WhiskeyTangoFoxtrot
Member
 
Registered: Oct 2005
Location: Windsor, Ontario, Canada
Distribution: Fedora Core 5,4,3 & Ubuntu 6.06, 8.10
Posts: 403
Blog Entries: 1

Rep: Reputation: 30
g'day
tried doing "ndiswrapper -e ndiswrapper.ko" but it says no such driver installed
 
Old 09-30-2006, 05:19 AM   #4
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
Quote:
Originally Posted by WhiskeyTangoFoxtrot
g'day
tried doing "ndiswrapper -e ndiswrapper.ko" but it says no such driver installed
Not sure what you are trying to do. But have you done this?

Code:
# ndiswrapper -i driver.inf
# ndiswrapper -l
# modprobe ndiswrapper
Usually this is enough. The driver should be running by now, and you can check out if it's working by looking at ifconfig and iwconfig (make sure you have installed wireless-tools). The driver.inf file is the inf file for your driver found on the Windows CD.

Good luck.
 
Old 09-30-2006, 01:06 PM   #5
WhiskeyTangoFoxtrot
Member
 
Registered: Oct 2005
Location: Windsor, Ontario, Canada
Distribution: Fedora Core 5,4,3 & Ubuntu 6.06, 8.10
Posts: 403
Blog Entries: 1

Rep: Reputation: 30
ya, i did all that but ifconfig and iwconfig still show no signs of a wireless connection. dmesg shows
Quote:
[ 4150.515666] ndiswrapper version 1.23 loaded (preempt=yes,smp=yes)
[ 4150.568768] ndiswrapper (check_nt_hdr:149): kernel is 64-bit, but Windows driver is not 64-bit;bad magic: 010B
[ 4150.568776] ndiswrapper (load_sys_files:214): couldn't prepare driver 'bcmwl5'
[ 4150.555720] ndiswrapper (load_wrap_driver:113): loadndiswrapper failed (65280); check system log for messages from 'loadndisdriver'
 
Old 01-08-2007, 03:08 PM   #6
ryan944299
LQ Newbie
 
Registered: Dec 2006
Location: Pennsylvania
Posts: 14

Rep: Reputation: 0
Im having a problem with that too.

When I try that ndiswrapper -l command I get that inffile:invalid driver but my driver for my device is installed and it acknowledges the device is present.

When I try the ndiswrapper -e ndiswrapper.ko i get that there is no such file.

help?
 
Old 01-08-2007, 05:37 PM   #7
setlec_seta
Member
 
Registered: Oct 2003
Location: somewhere around the world
Distribution: Mandriva 2010.1 pwp 64bit
Posts: 199

Rep: Reputation: 31
Hi this a brainstrom problem for me....

i've got a wireless pcmcia with a marvell chipset ( i already knew that they aren't compatible with linux) and after researching on google.com/linux i manage to make the install of the driver with ndiswrapper 1.34. but somehow when i try to config the hardware on MCC it says cannot find ndiswrapper interface...

Quote:

[root@localhost Desktop]# ndiswrapper -l
mrv8335 : driver installed
device (11AB:1FAA) present
[root@localhost Desktop]#

after a dmesg:

Quote:
ndiswrapper version 1.34 loaded (preempt=no,smp=yes)
ndiswrapper: driver mrv8335 (PLANET Technology Corp.,09/01/2004,3.1.0.9) loaded
PCI: Enabling device 0000:03:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:03:00.0 to 64
ndiswrapper: using IRQ 16
wlan0: ethernet device 00:30:4f:40:63:d7 using NDIS driver: mrv8335, version: 0x3000024, NDIS version: 0x500, vendor: '', 11AB:1FAA.5.conf
ndiswrapper (set_encr_mode:694): setting encryption mode to 6 failed (C00000BB)
wlan0: encryption modes supported: WEP; TKIP with WPA
usbcore: registered new driver ndiswrapper
ndiswrapper: device wlan0 removed
ACPI: PCI interrupt for device 0000:03:00.0 disabled
usbcore: deregistering driver ndiswrapper
ndiswrapper version 1.34 loaded (preempt=no,smp=yes)
ndiswrapper: driver mrv8335 (PLANET Technology Corp.,09/01/2004,3.1.0.9) loaded
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 16 (level, low) -> IRQ 16
ndiswrapper: using IRQ 16
ndiswrapper (miniport_init:270): couldn't initialize device: C0000001
ndiswrapper (pnp_start_device:426): Windows driver couldn't initialize the device (C0000001)
unregister_netdevice: device eth%d/cba38000 never was registered
ndiswrapper (miniport_halt:326): device cba382c0 is not initialized - not halting
ndiswrapper: device eth%d removed
ACPI: PCI interrupt for device 0000:03:00.0 disabled
ndiswrapper: probe of 0000:03:00.0 failed with error -22
usbcore: registered new driver ndiswrapper
usbcore: deregistering driver ndiswrapper
ndiswrapper (ntoskernel_exit:282): object d44964a0 type 2 was not freed, freeing it now
ndiswrapper version 1.34 loaded (preempt=no,smp=yes)
ndiswrapper: driver mrv8335 (PLANET Technology Corp.,09/01/2004,3.1.0.9) loaded
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 16 (level, low) -> IRQ 16
ndiswrapper: using IRQ 16
ndiswrapper (miniport_init:270): couldn't initialize device: C0000001
ndiswrapper (pnp_start_device:426): Windows driver couldn't initialize the device (C0000001)
unregister_netdevice: device eth%d/cba38000 never was registered
ndiswrapper (miniport_halt:326): device cba382c0 is not initialized - not halting
ndiswrapper: device eth%d removed
ACPI: PCI interrupt for device 0000:03:00.0 disabled
ndiswrapper: probe of 0000:03:00.0 failed with error -22
usbcore: registered new driver ndiswrapper
usbcore: deregistering driver ndiswrapper
ndiswrapper (ntoskernel_exit:282): object ce37fda0 type 2 was not freed, freeing it now
ndiswrapper version 1.34 loaded (preempt=no,smp=yes)
ndiswrapper: driver mrv8335 (PLANET Technology Corp.,09/01/2004,3.1.0.9) loaded
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 16 (level, low) -> IRQ 16
ndiswrapper: using IRQ 16
ndiswrapper (miniport_init:270): couldn't initialize device: C0000001
ndiswrapper (pnp_start_device:426): Windows driver couldn't initialize the device (C0000001)
unregister_netdevice: device eth%d/cc832000 never was registered
ndiswrapper (miniport_halt:326): device cc8322c0 is not initialized - not halting
ndiswrapper: device eth%d removed
ACPI: PCI interrupt for device 0000:03:00.0 disabled
ndiswrapper: probe of 0000:03:00.0 failed with error -22
usbcore: registered new driver ndiswrapper





thanks for helping
 
Old 07-06-2007, 01:27 PM   #8
angeloj
LQ Newbie
 
Registered: Jul 2007
Posts: 1

Rep: Reputation: 0
edit you *.inf file

i found that my netwg121.inf had bad characters when specifying the netwg121nd5.sys file under the ServiceBinary definition

hence when i looked in the /etc/ndiswrapper/netwg121 directory where the "ndiswrapper -i netwg121.inf" put everything for me, there was only a *.inf file and not any *.conf or *.sys files there

after i fixed the netwg121.inf file, then ndiswrapper -i worked just fine
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FATAL: Error inserting acpi cpufreq in fedora 4 CapCavernaX Linux - Newbie 14 10-21-2006 01:01 PM
FATAL Error when modprobe ndiswrapper plz help! sendas4 Linux - Wireless Networking 7 05-04-2006 11:54 PM
modprobe: FATAL: Error inserting hw_random logicalfuzz Linux - General 7 09-14-2005 10:37 PM
modprobe: FATAL: Error inserting apm OneManArmy Linux - Software 2 08-21-2004 07:50 PM
apm vs. acpi ? (modprobe: FATAL: Error inserting apm) OneManArmy Linux - Laptop and Netbook 0 05-12-2004 04:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration