Jeffrey Buell
2005-May-23 18:01 UTC
Re: [Xen-users] Problems building a xen0 kernel on Suse 9.3
James, Not much chance of insulting my intelligence here. I have been using Xen as part of the Fedora core 4 development releases, but I''m new to SuSE 9.3. In FC4 I use the source RPMs (for both the kernel and Xen) as supplied by Fedora, and I''d like to do the same with SuSE, using source from the installation CDs. I didn''t need to install any source RPM in order to build the regular kernel. Does Xen need something extra not installed by SuSE? I''m not sure if I''m "building a xen kernel tree". In FC4 the xen kernels are built in the same way and same directory as the regular kernel. I just need ARCH=xen and a xen config file. Is the procedure different in SuSE? Thanks for your help, Jeff> > Jeff, > > Please don''t take this the wrong way, I don''t mean to insult your > intelligence - are you sure you''re building a xen kernel tree > rather than > the native (ARCH=xen will not work on the latter). Presumably > this is the > SuSE source RPM rather than one of our tarball or BK > distributions? Could > be an issue with the location that the RPM installs the source to. > > Regards, > > James > (will be offline from now until tomorrow) > > On Fri, May 20, 2005 11:03 pm, Jeffrey Buell said: > > I installed Suse 9.3 Pro along with all the kernel tools > and sources. I > > was > > easily able to build a new regular kernel, but not a xen0 > kernel. With > > ARCH=xen and using the supplied config file, "make" almost > immediately > > runs > > into problems creating links to various asm directories in the > > kernel/build > > dir. I fixed this by copying all of /usr/src/linux into > kernel/build. > > Everything then compiled but I got 2 undefined references: > teardown_irq > > in > > ctrl_if_suspend, and kmap_flush_unused in balloon_process. > Presumably > > there > > is no bug since a working xen0 kernel was supplied in the > distro. What do > > people do differently when building a xen0 kernel vs. a > regular kernel? > > > > Jeff_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Bulpin
2005-May-24 01:59 UTC
Re: [Xen-users] Problems building a xen0 kernel on Suse 9.3
Jeff, OK - I hadn''t realised SuSE were shipping the standard kernel source package with the xen patches already applied. I''ve just tried a build of the tree extracted from that RPM on my FC3 box - it appears to build fine. I''ll check on a SuSe box tomorrow - access isn''t practical right now. James On Mon, May 23, 2005 6:01 pm, Jeffrey Buell said:> James, > > Not much chance of insulting my intelligence here. I have been using Xen > as > part of the Fedora core 4 development releases, but I''m new to SuSE 9.3. > In > FC4 I use the source RPMs (for both the kernel and Xen) as supplied by > Fedora, and I''d like to do the same with SuSE, using source from the > installation CDs. I didn''t need to install any source RPM in order to > build > the regular kernel. Does Xen need something extra not installed by SuSE? > I''m not sure if I''m "building a xen kernel tree". In FC4 the xen kernels > are > built in the same way and same directory as the regular kernel. I just > need > ARCH=xen and a xen config file. Is the procedure different in SuSE? > > Thanks for your help, > > Jeff > >> >> Jeff, >> >> Please don''t take this the wrong way, I don''t mean to insult your >> intelligence - are you sure you''re building a xen kernel tree >> rather than >> the native (ARCH=xen will not work on the latter). Presumably >> this is the >> SuSE source RPM rather than one of our tarball or BK >> distributions? Could >> be an issue with the location that the RPM installs the source to. >> >> Regards, >> >> James >> (will be offline from now until tomorrow) >> >> On Fri, May 20, 2005 11:03 pm, Jeffrey Buell said: >> > I installed Suse 9.3 Pro along with all the kernel tools >> and sources. I >> > was >> > easily able to build a new regular kernel, but not a xen0 >> kernel. With >> > ARCH=xen and using the supplied config file, "make" almost >> immediately >> > runs >> > into problems creating links to various asm directories in the >> > kernel/build >> > dir. I fixed this by copying all of /usr/src/linux into >> kernel/build. >> > Everything then compiled but I got 2 undefined references: >> teardown_irq >> > in >> > ctrl_if_suspend, and kmap_flush_unused in balloon_process. >> Presumably >> > there >> > is no bug since a working xen0 kernel was supplied in the >> distro. What do >> > people do differently when building a xen0 kernel vs. a >> regular kernel? >> > >> > Jeff > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Bulpin
2005-May-24 04:18 UTC
Re: [Xen-users] Problems building a xen0 kernel on Suse 9.3
On Tue, May 24, 2005 1:59 am, James Bulpin said:> I''ve just tried a build of the tree extracted from that RPM on my FC3 box > - it appears to build fine. I''ll check on a SuSe box tomorrow - access > isn''t practical right now.I tried the following on an out-of-the-box SuSE 9.3 install: rpm --install /tmp/kernel-source-2.6.11.4-20a.i586.rpm cd /usr/src/linux (symlinks to linux-2.6.11.4-20a) cp ./arch/i386/defconfig.xen .config make ARCH=xen oldconfig make ARCH=xen It got a good way through the build and only stopped due to an unrelated problem. Can you post the actual errors you saw? Regards, James> On Mon, May 23, 2005 6:01 pm, Jeffrey Buell said: >> James, >> >> Not much chance of insulting my intelligence here. I have been using >> Xen >> as >> part of the Fedora core 4 development releases, but I''m new to SuSE 9.3. >> In >> FC4 I use the source RPMs (for both the kernel and Xen) as supplied by >> Fedora, and I''d like to do the same with SuSE, using source from the >> installation CDs. I didn''t need to install any source RPM in order to >> build >> the regular kernel. Does Xen need something extra not installed by >> SuSE? >> I''m not sure if I''m "building a xen kernel tree". In FC4 the xen >> kernels >> are >> built in the same way and same directory as the regular kernel. I just >> need >> ARCH=xen and a xen config file. Is the procedure different in SuSE? >> >> Thanks for your help, >> >> Jeff >> >>> >>> Jeff, >>> >>> Please don''t take this the wrong way, I don''t mean to insult your >>> intelligence - are you sure you''re building a xen kernel tree >>> rather than >>> the native (ARCH=xen will not work on the latter). Presumably >>> this is the >>> SuSE source RPM rather than one of our tarball or BK >>> distributions? Could >>> be an issue with the location that the RPM installs the source to. >>> >>> Regards, >>> >>> James >>> (will be offline from now until tomorrow) >>> >>> On Fri, May 20, 2005 11:03 pm, Jeffrey Buell said: >>> > I installed Suse 9.3 Pro along with all the kernel tools >>> and sources. I >>> > was >>> > easily able to build a new regular kernel, but not a xen0 >>> kernel. With >>> > ARCH=xen and using the supplied config file, "make" almost >>> immediately >>> > runs >>> > into problems creating links to various asm directories in the >>> > kernel/build >>> > dir. I fixed this by copying all of /usr/src/linux into >>> kernel/build. >>> > Everything then compiled but I got 2 undefined references: >>> teardown_irq >>> > in >>> > ctrl_if_suspend, and kmap_flush_unused in balloon_process. >>> Presumably >>> > there >>> > is no bug since a working xen0 kernel was supplied in the >>> distro. What do >>> > people do differently when building a xen0 kernel vs. a >>> regular kernel? >>> > >>> > Jeff >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users