[Samba] Problem with CIFS on Linux-2.4.22

Michael Reinelt reinelt at eunet.at
Thu Feb 19 09:00:12 GMT 2004


Hi there,

I'm resending this to the list as I didn't get an answer from sfrench..

> I hope I'm right here. I just followed the "Ask the developer" link on 
> the CIFS homepage...
> 
> I have to mount a little share from a Windows server, which I did with 
> smbmount in the past. Now the server has been upgraded to Win2003, and 
> I'm facing the "SMB signing" problem.
> 
> I read that smbfs does not support this at all, the only solution is to 
> use cifs. So I donwnloaded the cifs-0.9.9a, patched my (vanilla) 2.4.22 
> kernel, and did a little testing. But I failed here, too.
> 
> I tried to mount a share from w windows 2000 machine (got no 2003 here):
> 
> Feb  3 13:45:42 merlin kernel:  CIFS VFS: Error -32 sending data on 
> socket to server.
> Feb  3 13:45:42 merlin kernel:  CIFS VFS: Active MIDs in queue while 
> exiting - can not delete mid_q_entries or TCP_Server_Info structure due 
> to pending requests MEMORY LEAK!!
> Feb  3 13:45:57 merlin kernel:  CIFS VFS: cifs_mount failed w/return 
> code = -112
> 
> On the next try I get an Ooops:
> Feb  3 13:47:51 merlin kernel: Unable to handle kernel NULL pointer 
> dereference at virtual address 00000000
> Feb  3 13:47:51 merlin kernel:  printing eip:
> Feb  3 13:47:51 merlin kernel: fa678e72
> Feb  3 13:47:51 merlin kernel: *pde = 00000000
> Feb  3 13:47:51 merlin kernel: Oops: 0002
> Feb  3 13:47:51 merlin kernel: CPU:    0
> Feb  3 13:47:51 merlin kernel: EIP:    0010:[<fa678e72>]    Tainted: P
> Feb  3 13:47:51 merlin kernel: EFLAGS: 00010286
> Feb  3 13:47:51 merlin kernel: eax: f68dceac   ebx: f0eed120   ecx: 
> 00000286   edx: 00000000
> Feb  3 13:47:51 merlin kernel: esi: eee0a000   edi: f68dce60   ebp: 
> 00000001   esp: eee0bd84
> Feb  3 13:47:51 merlin kernel: ds: 0018   es: 0018   ss: 0018
> Feb  3 13:47:51 merlin kernel: Process mount.cifs (pid: 1784, 
> stackpage=eee0b000)
> Feb  3 13:47:51 merlin kernel: Stack: f68dce60 ef638020 00000000 
> f68dce60 fa67916e ef638020 f68dce60 f68dce60
> Feb  3 13:47:51 merlin kernel:        fa685bcc ef638065 f68dce60 
> fa667939 00000001 f68dce60 ef638020 ef638020
> Feb  3 13:47:51 merlin kernel:        eee0bdd4 00000000 ffffffff 
> 00000000 00000000 ef638020 ef638020 00000000
> Feb  3 13:47:51 merlin kernel: Call Trace:    [<fa67916e>] [<fa685bcc>] 
> [<fa667939>] [<fa66e19d>] [vsprintf+22/32]
> Feb  3 13:47:51 merlin kernel:   [<fa685f47>] [sprintf+20/32] 
> [<fa685f3c>] [<fa66ea57>] [<fa4f0ae0>] [handle_mm_fault+86/192]
> Feb  3 13:47:51 merlin kernel:   [alloc_super+44/352] [<fa667081>] 
> [<fa6898f0>] [get_sb_nodev+56/128] [<fa6898f0>] [do_kern_mount+217/256]
> Feb  3 13:47:51 merlin kernel:   [<fa6898f0>] [do_add_mount+117/352] 
> [do_mount+280/368] [copy_mount_options+77/160] [sys_mount+138/192] 
> [system_call+51/64]
> Feb  3 13:47:51 merlin kernel:
> Feb  3 13:47:51 merlin kernel: Code: 89 1a ff 05 54 a5 68 fa 89 d8 c7 43 
> 28 01 00 00 00 5b 5e 5f
> 
> I have to reboot my client which is a bit annoying. I can't reload the 
> cifs module because the kernel thinks its busy...
> 
> Any help would be greatly appreciated! If you have another workaround 
> (even without cifs) it would be welcome!
> 

