From mboxrd@z Thu Jan 1 00:00:00 1970 From: jankomEarthlink Subject: Re: Problem with dosemu Date: Wed, 16 Apr 2014 10:52:00 -0400 Message-ID: <534E9910.8030100@earthlink.net> References: <534DAA20.1000803@aaahawk.com> <534DD32C.2030607@adinet.com.uy> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <534DD32C.2030607@adinet.com.uy> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Ivan Baldo Cc: linux-msdos@vger.kernel.org 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 [apu@Andraslinux dosemu]$ ./configure [apu@Andraslinux dosemu]$ make [apu@Andraslinux dosemu]$ su -c "make install" [root@Andraslinux dosemu]# dosemu Segmentation fault [apu@Andraslinux dosemu]$ 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!!!