I guess Bochs 2.4.6 right from the box was good enough as well.įor now you could use it as workaround for the installation until problem is fixed.Īfter it is installed with this Bochs build it would boot fine on any Bochs version including latst releases. The installation starts with Bochs 2.4.6 compiled with following configure options. It is required only small step toward timeback machine from these examples. It ptints a lot of data so better to do it as close as possible to the failure. You culd fire it at some point and start getting dumps until failure. They already have complete tracing ability but do remember data back in time. Quite easy, I huess looking on such dump will be enough alone to resolve stack corruption.Įxamples instrumentation modules given with Bochs source and half-way to the timeback machine. When you reach failure point you could send command to instrumentation module to fire timeback machine and print last 10000 events before than point. Each record has timestamp, instruction opcode bytes (easy to disasm later) and RIP, memory accesses done, exception vector and etc. Say N=10000 instructions, exceptions or interrupts on each processor. Now it is possible to write Bochs instrumentation module I called 'timeback machine' which will remember information about last N interesting events happened. If the failure reproduces (I expect it will) at least we have relatively quick test to debug. Take Save/Restore snapshot before failure point as close as possible to failure point and try to restart from the Save/Restore snapshot. You should know where the failure happens, on which stape of installation and etc. I always wanted to write these tools based on Bochs but never ompleted them, might be with you on pilot I could do some of them.Īssuming your problem reproduces with Bochs internal debugger enabled we could try to get closer to failure (faster to reproduce). Stack corruption (if it happened) relatively easy to track. Of all this doesn't help and you really want to invest time in debugging it yourself - Bochs itself can help you a lot. Win7 installed with single thread will later on boot with more threads with no issue. Bochs behavior is quite different in SMP enabled binary even if only single thread is running. #Bochs configuration file for windows installI saw in your log file that you trying to install OS in SMP configuration (SMP=yes, quantum=16). I don't remember if correct (not failing) procedure had the canonical violation as well or not, but it seems familiar to me. I only could confirm that my existing installation boots and works well on 2.6.1. Sorry, my dothe is sick last few days and was not able to try Win7 installation procedure on my own. Mouse: type=ps2, enabled=0, toggle=ctrl mbutton Keyboard: type=mf, serial_delay=250, paste_delay=100000, user_shortcut=none Vgaromimage: file="C:\Program Files (x86)\Bochs\VGABIOS-lgpl-latest"įloppy_bootsig_check: disabled=1 no floppya no floppybĪta0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14Īta0-master: type=disk, path="D:\Work\win\win.img", mode=flat, cylinders=203174, heads=16, spt=63, model="Generic Disk", biosdetect=auto, translation=autoĪta1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15Īta1-master: type=cdrom, path="D:\ISO\en_windows_7_ultimate_圆4_dvd_x15-65922.iso", status=inserted, model="Generic 1234", biosdetect=autoĬpu: count=1:1:1, ips=40000000, quantum=16, model=core2_penryn_t9600, reset_on_triple_fault=1, cpuid_limit_winnt=0, ignore_bad_msrs=1, mwait_is_nop=0Ĭlock: sync=realtime, time0=local, rtc_sync=0 no cmosimage no loader Romimage: file="C:\Program Files (x86)\Bochs\BIOS-bochs-latest" Plugin_ctrl: unmapped=1, biosdev=1, speaker=1, extfpuirq=1, parallel=1, serial=1, gameport=0, iodebug=0 #Bochs configuration file for windows windowswindows setup crashes every time during file coping stage.Ĭonfig: configuration file generated by Bochs #Bochs configuration file for windows windows 7I am trying to install windows 7 圆4 on bochs but no success.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |