Can someone post their successful .config for xen0 and xenU using FC3 on intel x86 w/ide hdd? My make ARCH=xen oldconfig gives numerous kernel options that are new for dom0 and I am not sure if I have them set correctly in the build. Thanks. -- Woody Marvel LTC Open Source Projects tel: 503-578-3833/775-3833 email: marvel@us.ibm.com ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> Can someone post their successful .config for xen0 and xenU using FC3 on > intel x86 w/ide hdd? My make ARCH=xen oldconfig gives numerous kernel options > that are new for dom0 and I am not sure if I have them set correctly in the > build.uh, default config files as distributed with xen 2.0 works just fine for me. ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
where can i find the config file -----Original Message----- From: xen-devel-admin@lists.sourceforge.net [mailto:xen-devel-admin@lists.sourceforge.net] On Behalf Of Adam Sulmicki Sent: Wednesday, December 22, 2004 9:22 AM To: woody marvel Cc: xen dev Subject: Re: [Xen-devel] seeking help for xen0/U .config> Can someone post their successful .config for xen0 and xenU using FC3 > on intel x86 w/ide hdd? My make ARCH=xen oldconfig gives numerous > kernel options that are new for dom0 and I am not sure if I have them > set correctly in the build.uh, default config files as distributed with xen 2.0 works just fine for me. ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
>> Can someone post their successful .config for xen0 and xenU using FC3 >> on intel x86 w/ide hdd? My make ARCH=xen oldconfig gives numerous >> kernel options that are new for dom0 and I am not sure if I have them >> set correctly in the build. > > uh, default config files as distributed with xen 2.0 works just fine for > me.> where can i find the config filewell they are at # ls -1 linux-2.6.9-xen-sparse/arch/xen/configs/xen* linux-2.6.9-xen-sparse/arch/xen/configs/xen0_defconfig linux-2.6.9-xen-sparse/arch/xen/configs/xenU_defconfig .. but makefile will just use them automagically if you do "make world" (and there are no old .config files lying around). ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
hello, I''m playing with xen 2.0 testing. I noticed few issues so far 1) extreme slowness 2) won''t boot on p3 with compiled for for cyrix 3) "idle_loop" gets optimized away ====================================================================================================================================================1) it is extremely slow. top shows that about 90% of time is spent in wait states (this is with compiling kernel)... seems like it might have been low memory situation.. but I did not have such problems with xen 2.0 release.. (using dom0_mem=65536) Cpu(s): 6.0% us, 1.6% sy, 0.0% ni, 0.0% id, 92.4% wa, 0.0% hi, 0.0% si tops shows that 45mb out of 60mb are used but.. but it is nto clear what ofer.. it not programs, it does not seems like those are buffers either ====================================================================================================================================================2) does not boot whith Processor family set to "cyrix III/VIA-C3" (XEN) Scrubbing Free RAM: ..done. (XEN) *** Serial input -> DOM0 (type ''CTRL-a'' three times to switch input to Xen). (XEN) BUG at domain.c:140 (XEN) CPU: 0 (XEN) EIP: 0808:[<fc505f9e>] (XEN) EFLAGS: 00210296 (XEN) eax: 00000000 ebx: fc5fd9e0 ecx: 00200046 edx: 000003f8 (XEN) esi: 000e0002 edi: c0102000 ebp: 00000fc0 esp: fc503f9c (XEN) ds: 0810 es: 0810 fs: 0810 gs: 0810 ss: 0810 (XEN) Stack trace from ESP=fc503f9c: (XEN) fc52cd19 fc52cd5a 0000008c 000e0002 [fc505ec0] fc5fd9e0 000e0002 0000003f (XEN) 00000517 00000000 c0512000 c0102000 00000fc0 c0464000 000e0000 00000000 (XEN) 00000819 00210246 c0000004 00000821 00000821 00000821 00000000 00000000 (XEN) fc5fd9e0 (XEN) Call Trace from ESP=fc503f9c: [<fc505ec0>] **************************************** CPU0 FATAL TRAP: vector = 6 (invalid operand) [error_code=0000] Aieee! CPU0 is toast... **************************************** Reboot in five seconds... ====================================================================================================================================================3) using -03 makes the "idle_loop" being optimized away. removing the "-O3" flag while compiling the domain.o fixes the probelm. [''make xen'' in today''s bk pull of xen-2.0-testing.bk ..... ] ld --oformat elf32-i386 -T x86_32/xen.lds -N \ boot/x86_32.o /usr/src/cm/xen/xen-2.0-testing.bk/xen/common/common.o /usr/src/cm/xen/xen-2.0-testing.bk/xen/drivers/char/driver.o /usr/src/cm/xen/xen-2.0-testing.bk/xen/drivers/acpi/driver.o /usr/src/cm/xen/xen-2.0-testing.bk/xen/drivers/pci/driver.o /usr/src/cm/xen/xen-2.0-testing.bk/xen/arch/x86/arch.o -o /usr/src/cm/xen/xen-2.0-testing.bk/xen/xen-syms /usr/src/cm/xen/xen-2.0-testing.bk/xen/arch/x86/arch.o(.text+0xa90): In function `continue_idle_task'': : undefined reference to `idle_loop'' make[2]: *** [default] Error 1 make[2]: Leaving directory `/usr/src/cm/xen/xen-2.0-testing.bk/xen/arch/x86'' make[1]: *** [/usr/src/cm/xen/xen-2.0-testing.bk/xen/xen] Error 2 make[1]: Leaving directory `/usr/src/cm/xen/xen-2.0-testing.bk/xen'' make: *** [xen] Error 2 redbull:/usr/src/cm/xen/xen-2.0-testing.bk # redbull:/usr/src/cm/xen/xen-2.0-testing.bk # cd xen/arch/x86/ # compile with "-O3" redbull:/usr/src/cm/xen/xen-2.0-testing.bk/xen/arch/x86 # gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -pipe -I/usr/src/cm/xen/xen-2.0-testing.bk/xen/include -Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer -msoft-float -m32 -march=i586 -DNDEBUG -c domain.c -o domain.o redbull:/usr/src/cm/xen/xen-2.0-testing.bk/xen/arch/x86 # gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -pipe -I/usr/src/cm/xen/xen-2.0-testing.bk/xen/include -Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer -msoft-float -m32 -march=i586 -DNDEBUG -c domain.c -o domain.o redbull:/usr/src/cm/xen/xen-2.0-testing.bk/xen/arch/x86 # nm domain.o | grep -iw idle_loop U idle_loop # compile with-out "-O3" redbull:/usr/src/cm/xen/xen-2.0-testing.bk/xen/arch/x86 # gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -pipe -I/usr/src/cm/xen/xen-2.0-testing.bk/xen/include -Wno-pointer-arith -Wredundant-decls -O0 -fomit-frame-pointer -msoft-float -m32 -march=i586 -DNDEBUG -c domain.c -o domain.o redbull:/usr/src/cm/xen/xen-2.0-testing.bk/xen/arch/x86 # nm domain.o | grep -iw idle_loop 00000020 t idle_loop ==================================================================================================================================================== ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> > hello, > I''m playing with xen 2.0 testing. I noticed few issues so far > > 1) extreme slownessIs this in DOM0 or some other domain? If it looks like I/O slowness, have any network or disc microbenchmarks (e.g., net/disc bandwidth or latency) got much worse?> 2) won''t boot on p3 with compiled for for cyrixHas that ever worked? I did recently fix a problem with CONFIG_X86_USE_3DNOW, so were you testing a very up to date version of the repository? If you are totally stuck send me your .config and I can build and test.> 3) "idle_loop" gets optimized awayOkay I fixed this now. I did a push from -testing to teh stable tree yesterday (v2.0.2). There are already a couple more fixes added to the -testing tree since then so I expect we will end up doing a 2.0.3 release fairly soon (there are a few other problems we would like to get fixed first, so it will probably be early in the new year). -- Keir ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> >> 1) extreme slowness > > > > Is this in DOM0 or some other domain? If it looks like I/O slowness, > > have any network or disc microbenchmarks (e.g., net/disc bandwidth or > > latency) got much worse? > > dom0, i tried to compile kernel and it was like 10-100 times slower... but > I got impression that it was because the disk was heavily trashing.. it > seemed like the 45 out of the 65mb disappeared somewhere, and the > remainining 15 was just not enough to compile kernel (in fact oom-killer > killed my sshd twice).''cat /proc/xen/balloon'' will tell you how much memory your domain has. You''ll see the current allocation is somewhat less than the ''requested target''. This is because the backend I/O drivers steal some kernel address space and the RAM that was mapped in that space is freed back to Xen. I wouldn''t expect the current allocation to be more than maybe 6MB lower than the 64MB target though. Also, what does ''cat /proc/meminfo'' look like?> >> 2) won''t boot on p3 with compiled for for cyrix > > > > Has that ever worked? I did recently fix a problem with > > CONFIG_X86_USE_3DNOW, so were you testing a very up to date version of > > the repository? If you are totally stuck send me your .config and I > > can build and test. > > yeah, it worked just fine on xen 2.0 release. I could compile kernel with > CONFIG_MCYRIXIII and then run the same kernel on both P3 and via (with > some special patches). This time the kernel bombed on P3 (have not tried > it on via). > > the repository was as of yesterday.I''ll try building with CYRIXIII selected. If that works for me then I guess it must be something else in your config. -- Keir ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
>> 1) extreme slowness > > Is this in DOM0 or some other domain? If it looks like I/O slowness, > have any network or disc microbenchmarks (e.g., net/disc bandwidth or > latency) got much worse?dom0, i tried to compile kernel and it was like 10-100 times slower... but I got impression that it was because the disk was heavily trashing.. it seemed like the 45 out of the 65mb disappeared somewhere, and the remainining 15 was just not enough to compile kernel (in fact oom-killer killed my sshd twice).>> 2) won''t boot on p3 with compiled for for cyrix > > Has that ever worked? I did recently fix a problem with > CONFIG_X86_USE_3DNOW, so were you testing a very up to date version of > the repository? If you are totally stuck send me your .config and I > can build and test.yeah, it worked just fine on xen 2.0 release. I could compile kernel with CONFIG_MCYRIXIII and then run the same kernel on both P3 and via (with some special patches). This time the kernel bombed on P3 (have not tried it on via). the repository was as of yesterday.>> 3) "idle_loop" gets optimized away > > Okay I fixed this now. > > I did a push from -testing to teh stable tree yesterday > (v2.0.2). There are already a couple more fixes added to the -testing > tree since then so I expect we will end up doing a 2.0.3 release > fairly soon (there are a few other problems we would like to get fixed > first, so it will probably be early in the new year).cool ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
>>>> 1) extreme slowness> ''cat /proc/xen/balloon'' will tell you how much memory your domain has. > You''ll see the current allocation is somewhat less than the ''requested > target''. This is because the backend I/O drivers steal some kernel > address space and the RAM that was mapped in that space is freed back > to Xen. I wouldn''t expect the current allocation to be more than maybe > 6MB lower than the 64MB target though. > > Also, what does ''cat /proc/meminfo'' look like?attached meminfo, balloon and output of both, all of them right after starting dom0 also attached outout of dmesg which shows oom-killer in action (already!) as well as output of "echo m > /proc/sysrq-trigger">>>> 2) won''t boot on p3 with compiled for for cyrix >>> >>> Has that ever worked? I did recently fix a problem with >>> CONFIG_X86_USE_3DNOW, so were you testing a very up to date version of >>> the repository? If you are totally stuck send me your .config and I >>> can build and test. >> >> yeah, it worked just fine on xen 2.0 release. I could compile kernel with >> CONFIG_MCYRIXIII and then run the same kernel on both P3 and via (with >> some special patches). This time the kernel bombed on P3 (have not tried >> it on via). >> >> the repository was as of yesterday. > > I''ll try building with CYRIXIII selected. If that works for me then I > guess it must be something else in your config.FWIW, I just d/l pristine tree and used almost default config (except the cyrix setting) just especially to see if it is somethin with my config.
>> 3) "idle_loop" gets optimized away > > Okay I fixed this now.> I did a push from -testing to teh stable tree yesterday > (v2.0.2). There are already a couple more fixes added to the -testing > tree since then so I expect we will end up doing a 2.0.3 release > fairly soon (there are a few other problems we would like to get fixed > first, so it will probably be early in the new year).I just did a pull it seems I already had the fixes from yesterday. as for idle_loop. "__attribute_used__" ? Somehow I supsect Plan9 compiler does not support that and Ron won''t be very happy about it. In fact i had little luck of finding gcc documentation on it on web. ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> attached meminfo, balloon and output of both, all of them right after > starting dom0meminfo and balloon dumps look healthy and you do have a swap partition.> also attached outout of dmesg which shows oom-killer in action (already!) > as well as output of "echo m > /proc/sysrq-trigger"Weird. Do you have to do anything on DOM0 to get the messages, or do they just start coming out after a while? Maybe there''s a memory leak somewhere... I haven''t seen anything like this though.> FWIW, I just d/l pristine tree and used almost default config (except the > cyrix setting) just especially to see if it is somethin with my config.Did it work for you? I''ve just done the same and I was able to boot a xen-2.0-testing linux-2.6.9-xen0 configured for CYRIXIII on an Athlon box with no problems. Can you make your failing config and/or vmlinuz file available? -- Keir ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> 2) won''t boot on p3 with compiled for for cyrix > does not boot whith Processor family set to "cyrix III/VIA-C3"I looked into this. I don''t know how it could ever have worked for you in the past -- the crash is occurring because the kernel is compiled with 3DNOW-specific instructions (in particular a 3dnow-specific PREFETCH instruction) that Intel CPUs simply do not support. The system therefore crashes with an entirely legitimate "invalid opcode" fault. If you really want a kernel that will work on both Cyrix/C3 and P3, try selecting "Pentium-Pro" as processor type. If that fails I can look at allowing configuration of "Pentium Classic". -- Keir ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Ronald G. Minnich
2004-Dec-23 16:11 UTC
Re: [Xen-devel] xen 2.0 testing idle_loop -and -03
On Wed, 22 Dec 2004, Adam Sulmicki wrote:> as for idle_loop. "__attribute_used__" ? Somehow I supsect Plan9 compiler does > not support that and Ron won''t be very happy about it.not to worry adam. plan 9 c doesn''t support a lot of this gcc stuff so I have sed scripts to optimize it all away :-) ron ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel