DOSEMU CVS Crash With Kernel 2.6.12
Hello.
Quoted 1 line · T.P. Reitzel
Is anyone working on the source of this crash?
Not really. It doesn't look like this problem is reproduceable, so, as Bart already said, you should move it to BTS.
I only committed the patch few days ago that repairs the $_mapping option, so that you can try $_mapping="mapfile" and $_mapping="mapashm" and see if it makes any difference, but this is pretty much all that was done.
It looks like the kernel was not able to commit the 1Mb of memory needed to emulate the DOS address space, and sent a SIGBUS to dosemu to notify about that. This can happen if dosemu failed to resize the backing-store, but it checks the return value of ftruncate, so this shouldn't be the case (or maybe it is better to ftruncate() before unlink()?). Or maybe you somehow ran OOM, make sure the overcommit is disabled in /proc/sys/vm/overcommit_memory
Or maybe it is a kernel bug - try -mm patch then.
Anyway, this bug is not for the on-list resolution.
Hello.
Quoted 2 lines · T.P. Reitzel
Your suggestion to use mapping=mapfile (or mapashm) both enable DOSEmu to boot - finally.
That doesn't help much, it still means that dosemu doesn't work with the default configuration, and noone is really supposed to alter $_mapping.
Quoted 2 lines
I do appreciate both you and Bart's help. I'll try to remember the BTS in the future. ;-)
Future is now, no need to wait.
Quoted 2 lines
Is the "mapashm" option new? I see mapshm as an option for mapping, but not mapashm.
Your dosemu.conf is not up-to-date. Please take the template from the dosemu CVS tree, it is there in the "etc" directory. Yes, "mapashm" was added few days ago, but it isn't too new, it just had a different name before:)