[linux-cifs-client] Re: trying to mount.cifs a DFS share - system,
freeze
Tomasz Chmielewski
mangoo at wpkg.org
Fri Mar 23 20:50:50 GMT 2007
Steve French (smfltc) schrieb:
>> slab error in verify_redzone_free(): cache `size-64': memory outside
>> object was overwritten
>
> Are you getting this on the server or on the client?
It's on the client.
The server is running Windows 2003.
> If you are familiar with the fairly simple process of building a kernel
> module, would you try building current
> cifs code (1.48) to make sure it does not already fix this
> (this matches the level of cifs in mainline linux kernel 2.6.21-rc)
> http://svn.samba.org/samba/ftp/cifs-cvs/cifs-1.48.tar.gz
>
>
> If on the client, and it is not already fixed, please open a bug report
> at bugzilla.samba.org selecting
> component CIFSVFS. If the verify_redzone bug is happening
> on the server, cifs vfs is not running on that machine (Samba server
> is implemented in userspace not kernel), and you would open the bug at
> bugzilla.kernel.org
OK, I tried to build it with 2.6.21-rc4, it failed.
CONFIG_CIFS=m
CONFIG_CIFS_STATS=y
CONFIG_CIFS_STATS2=y
CONFIG_CIFS_WEAK_PW_HASH=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
# CONFIG_CIFS_DEBUG2 is not set
CONFIG_CIFS_EXPERIMENTAL=y
# CONFIG_CIFS_UPCALL is not set
I tried to build it with gcc-4.1.2.
I just downloaded the cifs-1.48.tar.gz archive, and replaced the
contents of fs/cifs in 2.6.21-rc4 tree.
LD fs/cifs/built-in.o
CC [M] fs/cifs/cifsfs.o
In file included from fs/cifs/cifsfs.c:37:
fs/cifs/cifspdu.h:2131: error: expected declaration specifiers or ‘...’
before ‘(’ token
fs/cifs/cifspdu.h:2131: error: function definition declared ‘typedef’
fs/cifs/cifspdu.h:2131: warning: function declaration isn’t a prototype
fs/cifs/cifspdu.h: In function ‘__atribute__’:
fs/cifs/cifspdu.h:2131: error: expected declaration specifiers before
‘OPEN_PSX_RSP’
fs/cifs/cifspdu.h:2136: warning: empty declaration
fs/cifs/cifspdu.h:2139: warning: empty declaration
fs/cifs/cifspdu.h:2144: warning: empty declaration
fs/cifs/cifspdu.h:2168: error: storage class specified for parameter
‘FILE_UNIX_INFO’
fs/cifs/cifspdu.h:2182: error: storage class specified for parameter
‘FILE_DIRECTORY_INFO’
fs/cifs/cifspdu.h:2197: error: storage class specified for parameter
‘FILE_FULL_DIRECTORY_INFO’
fs/cifs/cifspdu.h:2214: error: storage class specified for parameter
‘SEARCH_ID_FULL_DIR_INFO’
fs/cifs/cifspdu.h:2232: error: storage class specified for parameter
‘FILE_BOTH_DIRECTORY_INFO’
fs/cifs/cifspdu.h:2247: error: storage class specified for parameter
‘FIND_FILE_STANDARD_INFO’
fs/cifs/cifspdu.h:2254: warning: empty declaration
fs/cifs/cifspdu.h:2259: warning: empty declaration
fs/cifs/cifspdu.h:2264: warning: empty declaration
fs/cifs/cifspdu.h:2272: warning: empty declaration
fs/cifs/cifspdu.h:2279: warning: empty declaration
fs/cifs/cifspdu.h:2286: warning: empty declaration
fs/cifs/cifspdu.h:2391: warning: empty declaration
fs/cifs/cifspdu.h:2399: error: storage class specified for parameter
‘FILE_XATTR_INFO’
fs/cifs/cifspdu.h:2425: error: storage class specified for parameter
‘FILE_CHATTR_INFO’
In file included from fs/cifs/cifsglob.h:19,
from fs/cifs/cifsfs.c:39:
include/linux/in.h:52: warning: empty declaration
include/linux/in.h:58: warning: empty declaration
include/linux/in.h:118: warning: empty declaration
include/linux/in.h:125: warning: empty declaration
include/linux/in.h:131: warning: empty declaration
include/linux/in.h:139: warning: empty declaration
include/linux/in.h:149: warning: empty declaration
include/linux/in.h:156: warning: empty declaration
include/linux/in.h:165: warning: empty declaration
include/linux/in.h:176: warning: empty declaration
include/linux/in.h:188: warning: empty declaration
In file included from fs/cifs/cifsglob.h:22,
from fs/cifs/cifsfs.c:39:
fs/cifs/cifs_fs_sb.h:45: warning: empty declaration
In file included from fs/cifs/cifsfs.c:39:
fs/cifs/cifsglob.h:98: warning: empty declaration
fs/cifs/cifsglob.h:107: warning: empty declaration
fs/cifs/cifsglob.h:114: warning: empty declaration
fs/cifs/cifsglob.h:173: warning: empty declaration
fs/cifs/cifsglob.h:186: warning: empty declaration
fs/cifs/cifsglob.h:214: warning: empty declaration
fs/cifs/cifsglob.h:282: warning: empty declaration
fs/cifs/cifsglob.h:293: warning: empty declaration
fs/cifs/cifsglob.h:311: warning: empty declaration
fs/cifs/cifsglob.h:331: warning: empty declaration
fs/cifs/cifsglob.h:351: warning: empty declaration
fs/cifs/cifsglob.h:356: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{’ token
fs/cifs/cifsglob.h:362: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{’ token
fs/cifs/cifsglob.h:382: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{’ token
fs/cifs/cifsglob.h:394: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{’ token
fs/cifs/cifsglob.h:404: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{’ token
fs/cifs/cifsglob.h:436: warning: empty declaration
fs/cifs/cifsglob.h:443: warning: empty declaration
fs/cifs/cifsglob.h:457: warning: empty declaration
In file included from fs/cifs/cifsproto.h:23,
from fs/cifs/cifsfs.c:40:
include/linux/nls.h:7: error: storage class specified for parameter
‘wchar_t’
include/linux/nls.h:12: error: expected ‘)’ before ‘uni’
include/linux/nls.h:13: error: expected ‘;’ before ‘int’
include/linux/nls.h:19: warning: empty declaration
include/linux/nls.h:25: error: storage class specified for parameter
‘register_nls’
include/linux/nls.h:26: error: storage class specified for parameter
‘unregister_nls’
include/linux/nls.h:27: error: storage class specified for parameter
‘load_nls’
include/linux/nls.h:28: error: storage class specified for parameter
‘unload_nls’
include/linux/nls.h:29: error: storage class specified for parameter
‘load_nls_default’
include/linux/nls.h:31: error: expected ‘)’ before ‘*’ token
include/linux/nls.h:32: error: expected ‘)’ before ‘*’ token
include/linux/nls.h:33: error: expected declaration specifiers or ‘...’
before ‘wchar_t’
include/linux/nls.h:33: error: storage class specified for parameter
‘utf8_wctomb’
include/linux/nls.h:34: warning: type defaults to ‘int’ in declaration
of ‘wchar_t’
include/linux/nls.h:34: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
include/linux/nls.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{’ token
include/linux/nls.h:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{’ token
include/linux/nls.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{’ token
In file included from fs/cifs/cifsfs.c:40:
fs/cifs/cifsproto.h:26: warning: empty declaration
fs/cifs/cifsproto.h:46: error: storage class specified for parameter
‘cifs_buf_get’
fs/cifs/cifsproto.h:47: error: storage class specified for parameter
‘cifs_buf_release’
fs/cifs/cifsproto.h:48: error: storage class specified for parameter
‘cifs_small_buf_get’
fs/cifs/cifsproto.h:49: error: storage class specified for parameter
‘cifs_small_buf_release’
fs/cifs/cifsproto.h:51: error: storage class specified for parameter
‘smb_send’
fs/cifs/cifsproto.h:52: error: storage class specified for parameter
‘_GetXid’
fs/cifs/cifsproto.h:53: error: storage class specified for parameter
‘_FreeXid’
fs/cifs/cifsproto.h:56: error: storage class specified for parameter
‘build_path_from_dentry’
fs/cifs/cifsproto.h:57: error: storage class specified for parameter
‘build_wildcard_path_from_dentry’
fs/cifs/cifsproto.h:62: error: storage class specified for parameter
‘SendReceive’
fs/cifs/cifsproto.h:65: error: storage class specified for parameter
‘SendReceive2’
fs/cifs/cifsproto.h:69: error: storage class specified for parameter
‘SendReceiveBlockingLock’
fs/cifs/cifsproto.h:70: error: storage class specified for parameter
‘checkSMBhdr’
fs/cifs/cifsproto.h:71: error: storage class specified for parameter
‘checkSMB’
fs/cifs/cifsproto.h:72: error: storage class specified for parameter
‘is_valid_oplock_break’
fs/cifs/cifsproto.h:73: error: storage class specified for parameter
‘is_size_safe_to_change’
fs/cifs/cifsproto.h:74: error: storage class specified for parameter
‘find_writable_file’
fs/cifs/cifsproto.h:75: error: storage class specified for parameter
‘smbCalcSize’
fs/cifs/cifsproto.h:76: error: storage class specified for parameter
‘smbCalcSize_LE’
fs/cifs/cifsproto.h:78: error: storage class specified for parameter
‘decode_negTokenInit’
fs/cifs/cifsproto.h:79: error: storage class specified for parameter
‘cifs_inet_pton’
fs/cifs/cifsproto.h:80: error: storage class specified for parameter
‘map_smb_to_linux_error’
fs/cifs/cifsproto.h:82: error: storage class specified for parameter
‘header_assemble’
fs/cifs/cifsproto.h:86: error: storage class specified for parameter
‘small_smb_init_no_tc’
fs/cifs/cifsproto.h:89: error: storage class specified for parameter
‘CIFS_SessSetup’
fs/cifs/cifsproto.h:90: error: storage class specified for parameter
‘GetNextMid’
fs/cifs/cifsproto.h:92: error: storage class specified for parameter
‘AllocOplockQEntry’
fs/cifs/cifsproto.h:93: error: storage class specified for parameter
‘DeleteOplockQEntry’
fs/cifs/cifsproto.h:95: error: storage class specified for parameter
‘cifs_NTtimeToUnix’
fs/cifs/cifsproto.h:96: error: storage class specified for parameter
‘cifs_UnixTimeToNT’
fs/cifs/cifsproto.h:97: error: storage class specified for parameter
‘cnvrtDosUnixTm’
fs/cifs/cifsproto.h:103: error: storage class specified for parameter
‘cnvrtDosCifsTm’
fs/cifs/cifsproto.h:108: error: storage class specified for parameter
‘cifs_get_inode_info’
fs/cifs/cifsproto.h:111: error: storage class specified for parameter
‘cifs_get_inode_info_unix’
fs/cifs/cifsproto.h:114: error: storage class specified for parameter
‘cifs_mount’
fs/cifs/cifsproto.h:115: error: storage class specified for parameter
‘cifs_umount’
fs/cifs/cifsproto.h:120: error: storage class specified for parameter
‘cifs_setup_session’
fs/cifs/cifsproto.h:121: error: storage class specified for parameter
‘CIFSSMBNegotiate’
fs/cifs/cifsproto.h:125: error: storage class specified for parameter
‘CIFSTCon’
fs/cifs/cifsproto.h:130: error: storage class specified for parameter
‘CIFSFindFirst’
fs/cifs/cifsproto.h:133: error: storage class specified for parameter
‘CIFSFindNext’
fs/cifs/cifsproto.h:136: error: storage class specified for parameter
‘CIFSFindClose’
fs/cifs/cifsproto.h:142: error: storage class specified for parameter
‘CIFSSMBQPathInfo’
fs/cifs/cifsproto.h:146: error: storage class specified for parameter
‘SMBQueryInformation’
fs/cifs/cifsproto.h:152: error: storage class specified for parameter
‘CIFSSMBUnixQPathInfo’
fs/cifs/cifsproto.h:158: error: storage class specified for parameter
‘CIFSGetDFSRefer’
fs/cifs/cifsproto.h:162: error: storage class specified for parameter
‘connect_to_dfs_path’
fs/cifs/cifsproto.h:168: error: storage class specified for parameter
‘get_dfs_path’
fs/cifs/cifsproto.h:171: error: storage class specified for parameter
‘CIFSSMBQFSInfo’
fs/cifs/cifsproto.h:173: error: storage class specified for parameter
‘SMBOldQFSInfo’
fs/cifs/cifsproto.h:181: error: storage class specified for parameter
‘CIFSSMBSetFSUnixInfo’
fs/cifs/cifsproto.h:184: error: storage class specified for parameter
‘CIFSSMBQFSAttributeInfo’
fs/cifs/cifsproto.h:185: error: storage class specified for parameter
‘CIFSSMBQFSDeviceInfo’
fs/cifs/cifsproto.h:186: error: storage class specified for parameter
‘CIFSSMBQFSUnixInfo’
fs/cifs/cifsproto.h:189: error: storage class specified for parameter
‘CIFSSMBQFSPosixInfo’
fs/cifs/cifsproto.h:197: error: storage class specified for parameter
‘CIFSSMBSetTimes’
fs/cifs/cifsproto.h:199: error: storage class specified for parameter
‘CIFSSMBSetFileTimes’
fs/cifs/cifsproto.h:209: error: storage class specified for parameter
‘CIFSSMBSetEOF’
fs/cifs/cifsproto.h:212: error: storage class specified for parameter
‘CIFSSMBSetFileSize’
fs/cifs/cifsproto.h:217: error: storage class specified for parameter
‘CIFSSMBUnixSetPerms’
fs/cifs/cifsproto.h:222: error: storage class specified for parameter
‘CIFSSMBMkDir’
fs/cifs/cifsproto.h:225: error: storage class specified for parameter
‘CIFSSMBRmDir’
fs/cifs/cifsproto.h:230: error: storage class specified for parameter
‘CIFSSMBDelFile’
fs/cifs/cifsproto.h:234: error: storage class specified for parameter
‘CIFSSMBRename’
fs/cifs/cifsproto.h:238: error: storage class specified for parameter
‘CIFSSMBRenameOpenFile’
fs/cifs/cifsproto.h:243: error: storage class specified for parameter
‘CIFSCreateHardLink’
fs/cifs/cifsproto.h:248: error: storage class specified for parameter
‘CIFSUnixCreateHardLink’
fs/cifs/cifsproto.h:252: error: storage class specified for parameter
‘CIFSUnixCreateSymLink’
fs/cifs/cifsproto.h:257: error: storage class specified for parameter
‘CIFSSMBUnixQuerySymLink’
fs/cifs/cifsproto.h:262: error: storage class specified for parameter
‘CIFSSMBQueryReparseLinkInfo’
fs/cifs/cifsproto.h:268: error: storage class specified for parameter
‘CIFSSMBOpen’
fs/cifs/cifsproto.h:273: error: storage class specified for parameter
‘SMBLegacyOpen’
fs/cifs/cifsproto.h:275: error: storage class specified for parameter
‘CIFSSMBClose’
fs/cifs/cifsproto.h:280: error: storage class specified for parameter
‘CIFSSMBRead’
fs/cifs/cifsproto.h:285: error: storage class specified for parameter
‘CIFSSMBWrite’
fs/cifs/cifsproto.h:289: error: storage class specified for parameter
‘CIFSSMBWrite2’
fs/cifs/cifsproto.h:293: error: storage class specified for parameter
‘CIFSGetSrvInodeNumber’
fs/cifs/cifsproto.h:295: error: storage class specified for parameter
‘cifs_convertUCSpath’
fs/cifs/cifsproto.h:297: error: storage class specified for parameter
‘cifsConvertToUCS’
fs/cifs/cifsproto.h:303: error: storage class specified for parameter
‘CIFSSMBLock’
fs/cifs/cifsproto.h:307: error: storage class specified for parameter
‘CIFSSMBPosixLock’
fs/cifs/cifsproto.h:308: error: storage class specified for parameter
‘CIFSSMBTDis’
fs/cifs/cifsproto.h:309: error: storage class specified for parameter
‘CIFSSMBLogoff’
fs/cifs/cifsproto.h:311: error: storage class specified for parameter
‘sesInfoAlloc’
fs/cifs/cifsproto.h:312: error: storage class specified for parameter
‘sesInfoFree’
fs/cifs/cifsproto.h:313: error: storage class specified for parameter
‘tconInfoAlloc’
fs/cifs/cifsproto.h:314: error: storage class specified for parameter
‘tconInfoFree’
fs/cifs/cifsproto.h:316: error: storage class specified for parameter
‘cifs_reconnect’
fs/cifs/cifsproto.h:318: error: storage class specified for parameter
‘cifs_sign_smb’
fs/cifs/cifsproto.h:320: error: storage class specified for parameter
‘cifs_sign_smb2’
fs/cifs/cifsproto.h:322: error: storage class specified for parameter
‘cifs_verify_signature’
fs/cifs/cifsproto.h:323: error: storage class specified for parameter
‘cifs_calculate_mac_key’
fs/cifs/cifsproto.h:325: error: storage class specified for parameter
‘CalcNTLMv2_partial_mac_key’
(...)
--
Tomasz Chmielewski
http://wpkg.org
More information about the linux-cifs-client
mailing list