lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 15 Jul 2009 17:32:19 +0200 (CEST)
From:	"Gerhard Hintermayer" <g.hintermayer@...de.at>
To:	<linux-kernel@...r.kernel.org>
Subject: mounting cifs filesystems not possible

while trying to mount a  cifs filesystem on a gentoo system:

Linux brklev2b 2.6.29-gentoo-r5 #1 SMP Wed Jul 15 14:46:51 CEST 2009 i686
Intel(R) Xeon(R) CPU 5130 @ 2.00GHz GenuineIntel GNU/Linux

via mount command:

mount -t cifs -o user=aprol,password=*****,
ip=10.5.12.105 //BRKVN05/AtlasPM /mnt/AtlasPM

I get the error : "mount: Not a directory" even though the mountpoint
exists and is a valid directory

Dmesg says:

fs/cifs/cifsfs.c: Devname: //BRKVN05/AtlasPM flags: 0
 fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 3 with uid: 0
 fs/cifs/connect.c: Username: aprol
 fs/cifs/connect.c: UNC: \\BRKVN05\AtlasPM ip: 10.5.12.105
 fs/cifs/connect.c: Socket created
 fs/cifs/connect.c: sndbuf 16384 rcvbuf 87380 rcvtimeo 0x2bc
 fs/cifs/connect.c: Existing smb sess not found
 fs/cifs/cifssmb.c: secFlags 0x7
 fs/cifs/transport.c: For smb_command 114
 fs/cifs/transport.c: Sending smb:  total_len 51
 fs/cifs/connect.c: Demultiplex PID: 5083
 fs/cifs/connect.c: rfc1002 length 0x6f
 fs/cifs/cifssmb.c: Dialect: 0
 fs/cifs/cifssmb.c: negprot rc 0
 fs/cifs/connect.c: Security Mode: 0x3 Capabilities: 0x1f3fd TimeAdjust:
-7200
 fs/cifs/sess.c: sess setup type 2
 fs/cifs/transport.c: For smb_command 115
 fs/cifs/transport.c: Sending smb:  total_len 242
 fs/cifs/connect.c: rfc1002 length 0xc7
 fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release
 fs/cifs/sess.c: ssetup rc from sendrecv2 is 0
 fs/cifs/sess.c: UID = 14336
 fs/cifs/sess.c: bleft 153
 fs/cifs/sess.c: words left: 0
 fs/cifs/sess.c: ssetup freeing small buf edca9740
 fs/cifs/connect.c: CIFS Session Established successfully
 fs/cifs/connect.c: file mode: 0x5f7  dir mode: 0x1ff
 fs/cifs/transport.c: For smb_command 117
 fs/cifs/transport.c: Sending smb:  total_len 90
 fs/cifs/connect.c: rfc1002 length 0x42
 fs/cifs/connect.c: disk share connection
 fs/cifs/connect.c: Tcon flags: 0x1
 fs/cifs/connect.c: CIFS Tcon rc = 0
 fs/cifs/cifssmb.c: In QFSDeviceInfo
 fs/cifs/transport.c: For smb_command 50
 fs/cifs/transport.c: Sending smb:  total_len 72
 fs/cifs/connect.c: rfc1002 length 0x44
 fs/cifs/cifssmb.c: In QFSAttributeInfo
 fs/cifs/transport.c: For smb_command 50
 fs/cifs/transport.c: Sending smb:  total_len 72
 fs/cifs/connect.c: rfc1002 length 0x50
 fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 3) rc = 0
------------[ cut here ]------------
WARNING: at fs/inode.c:362 invalidate_inodes+0xa6/0xe1()
Hardware name: PowerEdge 2950
Modules linked in: cifs nfsd exportfs ncpfs bonding floppy e1000e bnx2
thermal button processor thermal_sys e1000 nfs lockd sunrpc usbhid sg
scsi_wait_scan [last unloaded: cifs]
Pid: 5082, comm: mount Tainted: G        W  2.6.29-gentoo-r5 #1
Call Trace:
 [<c011d251>] warn_slowpath+0x71/0xa8
 [<c01158f6>] ? __wake_up+0x31/0x3b
 [<f84bc7b0>] ? cifs_init_once+0xe/0x16 [cifs]
 [<c01587e3>] ? cache_alloc_refill+0x62/0x434
 [<c0170283>] ? generic_sync_sb_inodes+0x395/0x3a5
 [<c01301de>] ? lowest_in_progress+0x43/0x4b
 [<c016982a>] invalidate_inodes+0xa6/0xe1
 [<c015c96b>] generic_shutdown_super+0x3c/0xda
 [<c015ca4c>] kill_anon_super+0x12/0x31
 [<c015cabc>] deactivate_super+0x35/0x47
 [<c016c05e>] mntput_no_expire+0xc6/0xe6
 [<c016c91d>] do_add_mount+0xd0/0xd8
 [<c016d511>] do_mount+0x631/0x654
 [<c0142138>] ? __get_free_pages+0x1e/0x24
 [<c016bc53>] ? copy_mount_options+0x2a/0xf9
 [<c016d59e>] sys_mount+0x6a/0xa8
 [<c0102cc5>] sysenter_do_call+0x12/0x25
---[ end trace ea473e21e738f567 ]---
 fs/cifs/cifsfs.c: In cifs_put_super
 fs/cifs/connect.c: CIFS VFS: in cifs_put_tcon as Xid: 4 with uid: 0
 fs/cifs/cifssmb.c: In tree disconnect
 fs/cifs/transport.c: For smb_command 113
 fs/cifs/transport.c: Sending smb:  total_len 39
 fs/cifs/connect.c: rfc1002 length 0x27
 fs/cifs/connect.c: CIFS VFS: in cifs_put_smb_ses as Xid: 5 with uid: 0
 fs/cifs/cifssmb.c: In SMBLogoff for session disconnect
 fs/cifs/transport.c: For smb_command 116
 fs/cifs/transport.c: Sending smb:  total_len 43
 fs/cifs/connect.c: rfc1002 length 0x2b

BTW -CIFS_EXPERIMENTAL is not turned on. Tried to remove that as a first
step, but I need reexporting the directory, so will have to activate it
anyhow.

any ideas what might go wrong. (mounting under an older kernel 2.6.19
worked like a charm)
thanks

Gerhard


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