So might be the new option is exacty what you need.Artlav wrote:As before, WinXP install segfaults Bochs when formatting the disk starts.
Nothing noticeable in the log.
It seems to be related to memory amount settings - the more, the earlier it crashes.
But first I would try to determine the segfault reason. if this is some bug in harddrive emuation code - it is completely different story.
If your segfault happens because of 'out-of-memory' problem you have a solution.
The option of 'host' and 'guest' is pretty well documented in .bochsrc:
Code: Select all
# GUEST:
# Set amount of guest physical memory to emulate. The default is 32MB,
# the maximum amount limited only by physical address space limitations.
#
# HOST:
# Set amount of host memory you want to allocate for guest RAM emulation.
# It is possible to allocate less memory than you want to emulate in guest
# system. This will fake guest to see the non-existing memory. Once guest
# system touches new memory block it will be dynamically taken from the
# memory pool. You will be warned (by FATAL PANIC) in case guest already
# used all allocated host memory and wants more.
It probably won't help you alone and you shortly wil hit a PANIC but if you add new option --enable-large-ramfile it will run fine.
The option implements swapping to the file so you can emulate more RAM than you actualy could allocate.
Stanislav