Jump to content

unable to load the ndiswrapper module


Guest xknight
 Share

Recommended Posts

Guest xknight

i installed ndiswrapper and got the wireless drivers installed i do a ndiswrapper -l shows the drivers installed

when i run the drakeconf network app it tells me unable to load the ndiswrapper module when i use the driver file why ??? but when i do a comand in the console i get installed etc.....

 

[root@localhost bcm43xx-fwcutter-004]# ndiswrapper -l

Installed drivers:

bcmwl5a driver installed, hardware present

bcmwl5.sys invalid driver!

[root@localhost bcm43xx-fwcutter-004]# modprobe ndiswrapper

FATAL: Error inserting ndiswrapper (/lib/modules/2.6.12-12mdk/kernel/3rdparty/ndiswrapper/ndiswrapper.ko.gz): Operation not permitted

[root@localhost bcm43xx-fwcutter-004]#

Edited by xknight
Link to comment
Share on other sites

You're getting installed, but it's also saying "invalid driver". This is most likely to be your problem.

 

Visit the ndiswrapper wiki site and look at their installation wiki, plus also their driver section. Run an lspci -v to check the version of your card to make sure you get the correct driver for it and make sure it matches what you find on ndiswrapper, and then install this driver instead.

 

ndiswrapper -e bcmwl5 or bcmwl5a will remove the existing installed driver. Make sure that when doing ndiswrapper -l again that no driver is listed, then proceed installing the correct driver for your card.

 

I never use the gui for configuring ndiswrapper in Mandriva, it doesn't work correctly.

Link to comment
Share on other sites

Guest xknight

lmao I think this is lame broadcom sucks i cant get this to work for the life of me i have been to the wiki installed a new ndiswrapper version installed kernel source file etc....... even tryed using a so called broadcom linux driver BAH!!! :(

Link to comment
Share on other sites

Guest xknight
Are you getting any error messages? Can you post the results from an lspci -v so we can see the info on the broadcom card?

 

[root@localhost 80211g]# ndiswrapper -i bcmwl5.inf

Installing bcmwl5

Forcing parameter IBSSGMode|0 to IBSSGMode|2

[root@localhost 80211g]#

 

 

 

[root@localhost 80211g]# lspci -v

00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 01)

Subsystem: Hewlett-Packard Company: Unknown device 30a4

Flags: bus master, 66Mhz, medium devsel, latency 64

 

00:01.0 PCI bridge: ATI Technologies Inc: Unknown device 5a3f (prog-if 00 [Normal decode])

Flags: bus master, 66Mhz, medium devsel, latency 64

Bus: primary=00, secondary=01, subordinate=01, sec-latency=64

I/O behind bridge: 00009000-00009fff

Memory behind bridge: c0100000-c01fffff

Prefetchable memory behind bridge: 00000000c8000000-00000000cff00000

Capabilities: [44] #08 [a803]

Capabilities: [b0] #0d [0000]

 

00:05.0 PCI bridge: ATI Technologies Inc: Unknown device 5a37 (prog-if 00 [Normal decode])

Flags: bus master, fast devsel, latency 0

Bus: primary=00, secondary=02, subordinate=03, sec-latency=0

I/O behind bridge: 00000000-00000fff

Memory behind bridge: 00000000-000fffff

Capabilities: [50] Power Management version 3

Capabilities: [58] #10 [0041]

Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+

Capabilities: [b0] #0d [0000]

Capabilities: [b8] #08 [a803]

 

00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (prog-if 10 [OHCI])

Subsystem: ATI Technologies Inc IXP SB400 USB Host Controller

Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 217

Memory at 00000000c0000000 (32-bit, non-prefetchable)

Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

 

00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (prog-if 10 [OHCI])

Subsystem: ATI Technologies Inc IXP SB400 USB Host Controller

Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 217

Memory at 00000000c0001000 (32-bit, non-prefetchable)

Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

 

00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (prog-if 20 [EHCI])

Subsystem: ATI Technologies Inc IXP SB400 USB2 Host Controller

Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 217

Memory at 00000000c0002000 (32-bit, non-prefetchable)

Capabilities: [dc] Power Management version 2

Capabilities: [d0] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

 

00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 11)

Subsystem: Hewlett-Packard Company: Unknown device 30a4

Flags: 66Mhz, medium devsel

I/O ports at 8400

Memory at 00000000c0003000 (32-bit, non-prefetchable)

Capabilities: [b0] #08 [a802]

 

00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller ATI (prog-if 8a [Master SecP PriP])

Subsystem: Hewlett-Packard Company: Unknown device 30a4

Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 209

I/O ports at <ignored>

I/O ports at <ignored>

I/O ports at <ignored>

I/O ports at <ignored>

I/O ports at 8410

Capabilities: [70] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

 

00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge

Flags: bus master, 66Mhz, medium devsel, latency 0

 

00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (prog-if 01 [subtractive decode])

Flags: bus master, 66Mhz, medium devsel, latency 64

Bus: primary=00, secondary=06, subordinate=08, sec-latency=64

I/O behind bridge: 0000a000-0000afff

Memory behind bridge: c0200000-c02fffff

 

00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97 Audio Controller (rev 02)

Subsystem: Hewlett-Packard Company: Unknown device 30a4

Flags: bus master, 66Mhz, slow devsel, latency 64, IRQ 201

Memory at 00000000c0003400 (32-bit, non-prefetchable)

Capabilities: [40] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

 

00:14.6 Modem: ATI Technologies Inc ATI SB400 - AC'97 Modem Controller (rev 02) (prog-if 00 [Generic])

Subsystem: Hewlett-Packard Company: Unknown device 30a4

Flags: 66Mhz, slow devsel, IRQ 201

Memory at 00000000c0003800 (32-bit, non-prefetchable)

Capabilities: [40] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

 

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration

Flags: fast devsel

Capabilities: [80] #08 [2101]

 

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map

Flags: fast devsel

 

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller

Flags: fast devsel

 

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control

Flags: fast devsel

 

01:05.0 VGA compatible controller: ATI Technologies Inc ATI Radeon XPRESS 200M 5955 (PCIE) (prog-if 00 [VGA])

Subsystem: Hewlett-Packard Company: Unknown device 30a4

Flags: bus master, 66Mhz, medium devsel, latency 66, IRQ 7

Memory at 00000000c8000000 (32-bit, prefetchable)

I/O ports at 9000

Memory at 00000000c0100000 (32-bit, non-prefetchable)

Expansion ROM at <unassigned> [disabled]

Capabilities: [50] Power Management version 2

 

06:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

Subsystem: Hewlett-Packard Company: Unknown device 1355

Flags: bus master, fast devsel, latency 64, IRQ 10

Memory at 00000000c0204000 (32-bit, non-prefetchable)

 

06:04.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller

Subsystem: Hewlett-Packard Company: Unknown device 30a4

Flags: bus master, medium devsel, latency 64, IRQ 10

Memory at 00000000c0208000 (32-bit, non-prefetchable)

Bus: primary=06, secondary=07, subordinate=0a, sec-latency=176

I/O window 0: 00000000-00000003

I/O window 1: 00000000-00000003

16-bit legacy interface ports at 0001

 

06:04.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller (prog-if 10 [OHCI])

Subsystem: Hewlett-Packard Company: Unknown device 30a4

Flags: bus master, medium devsel, latency 64, IRQ 225

Memory at 00000000c0209000 (32-bit, non-prefetchable)

Memory at 00000000c0200000 (32-bit, non-prefetchable)

Capabilities: [44] Power Management version 2

 

06:04.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller

Subsystem: Hewlett-Packard Company: Unknown device 30a4

Flags: bus master, medium devsel, latency 64, IRQ 10

Memory at 00000000c0206000 (32-bit, non-prefetchable)

Capabilities: [44] Power Management version 2

 

06:04.4 Class 0805: Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD) Controller

Subsystem: Hewlett-Packard Company: Unknown device 30a4

Flags: bus master, medium devsel, latency 64, IRQ 10

Memory at 00000000c020a000 (32-bit, non-prefetchable)

Memory at 00000000c0209c00 (32-bit, non-prefetchable)

Memory at 00000000c0209800 (32-bit, non-prefetchable)

Capabilities: [80] Power Management version 2

 

06:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

Subsystem: Hewlett-Packard Company: Unknown device 30a4

Flags: bus master, medium devsel, latency 128, IRQ 233

I/O ports at a000

Memory at 00000000c020a400 (32-bit, non-prefetchable)

Capabilities: [50] Power Management version 2

 

[root@localhost 80211g]#

Link to comment
Share on other sites

It's more helpful to see the PCI ID of the card, do a lspci -n and look for the lines that start with 06:02.0 (paste the lines here if you'd like us to check which is the PCI ID) - you can then check for this PCI ID in the ndiwrapper database.

Link to comment
Share on other sites

First off, even if the driver is completely wrong for your card, it should still load without error so that's the first thing to get straightened out. Your post indicates that you installed ndiswrapper from source. That error indicates to me that there may be a mismatch between your kernel and kernel source, assuming you compiled ndiswrapper from source. Just to give to give me some basic info, please post the output of these commands:

 

$ uname -a

 

$ rpm -qa | grep kernel

 

$ rpm -qa | grep ndiswrapper

Link to comment
Share on other sites

  • 1 year later...
Guest Jeff Brown
First off, even if the driver is completely wrong for your card, it should still load without error so that's the first thing to get straightened out. Your post indicates that you installed ndiswrapper from source. That error indicates to me that there may be a mismatch between your kernel and kernel source, assuming you compiled ndiswrapper from source. Just to give to give me some basic info, please post the output of these commands:

 

$ uname -a

 

$ rpm -qa | grep kernel

 

$ rpm -qa | grep ndiswrapper

 

Although I didn't ask, here are my outputs for what you requested... I am having the exact same error.

 

[root@localhost utils]# uname -a

Linux localhost 2.6.17-14mdv #1 SMP Wed May 9 21:09:44 MDT 2007 x86_64 AMD Turion 64 X2 Mobile Technology TL-50 GNU/Linux

[root@localhost utils]# rpm -qa | grep kernel

ati-kernel-2.6.17-13mdv-8.34.8-1mdk

nvidia71xx-kernel-2.6.17-13mdv-7184-1mdk

kernel-latest-2.6.17-14mdv

madwifi-kernel-2.6.17-13mdv-0.9.2-1mdk

kernel-2.6.17.13mdv-1-1mdv2007.1

hsfmodem-kernel-2.6.17-13mdv-7.47.00.03-1mdk

nvidia97xx-kernel-2.6.17-13mdv-9755-1mdk

kernel-2.6.17.14mdv-1-1mdv2007.1

ndiswrapper-kernel-2.6.17-13mdv-1.21-2mdv2007.1

nvidia96xx-kernel-2.6.17-13mdv-9631-1mdk

[root@localhost utils]# rpm -qa | grep ndiswrapper

ndiswrapper-1.21-2mdv2007.1

ndiswrapper-kernel-2.6.17-13mdv-1.21-2mdv2007.1

[root@localhost utils]#

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...