Dosemu EMS broken by /proc/self/mem changes (Was:Problem with certain kernels and DOSEMU)

Alberto Vignani a.vignani en flashnet.it
Dom Ene 23 08:19:01 CST 2000


On Sun, 16 Jan 100 03:16:31 jhiller en crl.com wrote on linux-msdos:

>All is well when at the dos command prompt.  There are two primary dos
>apps that I use, and these have been fine.  But now, with simply going
>to kernel 2.3.28 (about), right after either of these apps kick off,
>dosemu simply dies and returns me to a linux command prompt.  I have
>turned on dosemu debugging, but I don't get anything back.

mem_mmap was removed from proc_mem_operations in 2.3.27. This is a kernel
feature.
mmapping /proc/self/mem is no more possible, and the call returns
-ENODEV because f_op->mmap is always NULL (see mm/mmap.c).
This means that DOS programs using EMS will fail on kernels
>2.3.26; the memory mapping used in the dosemu EMS code should be
reworked for 2.4.
If you need to use such programs, please (sigh) use kernel 2.2.

Alberto

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda