I am trying to build xenolinux withoout option from the subject to be used for guest domain (>dom0). Compilation fails with: gcc -D__KERNEL__ -I/root/build/xenolinux-2.4.24/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=time -c -o time.o time.c time.c: In function `do_timer_interrupt'': time.c:400: `last_update_to_rtc'' undeclared (first use in this function) time.c:400: (Each undeclared identifier is reported only once time.c:400: for each function it appears in.) time.c:400: `last_update_to_xen'' undeclared (first use in this function) make[1]: *** [time.o] Error 1 make[1]: Leaving directory `/root/build/xenolinux-2.4.24/arch/xeno/kernel'' make: *** [_dir_arch/xeno/kernel] Error 2 I guess this is not yet supported? :) ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
We haven''t had time to test many different Xenolinux config arrangements. We''ll happily accept patches to fix this kind of problem! Note also that you *don''t* have to disable ''privileged Xenolinux'' to be able to safely run domains other than zero. Xen enforces this for you -- the privilged parts of a non-zero domain are essentially useless. -- Keir> > I am trying to build xenolinux withoout option from the subject to be used for > guest domain (>dom0). Compilation fails with: > > gcc -D__KERNEL__ -I/root/build/xenolinux-2.4.24/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 > -nostdinc -iwithprefix include -DKBUILD_BASENAME=time -c -o time.o time.c > time.c: In function `do_timer_interrupt'': > time.c:400: `last_update_to_rtc'' undeclared (first use in this function) > time.c:400: (Each undeclared identifier is reported only once > time.c:400: for each function it appears in.) > time.c:400: `last_update_to_xen'' undeclared (first use in this function) > make[1]: *** [time.o] Error 1 > make[1]: Leaving directory `/root/build/xenolinux-2.4.24/arch/xeno/kernel'' > make: *** [_dir_arch/xeno/kernel] Error 2 > > I guess this is not yet supported? :) > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Tvrtko A. Uršulin
2004-Feb-17 13:54 UTC
Re: [Xen-devel] Support for privileged operations?
On Tuesday 17 February 2004 14:41, Keir Fraser wrote:> We haven''t had time to test many different Xenolinux config > arrangements. We''ll happily accept patches to fix this kind of > problem!I will be more than glad to help but unfortunately I cannot do much in the following week or two (must deploy several critical production servers). From the same reason my Xen testing will calm down a little :) Also, I can confirm that P4 is a safe CPU config option when building 100% monolith XenoLinux while QoS seems to have strange effects. Only thing left to be tested is interaction of the afore mentioned when building modular kernel. Then I will have definitive answers about problematic/safe options. I suspect that mmu update panic is somehow related to modular kernel.> Note also that you *don''t* have to disable ''privileged Xenolinux'' to > be able to safely run domains other than zero. Xen enforces this for > you -- the privilged parts of a non-zero domain are essentially > useless.Sure, I just wanted to optimize the size of the guest image :) ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> On Tuesday 17 February 2004 14:41, Keir Fraser wrote: > > We haven''t had time to test many different Xenolinux config > > arrangements. We''ll happily accept patches to fix this kind of > > problem! > > I will be more than glad to help but unfortunately I cannot do much in the > following week or two (must deploy several critical production servers). From > the same reason my Xen testing will calm down a little :) > > Also, I can confirm that P4 is a safe CPU config option when building 100% > monolith XenoLinux while QoS seems to have strange effects. Only thing left > to be tested is interaction of the afore mentioned when building modular > kernel. Then I will have definitive answers about problematic/safe options. I > suspect that mmu update panic is somehow related to modular kernel.I''ve just checked in a fix to xeno-1.2 that may fix some of the problems you were having before. You might want to try it out... -- Keir ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Wednesday 18 February 2004 14:30, Keir Fraser wrote:> I''ve just checked in a fix to xeno-1.2 that may fix some of the > problems you were having before. You might want to try it out...Here are the latest results: - DOM0 seems to be stable - DOM>0 are also stable even with modular config - when QoS compiled in kernel, boot stops at the same place (Xen Console) - when QoS compiled as modules, everything seems to be fine even when QoS modules are inserted - cat /proc/version reports just 2.4.24 without -xeno extraversion which breaks modprobe ( -xeno EXTRAVERSION is defined in Makefile ) ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> On Wednesday 18 February 2004 14:30, Keir Fraser wrote: > > > I''ve just checked in a fix to xeno-1.2 that may fix some of the > > problems you were having before. You might want to try it out... > > Here are the latest results: > > - DOM0 seems to be stable > - DOM>0 are also stable even with modular config > - when QoS compiled in kernel, boot stops at the same place (Xen Console) > - when QoS compiled as modules, everything seems to be fine even when QoS > modules are inserted > - cat /proc/version reports just 2.4.24 without -xeno extraversion which > breaks modprobe ( -xeno EXTRAVERSION is defined in Makefile )Does Xenolinux print out a backtrace/stackdump when it crashes? If so, I may be able to figure out what''s happening (if you also allow me to download the Xenolinux image file (it''s called vmlinux, found at the root of your xenolinux build tree)). -- Keir ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Wednesday 18 February 2004 15:43, Keir Fraser wrote:> > - when QoS compiled in kernel, boot stops at the same place (Xen Console) > > Does Xenolinux print out a backtrace/stackdump when it crashes?You are reffering to monolith QoS case, right? No it does not crash in a way of Ooops or a kernel panic. It just sits there. ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> On Wednesday 18 February 2004 15:43, Keir Fraser wrote: > > > > - when QoS compiled in kernel, boot stops at the same place (Xen Console) > > > > Does Xenolinux print out a backtrace/stackdump when it crashes? > > You are reffering to monolith QoS case, right? No it does not crash in a way > of Ooops or a kernel panic. It just sits there.If you send the kernel .config I''ll try it myself. You might also want to let me download your xenolinux and vmlinux image files so I can try your build. -- Keir ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel