toracat <toracat@xxxxxxxxxxxxxx> writes: > On Sun, 28 Jan 2007 20:55:37 +0100, Lars Bjørndal wrote: > >> toracat <toracat@xxxxxxxxxxxxxx> 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