From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755568AbZGOPik (ORCPT ); Wed, 15 Jul 2009 11:38:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755546AbZGOPik (ORCPT ); Wed, 15 Jul 2009 11:38:40 -0400 Received: from mailbackup.inode.at ([213.229.60.24]:55254 "EHLO mailbackup.inode.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755539AbZGOPij (ORCPT ); Wed, 15 Jul 2009 11:38:39 -0400 X-Greylist: delayed 314 seconds by postgrey-1.27 at vger.kernel.org; Wed, 15 Jul 2009 11:38:38 EDT Message-ID: <62.47.75.132.1247671939.wm@webmail.inode.at> Date: Wed, 15 Jul 2009 17:32:19 +0200 (CEST) Subject: mounting cifs filesystems not possible From: "Gerhard Hintermayer" To: X-Priority: 3 Importance: Normal Reply-To: g.hintermayer@inode.at X-Mailer: SquirrelMail (version 1.2.8) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: [] warn_slowpath+0x71/0xa8 [] ? __wake_up+0x31/0x3b [] ? cifs_init_once+0xe/0x16 [cifs] [] ? cache_alloc_refill+0x62/0x434 [] ? generic_sync_sb_inodes+0x395/0x3a5 [] ? lowest_in_progress+0x43/0x4b [] invalidate_inodes+0xa6/0xe1 [] generic_shutdown_super+0x3c/0xda [] kill_anon_super+0x12/0x31 [] deactivate_super+0x35/0x47 [] mntput_no_expire+0xc6/0xe6 [] do_add_mount+0xd0/0xd8 [] do_mount+0x631/0x654 [] ? __get_free_pages+0x1e/0x24 [] ? copy_mount_options+0x2a/0xf9 [] sys_mount+0x6a/0xa8 [] 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