From: "Gregor Ibic" <gregor.ibic@intelicom.si>
To: linux-msdos@vger.kernel.org
Subject: Locking problem
Date: Sun, 2 Feb 2003 15:36:34 +0100 [thread overview]
Message-ID: <FMEOJDPGJGFFCKLPLAPLAEEKGFAA.gregor.ibic@intelicom.si> (raw)
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
reply other threads:[~2003-02-02 14:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FMEOJDPGJGFFCKLPLAPLAEEKGFAA.gregor.ibic@intelicom.si \
--to=gregor.ibic@intelicom.si \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox