tcp/ip + samba + dosemu
Hello.
Quoted 1 line · Rafaе┌ Cygnarowski
There is no problem with DOS, DosEMU or Samba locking.
Why? I tried the test program you pointed
http://www.burtonsys.com/download/TESTLOCK.ZIP
and it fails on any lredired drives, even the local ones (on ext3 volumes).
It works properly only with the hdimage drives under dosemu. I wouldn't call this a normal - dosemu should support the locking on an lredired drives when the underlaying FS supports them, but right now it doesn't.
OK, your puzzle seems too difficult to me. :)
1. It is possible to use tcp/ip under dosemu and msclient supports it over ndis, but because odinsup is incompatible with pdether, you can't use it. Whether it is possible to use odihlp, is unclear.
2. It is possible to use ipx under dosemu and msclient supports it over ipxodi, but in that case I wonder whether it is possible to make samba to use IPX (it is possible with windows though, and I beleive this is the way people actually use the msclient under dosemu). So you probably won't use that too.
3. It is possible to use the linux client, and even though smbfs doesn't support locking, the CIFSfs does. But then dosemu doesn't support locking on the lredired drives, as your test program and older postings to this list show.
I think the last way is more realistic than the first two. There was some work on implementing the locking in dosemu, but it probably have died.
-
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
Quoted 7 lines
Quoted 1 line
There is no problem with DOS, DosEMU or Samba locking.
Why? I tried the test program you pointed
http://www.burtonsys.com/download/TESTLOCK.ZIP
and it fails on any lredired drives, even the local ones (on ext3 volumes).
It works properly only with the hdimage drives under dosemu.
You should test with /auto2 ;) - so it doesn't work in this case either... But who runs more than one DOS on one computer? So, this case can be treated as unnormal and tricky and should be ommited.
Quoted 3 lines
I wouldn't call this a normal - dosemu should support the locking on an lredired drives when the underlaying FS supports them, but right now it doesn't.
Ok, it's sucks... and that's why I try to move problem out from dosemu to network software where it realy works (tested with Novell Netware 3.12).
Quoted 5 lines
OK, your puzzle seems too difficult to me. :)
1. It is possible to use tcp/ip under dosemu and msclient supports it over ndis, but because odinsup is incompatible with pdether, you can't use it. Whether it is possible to use odihlp, is unclear.
right...
Quoted 5 lines
2. It is possible to use ipx under dosemu and msclient supports it over ipxodi, but in that case I wonder whether it is possible to make samba to use IPX (it is possible with windows though, and I beleive this is the way people actually use the msclient under dosemu). So you probably won't use that too.
AFAIK Samba supports only NetBIOS over TCP/IP :(
Quoted 8 lines
3. It is possible to use the linux client, and even though smbfs doesn't support locking, the CIFSfs does. But then dosemu doesn't support locking on the lredired drives, as your test program and older postings to this list show.
I think the last way is more realistic than the first two. There was some work on implementing the locking in dosemu, but it probably have died.
I have no time and I can't take risk of new features :(
Maybe I just expect to much...
Signature · 6 lines
Rafał Cygnarowski [email protected] - 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
Hello.
Quoted 2 lines · RafaÅ‚ Cygnarowski
Quoted 1 line
It works properly only with the hdimage drives under dosemu.
You should test with /auto2 ;) - so it doesn't work in this case either... But who runs more than one DOS on one computer? So, this case can be treated as unnormal and tricky and should be ommited.
Yes - obviously this test is not supposed to work that way. It could be better if dosemu enforced an exclusive access to hdimages, so that such a "tests" to became completely impossible. Otherwise you have to run scandisk on the hdimages after such a things. So I'd say with hdimages everything works as expected (except that dosemu doesn't enforce an exclusive access to the image files).
Quoted 1 line
Ok, it's sucks... and that's why I try to move problem out from dosemu to network software where it realy works (tested with Novell Netware 3.12).
What exactly works on Novell Netware here?
Quoted 3 lines
Quoted 2 lines
with pdether, you can't use it. Whether it is possible to use odihlp, is unclear.
right...
OK, I think now it is rather clear. I've found what's the odihlp actually is:
http://www.microsoft.com/technet/archive/win98/reskit/part3/wrkc17.mspx?mfr=true
---
Msodisup.vxd is the ODI support layer that maps NDIS 3.1 and later protocols to an ODI driver, and Odihlp.exe is the real-mode stub that allows LSL to complete its binding process in real mode.
---
I don't think they are joking. So, contrary to what you can find elsewhere in the net, odihlp is a pure nothing without msodisup.386. dosemu can run win31, but the vxd/386 drivers do not work, so this is not an option too.
Quoted 4 lines
Quoted 3 lines
I think the last way is more realistic than the first two. There was some work on implementing the locking in dosemu, but it probably have died.
I have no time and I can't take risk of new features :(
I think this is a completely wrong attitude. That software is free and without any warranty, no matter whether someone call it stable or experimental. Only you can make sure that it suits your needs. I am using a lot of the free software in the mission-critical environment too, but I test it to death and flood the developers with bug-reports, before anything else. If they can address all my problems quickly, then I use it. But as the result, I have to use the CVS snapshots where my problems are addressed, and of course that suits my needs much better than anything they call stable.
Quite surprisingly, I was lucky with that - usually the free software is supported quite well. But you are out of luck - the samba developers won't add IPX for you, as well as the dosemu developers most likely won't add the locking for you, but it is still the possibility, and the only one existing, I suspect.
-
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
Quoted 5 lines
Quoted 3 lines
Ok, it's sucks... and that's why I try to move problem out from dosemu to network software where it realy works (tested with Novell Netware 3.12).
What exactly works on Novell Netware here?
I have similar configurations elsewhere. I use DosEMU + Novell Client to run sales program (based on clarion database). So locks works as they are expected to work.
[...]
Quoted 4 lines
I don't think they are joking. So, contrary to what you can find elsewhere in the net, odihlp is a pure nothing without msodisup.386. dosemu can run win31, but the vxd/386 drivers do not work, so this is not an option too.
so that's clear now...
Quoted 2 lines
Quoted 1 line
I have no time and I can't take risk of new features :(
I think this is a completely wrong attitude. [...]
Maybe... I can risk some unstability (and I'm doing this just becouse of choosing DosEmu instead of separate computer with DOS) but I can't risk data lost (at least not too much).
Signature · 6 lines
Rafał Cygnarowski [email protected] - 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
Hello.
Quoted 1 line · RafaÅ‚ Cygnarowski
I have similar configurations elsewhere. I use DosEMU + Novell Client to run sales program (based on clarion database). So locks works as they are expected to work.
I see. But for the msclient there is no way, so you'll have to somehow deal with the dosemu locks at that point (which are not).
Quoted 1 line
Maybe... I can risk some unstability (and I'm doing this just becouse of choosing DosEmu instead of separate computer with DOS) but I can't risk data lost (at least not too much).
That's why the testing is due before running it on a mission-critical data. If your data is so critical that you can't even trust your own testing, then I guess
the software without a warranty is a bad choice for you. :) Obviously you can't trust dosemu being called stable. Have you seen dosemu-1.0.0 or 1.0.2? They were called "stable"...
-
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
Quoted 11 lines
Quoted 4 lines
Maybe... I can risk some unstability (and I'm doing this just becouse of choosing DosEmu instead of separate computer with DOS) but I can't risk data lost (at least not too much).
That's why the testing is due before running it on a mission-critical data. If your data is so critical that you can't even trust your own testing, then I guess
the software without a warranty is a bad choice for you. :) Obviously you can't trust dosemu being called stable. Have you seen dosemu-1.0.0 or 1.0.2? They were called "stable"...
I'm using dosemu sice 0.64 (or sth..).
Signature · 6 lines
Rafał Cygnarowski [email protected] - 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
Hello.
Quoted 2 lines · RafaÅ‚ Cygnarowski
Quoted 1 line
Have you seen dosemu-1.0.0 or 1.0.2? They were called "stable"...
I'm using dosemu sice 0.64 (or sth..).
Well, these were the betas (worked rather well though). I mentioned 1.0.x because they were the first ones called stable, and...
-
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
Stas Sergeev escreveu:
Quoted 4 lines
It could be better if dosemu enforced an exclusive access to hdimages, so that such a "tests" to became completely impossible. Otherwise you have to run scandisk on the hdimages after such a things.
Is this possible at all? I believe this is important to avoid accidental destruction of data!
Quoted 2 lines
Quoted 1 line
I have no time and I can't take risk of new features :(
I think this is a completely wrong attitude. [...]
Well, He *is* axpending quite a lot of time on this :)
Alain
Hello.
Quoted 5 lines · Alain M.
Quoted 4 lines
It could be better if dosemu enforced an exclusive access to hdimages, so that such a "tests" to became completely impossible. Otherwise you have to run scandisk on the hdimages after such a things.
Is this possible at all?
What? Set the lock to the hdimage file to prevent it from being opened by the multiple dosemu instances? Of course it is possible.
Quoted 1 line
I believe this is important to avoid accidental destruction of data!
You can create the patch then. :)
Quoted 3 lines
Quoted 2 lines
Quoted 1 line
I have no time and I can't take risk of new features :(
I think this is a completely wrong attitude. [...]
Well, He *is* axpending quite a lot of time on this :)
My interpretation was "I don't have time for testing and I can't risk, so even if someone will implement the locking for me, I won't use it". That kind of attitude I really don't understand. Of course no one will implement the locking most likely, but be that happened and not accepted to try - that would be not funny at all. :) I've seen people who ask for something and then refuse to try the solution, and I don't think they are ever dealt with again. (so this case is much
better: at least it is known beforehand that the solution won't be tried, so the problem won't arise. :)
Quoted 7 lines
My interpretation was "I don't have time for testing and I can't risk, so even if someone will implement the locking for me, I won't use it". That kind of attitude I really don't understand. Of course no one will implement the locking most likely, but be that happened and not accepted to try - that would be not funny at all. :)
You understood my intentions wrong but it was my fault. My english is not perfect and sometimes I just makes my answares shorter than they should be. What I wanted to say was that at THIS moment I have to find other way to solve my problem instead of waiting for some good folk who at swift put some lock code into dosemu.
Regards,
Signature · 10 lines
Rafał Cygnarowski [email protected] PS. It would be superb if dosemu could have build-in NDIS driver as it's in packet driver case (another good wish ;) - 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
Hello.
Quoted 2 lines · RafaÅ‚ Cygnarowski
say was that at THIS moment I have to find other way to
solve my problem instead of waiting for some good folk who at swift put some lock code into dosemu.
OK, the other way: steal the ne2k emulation code from qemu and compile it with dosemu. Some adjustments might be needed, but not too much. That will solve all of the like problems for good.
-
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
Stas Sergeev escreveu:
Quoted 4 lines
OK, the other way: steal the ne2k emulation code from qemu and compile it with dosemu. Some adjustments might be needed, but not too much. That will solve all of the like problems for good.
That would be very neat. Very good idea!! I just hope that someone does it ;-)
Alain
PS and thanks to Stallman too for the GPL :)
Stas Sergeev escreveu:
Quoted 3 lines
What? Set the lock to the hdimage file to prevent it from being opened by the multiple dosemu instances? Of course it is possible.
Sorry, my Linux knowledge is not all that much. I come from DOS world ;-)
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
I have no time and I can't take risk of new features :(
I think this is a completely wrong attitude. [...]
Well Stas, as you don't receive this list's messages you haven seen that in fact he has been trying for a long time...
-----from other messages----
Quoted 1 line · RafaÅ‚ Cygnarowski
I have similar configurations elsewhere. I use DosEMU + Novell Client to run sales program (based on clarion database). So locks works as they are expected to work.
Why don't you use that configuration for this case? You said somewhere that you already use ??Mars (Novell server for Linux)...
BTW, do you have a tutorial on that configuration?
Alain
-
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
Quoted 6 lines
Quoted 3 lines
I have similar configurations elsewhere. I use DosEMU + Novell Client to run sales program (based on clarion database). So locks works as they are expected to work.
Why don't you use that configuration for this case? You said somewhere that you already use ??Mars (Novell server for Linux)...
Becouse this time there is already MS Windows 2003 Server which carry databases.
Quoted 1 line
BTW, do you have a tutorial on that configuration?
AFAIR it's in "The dosemu HOWTO: dosemu and Netware"
http://www.tldp.org/HOWTO/DOSEMU-HOWTO-6.html
Regards,
Signature · 6 lines
Rafał Cygnarowski [email protected] - 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
Hello.
Quoted 1 line · RafaÅ‚ Cygnarowski
Becouse this time there is already MS Windows 2003 Server which carry databases.
If there is a Win2003 server and not the samba server as you claimed before, then why you don't simply use IPX?
-
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
Quoted 8 lines · Stas Sergeev
Hello.
Quoted 2 lines · Rafał Cygnarowski
Becouse this time there is already MS Windows 2003 Server which carry databases.
If there is a Win2003 server and not the samba server as you claimed before, then why you don't simply use IPX?
I stoped using IPX on Win2003 server becouse IPX generate delays of some services which were confused which protocol to use, and unfortunatelly I couldn't set them to use TCP/IP by default.
Signature · 6 lines
Rafał Cygnarowski [email protected] - 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