Today I downloaded cifs-1.0.2b and the latest mount.cifs, but it 
doiesn't work, too. I get either a connection error:

Feb 19 09:53:36 merlin kernel:  <3> CIFS VFS: Error -32 sending data on 
socket to server.
Feb 19 09:53:36 merlin kernel:  CIFS VFS: cifs_mount failed w/return 
code = -5
Feb 19 09:54:09 merlin kernel:  CIFS VFS: Error -32 sending data on 
socket to server.
Feb 19 09:54:09 merlin kernel:  CIFS VFS: cifs_mount failed w/return 
code = -5
Feb 19 09:54:40 merlin kernel: CIFS: Unknown mount option debug
Feb 19 09:54:40 merlin kernel:  CIFS VFS: Error -32 sending data on 
socket to server.
Feb 19 09:54:40 merlin kernel:  CIFS VFS: cifs_mount failed w/return 
code = -5

or a segfault:

Feb 19 09:54:57 merlin kernel: Unable to handle kernel NULL pointer 
dereference at virtual address 00000000
Feb 19 09:54:57 merlin kernel:  printing eip:
Feb 19 09:54:57 merlin kernel: fa55d012
Feb 19 09:54:57 merlin kernel: *pde = 00000000
Feb 19 09:54:57 merlin kernel: Oops: 0002
Feb 19 09:54:57 merlin kernel: CPU:    0
Feb 19 09:54:57 merlin kernel: EIP:    0010:[<fa55d012>]    Tainted: P
Feb 19 09:54:57 merlin kernel: EFLAGS: 00010286
Feb 19 09:54:57 merlin kernel: eax: f638440c   ebx: f54ca220   ecx: 
00000246   edx: 00000000
Feb 19 09:54:57 merlin kernel: esi: ed6b4000   edi: f63843c0   ebp: 
00000000   esp: ed6b5d84
Feb 19 09:54:57 merlin kernel: ds: 0018   es: 0018   ss: 0018
Feb 19 09:54:57 merlin kernel: Process mount.cifs (pid: 2140, 
stackpage=ed6b5000)
Feb 19 09:54:57 merlin kernel: Stack: f63843c0 ed7880a0 00000000 
f63843c0 fa55d30e ed7880a0 f63843c0 f63843c0
Feb 19 09:54:57 merlin kernel:        fa569d2c ed7880e5 f63843c0 
fa54ba09 0000000f f63843c0 ed7880a0 ed7880a0
Feb 19 09:54:57 merlin kernel:        ed6b5dd4 00000000 ffffffff 
00000000 00000000 ed7880a0 ed7880a0 00000000
Feb 19 09:54:57 merlin kernel: Call Trace:    [<fa55d30e>] [<fa569d2c>] 
[<fa54ba09>] [<fa515ae0>] [<fa5555ec>]
Feb 19 09:54:57 merlin kernel:   [vsprintf+22/32] [<fa56a08e>] 
[sprintf+20/32] [<fa56a083>] [<fa552a52>] [<fa515ae0>]
Feb 19 09:54:57 merlin kernel:   [handle_mm_fault+86/192] 
[alloc_super+44/352] [<fa54b081>] [<fa56d830>] [get_sb_nodev+56/128] 
[<fa56d830>]
Feb 19 09:54:57 merlin kernel:   [do_kern_mount+217/256] [<fa56d830>] 
[do_add_mount+117/352] [do_mount+280/368] [copy_mount_options+77/160] 
[sys_mount+138/192]
Feb 19 09:54:57 merlin kernel:   [system_call+51/64]
Feb 19 09:54:57 merlin kernel:
Feb 19 09:54:57 merlin kernel: Code: 89 1a ff 05 94 e4 56 fa 89 d8 c7 43 
28 01 00 00 00 5b 5e 5f


I really need this stuff to connect to a W2K3 server!

Again: Any help would be greatly appreciated! If you have another 
workaround (even without cifs) it would be welcome!

Thanks in advance!

Michael

P.S. please CC any answers directly to me, cause I'm not subscribed to 
the list! Thanks!

-- 
Michael Reinelt                                   Tel: +43 676 3079941
Geisslergasse 4                                   Fax: +43 316  692343
A-8045 Graz, Austria                          e-mail: reinelt at eunet.at


More information about the samba mailing list