Qbix wrote:well you could try compiling dosbox with debug information and stepping through it.
The important parts are reached quite early in the code. (the initialisation of the video card for example)
I compiled Dosbox as requested with --enable-debug. After installing a few missing devel packages it compiled successfully. I ran the version I compiled and the debug screen came up in the terminal. It looked like it was all set up, but there was no information where there should have been. The top looked like this:
EAX = ECX =
EBX = EDX =
showing the registers but no values. And as before the dosbox window opened with a black screen in it and the computer locked up. I left the computer for a minute or so in that state and when I returned the following text was in the terminal I had just run Dosbox in:
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:15 2006 ...
iphost-64-56-146-225 kernel: ------------[ cut here ]------------
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:15 2006 ...
iphost-64-56-146-225 kernel: kernel BUG at include/linux/list.h:58!
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:15 2006 ...
iphost-64-56-146-225 kernel: invalid opcode: 0000 [#1]
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:15 2006 ...
iphost-64-56-146-225 kernel: CPU: 0
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:15 2006 ...
iphost-64-56-146-225 kernel: EIP is at snd_seq_delete_all_ports+0x74/0x17d [snd_seq]
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:15 2006 ...
iphost-64-56-146-225 kernel: eax: 00000044 ebx: f0f93e48 ecx: f0d32f48 edx: f895c433
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:15 2006 ...
iphost-64-56-146-225 kernel: esi: f0f93e48 edi: f217c480 ebp: f217c508 esp: f0d32f44
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:16 2006 ...
iphost-64-56-146-225 kernel: ds: 007b es: 007b ss: 0068
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:16 2006 ...
iphost-64-56-146-225 kernel: Process dosbox (pid: 3519, threadinfo=f0d32000 task=f0971550)
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:16 2006 ...
iphost-64-56-146-225 kernel: Stack: <0>f895c433 f0f93e48 f217c508 f217c510 00000246 f217c51c f217c480 f24cfa58
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:16 2006 ...
iphost-64-56-146-225 kernel: f217c480 00000000 f04dd180 f261f594 f89561bc f217c480 f895627d f217c480
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:16 2006 ...
iphost-64-56-146-225 kernel: f89562c4 00000008 c01561cf f24cfa58 f7ff2d40 f04dd180 00000000 c2176580
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:16 2006 ...
iphost-64-56-146-225 kernel: Call Trace:
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:16 2006 ...
iphost-64-56-146-225 kernel: [<f89561bc>] seq_free_client1+0x8/0x7e [snd_seq] [<f895627d>] seq_free_client+0x4b/0x80 [snd_seq]
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:16 2006 ...
iphost-64-56-146-225 kernel: [<f89562c4>] snd_seq_release+0x12/0x31 [snd_seq] [<c01561cf>] __fput+0xae/0x151
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:16 2006 ...
iphost-64-56-146-225 kernel: [<c0153cf7>] filp_close+0x4e/0x54 [<c0102be9>] syscall_call+0x7/0xb
Message from syslogd@iphost-64-56-146-225 at Thu Jun 15 16:38:16 2006 ...
iphost-64-56-146-225 kernel: Code: 88 00 00 00 39 af 88 00 00 00 74 63 8b 9f 88 00 00 00 8b b7 8c 00 00 00 8b 43 04 39 f0 74 17 50 56 68 33 c4 95 f8 e8 43 0c 7c c7 <0f> 0b 3a 00 1e c4 95 f8 83 c4 0c 8b 06 39 d8 74 17 50 53 68 e8
I don't think there is much doubt from that the issue is with the kernel. I guess the question is what now?