Hi, Can so me here help me with a patch there work for newer cpu's on a amd64 Linux. I have for a week ago upgraded my amd64 gentoo linux with a new and faster amd64 cpu, and after that will my dosemu not start and run for me more and first start with say Unknown cpu type and the cpu is : Athlon II X2 245] AMD Athlon II X2 245 2.9GHz Box 65W AM3/2+ (am64) And so showing some messages of expression and other stuff it doing and then go down by a unfine way. So I need a update patch for it or some changing in the code text for compile dosemu to work. Here is my dosemu boot.log : (it is big) major = 4 minor = 3 CONF: config variable parser_version_3 set CONF: config variable c_system set CONF: Parsing built-in dosemu.conf file. CONF: config variable version_3_style_used set CONF: Parsing built-in global.conf file. CONF: config variable version_3_style_used unset CONF: config variable version_3_style_used set CONF: opened include file /etc/dosemu//dosemu.conf CONF: closed include file /etc/dosemu//dosemu.conf CONF: mapping driver = 'mapshm' debug flags: -a+cw CONF: Disabling use of pentium timer CONF: dosbanner on CONF: timer freq=18, update=54925 CONF: CPU set to 586 CONF: JIT CPUEMU set to 0 for 586 CONF: 2048k bytes EMS memory CONF: EMS-frame = 0xe400 CONF: DPMI-Server on (0x5000) CONF: DPMI base addr = 0xffffffff CONF: PM DOS API Translator on CONF: No DJGPP NULL deref checks: off CONF: dosemu running on console CONF: VGA-BIOS-Segment 0 CONF: VGA-BIOS-Segment set to 0xc000 CONF: VGA-BIOS-Size 0 CONF: VGA-BIOS-Size set to 0x10000 CHIPSET: 12 CONF: time mode = 'bios' SER: directory /var/lock namestub LCK.. binary No MOUSE: no device specified, type 0 using internaldriver: yes, emulate3buttons: no baudrate: 0 CONF: Keyboard-layout keyb-user CONF: **** Warning: floppy /dev/fd0 not accessable, disabled CONF: fastfloppy = 1 CONF: IPX support off CONF(LPT0) f: (null) c: lpr -l t: 20 port: 0 CONF(LPT1) f: (null) c: lpr -l -P lpt2 t: 20 port: 0 CONF: not allowing speaker port access CONF: Packet Driver enabled. device: /home/kofo/.dosemu/drives/c type 4 h: -1 s: -1 t: -1 drive C: device: /home/kofo/.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 ERROR: Unknown CPU type! major = 4 minor = 3 no console on low feature (non-suid root) DOSEMU CONF: mostly running as USER: uid=1000 (cached 1000) gid=1000 (cached 1000) DBG_FD already set DOSEMU-1.4.0.1 is coming up on Linux version 2.6.28-gentoo-r5 #5 SMP Fri May 8 13:46:36 CEST 2009 x86_64 Compiled with GCC version 4.1.2 -m64 WARN: vm86plus service not available in your kernel WARN: using CPU emulation for vm86() 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) CONF: reserving 8256Kb at 0x100000 for 'x' (Extended memory (HMA+XMS)) CONF: reserving 4Kb at 0xC0000 for 'V' (VGAEMU Video BIOS) major = 4 minor = 3 SERIAL $Id: ser_init.c 1769 2007-05-04 05:59:48Z bartoldeman $ PKT: Cannot allocate TAP device (dynamic): No such file or directory CONF: reserving 64Kb at 0xE4000 for 'E' (EMS page frame) CONF: reserving 140Kb at 0xC1000 for 'U' (Upper Memory Block (UMB, XMS 3.0)) TIME: using 9154 usec for updating ALRM timer leavedos(0|0x0) called - shutting down ======================= LEAVE CPU-EMU =============== ERROR: cpu exception in dosemu code outside of VM86()! trapno: 0x00 errorcode: 0x00000000 cr2: 0x00000000 eip: 0x0046eec9 esp: 0x7ffff9e5df10 eflags: 0x00010202 cs: 0x0033 ds: 0x0000 es: 0x0000 ss: 0x002b ERROR: Please report the contents of ~/.dosemu/boot.log at http://sourceforge.net/tracker/?atid=457447&group_id=49784&func=browse It would be even more helpful if would recompile DOSEMU and reproduce this bug with "debug on" in compiletime-settings. System info: linux-vdso.so.1 => (0x00007fff3e7fd000) librt.so.1 => /lib/librt.so.1 (0x00007ff436325000) libdl.so.2 => /lib/libdl.so.2 (0x00007ff436121000) libm.so.6 => /lib/libm.so.6 (0x00007ff435ea0000) libc.so.6 => /lib/libc.so.6 (0x00007ff435b57000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007ff43593c000) /lib64/ld-linux-x86-64.so.2 (0x00007ff43652e000) glibc 2.9 NPTL 2.9 00000000-000a0000 rwxs 00000000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a0000-000a1000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a1000-000a2000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a2000-000a3000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a3000-000a4000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a4000-000a5000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a5000-000a6000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a6000-000a7000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a7000-000a8000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a8000-000a9000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a9000-000aa000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000aa000-000ab000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000ab000-000ac000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000ac000-000ad000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000ad000-000ae000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000ae000-000af000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000af000-000b0000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b0000-000b1000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b1000-000b2000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b2000-000b3000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b3000-000b4000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b4000-000b5000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b5000-000b6000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b6000-000b7000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b7000-000b8000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b8000-000c0000 ---s 00110000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000c0000-000c1000 r-xs 000c0000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000c1000-00100000 rwxs 000c1000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 00100000-00110000 rwxs 00000000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 00400000-00592000 r-xp 00000000 08:03 3539371 /usr/bin/dosemu.bin 00791000-00792000 r--p 00191000 08:03 3539371 /usr/bin/dosemu.bin 00792000-007c1000 rw-p 00192000 08:03 3539371 /usr/bin/dosemu.bin 007c1000-00d9e000 rw-p 007c1000 00:00 0 [heap] 4195b000-4196b000 rw-p 4195b000 00:00 0 100000000-100001000 rw-p 100000000 00:00 0 7f31efb08000-7f31f0308000 rw-p 7f31efb08000 00:00 0 7f31f0308000-7f31f0b18000 rw-s 00000000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 7f31f0b18000-7f31f0bea000 r-xp 00000000 08:03 3548204 /usr/lib64/libslang.so.2.1.4 7f31f0bea000-7f31f0de9000 ---p 000d2000 08:03 3548204 /usr/lib64/libslang.so.2.1.4 7f31f0de9000-7f31f0ded000 r--p 000d1000 08:03 3548204 /usr/lib64/libslang.so.2.1.4 7f31f0ded000-7f31f0e05000 rw-p 000d5000 08:03 3548204 /usr/lib64/libslang.so.2.1.4 7f31f0e05000-7f31f0e64000 rw-p 7f31f0e05000 00:00 0 7f31f0e64000-7f31f0e6d000 r-xp 00000000 08:03 3539370 /usr/lib64/dosemu/libplugin_term.so 7f31f0e6d000-7f31f106c000 ---p 00009000 08:03 3539370 /usr/lib64/dosemu/libplugin_term.so 7f31f106c000-7f31f106d000 r--p 00008000 08:03 3539370 /usr/lib64/dosemu/libplugin_term.so 7f31f106d000-7f31f106f000 rw-p 00009000 08:03 3539370 /usr/lib64/dosemu/libplugin_term.so 7f31f106f000-7f31f1070000 rw-p 7f31f106f000 00:00 0 7f31f1070000-7f31f1086000 r-xp 00000000 08:03 4745797 /lib64/libpthread-2.9.so 7f31f1086000-7f31f1285000 ---p 00016000 08:03 4745797 /lib64/libpthread-2.9.so 7f31f1285000-7f31f1286000 r--p 00015000 08:03 4745797 /lib64/libpthread-2.9.so 7f31f1286000-7f31f1287000 rw-p 00016000 08:03 4745797 /lib64/libpthread-2.9.so 7f31f1287000-7f31f128b000 rw-p 7f31f1287000 00:00 0 7f31f128b000-7f31f13cb000 r-xp 00000000 08:03 4746023 /lib64/libc-2.9.so 7f31f13cb000-7f31f15ca000 ---p 00140000 08:03 4746023 /lib64/libc-2.9.so 7f31f15ca000-7f31f15ce000 r--p 0013f000 08:03 4746023 /lib64/libc-2.9.so 7f31f15ce000-7f31f15cf000 rw-p 00143000 08:03 4746023 /lib64/libc-2.9.so 7f31f15cf000-7f31f15d4000 rw-p 7f31f15cf000 00:00 0 7f31f15d4000-7f31f1654000 r-xp 00000000 08:03 4744634 /lib64/libm-2.9.so 7f31f1654000-7f31f1853000 ---p 00080000 08:03 4744634 /lib64/libm-2.9.so 7f31f1853000-7f31f1854000 r--p 0007f000 08:03 4744634 /lib64/libm-2.9.so 7f31f1854000-7f31f1855000 rw-p 00080000 08:03 4744634 /lib64/libm-2.9.so 7f31f1855000-7f31f1857000 r-xp 00000000 08:03 4746026 /lib64/libdl-2.9.so 7f31f1857000-7f31f1a57000 ---p 00002000 08:03 4746026 /lib64/libdl-2.9.so 7f31f1a57000-7f31f1a58000 r--p 00002000 08:03 4746026 /lib64/libdl-2.9.so 7f31f1a58000-7f31f1a59000 rw-p 00003000 08:03 4746026 /lib64/libdl-2.9.so 7f31f1a59000-7f31f1a60000 r-xp 00000000 08:03 4746038 /lib64/librt-2.9.so 7f31f1a60000-7f31f1c60000 ---p 00007000 08:03 4746038 /lib64/librt-2.9.so 7f31f1c60000-7f31f1c61000 r--p 00007000 08:03 4746038 /lib64/librt-2.9.so 7f31f1c61000-7f31f1c62000 rw-p 00008000 08:03 4746038 /lib64/librt-2.9.so 7f31f1c62000-7f31f1c7e000 r-xp 00000000 08:03 4746031 /lib64/ld-2.9.so 7f31f1e6f000-7f31f1e72000 rw-p 7f31f1e6f000 00:00 0 7f31f1e7b000-7f31f1e7d000 rw-p 7f31f1e7b000 00:00 0 7f31f1e7d000-7f31f1e7e000 r--p 0001b000 08:03 4746031 /lib64/ld-2.9.so 7f31f1e7e000-7f31f1e7f000 rw-p 0001c000 08:03 4746031 /lib64/ld-2.9.so 7ffff9e5a000-7ffff9e7f000 rw-p 7ffffffda000 00:00 0 [stack] 7ffff9fff000-7ffffa000000 r-xp 7ffff9fff000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Obtained 10 stack frames. /usr/bin/dosemu(gdb_debug+0x132) [0x4487f2] /usr/bin/dosemu(dosemu_fault1+0x2f8) [0x447198] /usr/bin/dosemu(dosemu_fault+0x75) [0x4477e5] /lib/libc.so.6 [0x7f31f12bc270] /usr/bin/dosemu(leave_cpu_emu+0xc9) [0x46eec9] /usr/bin/dosemu(leavedos+0x155) [0x41eef5] /usr/bin/dosemu [0x46ea24] /usr/bin/dosemu(e_vm86+0x6c5) [0x46fa15] /usr/bin/dosemu(run_vm86+0x9a) [0x4624aa] /usr/bin/dosemu(loopstep_run_vm86+0x9) [0x462b29] Debug info: gdb /usr/bin/dosemu.bin attach 14912 info registers backtrace backtrace full detach quit GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"... (no debugging symbols found) (gdb) Attaching to program: /usr/bin/dosemu.bin, process 14912 Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib64/libm.so.6... (no debugging symbols found)...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib64/libpthread.so.0... (no debugging symbols found)...done. [Thread debugging using libthread_db enabled] [New Thread 0x7f31f1e6f6f0 (LWP 14912)] Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /usr/lib64/dosemu/libplugin_term.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib64/dosemu/libplugin_term.so Reading symbols from /usr/lib64/libslang.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libslang.so.2 (no debugging symbols found) 0x00007f31f1324065 in waitpid () from /lib/libc.so.6 (gdb) rax 0xfffffffffffffe00 -512 rbx 0x0 0 rcx 0xffffffffffffffff -1 rdx 0x0 0 rsi 0x7ffff9e7dc8c 140737386110092 rdi 0x3a5e 14942 rbp 0x7ffff9e7dc8c 0x7ffff9e7dc8c rsp 0x7ffff9e7dc10 0x7ffff9e7dc10 r8 0x3a40 14912 r9 0x3a40 14912 r10 0x0 0 r11 0x246 582 r12 0x3a5e 14942 r13 0x3a40 14912 r14 0x0 0 r15 0x0 0 rip 0x7f31f1324065 0x7f31f1324065 <waitpid+53> eflags 0x246 [ PF ZF IF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 fctrl 0x37f 895 fstat 0x0 0 ftag 0xffff 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 mxcsr 0x1f80 [ IM DM ZM OM UM PM ] (gdb) #0 0x00007f31f1324065 in waitpid () from /lib/libc.so.6 #1 0x0000000000448952 in gdb_debug () #2 0x0000000000447198 in dosemu_fault1 () #3 0x00000000004477e5 in dosemu_fault () #4 <signal handler called> Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) #0 0x00007f31f1324065 in waitpid () from /lib/libc.so.6 No symbol table info available. #1 0x0000000000448952 in gdb_debug () No symbol table info available. #2 0x0000000000447198 in dosemu_fault1 () No symbol table info available. #3 0x00000000004477e5 in dosemu_fault () No symbol table info available. #4 <signal handler called> No symbol table info available. Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) Detaching from program: /usr/bin/dosemu.bin, process 14912 (gdb) Division by zero VFLAGS(b): 010000001000000010 EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000 VFLAGS(h): 00010202 ESI: 00525730 EDI: 0000000a EBP: 0000d68d CS: 0033 DS: 0000 ES: 0000 FS: 0000 GS: 0000 FLAGS: IF RF IOPL: 0 OOPS : bf 0a 00 00 00 48 89 d1 48 99 -> 48 f7 f9 48 89 c2 31 c0 e8 ea ERROR: leavedos called recursively, forgetting the graceful exit! System info: linux-vdso.so.1 => (0x00007fff619fe000) librt.so.1 => /lib/librt.so.1 (0x00007ff05941d000) libdl.so.2 => /lib/libdl.so.2 (0x00007ff059219000) libm.so.6 => /lib/libm.so.6 (0x00007ff058f98000) libc.so.6 => /lib/libc.so.6 (0x00007ff058c4f000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007ff058a34000) /lib64/ld-linux-x86-64.so.2 (0x00007ff059626000) glibc 2.9 NPTL 2.9 00000000-000a0000 rwxs 00000000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a0000-000a1000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a1000-000a2000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a2000-000a3000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a3000-000a4000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a4000-000a5000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a5000-000a6000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a6000-000a7000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a7000-000a8000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a8000-000a9000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000a9000-000aa000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000aa000-000ab000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000ab000-000ac000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000ac000-000ad000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000ad000-000ae000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000ae000-000af000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000af000-000b0000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b0000-000b1000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b1000-000b2000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b2000-000b3000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b3000-000b4000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b4000-000b5000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b5000-000b6000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b6000-000b7000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b7000-000b8000 rwxs 00210000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000b8000-000c0000 ---s 00110000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000c0000-000c1000 r-xs 000c0000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 000c1000-00100000 rwxs 000c1000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 00100000-00110000 rwxs 00000000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 00400000-00592000 r-xp 00000000 08:03 3539371 /usr/bin/dosemu.bin 00791000-00792000 r--p 00191000 08:03 3539371 /usr/bin/dosemu.bin 00792000-007c1000 rw-p 00192000 08:03 3539371 /usr/bin/dosemu.bin 007c1000-00d9e000 rw-p 007c1000 00:00 0 [heap] 4195b000-4196b000 rw-p 4195b000 00:00 0 100000000-100001000 rw-p 100000000 00:00 0 7f31efb08000-7f31f0308000 rw-p 7f31efb08000 00:00 0 7f31f0308000-7f31f0b18000 rw-s 00000000 00:0e 1018596 /dev/shm/dosemu_14912 (deleted) 7f31f0b18000-7f31f0bea000 r-xp 00000000 08:03 3548204 /usr/lib64/libslang.so.2.1.4 7f31f0bea000-7f31f0de9000 ---p 000d2000 08:03 3548204 /usr/lib64/libslang.so.2.1.4 7f31f0de9000-7f31f0ded000 r--p 000d1000 08:03 3548204 /usr/lib64/libslang.so.2.1.4 7f31f0ded000-7f31f0e05000 rw-p 000d5000 08:03 3548204 /usr/lib64/libslang.so.2.1.4 7f31f0e05000-7f31f0e64000 rw-p 7f31f0e05000 00:00 0 7f31f0e64000-7f31f0e6d000 r-xp 00000000 08:03 3539370 /usr/lib64/dosemu/libplugin_term.so 7f31f0e6d000-7f31f106c000 ---p 00009000 08:03 3539370 /usr/lib64/dosemu/libplugin_term.so 7f31f106c000-7f31f106d000 r--p 00008000 08:03 3539370 /usr/lib64/dosemu/libplugin_term.so 7f31f106d000-7f31f106f000 rw-p 00009000 08:03 3539370 /usr/lib64/dosemu/libplugin_term.so 7f31f106f000-7f31f1070000 rw-p 7f31f106f000 00:00 0 7f31f1070000-7f31f1086000 r-xp 00000000 08:03 4745797 /lib64/libpthread-2.9.so 7f31f1086000-7f31f1285000 ---p 00016000 08:03 4745797 /lib64/libpthread-2.9.so 7f31f1285000-7f31f1286000 r--p 00015000 08:03 4745797 /lib64/libpthread-2.9.so 7f31f1286000-7f31f1287000 rw-p 00016000 08:03 4745797 /lib64/libpthread-2.9.so 7f31f1287000-7f31f128b000 rw-p 7f31f1287000 00:00 0 7f31f128b000-7f31f13cb000 r-xp 00000000 08:03 4746023 /lib64/libc-2.9.so 7f31f13cb000-7f31f15ca000 ---p 00140000 08:03 4746023 /lib64/libc-2.9.so 7f31f15ca000-7f31f15ce000 r--p 0013f000 08:03 4746023 /lib64/libc-2.9.so 7f31f15ce000-7f31f15cf000 rw-p 00143000 08:03 4746023 /lib64/libc-2.9.so 7f31f15cf000-7f31f15d4000 rw-p 7f31f15cf000 00:00 0 7f31f15d4000-7f31f1654000 r-xp 00000000 08:03 4744634 /lib64/libm-2.9.so 7f31f1654000-7f31f1853000 ---p 00080000 08:03 4744634 /lib64/libm-2.9.so 7f31f1853000-7f31f1854000 r--p 0007f000 08:03 4744634 /lib64/libm-2.9.so 7f31f1854000-7f31f1855000 rw-p 00080000 08:03 4744634 /lib64/libm-2.9.so 7f31f1855000-7f31f1857000 r-xp 00000000 08:03 4746026 /lib64/libdl-2.9.so 7f31f1857000-7f31f1a57000 ---p 00002000 08:03 4746026 /lib64/libdl-2.9.so 7f31f1a57000-7f31f1a58000 r--p 00002000 08:03 4746026 /lib64/libdl-2.9.so 7f31f1a58000-7f31f1a59000 rw-p 00003000 08:03 4746026 /lib64/libdl-2.9.so 7f31f1a59000-7f31f1a60000 r-xp 00000000 08:03 4746038 /lib64/librt-2.9.so 7f31f1a60000-7f31f1c60000 ---p 00007000 08:03 4746038 /lib64/librt-2.9.so 7f31f1c60000-7f31f1c61000 r--p 00007000 08:03 4746038 /lib64/librt-2.9.so 7f31f1c61000-7f31f1c62000 rw-p 00008000 08:03 4746038 /lib64/librt-2.9.so 7f31f1c62000-7f31f1c7e000 r-xp 00000000 08:03 4746031 /lib64/ld-2.9.so 7f31f1e6f000-7f31f1e72000 rw-p 7f31f1e6f000 00:00 0 7f31f1e7b000-7f31f1e7d000 rw-p 7f31f1e7b000 00:00 0 7f31f1e7d000-7f31f1e7e000 r--p 0001b000 08:03 4746031 /lib64/ld-2.9.so 7f31f1e7e000-7f31f1e7f000 rw-p 0001c000 08:03 4746031 /lib64/ld-2.9.so 7ffff9e5a000-7ffff9e7f000 rw-p 7ffffffda000 00:00 0 [stack] 7ffff9fff000-7ffffa000000 r-xp 7ffff9fff000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Obtained 10 stack frames. /usr/bin/dosemu(gdb_debug+0x132) [0x4487f2] /usr/bin/dosemu(leavedos+0x22) [0x41edc2] /usr/bin/dosemu(dosemu_fault1+0x549) [0x4473e9] /usr/bin/dosemu(dosemu_fault+0x75) [0x4477e5] /lib/libc.so.6 [0x7f31f12bc270] /usr/bin/dosemu(leave_cpu_emu+0xc9) [0x46eec9] /usr/bin/dosemu(leavedos+0x155) [0x41eef5] /usr/bin/dosemu [0x46ea24] /usr/bin/dosemu(e_vm86+0x6c5) [0x46fa15] /usr/bin/dosemu(run_vm86+0x9a) [0x4624aa] Debug info: gdb /usr/bin/dosemu.bin GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"... (no debugging symbols found) (gdb) attach 14912 Attaching to program: /usr/bin/dosemu.bin, process 14912 info registers backtrace backtrace full detach quit Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib64/libm.so.6... (no debugging symbols found)...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib64/libpthread.so.0... (no debugging symbols found)...done. [Thread debugging using libthread_db enabled] [New Thread 0x7f31f1e6f6f0 (LWP 14912)] Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /usr/lib64/dosemu/libplugin_term.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib64/dosemu/libplugin_term.so Reading symbols from /usr/lib64/libslang.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libslang.so.2 (no debugging symbols found) 0x00007f31f1324065 in waitpid () from /lib/libc.so.6 (gdb) rax 0xfffffffffffffe00 -512 rbx 0x0 0 rcx 0xffffffffffffffff -1 rdx 0x0 0 rsi 0x7ffff9e7dc5c 140737386110044 rdi 0x3a6e 14958 rbp 0x7ffff9e7dc5c 0x7ffff9e7dc5c rsp 0x7ffff9e7dbe0 0x7ffff9e7dbe0 r8 0x3a40 14912 r9 0x3a40 14912 r10 0x0 0 r11 0x246 582 r12 0x3a6e 14958 r13 0x3a40 14912 r14 0x0 0 r15 0x0 0 rip 0x7f31f1324065 0x7f31f1324065 <waitpid+53> eflags 0x246 [ PF ZF IF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 fctrl 0x37f 895 fstat 0x0 0 ftag 0xffff 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 mxcsr 0x1f80 [ IM DM ZM OM UM PM ] (gdb) #0 0x00007f31f1324065 in waitpid () from /lib/libc.so.6 #1 0x0000000000448952 in gdb_debug () #2 0x000000000041edc2 in leavedos () #3 0x00000000004473e9 in dosemu_fault1 () #4 0x00000000004477e5 in dosemu_fault () #5 <signal handler called> Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) #0 0x00007f31f1324065 in waitpid () from /lib/libc.so.6 No symbol table info available. #1 0x0000000000448952 in gdb_debug () No symbol table info available. #2 0x000000000041edc2 in leavedos () No symbol table info available. #3 0x00000000004473e9 in dosemu_fault1 () No symbol table info available. #4 0x00000000004477e5 in dosemu_fault () No symbol table info available. #5 <signal handler called> No symbol table info available. Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) Detaching from program: /usr/bin/dosemu.bin, process 14912 (gdb) And here is the file done by gentoo command: emerge --info > emerge.info The file is telling and showing of my linux system. Portage 2.1.6.13 (default/linux/amd64/2008.0/server, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r5-x86_64-AMD_Athlon-tm-_II_X2_245_Processor-with-gentoo -1.12.11.1 Timestamp of tree: Fri, 11 Sep 2009 16:45:02 +0000 app-shells/bash: 4.0_p28 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.klid.dk/ftp/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/gate.junc.org" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl amd64 apache2 bzip2 cli cracklib crypt dri isdnlog mmx multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session snmp spl sse sse2 ssl svg sysfs tcpd truetype unicode xml xorg zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard" KERNEL="linux" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Regards, Gert Andersen -- 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