From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ritu kaur Subject: Re: domU guest for xcp 0.1.1 Date: Sun, 14 Mar 2010 13:29:29 -0700 Message-ID: <29b32d341003141329v3c6a73c0y8030cf3c6736634c@mail.gmail.com> References: <29b32d341003120910l5340bc01tcada3ca2adbaf763@mail.gmail.com> <20100312175135.GK1878@reaktio.net> <29b32d341003121751s517ea28qbdb78e8cc69243ac@mail.gmail.com> <20100313111857.GS1878@reaktio.net> <29b32d341003130809u49d1edcas234fdca4c3d70ed@mail.gmail.com> <20100313164102.GZ1878@reaktio.net> <29b32d341003131743j6ae271d6of486a3c1a4858513@mail.gmail.com> <112460240.20100314121540@eikelenboom.it> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1716000356==" Return-path: In-Reply-To: <112460240.20100314121540@eikelenboom.it> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Sander Eikelenboom Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1716000356== Content-Type: multipart/alternative; boundary=000e0cd17e7c12596a0481c89f64 --000e0cd17e7c12596a0481c89f64 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Sander, Thanks, I enabled DOM0 and other backend drivers along with pci frontend in .config file. I am able to get it build. However, I having additional questions, inputs appreciated. 1. can this kernel be used in any linux distribution? I have Debian Lenny a= s DomU? 2. In Debian Lenny /boot/grub/menu.lst, I have title Debian GNU/Linux, kernel 2.6.26-2-686-bigmem root (hd0,0) kernel /boot/vmlinuz-2.6.26-2-686-bigmem root=3D/dev/xvda1 ro console=3Dhvc0 quiet initrd /boot/initrd.img-2.6.26-2-686-bigmem but the kernel image built in arch/i386/boot is bzImage. Does "make modules_install" and "make install" take care of it, since I am not sure I haven't tried it. Basically, my question boils down to 1. Can I use bzImage in debian lenny, 2. does make install take care of configuring it Thanks On Sun, Mar 14, 2010 at 4:15 AM, Sander Eikelenboom w= rote: > Hello Ritu, > > There are some problems with pci.h, i have also reported this to Konrad. > As a workaround you can enable dom0 support in these kernels, then they > compile fine in my case. > > -- > > Sander > > > Sunday, March 14, 2010, 2:43:23 AM, you wrote: > > > I followed the steps mentioned in wiki to pull xen code to compile dom= U > > kernel from > > > 1. xen/master, I get following compilation errors. I do see in xen-deve= l > > forum someone else has reported similar issue but no solution yet(patch > > provided by Konrad has followup errors) > > > CC [M] drivers/watchdog/machzwd.o > > CC [M] drivers/watchdog/sbc_epx_c3.o > > CC [M] drivers/watchdog/softdog.o > > CC drivers/xen/grant-table.o > > CC drivers/xen/features.o > > CC drivers/xen/events.o > > drivers/xen/events.c:605: error: redefinition of =E2=80=98xen_destroy_i= rq=E2=80=99 > > /root/kernel/linux.2-6.xen/arch/x86/include/asm/xen/pci.h:29: error: > > previous definition of =E2=80=98xen_destroy_irq=E2=80=99 was here > > drivers/xen/events.c:637: error: redefinition of =E2=80=98xen_create_ms= i_irq=E2=80=99 > > /root/kernel/linux.2-6.xen/arch/x86/include/asm/xen/pci.h:25: error: > > previous definition of =E2=80=98xen_create_msi_irq=E2=80=99 was here > > make[2]: *** [drivers/xen/events.o] Error 1 > > make[1]: *** [drivers/xen] Error 2 > > make: *** [drivers] Error 2 > > > 2. xen/stable, I get following errors > > > CC drivers/pci/xen-pcifront.o > > drivers/pci/xen-pcifront.c:373: error: variable =E2=80=98pci_frontend_o= ps=E2=80=99 > has > > initializut incomplete type > > drivers/pci/xen-pcifront.c:374: error: unknown field =E2=80=98enable_ms= i=E2=80=99 > > specified in ializer > > drivers/pci/xen-pcifront.c:374: warning: excess elements in struct > > initializer > > drivers/pci/xen-pcifront.c:374: warning: (near initialization for > > =E2=80=98pci_frontend_op)=E2=80=99 > > drivers/pci/xen-pcifront.c:375: error: unknown field =E2=80=98disable_m= si=E2=80=99 > > specified in ializer > > drivers/pci/xen-pcifront.c:375: warning: excess elements in struct > > initializer > > drivers/pci/xen-pcifront.c:375: warning: (near initialization for > > =E2=80=98pci_frontend_op)=E2=80=99 > > drivers/pci/xen-pcifront.c:376: error: unknown field =E2=80=98enable_ms= ix=E2=80=99 > > specified in ializer > > drivers/pci/xen-pcifront.c:376: warning: excess elements in struct > > initializer > > drivers/pci/xen-pcifront.c:376: warning: (near initialization for > > =E2=80=98pci_frontend_op)=E2=80=99 > > drivers/pci/xen-pcifront.c:377: error: unknown field =E2=80=98disable_m= six=E2=80=99 > > specified intializer > > drivers/pci/xen-pcifront.c:377: warning: excess elements in struct > > initializer > > drivers/pci/xen-pcifront.c:377: warning: (near initialization for > > =E2=80=98pci_frontend_op)=E2=80=99 > > drivers/pci/xen-pcifront.c: In function =E2=80=98pci_frontend_registrar= =E2=80=99: > > drivers/pci/xen-pcifront.c:383: error: =E2=80=98xen_pci_frontend=E2=80= =99 undeclared > > (first use his function) > > drivers/pci/xen-pcifront.c:383: error: (Each undeclared identifier is > > reported only once > > drivers/pci/xen-pcifront.c:383: error: for each function it appears in.= ) > > make[2]: *** [drivers/pci/xen-pcifront.o] Error 1 > > make[1]: *** [drivers/pci] Error 2 > > make: *** [drivers] Error 2 > > > Kindly let me know how to proceed on this. > > > Thanks > > > > -- > Best regards, > Sander mailto:linux@eikelenboom.it > > --000e0cd17e7c12596a0481c89f64 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Sander,

Thanks, I enabled DOM0 and other backend drivers along w= ith pci frontend in .config file. I am able to get it build. However, I hav= ing additional questions, inputs appreciated.

1. can this kernel be = used in any linux distribution? I have Debian Lenny as DomU?

2. In Debian Lenny /boot/grub/menu.lst, I have
title=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 Debian GNU/Linux, kernel 2.6.26-2-686-bigmem
root=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 (hd0,0)
kernel=A0=A0=A0=A0=A0=A0=A0=A0=A0 /b= oot/vmlinuz-2.6.26-2-686-bigmem root=3D/dev/xvda1 ro console=3Dhvc0 quiet initrd=A0=A0=A0=A0=A0=A0=A0=A0=A0 /boot/initrd.img-2.6.26-2-686-bigmem
<= br>but the kernel image built in arch/i386/boot is bzImage. Does "make= modules_install" and "make install" take care of it, since = I am not sure I haven't tried it.

Basically, my question boils down to

1. Can I use bzImage in de= bian lenny,
2. does make install take care of configuring it

Thanks

On Sun, Mar 14, 2010 at 4:15 AM, = Sander Eikelenboom <linux@eikelenboom.it> wrote:
Hello Ritu,

There are some problems with pci.h, i have also reported this to Konrad. As a workaround you can enable dom0 support in these kernels, then they com= pile fine in my case.

--

Sander


Sunday, March 14, 2010, 2:43:23 AM, you wrote:

> I followed the steps mentioned in =A0wiki to pull xen code to compile = domU
> kernel from

> 1. xen/master, I get following compilation errors. I do see in xen-dev= el
> forum someone else has reported similar issue but no solution yet(patc= h
> provided by Konrad has followup errors)

> CC [M] =A0drivers/watchdog/machzwd.o
> =A0 CC [M] =A0drivers/watchdog/sbc_epx_c3.o
> =A0 CC [M] =A0drivers/watchdog/softdog.o
> =A0 CC =A0 =A0 =A0drivers/xen/grant-table.o
> =A0 CC =A0 =A0 =A0drivers/xen/features.o
> =A0 CC =A0 =A0 =A0drivers/xen/events.o
> drivers/xen/events.c:605: error: redefinition of =E2=80=98xen_destroy_= irq=E2=80=99
> /root/kernel/linux.2-6.xen/arch/x86/include/asm/xen/pci.h:29: error: > previous definition of =E2=80=98xen_destroy_irq=E2=80=99 was here
> drivers/xen/events.c:637: error: redefinition of =E2=80=98xen_create_m= si_irq=E2=80=99
> /root/kernel/linux.2-6.xen/arch/x86/include/asm/xen/pci.h:25: error: > previous definition of =E2=80=98xen_create_msi_irq=E2=80=99 was here > make[2]: *** [drivers/xen/events.o] Error 1
> make[1]: *** [drivers/xen] Error 2
> make: *** [drivers] Error 2

> 2. xen/stable, I get following errors

> =A0CC =A0 =A0 =A0drivers/pci/xen-pcifront.o
> drivers/pci/xen-pcifront.c:373: error: variable =E2=80=98pci_frontend_= ops=E2=80=99 has
> initializut incomplete type
> drivers/pci/xen-pcifront.c:374: error: unknown field =E2=80=98enable_m= si=E2=80=99
> specified in ializer
> drivers/pci/xen-pcifront.c:374: warning: excess elements in struct
> initializer
> drivers/pci/xen-pcifront.c:374: warning: (near initialization for
> =E2=80=98pci_frontend_op)=E2=80=99
> drivers/pci/xen-pcifront.c:375: error: unknown field =E2=80=98disable_= msi=E2=80=99
> specified in ializer
> drivers/pci/xen-pcifront.c:375: warning: excess elements in struct
> initializer
> drivers/pci/xen-pcifront.c:375: warning: (near initialization for
> =E2=80=98pci_frontend_op)=E2=80=99
> drivers/pci/xen-pcifront.c:376: error: unknown field =E2=80=98enable_m= six=E2=80=99
> specified in ializer
> drivers/pci/xen-pcifront.c:376: warning: excess elements in struct
> initializer
> drivers/pci/xen-pcifront.c:376: warning: (near initialization for
> =E2=80=98pci_frontend_op)=E2=80=99
> drivers/pci/xen-pcifront.c:377: error: unknown field =E2=80=98disable_= msix=E2=80=99
> specified intializer
> drivers/pci/xen-pcifront.c:377: warning: excess elements in struct
> initializer
> drivers/pci/xen-pcifront.c:377: warning: (near initialization for
> =E2=80=98pci_frontend_op)=E2=80=99
> drivers/pci/xen-pcifront.c: In function =E2=80=98pci_frontend_registra= r=E2=80=99:
> drivers/pci/xen-pcifront.c:383: error: =E2=80=98xen_pci_frontend=E2=80= =99 undeclared
> (first use his function)
> drivers/pci/xen-pcifront.c:383: error: (Each undeclared identifier is<= br> > reported only once
> drivers/pci/xen-pcifront.c:383: error: for each function it appears in= .)
> make[2]: *** [drivers/pci/xen-pcifront.o] Error 1
> make[1]: *** [drivers/pci] Error 2
> make: *** [drivers] Error 2

> Kindly let me know how to proceed on this.

> Thanks



--
Best regards,
=A0Sander =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0mailto:linux@eikelenboom.it


--000e0cd17e7c12596a0481c89f64-- --===============1716000356== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1716000356==--