public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Frantisek Hanzlik <franta@hanzlici.cz>
To: jankomEarthlink <janosk@earthlink.net>,
	DOSEMU/FreeDOS <linux-msdos@vger.kernel.org>
Subject: Re: Problem with dosemu
Date: Sun, 04 May 2014 13:20:07 +0200	[thread overview]
Message-ID: <53662267.5080702@hanzlici.cz> (raw)
In-Reply-To: <53580FB5.2070108@earthlink.net>

jankomEarthlink wrote:
> Hi Franta,
> 
> Not there yet... sorry.
> 
> On 04/23/2014 03:06 AM, Frantisek Hanzlik wrote:
>> You can download missing
> Thanks for the links, I satisfied missing dependencies, did rpm install,
> see below:
> 
> [root@Andraslinux apu]# rpm -ivh
> xfer_andraswd/Installedrpm-s/dosemu-1.4.0.8-git633.g3492afd.3.dbgemu.fc3.i686.rpm
> 
> Preparing... ########################################### [100%]
>    1:dosemu ########################################### [100%]
> "/usr/share/dosemu/Xfonts": error scanning
> [root@Andraslinux apu]# dosemu
> 
> This was all from root. After issuing dosemu command system hung as in
> many previous, earlier attempts. Ctr-c did not stop it. I ran again dosemu
> from another xterm window with strace and it is stuck at the segmentation
> fault.
> 
> So back to segmentation fault, where it probably started this entire thread.
> 
> (in parenthesis: "error scanning" is a strange message that I also get at
> boot when starting x session, but everything seems OK there)
> 
> See my new posting to jegunn's message in the subject of segmentation fault.

Hi Janos,
sorry for the late reply. I'm not sure, when Your SIGSEGV DOSEMU crash
is caused by accessing to shm - Your strace seems normal. FYI, on my
FC3/i686/1GB RAM my strace in Your place is this:

open("/usr/lib/gconv/ISO8859-2.so", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\4\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=9432, ...}) = 0
old_mmap(NULL, 12316, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb79a8000
old_mmap(0xb79aa000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1000) = 0xb79aa000
close(4)                                = 0
brk(0x9d22000)                          = 0x9d22000
write(3, "PKT: Cannot open tap%d: P\305\231\303\255stu"..., 44) = 44
statfs("/dev/shm/", {f_type=0x1021994, f_bsize=4096, f_blocks=129443, f_bfree=129443, f_bavail=129443, f_files=129443, f_ffree=129442, f_fsid={0, 0}, f_namel
en=255, f_frsize=4096}) = 0
futex(0xdea258, FUTEX_WAKE, 2147483647) = 0
open("/dev/shm/dosemu_5029", O_RDWR|O_CREAT|O_TRUNC|O_NOFOLLOW, 0600) = 4
fcntl64(4, F_GETFD)                     = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
unlink("/dev/shm/dosemu_5029")          = 0
ftruncate64(4, 0)                       = 0
ftruncate64(4, 17891328)                = 0
mmap2(NULL, 17891328, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = 0xb6898000
mprotect(0xb6898000, 17891328, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0xb6898000, 17891328, PROT_READ|PROT_WRITE) = 0
mprotect(0xb6898000, 1114112, PROT_READ|PROT_WRITE) = 0
mmap2(NULL, 1114112, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED|MAP_FIXED, 4, 0) = 0
mprotect(0, 655360, PROT_NONE)          = 0
setreuid32(500, 500)                    = 0
setregid32(500, 500)                    = 0
munmap(0x100000, 65536)                 = 0
mmap2(0x100000, 65536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED|MAP_FIXED, 4, 0) = 0x100000
mmap2(NULL, 8388608, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6098000
write(3, "CONF: reserving 8256Kb at 0x1000"..., 71) = 71
gettimeofday({1399198750, 192793}, NULL) = 0
open("/etc/localtime", O_RDONLY)        = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=806, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=806, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6097000
read(5, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0"..., 4096) = 806
close(5)                                = 0
munmap(0xb6097000, 4096)                = 0
mprotect(0xb69a8000, 4198400, PROT_READ|PROT_WRITE) = 0
mmap2(0xffffffff, 4194304, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED, 4, 0x110) = 0xb5c98000
write(3, "Registering HWRAM, type=e base=0"..., 56) = 56
write(3, "CONF: reserving 4096Kb at 0xB5C9"..., 58) = 58
write(3, "CONF: reserving 12Kb at 0xC0000 "..., 60) = 60
write(3, "SERIAL $Id$\n", 12)           = 12
stat64("/dev/fd0", {st_mode=S_IFBLK|0660, st_rdev=makedev(2, 0), ...}) = 0
open("/dev/null", O_RDWR|O_LARGEFILE)   = 5
open("/dev/null", O_RDWR|O_LARGEFILE)   = 6
open("/usr/bin/libplugin_sdl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/bin/libplugin_alsa.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/dosemu/libplugin_alsa.so", O_RDONLY) = 7
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\324\5\0"..., 512) = 512
fstat64(7, {st_mode=S_IFREG|0644, st_size=8027, ...}) = 0
old_mmap(NULL, 6760, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0xb5c96000
old_mmap(0xb5c97000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0) = 0xb5c97000
close(7)                                = 0
open("/usr/bin/libplugin_sndfile.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/dosemu/libplugin_sndfile.so", O_RDONLY) = 7
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\204\5\0"..., 512) = 512

and my shm kernel settings are:

# cat /proc/sys/kernel/{shmall,shmmax,shmmni}
2097152
33554432
4096

2) Your error message: '"/usr/share/dosemu/Xfonts": error scanning'
is perhaps caused by fc-cache problem. What You obtain on command:
fc-cache -v -f /usr/share/dosemu/Xfonts
It should be successfull and in '/usr/share/dosemu/Xfonts' directory
should be created (empty) file 'fonts.cache-1'.
You should also verify dosemu RPM package right installation by cmd:
rpm -V dosemu
On my PC it produce only one line (which is OK):
.......T.   /usr/share/dosemu/Xfonts/fonts.dir

Also, are You using xfs - X font server?

Maybe You have somehow broken Your system - e.g. missing some files
or directories, bad ownership or permissions on them etc.
You can verify it by 'rpm -Va' command. This should not produce any
serious problems (it is necessary assessed output individually).

3) Did You tried run dosemu in console and/or in Xterm in terminal
 mode ('dosemu -t')? What is result?

Franta Hanzlik

  reply	other threads:[~2014-05-04 11:20 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-26  2:32 Problem with dosemu 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 [this message]
2014-05-05  1:57                           ` jankomEarthlink
2014-05-05  8:46                             ` Frantisek Hanzlik
  -- strict thread matches above, loose matches on Subject: below --
2014-04-16 19:52 jankomEarthlink
2014-04-15 21:52 Janos G. Komaromi
2014-04-16  0:47 ` Ivan Baldo
2014-04-16 14:52   ` jankomEarthlink
2014-04-15  3:02 jankomEarthlink
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=53662267.5080702@hanzlici.cz \
    --to=franta@hanzlici.cz \
    --cc=janosk@earthlink.net \
    --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