DOS vm86 not working?
I just tried dosemu again after upgrading to 2.4.0pre11, and it ran my program about halfway and then started spinning with strace reporting:
vm86(0x1, 0x811f540, 0xa6, 0xfff8fff1, 0x81d30a4) = -1 ENOSYS (Function not implemented) vm86(0x1, 0x811f540, 0xa6, 0xfff8fff1, 0x81d30a4) = -1 ENOSYS (Function not implemented) vm86(0x1, 0x811f540, 0xa6, 0xfff8fff1, 0x81d30a4) = -1 ENOSYS (Function not implemented)
I don't see any reason in the source why vm86 would report ENOSYS except if the system call simply wasn't present. I'm not really familiar with this source though so I could be missing something. Is there something wrong with the vm86 code and it's just always returning ENOSYS now?
I haven't tried this program in 2.2 yet, I'll have to do that next time I get a chance to reboot.
Signature · 6 lines
greg - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
Quoted 7 lines · Gregory Stark
I just tried dosemu again after upgrading to 2.4.0pre11, and it ran my program about halfway and then started spinning with strace reporting:
vm86(0x1, 0x811f540, 0xa6, 0xfff8fff1, 0x81d30a4)= -1 ENOSYS (Function not implemented)vm86(0x1, 0x811f540, 0xa6, 0xfff8fff1, 0x81d30a4)= -1 ENOSYS (Function not implemented)vm86(0x1, 0x811f540, 0xa6, 0xfff8fff1, 0x81d30a4)= -1 ENOSYS (Function not implemented)
Quoted 7 lines
I don't see any reason in the source why vm86 would report ENOSYS except if the system call simply wasn't present. I'm not really familiar with this source though so I could be missing something. Is there something wrong with the vm86 code and it's just always returning ENOSYS now?
I haven't tried this program in 2.2 yet, I'll have to do that next time I get a chance to reboot.
What version of dosemu are you using? When running the latest kernel releases you really need a development version of dosemu. I didn't have any problem running dosesemu-1.1.1 on 2.4.0-test11. Check out
http://www.dosemu.org/ for the latest release.
Erik
Signature · 9 lines
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department of Electrical Engineering, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: [email protected] WWW: http://www-ict.its.tudelft.nl/~erik/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/