Re: Problem with dosemu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ivan,

Thanks for the suggestion. Here is what I did (on a clean system, no traces of previous attempts of dosemu rpm or comiled installations):

[apu@Andraslinux dosemu]$ git clone git://git.code.sf.net/p/dosemu/code dosemu
    <I then copied the cloned directory into my compiled work directory>
[apu@Andraslinux dosemu]$ ./configure
[apu@Andraslinux dosemu]$ make
<both commands were OK, although I saw some "fatal" words during compiling> <Then I copied freedos binaries tgz file into this compile work directory>
[apu@Andraslinux dosemu]$ su -c "make install"
<During installation of man I got this: "fatal: unrecognized argument: --format=%cd" - probably not significant, but probably related to "fatal" word during make>
[root@Andraslinux dosemu]# dosemu
Segmentation fault
[apu@Andraslinux dosemu]$
    <Same thing happened if I ran dosemu from root.>

I do have a ./dosemu directory installed in my home structure, and it does have a boot.log file. Same thing is true for /root directory.

Output of diff for the two boot.log files, first is from root:
< CONF: running exclusively as ROOT: uid=0 (cached 0) gid=0 (cached 0)
---
> CONF: mostly running as USER: uid=500 (cached 500) gid=100 (cached 100)
49c49
< PKT: Cannot open raw sockets: No such device
---
> PKT: Cannot open raw sockets: Permission denied

It looks like everything is going well till the last minute. Here is the tail end of the user boot.log file:
...
device: /etc/dosemu/drives/c type 4 h: -1  s: -1   t: -1 drive C:
device: /etc/dosemu/drives/d type 4 h: -1  s: -1   t: -1 drive D:
CONF: cdrom MSCD0001 on /dev/cdrom
CONF: config variable c_system unset
Linux kernel 2.6.20; CPU speed is 1795357000 Hz
CPU-EMU speed is 1795 MHz
CONF: mostly running as USER: uid=500 (cached 500) gid=100 (cached 100)
DBG_FD already set
DOSEMU-1.4.0.8-180-g35054ba is coming up on Linux version 2.6.20_apu032214 #1 Mon Mar 24 12:36:54 EDT 2014 i686
Compiled with GCC version 4.2.1 -m32
CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
CONF: reserving 48Kb at 0xF4000 for 'r' (Dosemu reserved area)
CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
PKT: Cannot open raw sockets: Permission denied

Apparently the segmentation fault is the result of no raw sockets that root discovered and user has no permission to it.

Will this help in finding out what my problem is?

Thank you for your attention,

Janos


On 04/15/2014 08:47 PM, Ivan Baldo wrote:
Hello.
Use the latest CVS version, is better and more stable than the latest release. If it doesn't work in the same way, then look in .dosemu/boot.log or maybe try an strace dosemu.
    Good luck!!!

--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Console]     [Linux Audio]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Camping]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Linux Media]     [Fedora Users]

  Powered by Linux