public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* dosemu 1.1.x and 1.1.4.13 bug (?) on CPUs faster than 2.0GHz
@ 2003-03-11 18:05 Maurilio Longo
  2003-03-12 13:45 ` Maurilio Longo
  0 siblings, 1 reply; 12+ messages in thread
From: Maurilio Longo @ 2003-03-11 18:05 UTC (permalink / raw)
  To: linux-msdos

Hi,

latest dosemu has problems (locks up here and there) if it is run on a 2.4GHz
pentium IV and inside dosemu.conf I have

$_rdtsc(on)
$_cpuspeed(0)

I think this comes from the fact that on startup it gives me a negative cpu
speed

Kernel CPU speed is -1894957296Hz

I'm running a protect mode dos clipper program. Same system on a 2.0GHz cpu
works flawlessly and it works ok as soon as I set rdtsc to off.

Also, there are problems with locks if I don't run it thruogh NETX on a novell
server and, instead, I run it on my "C:" disk (which is a directory on my
linux). I'll try to be more precise on the coming days.

regards.


--
 __________
|  |  | |__| md2520@mclink.it
|_|_|_|____| Team OS/2 Italia



^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: dosemu 1.1.x and 1.1.4.13 bug (?) on CPUs faster than 2.0GHz
@ 2003-03-12 20:40 Stas Sergeev
  2003-03-12 22:13 ` Bart Oldeman
  0 siblings, 1 reply; 12+ messages in thread
From: Stas Sergeev @ 2003-03-12 20:40 UTC (permalink / raw)
  To: linux-msdos

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

Hello.

Bart Oldeman wrote:
> it's a multiplication that overflows from an int -- try this patch:
The attached one might also be
necessary to get the correct
output.

[-- Attachment #2: cpuspd.diff --]
[-- Type: text/plain, Size: 507 bytes --]

--- src/base/init/config.c	Wed Feb 19 16:17:30 2003
+++ src/base/init/config.c	Wed Mar 12 22:09:27 2003
@@ -493,7 +493,7 @@
 		/* speed division factor to get 838ns from CPU clock */
 		config.cpu_tick_spd = (LLF_TICKS*1000000)/chz;
 
-		warn ("Linux kernel %d.%d.%d; CPU speed is %Ld Hz\n",
+		warn ("Linux kernel %d.%d.%d; CPU speed is %lld Hz\n",
 		   kernel_version_code >> 16, (kernel_version_code >> 8) & 255,
 		   kernel_version_code & 255,chz);
 /*		fprintf (stderr,"CPU speed factors %ld,%ld\n",

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: dosemu 1.1.x and 1.1.4.13 bug (?) on CPUs faster than 2.0GHz
@ 2003-03-13 17:54 Stas Sergeev
  0 siblings, 0 replies; 12+ messages in thread
From: Stas Sergeev @ 2003-03-13 17:54 UTC (permalink / raw)
  To: linux-msdos

Hello.

Maurilio Longo wrote:
> int14 is working ok, but serial emulation is not (telepathy does a 
Unless you provide all the necessary
logs, you'll of course not get any
concrete suggestions.

>> works, but if there are more tp_send() one after the other I get no 
>  output!?!!
Great, in that case you can provide
2 logs: when it works and when it
doesn't. That can help.

>> 1.1.1.x was working nicely
Even better, supply the 1.1.1 log then
as well.
You'll have to enable -D9+s logging.
Changes in the Serial code were many
so guessing is not possible.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-03-13 17:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-11 18:05 dosemu 1.1.x and 1.1.4.13 bug (?) on CPUs faster than 2.0GHz Maurilio Longo
2003-03-12 13:45 ` Maurilio Longo
2003-03-12 17:03   ` Ryan Underwood
2003-03-12 17:35     ` Maurilio Longo
2003-03-12 19:39       ` Bart Oldeman
2003-03-13 11:21         ` Maurilio Longo
2003-03-13 15:21           ` Norman Schmidt Jr
2003-03-13 16:57             ` Maurilio Longo
2003-03-13 17:06               ` Maurilio Longo
  -- strict thread matches above, loose matches on Subject: below --
2003-03-12 20:40 Stas Sergeev
2003-03-12 22:13 ` Bart Oldeman
2003-03-13 17:54 Stas Sergeev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox