* Compatible with 2.5.56=<
@ 2003-02-18 14:15 Michael
0 siblings, 0 replies; 5+ messages in thread
From: Michael @ 2003-02-18 14:15 UTC (permalink / raw)
To: linux-msdos
Are there any patches available, that will make dosemu compatible with the latest 2.5.x kernels?
Or maybe it's allready done in a patchset after 9?
Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compatible with 2.5.56=<
@ 2003-02-18 14:19 Michael
2003-02-18 15:31 ` Bart Oldeman
0 siblings, 1 reply; 5+ messages in thread
From: Michael @ 2003-02-18 14:19 UTC (permalink / raw)
To: linux-msdos
> Are there any patches available, that will make dosemu compatible with the latest 2.5.x kernels?
> Or maybe it's allready done in a patchset after 9?
I appologise I should have been more informative, when I try to run a VESA game(Broken Sword 1) it dies reporting
"ERROR: Unknown format on /proc/meminfo"
running patchset 1.1.4.9
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compatible with 2.5.56=<
2003-02-18 14:19 Compatible with 2.5.56=< Michael
@ 2003-02-18 15:31 ` Bart Oldeman
2003-02-18 15:46 ` Michael
0 siblings, 1 reply; 5+ messages in thread
From: Bart Oldeman @ 2003-02-18 15:31 UTC (permalink / raw)
To: Michael; +Cc: linux-msdos
On Tue, 18 Feb 2003, Michael wrote:
> > Are there any patches available, that will make dosemu compatible with the latest 2.5.x kernels?
> > Or maybe it's allready done in a patchset after 9?
>
> I appologise I should have been more informative, when I try to run a VESA game(Broken Sword 1) it dies reporting
> "ERROR: Unknown format on /proc/meminfo"
> running patchset 1.1.4.9
you might want to do a
cat /proc/meminfo
as I'm not too happy about running a 2.5 kernel yet (no seperate test
machine here).
Bart
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compatible with 2.5.56=<
2003-02-18 15:31 ` Bart Oldeman
@ 2003-02-18 15:46 ` Michael
2003-03-06 1:56 ` Bart Oldeman
0 siblings, 1 reply; 5+ messages in thread
From: Michael @ 2003-02-18 15:46 UTC (permalink / raw)
To: Bart Oldeman; +Cc: linux-msdos
On Tue, 18 Feb 2003 10:31:07 -0500 (EST)
Bart Oldeman <oldeman@math.ohio-state.edu> wrote:
> On Tue, 18 Feb 2003, Michael wrote:
>
> > > Are there any patches available, that will make dosemu compatible with the latest 2.5.x kernels?
> > > Or maybe it's allready done in a patchset after 9?
> >
> > I appologise I should have been more informative, when I try to run a VESA game(Broken Sword 1) it dies reporting
> > "ERROR: Unknown format on /proc/meminfo"
> > running patchset 1.1.4.9
>
> you might want to do a
> cat /proc/meminfo
> as I'm not too happy about running a 2.5 kernel yet (no seperate test
> machine here)
2.5 fixes a cpu freeze for my K6-3, besides it contains preempt, ALSA and XFS =)
michael@spam michael $ more /proc/meminfo
MemTotal: 646560 kB
MemFree: 489164 kB
Buffers: 28060 kB
Cached: 31724 kB
SwapCached: 0 kB
Active: 47344 kB
Inactive: 31124 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 646560 kB
LowFree: 489164 kB
SwapTotal: 1048568 kB
SwapFree: 1048568 kB
Dirty: 236 kB
Writeback: 0 kB
Mapped: 30496 kB
Slab: 71948 kB
Committed_AS: 34824 kB
PageTables: 536 kB
ReverseMaps: 11879
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compatible with 2.5.56=<
2003-02-18 15:46 ` Michael
@ 2003-03-06 1:56 ` Bart Oldeman
0 siblings, 0 replies; 5+ messages in thread
From: Bart Oldeman @ 2003-03-06 1:56 UTC (permalink / raw)
To: Michael; +Cc: linux-msdos
On Tue, 18 Feb 2003, Michael wrote:
> michael@spam michael $ more /proc/meminfo
> MemTotal: 646560 kB
> MemFree: 489164 kB
> Buffers: 28060 kB
> Cached: 31724 kB
> SwapCached: 0 kB
> Active: 47344 kB
> Inactive: 31124 kB
> HighTotal: 0 kB
> HighFree: 0 kB
> LowTotal: 646560 kB
> LowFree: 489164 kB
> SwapTotal: 1048568 kB
> SwapFree: 1048568 kB
> Dirty: 236 kB
> Writeback: 0 kB
> Mapped: 30496 kB
> Slab: 71948 kB
> Committed_AS: 34824 kB
> PageTables: 536 kB
> ReverseMaps: 11879
Ok, it seems that the "MemShared" field was removed. This is easy to fix
since this field isn't used by DOSEMU.
Bart
--- dosemu-1.1.4.13/src/dosext/dpmi/meminfo.h Sat Feb 15 14:49:29 2003
+++ dosemu-1.1.4.14/src/dosext/dpmi/meminfo.h Wed Mar 5 20:48:31 2003
@@ -12,7 +12,6 @@
int total;
int used;
int free;
- int shared;
int buffers;
int cached;
int swaptotal;
--- dosemu-1.1.4.13/src/dosext/dpmi/meminfo.c Sat Feb 15 14:49:29 2003
+++ dosemu-1.1.4.14/src/dosext/dpmi/meminfo.c Wed Mar 5 20:54:50 2003
@@ -48,6 +48,7 @@
*
* linux < 2.1.41 has part A + B
* linux >= 2.1.41 has only part B
+ * linux >= 2.5.x does not have the "MemShared" value
* for compatibility reasons we only use Part B
*
* Part A:
@@ -89,7 +90,6 @@
mem.total = getvalue_by_key(buf, "MemTotal:") <<10;
mem.free = getvalue_by_key(buf, "MemFree:") <<10;
mem.used = mem.total - mem.free;
- mem.shared = getvalue_by_key(buf, "MemShared:") <<10;
mem.buffers = getvalue_by_key(buf, "Buffers:") <<10;
mem.cached = getvalue_by_key(buf, "Cached:") <<10;
mem.swaptotal = getvalue_by_key(buf, "SwapTotal:") <<10;
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-03-06 1:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-18 14:19 Compatible with 2.5.56=< Michael
2003-02-18 15:31 ` Bart Oldeman
2003-02-18 15:46 ` Michael
2003-03-06 1:56 ` Bart Oldeman
-- strict thread matches above, loose matches on Subject: below --
2003-02-18 14:15 Michael
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox