From: Boris Derzhavets Subject: Re: Future of xenbits Linux trees Date: Sat, 6 Jun 2009 13:11:47 -0700 (PDT) Message-ID: <129279.43184.qm@web56101.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2092151693==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Genki Kuroda , Jean Guyader Cc: "xen-devel@lists.xensource.com" , Kamala Narasimhan List-Id: xen-devel@lists.xenproject.org --===============2092151693== Content-Type: multipart/alternative; boundary="0-1596468293-1244319107=:43184" --0-1596468293-1244319107=:43184 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Works fine. root@SeverUbuntuJaunty:~# xm info host=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : SeverUbuntuJaunty release=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 : 2.6.27.19-5.1 version=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 : #1 SMP Sat Jun 6 23:35:05 MSD 2009 machine=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 : x86_64 nr_cpus=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 : 4 nr_nodes=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 : 1 cores_per_socket=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : 4 threads_per_core=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : 1 cpu_mhz=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 : 2833 hw_caps=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 : bfebfbff:20100800:00000000:00000140:0408e3fd:000= 00000:00000001:00000000 virt_caps=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 : hvm total_memory=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : = 8191 free_memory=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 : 7 node_to_cpu=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 : node0:0-3 node_to_memory=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : node0:7 xen_major=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 : 3 xen_minor=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 : 4 xen_extra=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 : .1-rc1-pre xen_caps=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-= x86_32p hvm-3.0-x86_64=20 xen_scheduler=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : credi= t xen_pagesize=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : = 4096 platform_params=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : virt_start=3D0x= ffff800000000000 xen_changeset=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Mon J= un 01 14:56:17 2009 +0100 19628:29d7e3522cc5 cc_compiler=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 : gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12)=20 cc_compile_by=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : root cc_compile_domain=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :=20 cc_compile_date=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Thu Jun=C2=A0 4= 07:24:19 EDT 2009 xend_config_format=C2=A0=C2=A0=C2=A0=C2=A0 : 4 Boris. --- On Sat, 6/6/09, Jean Guyader wrote: From: Jean Guyader Subject: Re: [Xen-devel] Future of xenbits Linux trees To: "Genki Kuroda" Cc: "xen-devel@lists.xensource.com" , "Kamal= a Narasimhan" Date: Saturday, June 6, 2009, 5:54 AM You can disable all the wmi-XCI patch by openning the series file (.git/patches/master/serie) and comment out the entry for this patch at the end of the file. Then you do a guilt-pop -a && guilt-push -a. 2009/6/6 Genki Kuroda : > Hi Kamala, > > I encountered the wmi build issues after applying the linux-2.6.27-pq.git > I have no idea on what happens before applying the linux-2.6.27-pq.git > > All I did was: > > $ git clone http://xenbits.xen.org/git-http/xenclient/linux-2.6.27.git > $ cd linux-2.6.27 > $ git clone http://xenbits.xen.org/git-http/xenclient/linux-2.6.27-pq.git > .git/patches > $ guilt-push -a > $ make --> wmi build issues. > > GK > > On Fri, Jun 5, 2009 at 7:53 PM, Kamala > Narasimhan wrote: >> Just to clarify - You mean you encounter wmi build issues mentioned belo= w with XenClient Linux 2.6.27 even when you *don't* apply the xen-acpi-wmi = patch from XenClient Linux 2.6.27 patch queue? >> >> Kamala >> >>> -----Original Message----- >>> From: Genki Kuroda [mailto:sfsugar@gmail.com] >>> Sent: Friday, June 05, 2009 10:48 PM >>> To: Kamala Narasimhan >>> Cc: xen-devel@lists.xensource.com >>> Subject: Re: [Xen-devel] Future of xenbits Linux trees >>> >>> Hi, Kamala, >>> >>> Thank you for the information. >>> I didn't apply the patch, and I don't have any intention to apply the >>> patch for this issue. >>> >>> GK >>> >>> On Fri, Jun 5, 2009 at 7:17 PM, Kamala >>> Narasimhan wrote: >>> > The xen-acpi-wmi patch in XenClient linux 2.6.27 patch queue is tied >>> to XenClient. =C2=A0I didn't expect this patch to be used outside the s= cope >>> of XenClient which is why you encounter the below issues. >>> > >>> > Could you please momentarily exclude the patch before pushing the >>> rest or revert it if already applied and then build that branch? =C2=A0= Going >>> forward, I will create a XenClient flavor of wmi.c that won't step on >>> the base wmi implementation and configure the two to be mutually >>> exclusive. >>> > >>> > Kamala >>> > >>> >> -----Original Message----- >>> >> From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- >>> >> bounces@lists.xensource.com] On Behalf Of Genki Kuroda >>> >> Sent: Friday, June 05, 2009 7:06 PM >>> >> To: Boris Derzhavets >>> >> Cc: xen-devel@lists.xensource.com >>> >> Subject: Re: [Xen-devel] Future of xenbits Linux trees >>> >> >>> >> Hello, Boris, >>> >> >>> >> I had the same error, but I was able to compile after commenting out >>> >> the "HACK ALERT" section in /drivers/acpi/ec.c >>> >> More information seems to be in wmi.c. >>> >> >>> >> Who is taking care of this kind of issue? This is my first post... >>> >> >>> >> Here is the patch to show where I commented out. >>> >> >>> >> diff =E2=80=93git a/drivers/acpi/ec.c b/drivers/acpi/ec.c >>> >> index 2359480..b2c0221 100644 >>> >> =E2=80=94 a/drivers/acpi/ec.c >>> >> +++ b/drivers/acpi/ec.c >>> >> @@ -387,6 +387,7 @@ static int acpi_ec_read(struct acpi_ec *ec, u8 >>> >> address, u8 * data) >>> >> /* HACK ALERT >>> >> * Please refer to wmi.c for an explanation on why we added this >>> hack. >>> >> */ >>> >> +/* >>> >> if ( in_query_wmi_event_data =3D=3D TRUE ) { >>> >> if ( address =3D=3D 0=C3=972b ) { >>> >> wmi_event_data_index =3D 0; >>> >> @@ -398,6 +399,7 @@ static int acpi_ec_read(struct acpi_ec *ec, u8 >>> >> address, u8 * data) >>> >> wmi_event_data_index++; >>> >> } >>> >> } >>> >> +*/ >>> >> >>> >> return result; >>> >> } >>> >> >>> >> >>> >> -- >>> >> Genki Kuroda >>> >> E-mail: genkikuroda@gmail.com >>> >> Website: http://mulps.wordpress.com/ >>> >> >>> >> On Fri, Jun 5, 2009 at 12:53 AM, Boris >>> >> Derzhavets wrote: >>> >> > Kernel: arch/x86/boot/vmlinuz is ready =C2=A0(#2) >>> >> > ERROR: "wmi_install_notify_handler" [drivers/misc/hp-wmi.ko] >>> >> undefined! >>> >> > ERROR: "wmi_remove_notify_handler" [drivers/misc/hp-wmi.ko] >>> >> undefined! >>> >> > ERROR: "wmi_has_guid" [drivers/misc/hp-wmi.ko] undefined! >>> >> > ERROR: "wmi_has_guid" [drivers/misc/acer-wmi.ko] undefined! >>> >> > WARNING: modpost: Found 3 section mismatch(es). >>> >> > To see full details build your kernel with: >>> >> > 'make CONFIG_DEBUG_SECTION_MISMATCH=3Dy' >>> >> > make[1]: *** [__modpost] Error 1 >>> >> > make: *** [modules] Error 2 >>> >> > >>> >> > Boris. >>> >> >>> >> _______________________________________________ >>> >> Xen-devel mailing list >>> >> Xen-devel@lists.xensource.com >>> >> http://lists.xensource.com/xen-devel >>> > >> > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-1596468293-1244319107=:43184 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Works fine.

root@SeverUbuntuJaunty:~# = xm info
host          =          : SeverUbuntuJaunty
rel= ease            = ;    : 2.6.27.19-5.1
version     = ;           : #1 SMP Sat = Jun 6 23:35:05 MSD 2009
machine       = ;         : x86_64
nr_cpus =             &nb= sp;  : 4
nr_nodes        &n= bsp;      : 1
cores_per_socket   = ;    : 4
threads_per_core       : 1
cpu_mhz&n= bsp;            = ;   : 2833
hw_caps       &n= bsp;        : bfebfbff:20100800:00000000= :00000140:0408e3fd:00000000:00000001:00000000
virt_caps   = ;           : hvm
tota= l_memory           : 8191=
free_memory          =   : 7
node_to_cpu        &n= bsp;   : node0:0-3
node_to_memory     = ;    : node0:7
xen_major     &nb= sp;        : 3
xen_minor  &= nbsp;           : 4
xen_extra          =     : .1-rc1-pre
xen_caps     &n= bsp;         : xen-3.0-x86_64 xen-3= .0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler&= nbsp;         : credit
xen_pages= ize           : 4096
p= latform_params        : virt_start=3D0xf= fff800000000000
xen_changeset       &= nbsp;  : Mon Jun 01 14:56:17 2009 +0100 19628:29d7e3522cc5
cc_compi= ler            : gcc= version 4.3.2 (Ubuntu 4.3.2-1ubuntu12)
cc_compile_by   =        : root
cc_compile_domain  = ;    :
cc_compile_date        : Thu Jun&nb= sp; 4 07:24:19 EDT 2009
xend_config_format     : 4
Boris.

--- On Sat, 6/6/09, Jean Guyader <jean.guyader= @gmail.com> wrote:

From: Jean Gu= yader <jean.guyader@gmail.com>
Subject: Re: [Xen-devel] Future of = xenbits Linux trees
To: "Genki Kuroda" <sfsugar@gmail.com>
Cc: = "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>, "Kam= ala Narasimhan" <Kamala.Narasimhan@citrix.com>
Date: Saturday, Jun= e 6, 2009, 5:54 AM

You can disable all the = wmi-XCI patch by openning the series file
(.git/patches/master/serie)and comment out the entry for this patch at the end of the file. Then
y= ou do a guilt-pop -a && guilt-push -a.

2009/6/6 Genki Kuroda <sfsugar@gmail.com>:
> Hi Kamala,
>=
> I encountered the wmi build issues after applying the linux-2.6.27= -pq.git
> I have no idea on what happens before applying the linux-2.= 6.27-pq.git
>
> All I did was:
>
> $ git clone http://xenbits.xen.org/git-http/xenclient/linux-2.6.27.git<= br>> $ cd linux-2.6.27
> $ git clone http://xenbi= ts.xen.org/git-http/xenclient/linux-2.6.27-pq.git
> .git/patches<= br>> $ guilt-push -a
> $ make --> wmi build issues.
>
= > GK
>
> On Fri, Jun 5, 2009 at 7:53 PM, Kamala
> Nara= simhan<Kamala.Narasimhan@c= itrix.com> wrote:
>> Just to clarify - You mean you encount= er wmi build issues mentioned below with XenClient Linux 2.6.27 even when y= ou *don't* apply the xen-acpi-wmi patch from XenClient Linux 2.6.27 patch q= ueue?
>>
>> Kamala
>>
>>> -----Origi= nal Message-----
>>> From: Genki Kuroda [mailto:sfsuga= r@gmail.com]
>>> Sent: Friday, June 05, 2009 10:48 PM
&g= t;>> To: Kamala Narasimhan
>>> Cc: xen-devel@lists.xensource.com
>>> Subject: Re: [= Xen-devel] Future of xenbits Linux trees
>>>
>>> Hi= , Kamala,
>>>
>>> Thank you for the information.
>>> I didn't apply the patch, and I don't have an= y intention to apply the
>>> patch for this issue.
>>&= gt;
>>> GK
>>>
>>> On Fri, Jun 5, 2009 = at 7:17 PM, Kamala
>>> Narasimhan<Kamala.Narasimhan@citrix.com> wrote:
>>> > The x= en-acpi-wmi patch in XenClient linux 2.6.27 patch queue is tied
>>= > to XenClient.  I didn't expect this patch to be used outside the = scope
>>> of XenClient which is why you encounter the below iss= ues.
>>> >
>>> > Could you please momentarily= exclude the patch before pushing the
>>> rest or revert it if = already applied and then build that branch?  Going
>>> for= ward, I will create a XenClient flavor of wmi.c that won't step on
>>> the base wmi implementation and configure the two to be= mutually
>>> exclusive.
>>> >
>>> &= gt; Kamala
>>> >
>>> >> -----Original Mess= age-----
>>> >> From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-<= br>>>> >> bounces@lists.xensour= ce.com] On Behalf Of Genki Kuroda
>>> >> Sent: Friday= , June 05, 2009 7:06 PM
>>> >> To: Boris Derzhavets
&g= t;>> >> Cc: xen-devel@lists.xe= nsource.com
>>> >> Subject: Re: [Xen-devel] Future of= xenbits Linux trees
>>> >>
>>> >> Hello, Boris= ,
>>> >>
>>> >> I had the same error, b= ut I was able to compile after commenting out
>>> >> the = "HACK ALERT" section in /drivers/acpi/ec.c
>>> >> More in= formation seems to be in wmi.c.
>>> >>
>>> &g= t;> Who is taking care of this kind of issue? This is my first post...>>> >>
>>> >> Here is the patch to show = where I commented out.
>>> >>
>>> >> di= ff =E2=80=93git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
>>> >= ;> index 2359480..b2c0221 100644
>>> >> =E2=80=94 a/dr= ivers/acpi/ec.c
>>> >> +++ b/drivers/acpi/ec.c
>>= ;> >> @@ -387,6 +387,7 @@ static int acpi_ec_read(struct acpi_ec *= ec, u8
>>> >> address, u8 * data)
>>> >>= ; /* HACK ALERT
>>> >> * Please refer to wmi.c for an explana= tion on why we added this
>>> hack.
>>> >> */=
>>> >> +/*
>>> >> if ( in_query_wmi_ev= ent_data =3D=3D TRUE ) {
>>> >> if ( address =3D=3D 0=C3= =972b ) {
>>> >> wmi_event_data_index =3D 0;
>>&= gt; >> @@ -398,6 +399,7 @@ static int acpi_ec_read(struct acpi_ec *ec= , u8
>>> >> address, u8 * data)
>>> >> = wmi_event_data_index++;
>>> >> }
>>> >>= }
>>> >> +*/
>>> >>
>>> &g= t;> return result;
>>> >> }
>>> >>>>> >>
>>> >> --
>>> >>= ; Genki Kuroda
>>> >> E-mail: genkikuroda@gmail.com<= br>>>> >> Website: http://mulps.wordpress.com/
>>> >>>>> >> On Fri, Jun 5, 2009 at 12:53 AM, Boris
>>&= gt; >> Derzhavets<bderzhavets@yahoo.com> w= rote:
>>> >> > Kernel: arch/x86/boot/vmlinuz is ready =  (#2)
>>> >> > ERROR: "wmi_install_notify_handler= " [drivers/misc/hp-wmi.ko]
>>> >> undefined!
>>&= gt; >> > ERROR: "wmi_remove_notify_handler" [drivers/misc/hp-wmi.k= o]
>>> >> undefined!
>>> >> > ERROR:= "wmi_has_guid" [drivers/misc/hp-wmi.ko] undefined!
>>> >>= ; > ERROR: "wmi_has_guid" [drivers/misc/acer-wmi.ko] undefined!
>&= gt;> >> > WARNING: modpost: Found 3 section mismatch(es).
>>&= gt; >> > To see full details build your kernel with:
>>&g= t; >> > 'make CONFIG_DEBUG_SECTION_MISMATCH=3Dy'
>>> &= gt;> > make[1]: *** [__modpost] Error 1
>>> >> >= make: *** [modules] Error 2
>>> >> >
>>> = >> > Boris.
>>> >>
>>> >> ____= ___________________________________________
>>> >> Xen-de= vel mailing list
>>> >> = Xen-devel@lists.xensource.com
>>> >> http://lists.xensource.c= om/xen-devel
>>> >
>>
>
> _________= ______________________________________
> Xen-devel mailing list
&g= t; Xen-devel@lists.xensource.com
> http://lis= ts.xensource.com/xen-devel
>

_____________________________= __________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel=

=0A=0A --0-1596468293-1244319107=:43184-- --===============2092151693== 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 --===============2092151693==--