SliTaz SliTaz Forum

You are not logged in.

#1 2015-10-18 22:34:42

prankenandi
Member
Registered: 2015-10-18
Posts: 4

couldn't find ndiswrapper kernelmodule

Hello everyone,

for the last 2 or 3 weeks I've been looking for a lightweight distro for an old pc.

Today I found/tried Slitaz (SliTaz 5.0 RC-3 release) and I really like it.

The only problem is that my wifi-pci-card won't work.

I used to use Ndiswrapper (+ Windowsdriver) (with Debian) and everything worked fine, but now I can not find the ndiswrapper kernelmodule in the Slitaz-repositories.

That's my card:

[c]00:0b.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)[/c]

I installed ndiswrapper (, ndiswrapper-driver, ndiswrapper-utils) and tazndis.

Installing the Windowsdriver works out:

[c]wg311v3 : driver installed : device (11AB:1FAA) present[/c]

but loading the ndiswrapper-module not

modprobe ndiswrapper --> [c]modprobe: FATAL: Module ndiswrapper not found[/c]

I tried tazndis also, but "loading the module" is empty respectively there is "nothing" to load and it says "module is not loaded".

Then I tried to "convert" the "ndiswrapper-dkms-package"(.deb) from the debian-repositories into a tazpkg and install this. The conversion worked out and I could install it, but it didn't work out either!

I found this (very old) posting with the same problem and the same wifi-card:

http://forum.slitaz.org/topic/need-help-with-2-netgear-pcmcia-network-cards

and this as the solution:

http://forum.slitaz.org/topic/come-configurare-una-connessione-wi-fi-con-scheda-pcmcia-netgear-wn511b#post-4669

but I cannot speak italian.

As I said, I'm very new to Slitaz, so sorry if I missed something!

Any help would be much appreciated!

cheers!

P.S. Sorry for any grammar mistakes I'm not a native speaker!

Offline

#2 2015-10-18 22:45:44

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: couldn't find ndiswrapper kernelmodule

tux@slitaz:~$ tazpkg search-pkgname ndiswrapper.ko.xz

Search result for package "ndiswrapper.ko.xz"

================================================================================

ndiswrapper-driver

================================================================================

1 package

root@slitaz:/home/tux# tazpkg -gi ndiswrapper-driver

Installation of package "ndiswrapper-driver"

================================================================================

Add Windows network drivers support to Linux kernel.

--------------------------------------------------------------------------------

Copying package...                                                   [ Done ]

Extracting package...                                                [ Done ]

Installing package...                                                [ Done ]

Removing old package...                                              [ Done ]

Removing all tmp files...                                            [ Done ]

Execute post-install commands...Processing post-install commands...

                                                                     [ Done ]

================================================================================

Package "ndiswrapper-driver" (1.59_3.2.71) is installed.

root@slitaz:/home/tux# tazpkg list-files ndiswrapper-driver

Installed files by "ndiswrapper-driver"

================================================================================

/lib/modules/3.2.71-slitaz/kernel/misc/ndiswrapper.ko.xz

/sbin/loadndisdriver

================================================================================

2 files

root@slitaz:/home/tux# modinfo ndiswrapper

filename:       /lib/modules/3.2.71-slitaz/kernel/misc/ndiswrapper.ko.xz

license:        GPL

version:        1.59

description:    NDIS wrapper driver

author:         ndiswrapper team <ndiswrapper-general@lists.sourceforge.net>

srcversion:     61EDC02F8B884C063E14A06

depends:

vermagic:       3.2.71-slitaz SMP mod_unload 386

parm:           if_name:Network interface name or template (default: wlan%d) (charp)

parm:           proc_uid:The uid of the files created in /proc (default: 0). (int)

parm:           proc_gid:The gid of the files created in /proc (default: 0). (int)

parm:           debug:debug level (int)

parm:           hangcheck_interval:The interval, in seconds, for checking if driver is hung. (default: 0) (int)

parm:           utils_version:Compatible version of utils (read only: 1.9) (charp)

root@slitaz:/home/tux# modprobe -v ndiswrapper

insmod /lib/modules/3.2.71-slitaz/kernel/misc/ndiswrapper.ko.xz

root@slitaz:/home/tux# lsmod | grep ndiswrapper

ndiswrapper           139099  0

root@slitaz:/home/tux# dmesg | grep ndiswrapper

ndiswrapper version 1.59 loaded (smp=yes, preempt=no)

usbcore: registered new interface driver ndiswrapper

Offline

#3 2015-10-19 10:06:36

prankenandi
Member
Registered: 2015-10-18
Posts: 4

Re: couldn't find ndiswrapper kernelmodule

Hello,

thanks for your quick reply.

I followed your steps, but it didn't work out:

[c]root@Linuxmaschine:/home/prankenandi# tazpkg search-pkgname ndiswrapper.ko.xz

Search result for package "ndiswrapper.ko.xz"
================================================================================
ndiswrapper-driver
================================================================================
1 package
root@Linuxmaschine:/home/prankenandi# tazpkg -gi ndiswrapper-driver
Package "ndiswrapper-driver-1.59_3.2.71" already in the cache
Installation of package "ndiswrapper-driver"
================================================================================
Add Windows network drivers support to Linux kernel.
--------------------------------------------------------------------------------
Copying package...                                                   [ Done ]
Extracting package...                                                [ Done ]
Installing package...                                                [ Done ]
Removing all tmp files...                                            [ Done ]
Execute post-install commands...Processing post-install commands...
                                                                     [ Done ]
================================================================================
Package "ndiswrapper-driver" (1.59_3.2.71) is installed.

root@Linuxmaschine:/home/prankenandi# tazpkg list-files ndiswrapper-driver

Installed files by "ndiswrapper-driver"
================================================================================
/lib/modules/3.2.71-slitaz/kernel/misc/ndiswrapper.ko.xz
/sbin/loadndisdriver
================================================================================
2 files

root@Linuxmaschine:/home/prankenandi# modinfo ndiswrapper

modinfo: ERROR: Module ndiswrapper not found.

root@Linuxmaschine:/home/prankenandi# modprobe -v ndiswrapper

modprobe: FATAL: Module ndiswrapper not found.[/c]
So I searched for it, and found it...mmmhhh....

[c]root@Linuxmaschine:/home/prankenandi# find / -name *ndiswrapper*

/lib/modules/3.2.71-slitaz/kernel/misc/ndiswrapper.ko.xz
/etc/ndiswrapper
/usr/sbin/ndiswrapper
/usr/sbin/ndiswrapper-buginfo
/var/lib/tazpkg/installed/ndiswrapper-driver
/var/lib/tazpkg/installed/ndiswrapper-utils
/var/cache/tazpkg/5.0/packages/ndiswrapper-1.59.tazpkg
/var/cache/tazpkg/5.0/packages/ndiswrapper-driver-1.59_3.2.71.tazpkg[/c]
Then I tried to load it manually (in various ways):

[c]root@Linuxmaschine:/# insmod /lib/modules/3.2.71-slitaz/kernel/misc/ndiswrapper.ko
insmod: can't read '/lib/modules/3.2.71-slitaz/kernel/misc/ndiswrapper.ko': No such file or directory

root@Linuxmaschine:/# insmod /lib/modules/3.2.71-slitaz/kernel/misc/ndiswrapper
insmod: can't read '/lib/modules/3.2.71-slitaz/kernel/misc/ndiswrapper': No such file or directory

root@Linuxmaschine:/# insmod /lib/modules/3.2.71-slitaz/kernel/misc/ndiswrapper.ko.xz
insmod: error inserting '/lib/modules/3.2.71-slitaz/kernel/misc/ndiswrapper.ko.xz': -1 Invalid module format[/c]
Maybe something went wrong during the Installation?

cheers?

Offline

#4 2015-10-19 14:38:24

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: couldn't find ndiswrapper kernelmodule

[c]root@slitaz:/home/tux# depmod -a[/c]

[c]root@slitaz:/home/tux# modinfo[/c]

If the output remains:  modinfo: ERROR: Module ndiswrapper not found.

File system corruption caused by drive/memory failure can cause senseless malfunctions.

What drive type did you install on (usb flash.compact flash, hard drive) and what filesystem did you use.

Offline

#5 2015-10-19 21:41:48

prankenandi
Member
Registered: 2015-10-18
Posts: 4

Re: couldn't find ndiswrapper kernelmodule

Hello,

both commands gave no output at all.

I tried to install it on a hard drive with ext4 as filesystem.

Because you mentioned the fs I tried ext3 instead of ext4, but that made things even worse.

First I could load the ndis-module, but the WinXP-driver not correctly. Then after the module was loaded I couldn't connect by ethernet-cable anymore, but the wifi/ndis didn't work either.

Unplugging the ethernet-cable while the PC was on lead to suddenly turning off the PC (reproducible) !!!

Then I thought I might try the stable-version, but this didn't even boot. It stopped after ~5 sec with a Kernel-Panic-message. (" kernel panic-not syncing: VFS: unable to mount root fs on unknown block(0,0)")

Then back to ext4. Stable-Version again Kernel-Panic and Slitaz 5.0 did boot, but no wallpaper, no panel and no menu was displayed.

Mmmmhhhh...I don't know?!

Even though I formatted the hard drive and downloaded new iso-images the problems did persist.

Might the the hard drive be defect?

Or any other suggestions?

Thanks for your help so far!

cheers

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.031 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]