SliTaz SliTaz Forum

You are not logged in.

#1 2011-05-19 16:54:00

blake
Member
Registered: 2011-05-19
Posts: 17

smbfs modprobe cifs

I really feel like I'm spamming a lot here.

For reference, I'm using the latest cooking iso.

Anyways, I'm trying to connect to a shared folder on a win7 machine, over wireless network.

I followed this tutorial: http://vanilla.slitaz.org/index.php?p=/discussion/1444/slitaz-and-windows-networking/p1

When I try to modprobe cifs, it gives me the error:

modprobe: can't load module cifs (/lib/modules/2.6.37-slitaz/kernel/fs/cifs/cifs.ko.gz): invalid module format

Offline

#2 2011-05-20 18:50:48

blake
Member
Registered: 2011-05-19
Posts: 17

Re: smbfs modprobe cifs

I tried compiling a new kernel, to add in cifs support, but towards the end of make, it gave me an error that I don't have enough memory. Pretty awesome.

Offline

#3 2011-05-23 03:20:29

blake
Member
Registered: 2011-05-19
Posts: 17

Re: smbfs modprobe cifs

Still no info on this? This is pretty much the last thing I need to get working, before I can be completely content with this distro.

Offline

#4 2011-05-24 15:22:00

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

Re: smbfs modprobe cifs

Sorry for the bad news,there is a problem with your install.

Maybe the module is damaged or it is not compatible with the kernel.

I use smbfs/cifs on 3 installs of cooking with no errors on load of cifs module or mount of file shares.

Slight chance but maybe a tazpkg clean-cache,tazpkg recharge, tazpkg upgrade,tazpkg get-install  --forced for linux,smbfs,and linux-cifs.

Offline

#5 2011-05-24 18:50:57

kiwited
Member
Registered: 2011-05-24
Posts: 3

Re: smbfs modprobe cifs

Slitaz cooking: I am also unable to connect to my LAN, although I have no trouble with the internet.

tazpkg get-install smbfs results in a message that smbfs is not in the mirrored packages list

modprobe cifs gets a message that module cifs is not found in modules.dep

What have I done wrong?

Offline

#6 2011-05-24 19:14:46

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

Re: smbfs modprobe cifs

#tazpkg set-release cooking

#tazpkg recharge

#tazpkg get-install linux-cifs

#tazpkg get-install smbfs

If tazpkg isn't fetching the packages download here with browser:

http://mirror.slitaz.org/packages/cooking/

#tazpkg install pkgname.tazpkg

Offline

#7 2011-05-25 07:07:59

kiwited
Member
Registered: 2011-05-24
Posts: 3

Re: smbfs modprobe cifs

Thanks for your answer Mojo.

Followed instructions, then tried to start samba. Nothing seemed to happen.

Tried to start pyNeighborhood, got the following:

/usr/bin/nautilus isn't accessable, falling back to default: /usr/bin/nautilus

/usr/bin/nautilus isn't accessable... trying to determine correct filemanager...

Couldn't get valid filemanager for detected desktop environment False, falling back to default /usr/bin/nautilus...

Starting browsing...

Found Master Browser: 192.168.2.2

Master Browser 192.168.2.2 is member of workgroup WORKGROUP

Found Master Browser: 192.168.2.2

Master Browser 192.168.2.2 is member of workgroup WORKGROUP

Found Master Browser: 192.168.2.2

Master Browser 192.168.2.2 is member of workgroup WORKGROUP

Found workgroup: WORKGROUP

Scanning host KIWITED-UBUNTU for shares...

Found share: shared

Found share: music

Found share: share

Starting sync...

and that was it!

Those are the shared folder on my desktop, but I could not find a way to access them.

Is there something else I must do to connect to a network?

Offline

#8 2011-05-26 04:17:15

Guest
Guest

Re: smbfs modprobe cifs

i had the same problem with cooking. kernel arch was originally 486, but there was a change to 386 at some point. when you install linux-cifs, the module is 386 (new) w/an old 486 kernel and don't load

check it with

#modinfo cifs | grep vermagic

#uname -r

upgrading the kernel resolves this issue, but generate other similar ones

upgrading all packages broke my Xorg w/my nvidia cards

re-compiling the kernel without the 'nouveau.ko' module resolved all these issues, worked for me on both an old P4 machine w/1GB ram and a recent xeon 4 core w/6GB ram

hope this helps...

#9 2011-05-26 08:40:52

kiwited
Member
Registered: 2011-05-24
Posts: 3

Re: smbfs modprobe cifs

Thanks Zacari

I think I am getting out of my depth here sad

Following your instructions:

vermagic:       2.6.37-slitaz SMP mod_unload 386

and

uname -r gave 2.6.37-slitaz

As for recompiling a kernel, I am afraid I wouldn't have a clue how to start!

Any other thoughts?

Offline

#10 2011-05-26 09:00:39

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: smbfs modprobe cifs

Two documents may help you to compile the kernel:

1) http://doc.slitaz.org/en:guides:kernel

2) http://vanilla.slitaz.org/index.php?p=/discussion/817/solved-how-to-make-new-kernel-module-available-without-the-wok-s#Item_4

Happy slitaz

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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