linux-msdos.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: jankomEarthlink <janosk@earthlink.net>
To: Ivan Baldo <ibaldo@adinet.com.uy>
Cc: linux-msdos@vger.kernel.org
Subject: Re: Problem with dosemu
Date: Wed, 16 Apr 2014 10:52:00 -0400	[thread overview]
Message-ID: <534E9910.8030100@earthlink.net> (raw)
In-Reply-To: <534DD32C.2030607@adinet.com.uy>

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!!!


  reply	other threads:[~2014-04-16 14:52 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-15 21:52 Problem with dosemu Janos G. Komaromi
2014-04-16  0:47 ` Ivan Baldo
2014-04-16 14:52   ` jankomEarthlink [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-04-16 19:52 jankomEarthlink
2014-04-15  3:02 jankomEarthlink
2014-03-26  2:32 jankomEarthlink
2014-03-30 18:49 ` Frantisek Hanzlik
2014-03-30 23:22   ` jankomEarthlink
2014-03-31  7:31     ` Frantisek Hanzlik
2014-04-14 15:26       ` jankomEarthlink
2014-04-14 22:22         ` Frantisek Hanzlik
2014-04-15  2:24           ` jankomEarthlink
2014-04-21 20:19             ` Frantisek Hanzlik
2014-04-22  2:31               ` jankomEarthlink
2014-04-22  3:08                 ` Jegunn
2014-04-23  3:25                   ` jankomEarthlink
2014-04-23 11:38                     ` Jegunn
2014-04-22 22:10                 ` Frantisek Hanzlik
     [not found]                   ` <5357347D.1010401@earthlink.net>
2014-04-23  7:06                     ` Frantisek Hanzlik
2014-04-23 19:08                       ` jankomEarthlink
2014-05-04 11:20                         ` Frantisek Hanzlik
2014-05-05  1:57                           ` jankomEarthlink
2014-05-05  8:46                             ` Frantisek Hanzlik
2014-03-25 22:51 jankomEarthlink
2014-03-25 23:35 ` Ivan Baldo
2014-03-25 23:38 ` Frank Cox
2003-08-29 14:06 Problem with DOSEMU scroowhar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=534E9910.8030100@earthlink.net \
    --to=janosk@earthlink.net \
    --cc=ibaldo@adinet.com.uy \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).