Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: DOSEMU on a Linode
PostPosted: Sat Aug 20, 2005 10:36 pm 
Offline
Junior Member

Joined: Thu Jun 16, 2005 12:28 pm
Posts: 33
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!


Top
   
 Post subject:
PostPosted: Sat Aug 20, 2005 10:46 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
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) :
Code:
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:

Code:
mount --bind /fake-cpuinfo /proc/cpuinfo


See if that fakes it out enough to continue...

-Chris


Top
   
 Post subject:
PostPosted: Sat Aug 20, 2005 11:36 pm 
Offline
Junior Member

Joined: Thu Jun 16, 2005 12:28 pm
Posts: 33
Welp, it got me past that step, but then it tossed a new one at me:

vm86plus service not available in your kernel


Top
   
 Post subject:
PostPosted: Mon Aug 22, 2005 11:27 am 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 12:35 am
Posts: 118
Website: http://www.necrobones.com/
Location: Sterling, VA
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. :)

_________________
----
Ed/Bones.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: dobriain and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group