Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SAMBA won't mount
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kagato
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2005
Posts: 80

PostPosted: Wed Nov 28, 2007 7:44 am    Post subject: SAMBA won't mount Reply with quote

I've seen several posts but all lead to dead-ends.

Code:
heaven kagato # mount.smbfs //dcomp/Call_Of_Duty_4-Razor19111 /mnt/floppy/
Password:
ERROR: smbfs filesystem not supported by the kernel
Please refer to the smbmnt(8) manual page
smbmnt failed: 255


Code:
heaven kagato # smbmount //dcomp/Call_Of_Duty_4-Razor19111 /mnt/floppy/
Password:
ERROR: smbfs filesystem not supported by the kernel
Please refer to the smbmnt(8) manual page
smbmnt failed: 255
heaven kagato # modprobe smbfs
FATAL: Error inserting smbfs (/lib/modules/2.6.22-gentoo-r9/kernel/fs/smbfs/smbfs.ko): Unknown symbol in module, or unknown parameter (see dmesg)
heaven kagato # dmesg | tail
smbfs: disagrees about version of symbol kernel_sendmsg
smbfs: Unknown symbol kernel_sendmsg
smbfs: disagrees about version of symbol kernel_recvmsg
smbfs: Unknown symbol kernel_recvmsg
smbfs: disagrees about version of symbol kernel_sendmsg
smbfs: Unknown symbol kernel_sendmsg
smbfs: disagrees about version of symbol kernel_recvmsg
smbfs: Unknown symbol kernel_recvmsg
smbfs: disagrees about version of symbol kernel_sendmsg
smbfs: Unknown symbol kernel_sendmsg
heaven kagato # modprobe cifs
FATAL: Error inserting cifs (/lib/modules/2.6.22-gentoo-r9/kernel/fs/cifs/cifs.ko): Unknown symbol in module, or unknown parameter (see dmesg)


I had SMB and CIFS compiled as modules and as being built into the kernel. Please. I need my CoD4 :( And its on my windows box lol
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Wed Nov 28, 2007 12:37 pm    Post subject: Reply with quote

try to rebulild the kernel modules
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
kagato
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2005
Posts: 80

PostPosted: Thu Nov 29, 2007 12:00 am    Post subject: Reply with quote

That didn't fix it :( Still displaying same errors.
Back to top
View user's profile Send private message
kagato
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2005
Posts: 80

PostPosted: Thu Nov 29, 2007 8:56 am    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
ghutzl
Tux's lil' helper
Tux's lil' helper


Joined: 29 May 2005
Posts: 119
Location: Germany

PostPosted: Thu Nov 29, 2007 9:41 am    Post subject: Reply with quote

Do you have automatic kernel module loading switched on in your kernel config? Check for
Code:
CONFIG_KMOD=y

in your kernel config. If not you should activate it. This will load kernel modules automatically if they are needed. Or you have to manually load the module with
Code:
modprobe smbfs

or add smbfs to /etc/modules.autoload.d/kernel-2.6 (I assume you are using a 2.6.x kernel) and reboot.
Back to top
View user's profile Send private message
kagato
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2005
Posts: 80

PostPosted: Fri Nov 30, 2007 2:56 am    Post subject: Reply with quote

Thats the problem there...when it goes to laod the module it spits out the error

Code:
FATAL: Error inserting smbfs (/lib/modules/2.6.22-gentoo-r9/kernel/fs/smbfs/smbfs.ko): Unknown symbol in module, or unknown parameter (see dmesg)


Dmesg:
Code:
heaven kagato # dmesg | tail
eth0: link down
eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
eth0: link down
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: link down
eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
smbfs: disagrees about version of symbol kernel_recvmsg
smbfs: Unknown symbol kernel_recvmsg
smbfs: disagrees about version of symbol kernel_sendmsg
smbfs: Unknown symbol kernel_sendmsg
heaven kagato #
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Fri Nov 30, 2007 11:05 am    Post subject: Reply with quote

The module not match the kernel in use, this is the problem.

You are in use genkernel or compile manually kernel and modules?
gentoo-sources or vanilla-sources?
On gentoo/hadened-sources (what I use now) be sure that the option CONFIG_LOCALVERSION is set to N and CONFIG_MODVERSION to Y.

If you have CONFIG_KMOD=Y can be not the samba.ko module but anoter outdated dependence the source of the error (or a mismatch between old kernels version module in /lib/modules). Try to clean the dir /lib/modules/$(uname -r)/kernel and rebuild all and verify to not have modules.dep and similar files in /lib/modules.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
kagato
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2005
Posts: 80

PostPosted: Sat Dec 01, 2007 3:00 am    Post subject: Reply with quote

I compile manually. I'll try to rebuild it again see if it fixes it. But I've used only one kernel version, whatever the current gentoo sources are right now.
Back to top
View user's profile Send private message
diablo465
Apprentice
Apprentice


Joined: 10 Sep 2013
Posts: 194

PostPosted: Thu Mar 20, 2014 1:50 am    Post subject: Reply with quote

any update to this problem?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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