I have a major problem with some DOS app.

I access a share on W2k with mounted share and lredir-ed in dosemu (same
problem with samba),
but it seems that the linux client dont see the locks issued by other
windows client.
Ok you probably know this.

Strange thing is also that sometimes when some win client lock the file for
modify
I can open the file on Linux-dosemu, and sometimes not. Really strange.
I also disabled oplocks on win2k server and win2k client, but there is no
difference.

It has to be in the issue that w2k diferentiates from linux (unix) and win
client.

The point is that win client has: 0x2019f file access and the same app under
dosemu
has: 0x3 file access. This is the difference that seems important to me.

I tried different versions od dosemu, samba, kernel, server (w2k or samba)
and it is always
the same. Win client opens the file in different mode. The applications is
the same!


Regards,
Gregor


DEBUG LOG: The important part is when error MFS: ERROR IS: Resource deadlock
avoided
occures.

MFS: Entering dos_fs_redirect, FN=0F
MFS: selecting drive fn=f sda_cds=0xbb60
MFS: selected drive 10: /mnt/aranea/arakp/
MFS: Get File Attributes K:\FIN--\SKKUP-01.101
MFS: dos_fs: build_ufs_path for DOS path 'K:\FIN--\SKKUP-01.101'
MFS: MFS: dos_gen: ufs '/mnt/aranea/arakp/', path '\FIN--\SKKUP-01.101',
l=18
MFS: dos_gen: path_to_ufs '/mnt/aranea/arakp//fin--/skkup-01.101'
MFS: dos_fs: build_ufs_path result is '/mnt/aranea/arakp/fin--/skkup-01.101'
MFS: find_file(/mnt/aranea/arakp/fin--/skkup-01.101)
MFS: find file /mnt/aranea/arakp/fin--/skkup-01.101
MFS: is_msdos_device /mnt/aranea/arakp/fin--/skkup-01.101
MFS: find_file gave /mnt/aranea/arakp/fin--/skkup-01.101 1
MFS: is_msdos_device /mnt/aranea/arakp/fin--/skkup-01.101
MFS: Finished dos_fs_redirect
MFS: Entering dos_fs_redirect, FN=23
MFS: selecting drive fn=23 sda_cds=0x1b7ef
MFS: FNX=K:\FIN--\SKKUP-
MFS: selected drive 10: /mnt/aranea/arakp/
MFS: Finished dos_fs_redirect
MFS: Entering dos_fs_redirect, FN=16
MFS: selecting drive fn=16 sda_cds=0xbb60
MFS: selected drive 10: /mnt/aranea/arakp/
MFS: (mode = 0x0042)
MFS: (sft_open_mode = 0x0042)
MFS: Open existing file K:\FIN--\SKKUP-01.101
MFS: dos_fs: build_ufs_path for DOS path 'K:\FIN--\SKKUP-01.101'
MFS: MFS: dos_gen: ufs '/mnt/aranea/arakp/', path '\FIN--\SKKUP-01.101',
l=18
MFS: dos_gen: path_to_ufs '/mnt/aranea/arakp//fin--/skkup-01.101'
MFS: dos_fs: build_ufs_path result is '/mnt/aranea/arakp/fin--/skkup-01.101'
MFS: auspr 'skkup-01.101'
MFS: auspr(skkup-01.101,SKKUP-01,101)
MFS: find_file(/mnt/aranea/arakp/fin--/skkup-01.101)
MFS: find file /mnt/aranea/arakp/fin--/skkup-01.101
MFS: is_msdos_device /mnt/aranea/arakp/fin--/skkup-01.101
MFS: find_file gave /mnt/aranea/arakp/fin--/skkup-01.101 1
MFS: is_msdos_device /mnt/aranea/arakp/fin--/skkup-01.101
MFS: open succeeds: '/mnt/aranea/arakp/fin--/skkup-01.101' fd = 0xa
MFS: Size : 1015808
MFS: Finished dos_fs_redirect
MFS: Entering dos_fs_redirect, FN=23
MFS: selecting drive fn=23 sda_cds=0x1b7ef
MFS: FNX=K:\FIN--\SKKUP-
MFS: selected drive 10: /mnt/aranea/arakp/
MFS: Finished dos_fs_redirect
MFS: Entering dos_fs_redirect, FN=0F
MFS: selecting drive fn=f sda_cds=0xbb60
MFS: selected drive 10: /mnt/aranea/arakp/
MFS: Get File Attributes K:\FIN--\SKKUP-01.101
MFS: dos_fs: build_ufs_path for DOS path 'K:\FIN--\SKKUP-01.101'
MFS: MFS: dos_gen: ufs '/mnt/aranea/arakp/', path '\FIN--\SKKUP-01.101',
l=18
MFS: dos_gen: path_to_ufs '/mnt/aranea/arakp//fin--/skkup-01.101'
MFS: dos_fs: build_ufs_path result is '/mnt/aranea/arakp/fin--/skkup-01.101'
MFS: find_file(/mnt/aranea/arakp/fin--/skkup-01.101)
MFS: find file /mnt/aranea/arakp/fin--/skkup-01.101
MFS: is_msdos_device /mnt/aranea/arakp/fin--/skkup-01.101
MFS: find_file gave /mnt/aranea/arakp/fin--/skkup-01.101 1
MFS: is_msdos_device /mnt/aranea/arakp/fin--/skkup-01.101
MFS: Finished dos_fs_redirect
MFS: Entering dos_fs_redirect, FN=0A
MFS: selecting drive fn=a sda_cds=0xbb60
MFS: selected drive 10: /mnt/aranea/arakp/
MFS: lock fd=a rc=0 type=1 whence=0 start=301, len=1
MFS: Finished dos_fs_redirect
MFS: Entering dos_fs_redirect, FN=08
MFS: selecting drive fn=8 sda_cds=0xbb60
MFS: selected drive 10: /mnt/aranea/arakp/
MFS: Read file fd=a, dta=0x4f478, cnt=2
MFS: Read file pos = 1020
MFS: Handle cnt 1
MFS: Actual pos 1020
MFS: Read returned : -1
MFS: ERROR IS: Resource deadlock avoided
MFS: Finished dos_fs_redirect
MFS: Entering dos_fs_redirect, FN=20
MFS: selecting drive fn=20 sda_cds=0xbb60
MFS: selected drive 10: /mnt/aranea/arakp/
MFS: Flush Disk Buffers
MFS: Finished dos_fs_redirect
MFS: Entering dos_fs_redirect, FN=0A
MFS: selecting drive fn=a sda_cds=0xbb60
MFS: selected drive 10: /mnt/aranea/arakp/
MFS: lock fd=a rc=0 type=2 whence=0 start=301, len=1
MFS: Finished dos_fs_redirect
MFS: Entering dos_fs_redirect, FN=06
MFS: selecting drive fn=6 sda_cds=0xbb60
MFS: selected drive 10: /mnt/aranea/arakp/
MFS: Close file a (/mnt/aranea/arakp/fin--/skkup-01.101)
MFS: Handle cnt 1
MFS: Close file succeeds
MFS: close: not setting file date/time
MFS: Finished dos_fs_redirect


-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to