Re: Source code of SMB2 Kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/08/2010 10:23 AM, Steve French wrote:
> On Sun, Nov 7, 2010 at 8:58 PM, Shinnosuke Yagi
> <yagi.shinnosuke@xxxxxxxxxxxx> wrote:
>>
>>>
>>> try a modprobe smb2 or insmod smb2.ko
>>>
>>
>> I tried, but nothing changed.
>>
>> =================================================================
>> # modprobe -v smb2
>> insmod /lib/modules/2.6.36-rc4+/kernel/fs/smb2/smb2.ko
>> # mount -t smb2 //server/share /mnt/point -o user=xxxx
>> Password:
>> mount error: smb2 filesystem not supported by the system
>> mount error(19): No such device
>> Refer to the mount.smb2(8) manual page (e.g. man mount.smb2)
>> typescript (END)
>> =================================================================
>>
>> I got the same result when I tried with kernel bulit-in parameters
>> ( CONFIG_SMB2_FS=y ).
>>
>> Do I have to install other modules?
> 
> Yes - you need fscache, I turned the equivalent of Suresh's cifs
> fscache (for smb2) on by default.
> 
> "modprobe fscache"
> 

I guess absence of fscache would result in a different error than this
(perhaps invalid module format or something) and you won't be able to
successfully load smb2 module itself..

But, you could verify whether the smb2 module is loaded successfully by
doing
  lsmod | grep smb2

Also check dmesg output for possible errors..



-- 
Suresh Jayaraman
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux