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

Re: FC5/FC6 latest kernel crash when using cifs



On Mon, 29 Jan 2007 06:38:43 +0100, Lars Bjørndal wrote:

> toracat <toracat roadrunner com> writes:
> 
>> On Sun, 28 Jan 2007 20:55:37 +0100, Lars Bjørndal wrote:
>>
>>> toracat <toracat roadrunner com> writes:
>>> 
>>>> I could not get the patch command to work either.  So, I manually
>>>> edited the sess.c file.  The change is very minor as you can see.  It
>>>> is probably easiest to just edit it.
>>> 
>>> After doing so, compiled and and copied the cifs.ko file into
>>> /lib/modules/... dir, I can mount my share, but as soon as I do ls
>>> /mnt/dir, I get a kernel error (EIP) message. However, I'm able to
>>> umount it again. So what's the problem this time, do you think?
>>> 
>>> Lars
>>
>> After mounting, what would you get with:
>>
>> cat /proc/fs/cifs/DebugData
>>
>> Do you see any garbled characters?  If not, the patch is working.  This
>> is just to ensure you are running the patched cifs.ko.
> 
> I get the following output:
> 
> Display Internal CIFS Data Structures for Debugging
> --------------------------------------------------- CIFS Version 1.46
> Active VFS Requests: 0
> Servers:
> 1) Name: 10.0.1.9  Domain: ä˜€ä„€ä´€ä¤€ä°€ä¤€ä”€äœ€åˆ Mounts: 1 OS: 圀椀渀搀漀眀猀 㔀⸀㄀
> 	NOS: 圀椀渀搀漀眀猀 ㈀    䰀䄀一 䴀愀渀愀最攀爀	Capability: 0xe3fd SMB session status: 1
> 	TCP status: 1
> 	Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
> MIDs:
> 
> Shares:
> 1) \\10.0.1.9\tmp Uses: 1 Type: NTFS DevInfo: 0x20 Attributes: 0x700ff
> PathComponentMax: 255 Status: 1 type: DISK
> 
> Lars

You do get garbled characters.  This means you are still running the
unpatched version of cifs.  After copying cifs.ko, you must rmmod cifs
then modprobe cifs to load the new version.  Then run the above command
again and make sure there is no garbled characters.

Akemi


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