From: Stanislav S. <st...@be...> - 2005-04-01 21:15:58
|
You forgot a pointer to new disk image ... I don't know anything about problems with FXSAVE/FXRESTOR instructions even in Bochs 2.1.1. There were bugs in FNSAVE/FNRESTOR FPU instructions but they already fixed in Bochs 2.2. I don't know why you added nofxsr option (which is related to FXSAVE/FXRESTOR P6 new instructions) but you could already drop it, it will work only better ;) Stanislav -----Original Message----- From: Ken Barr [mailto:kb...@mi...] Sent: Friday, April 01, 2005 11:04 PM To: Stanislav Shwartsman Cc: boc...@li... Subject: Re: [Bochs-developers] Re: smp bochs, 2.2pre2 Stanislav Shwartsman wrote: > Do you have any special instructions how I run this image (smth like number > of CPUs it could run, boot options I must choose and etc) ? I replaced the image with one that has a better grub menu and a fix to /etc/mtab. It doesn't feel like it's reliably getting me to a prompt or login, I don't know how to tell if it's deadlocked or just slow. The kernel options are: nofxsr (don't know if new Bochs has fixed its floating point save/restore instructions) noapic For compiling, configure bochs with --enable-cpu-level=6 --enable-num-processors=4 The .bochsrc that I use is below: ------------ romimage: file=BIOS-bochs-4-processors, address=0xf0000 vgaromimage: file=VGABIOS-lgpl-latest megs: 32 floppya: 1_44=/dev/fd0, status=inserted floppyb: 1_44=b.img, status=inserted ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14 ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15 ata0-master: type=disk, path=c.img, mode=flat, cylinders=1117, heads=16,spt=63 ata1-master: type=disk, path=swap.img, mode=flat, cylinders=520, heads=16,spt=63 boot: disk ips: 10000000 floppy_bootsig_check: disabled=0 log: out.bochs panic: action=ask error: action=report info: action=report debug: action=ignore debugger_log: - parport1: enabled=1, file="parport.out" vga_update_interval: 300000 keyboard_serial_delay: 250 keyboard_paste_delay: 100000 floppy_command_delay: 500 mouse: enabled=0 private_colormap: enabled=0 keyboard_mapping: enabled=0, map= ------------- > P.S> Text problems already fixed in CVS, you could get latest CVS snapshot > from Bochs website and it will work correctly. Thanks. It's much better. > > -----Original Message----- > From: boc...@li... > [mailto:boc...@li...] On Behalf Of Ken Barr > Sent: Thursday, March 31, 2005 1:00 AM > To: boc...@li... > Subject: [Bochs-developers] Re: smp bochs, 2.2pre2 > > Looks like you've made a change. Thanks! I was able to get 2.2pre2 running > > with the 2.4.24 and the noapic option! I've posted an SMP-enabled disk > image, > if you want to do further testing: > > http://cag.lcs.mit.edu/~kbarr/cag/c-small.img.bz2 > > Side note with 2.2.pre2: > I'm having a problem with text on the terminal (X gui on the guest) > overwriting itself (using vbe and lgpl vgabios). Do people have a favorite > "vga=" string for the guest linux to make this work? I didn't have this > problem > with 2.1. > > > > Stanislav Shwartsman wrote: > >>7/12/04 - Do you mean 7, Dec, 2004 or 12, Jul, 2004 ? >> >>-----Original Message----- >>From: Ken Barr [mailto:kb...@mi...] >>Sent: Saturday, March 19, 2005 7:06 PM >>To: Stanislav Shwartsman >>Subject: Re: smp bochs >> >>2.1.1 works with Linux 2.4.24. >> >>Technically, we use a cvs checkout from 7/12/04 (to get the softfloat >>changes). >> >>Stanislav Shwartsman wrote: >> >> >> >>>If you can point me Bochs version that successfully boot SMP I could start >>>to work in parallel with you ... >>> >>> >>>-----Original Message----- >>>From: Ken Barr [mailto:kb...@mi...] >>>Sent: Friday, March 18, 2005 7:16 PM >>>To: Stanislav Shwartsman >>>Subject: smp bochs >>> >>>I will try backing out the patch, and making a small, smp-enabled disk >>>image. Unfortunately, I'm traveling for about a week, so it'll be a few >>>days before I can give you a status update. >>> >>> >>>Stanislav Shwartsman wrote: >>> >>> >>> >>>>Hello, >>>> >>>>Could you: >>>> >>>>1. Send me the diff between Bochs sources from 2004-07-12 and latest CVS > > ? > >>>>2. To send me the disk image and instructions to reproduce the problem >>> >>>(how >>> >>> >>> >>>>I could make work with old version). >>>>3. Try to revert back patch-apic-zwane which was committed to CVS for 2.2 >>>>release (might some part of it makes the problems)? >>>> >>>>Nobody here understands how SMP should work and why it generally doesn't. >>>>Actually Bochs doesn't support SMP currently and we need for somebody who >>>>understand how the things should work to do something ;( >>>> >>>>Thanks, >>>>Stanislav >>>> >>>>-----Original Message----- >>>>From: boc...@li... >>>>[mailto:boc...@li...] On Behalf Of > > Kenneth > >>>>Barr >>>>Sent: Tuesday, March 15, 2005 9:13 PM >>>>To: boc...@li... >>>>Subject: [Bochs-developers] Re: bochs-developers digest, Vol 1 #1536 - 3 >>>>msgs >>>> >>>>On Mon, 14 Mar 2005 boc...@li... wrote: >>>> >>>> >>>> >>>> >>>>>Message: 1 >>>>>From: Volker Ruppert <in...@vr...> >>>>>To: Bochs Developers <boc...@li...> >>>>>Date: Mon, 14 Mar 2005 18:36:00 +0100 >>>>>Subject: [Bochs-developers] Bochs 2.2.pre1 released >>>>> >>>>>The first pre-release of Bochs 2.2 is out now. The sources and binary >>>>>packages for Linux and Windows are available for download. I have also >>>> >>>>updated >>>> >>>> >>>> >>>> >>>>>the online documentation. >>>>> >>>>>The binary packages are compiled with these features: >>>>>* Pentium III with all optimizations >>>>>* PCI (without USB) >>>>>* Bochs VBE + Cirrus SVGA >>>>> >>>>>-- >>>>>Volker Ruppert >>>> >>>> >>>> >>>>The pre-release seems to have broken compatability with SMP Linux 2.4.24 >>>>as a guest OS. After configuring with --enable-cpu-level=6 >>>>--enable-processors=4 (and using the provided BIOS-bochs-4-processors), >>>>I'm unable to boot the guest (see below). >>>> >>>>Note that this DID work in the CVS snapshot from 2004-07-12. >>>> >>>>You may want to revert to the crippled-but-working behavior before a 2.2 >>>>release. Or, maybe these dumps will help solve the problem. >>>> >>>>If I'm doing something wrong (IE, someone has this working somehow), >>>>please let me know how to do it right! >>>> >>>> >>>> >>>>With noapic kernel argument (this is what has been required) >>>>------------------------------------------------------------ >>>>out.bochs: >>>> >>>>00126808505i[CPU2 ] MOV_RdCd: read of CR4 >>>>00126808515i[CPU2 ] MOV_RdCd: read of CR4 >>>>00126808560i[CPU2 ] MOV_RdCd: read of CR4 >>>>00126808570i[CPU2 ] MOV_RdCd: read of CR4 >>>>00129755760i[CPU2 ] MOV_RdCd: read of CR4 >>>>00159201980i[APIC2] warning: misaligned or wrong-size APIC access. >>>>addr=fee000d3 len=1 >>>>00159207740i[APIC2] warning: write to read-only APIC register 0x30 >>>>00159231870i[APIC0] local apic in CPU apicid=00 initializing >>>>00159381695i[APIC2] INIT with Level&Deassert: synchronize arbitration IDs >>>>00159383175i[APIC0] CPU apicid=00 started up at 0200:00000000 by APIC >>>>00159383180i[CPU0 ] WBINVD: (ignoring) >>>>00159383200i[CPU0 ] MOV_RdCd: read of CR4 >>>>00159386780i[CPU0 ] MOV_RdCd: read of CR4 >>>>00159392010i[APIC0] CPU apicid=00 started up by APIC, but was not halted >>> >>>at >>> >>> >>> >>>>the time >>>>00162492400i[APIC1] local apic in CPU apicid=01 initializing >>>>00162642225i[APIC2] INIT with Level&Deassert: synchronize arbitration IDs >>>>00162643700i[APIC1] CPU apicid=01 started up at 0200:00000000 by APIC >>>>00162643705i[CPU1 ] WBINVD: (ignoring) >>>>00162643725i[CPU1 ] MOV_RdCd: read of CR4 >>>>00162647305i[CPU1 ] MOV_RdCd: read of CR4 >>>>00162652530i[APIC1] CPU apicid=01 started up by APIC, but was not halted >>> >>>at >>> >>> >>> >>>>the time >>>>00165792375i[APIC3] local apic in CPU apicid=03 initializing >>>>00165942195i[APIC2] INIT with Level&Deassert: synchronize arbitration IDs >>>>00165943670i[APIC3] CPU apicid=03 started up at 0200:00000000 by APIC >>>>00165943670i[CPU3 ] WBINVD: (ignoring) >>>>00165943690i[CPU3 ] MOV_RdCd: read of CR4 >>>>00165947270i[CPU3 ] MOV_RdCd: read of CR4 >>>>00165952505i[APIC3] CPU apicid=03 started up by APIC, but was not halted >>> >>>at >>> >>> >>> >>>>the time >>>>00170900955i[APIC2] Broadcast IPI for vector 0xfb delivery_mode 0 >>>> >>>>screen snapshot: >>>> >>>>ESR value after enabling vector: 00000000 >>>>Calibrating delay loop... 29.90 BogoMIPS >>>>CPU1: Intel Pentium III (Coppermine) stepping 03 >>>>Booting processor 2/1 eip 2000 >>>>Initializing CPU#2 >>>>masked ExtINT on CPU#2 >>>>ESR value before enabling vector: 00000000 >>>>ESR value after enabling vector: 00000000 >>>>Calibrating delay loop... 29.90 BogoMIPS >>>>CPU2: Intel Pentium III (Coppermine) stepping 03 >>>>Booting processor 3/3 eip 2000 >>>>Initializing CPU#3 >>>>masked ExtINT on CPU#3 >>>>ESR value before enabling vector: 00000000 >>>>ESR value after enabling vector: 00000000 >>>>Calibrating delay loop... 29.90 BogoMIPS >>>>CPU3: Intel Pentium III (Coppermine) stepping 03 >>>>Total of 4 processors activated (119.50 BogoMIPS). >>>>Using local APIC timer interrupts. >>>>calibrating APIC timer ... >>>>..... CPU clock speed is 15.0003 MHz. >>>>..... host bus clock speed is 15.0001 MHz. >>>>cpu: 0, clocks: 150001, slice: 30000 >>>>CPU0<T0:150000,T1:120000,D:0,S:30000,C:150001> >>>> >>>> >>>> >>>>Without providing the nopaic argument: >>>>------------------------------------------- >>>> >>>>out.bochs >>>> >>>>00155299680i[CPU2 ] MOV_RdCd: read of CR4 >>>>00155299730i[CPU2 ] MOV_RdCd: read of CR4 >>>>00155299740i[CPU2 ] MOV_RdCd: read of CR4 >>>>00155299785i[CPU2 ] MOV_RdCd: read of CR4 >>>>00155299795i[CPU2 ] MOV_RdCd: read of CR4 >>>>00158245505i[CPU2 ] MOV_RdCd: read of CR4 >>>>00189191745i[APIC2] warning: misaligned or wrong-size APIC access. >>>>addr=fee000d3 len=1 >>>>00189197505i[APIC2] warning: write to read-only APIC register 0x30 >>>>00189221635i[APIC0] local apic in CPU apicid=00 initializing >>>>00189371460i[APIC2] INIT with Level&Deassert: synchronize arbitration IDs >>>>00189372940i[APIC0] CPU apicid=00 started up at 0200:00000000 by APIC >>>>00189372945i[CPU0 ] WBINVD: (ignoring) >>>>00189372965i[CPU0 ] MOV_RdCd: read of CR4 >>>>00189376545i[CPU0 ] MOV_RdCd: read of CR4 >>>>00189381775i[APIC0] CPU apicid=00 started up by APIC, but was not halted >>> >>>at >>> >>> >>> >>>>the time >>>>00192482165i[APIC1] local apic in CPU apicid=01 initializing >>>>00192631990i[APIC2] INIT with Level&Deassert: synchronize arbitration IDs >>>>00192633465i[APIC1] CPU apicid=01 started up at 0200:00000000 by APIC >>>>00192633470i[CPU1 ] WBINVD: (ignoring) >>>>00192633490i[CPU1 ] MOV_RdCd: read of CR4 >>>>00192637070i[CPU1 ] MOV_RdCd: read of CR4 >>>>00192642295i[APIC1] CPU apicid=01 started up by APIC, but was not halted >>> >>>at >>> >>> >>> >>>>the time >>>>00195782140i[APIC3] local apic in CPU apicid=03 initializing >>>>00195931960i[APIC2] INIT with Level&Deassert: synchronize arbitration IDs >>>>00195933435i[APIC3] CPU apicid=03 started up at 0200:00000000 by APIC >>>>00195933435i[CPU3 ] WBINVD: (ignoring) >>>>00195933455i[CPU3 ] MOV_RdCd: read of CR4 >>>>00195937035i[CPU3 ] MOV_RdCd: read of CR4 >>>>00195942270i[APIC3] CPU apicid=03 started up by APIC, but was not halted >>> >>>at >>> >>> >>> >>>>the time >>>>00199101560i[IOAP ] IOAPIC: setting id to 0x4 >>>>00199103365i[APIC2] Broadcast IPI for vector 0 delivery_mode 0x5 >>>>00199103365i[APIC2] INIT with Level&Deassert: synchronize arbitration IDs >>>>00199353270i[APIC2] EOI written without any bit in ISR >>>>00199503170i[APIC2] EOI written without any bit in ISR >>>>00199653285i[APIC2] EOI written without any bit in ISR >>>>00199803190i[APIC2] EOI written without any bit in ISR >>>>00199953290i[APIC2] EOI written without any bit in ISR >>>>00200103195i[APIC2] EOI written without any bit in ISR >>>>00200253280i[APIC2] EOI written without any bit in ISR >>>>00200403200i[APIC2] EOI written without any bit in ISR >>>>00200553285i[APIC2] EOI written without any bit in ISR >>>>00200703205i[APIC2] EOI written without any bit in ISR >>>>00200853195i[APIC2] EOI written without any bit in ISR >>>>00201003280i[APIC2] EOI written without any bit in ISR >>>>00202664650i[APIC2] EOI written without any bit in ISR >>>>00202803580i[APIC2] EOI written without any bit in ISR >>>>00202859295i[APIC2] Broadcast IPI for vector 0xfb delivery_mode 0 >>>>00202953355i[APIC2] EOI written without any bit in ISR >>>>00203103450i[APIC2] EOI written without any bit in ISR >>>>00203253405i[APIC2] EOI written without any bit in ISR >>>>00203403375i[APIC2] EOI written without any bit in ISR >>>>00203553470i[APIC2] EOI written without any bit in ISR >>>>00203703425i[APIC2] EOI written without any bit in ISR >>>>00203853240i[APIC2] EOI written without any bit in ISR >>>>... >>>> >>>>screen shot: >>>> >>>>ESR value after enabling vector: 00000000 >>>>Calibrating delay loop... 29.90 BogoMIPS >>>>CPU2: Intel Pentium III (Coppermine) stepping 03 >>>>Booting processor 3/3 eip 2000 >>>>Initializing CPU#3 >>>>masked ExtINT on CPU#3 >>>>ESR value before enabling vector: 00000000 >>>>ESR value after enabling vector: 00000000 >>>>Calibrating delay loop... 29.90 BogoMIPS >>>>CPU3: Intel Pentium III (Coppermine) stepping 03 >>>>Total of 4 processors activated (119.50 BogoMIPS). >>>>ENABLING IO-APIC IRQs >>>>Setting 4 in the phys_id_present_map >>>>...changing IO-APIC physical APIC ID to 4 ... ok. >>>>..TIMER: vector=0x31 pin1=0 pin2=-1 >>>>testing the IO APIC....................... >>>> >>>>.................................... done. >>>>Using local APIC timer interrupts. >>>>calibrating APIC timer ... >>>>..... CPU clock speed is 15.0004 MHz. >>>>..... host bus clock speed is 15.0003 MHz. >>>>cpu: 0, clocks: 150003, slice: 30000 >>>>CPU0<T0:150000,T1:120000,D:0,S:30000,C:150003> >>>> >>>> >>>> >>>> >>>> >>>> >>>>------------------------------------------------------- >>>>SF email is sponsored by - The IT Product Guide >>>>Read honest & candid reviews on hundreds of IT Products from real users. >>>>Discover which products truly live up to the hype. Start reading now. >>>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>_______________________________________________ >>>>bochs-developers mailing list >>>>boc...@li... >>>>https://lists.sourceforge.net/lists/listinfo/bochs-developers >>>> >>>> >>> >>> >>> > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > bochs-developers mailing list > boc...@li... > https://lists.sourceforge.net/lists/listinfo/bochs-developers > > |