DOSEMU on a Linode

Hiya, maybe someone can shed some light on this for me. I was thinking of trying something on my Linode using DOSEMU, but I ran across a problem. It compiled fine and everything, but when I run it, I get:

ERROR: Unknown format on /proc/cpuinfo

This doesn't entirely surprise me considering it's on a VPS, and it's not absolutely necessary for me to have to run DOSEMU anyway, but I'm wondering if there's a way around it. I'm running Debian, by the way. Thanks!

3 Replies

DOSEMU probably doesn't expect or understand the format of UML's cpuinfo, or is looking for information that UML doesn't provide in its version of the file. Try this hack:

Place this somewhere (for example: /fake-cpuinfo) :

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Xeon(TM) CPU 2.66GHz
stepping        : 7
cpu MHz         : 2667.219
cache size      : 512 KB
physical id     : 0
siblings        : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx f
xsr sse sse2 ss ht tm pbe cid xtpr
bogomips        : 5259.26

Then:

mount --bind /fake-cpuinfo /proc/cpuinfo

See if that fakes it out enough to continue…

-Chris

Welp, it got me past that step, but then it tossed a new one at me:

vm86plus service not available in your kernel

DOSEMU creates a virtual x86 "real mode" session (that is, the processor mode that DOS operated in, prior to the protected memory states that were first introduced in the 386 CPUs). It also keeps the CPU hammered, so it's not something you'd want to leave running on a VPS system on an on-going basis, lest the admins nice-down your entire linode instance. :)

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct