Skip to contentSkip to conversation

Future of xenbits Linux trees

DISCUSSION Boris Derzhavets 4 participants 7 messages Jun 5, 2009 – Jun 6, 2009

lore
Share & tools
lore
#0 lore raw

Kernel: arch/x86/boot/vmlinuz is ready  (#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=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Boris.

--- On Thu, 6/4/09, Jean Guyader <[email protected]> wrote:

From: Jean Guyader <[email protected]>
Subject: Re: [Xen-devel] Future of xenbits Linux trees
To: "Boris Derzhavets" <[email protected]>
Cc: "Keir Fraser" <[email protected]>, "[email protected]" <[email protected]>
Date: Thursday, June 4, 2009, 2:46 PM

2009/6/4 Boris Derzhavets <[email protected]>:

Quoted 9 lines
Quoted 2 lines
Quoted 2 lines

Our proposal is to move XCI's linux-2.6.27 tree out of the XCI subproject and make it the main user tree. Development and automated testing would

. . . . . .

Quoted 2 lines

This tree is not tied up with XCI at all.
It can be taken as it and runs on the top of mainstream xen.

How to checkout this tree ?

$ 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 sure you have a recent enough version of guilt, 0.30 has issue with big patches.

Jean

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

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 –git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 2359480..b2c0221 100644
— 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 == TRUE ) {
if ( address == 0×2b ) {
wmi_event_data_index = 0;
@@ -398,6 +399,7 @@ static int acpi_ec_read(struct acpi_ec *ec, u8 address, u8 * data)
wmi_event_data_index++;
}
}
+*/

return result;
}

Signature · 3 lines
Genki Kuroda
E-mail: [email protected]
Website: http://mulps.wordpress.com/
Quoted 12 lines · Boris Derzhavets

Kernel: arch/x86/boot/vmlinuz is ready (#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=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Boris.

#2 lore raw

The xen-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 issues.

Could you please momentarily exclude the patch before pushing the rest or revert it if already applied and then build that branch? 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

Quoted 62 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Genki Kuroda
Sent: Friday, June 05, 2009 7:06 PM
To: Boris Derzhavets
Cc: [email protected]
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 –git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 2359480..b2c0221 100644
— a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c

(quoted diff) +1 -0
@@ -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 == TRUE ) {
 if ( address == 0×2b ) {

wmi_event_data_index = 0;

(quoted diff) +1 -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: [email protected]
Website: http://mulps.wordpress.com/

Quoted 2 lines · Boris Derzhavets

Kernel: arch/x86/boot/vmlinuz is ready (#2)
ERROR: "wmi_install_notify_handler" [drivers/misc/hp-wmi.ko]

undefined!

Quoted 1 line

ERROR: "wmi_remove_notify_handler" [drivers/misc/hp-wmi.ko]

undefined!

Quoted 8 lines

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=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Quoted 6 lines
Quoted 1 line

Boris.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

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

Quoted 75 lines · Kamala Narasimhan

The xen-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 issues.

Could you please momentarily exclude the patch before pushing the rest or revert it if already applied and then build that branch? 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

Quoted 68 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Genki Kuroda
Sent: Friday, June 05, 2009 7:06 PM
To: Boris Derzhavets
Cc: [email protected]
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 –git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 2359480..b2c0221 100644
— a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c

(quoted diff) +1 -0
@@ -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 == TRUE ) {
 if ( address == 0×2b ) {

wmi_event_data_index = 0;

(quoted diff) +1 -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: [email protected]
Website: http://mulps.wordpress.com/

Quoted 2 lines · Boris Derzhavets

Kernel: arch/x86/boot/vmlinuz is ready (#2)
ERROR: "wmi_install_notify_handler" [drivers/misc/hp-wmi.ko]

undefined!

Quoted 1 line

ERROR: "wmi_remove_notify_handler" [drivers/misc/hp-wmi.ko]

undefined!

Quoted 9 lines

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=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Boris.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw

Just to clarify - You mean you encounter wmi build issues mentioned below 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

Quoted 47 lines

-----Original Message-----
From: Genki Kuroda [mailto:[email protected]]
Sent: Friday, June 05, 2009 10:48 PM
To: Kamala Narasimhan
Cc: [email protected]
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

Quoted 1 line · Kamala Narasimhan

The xen-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 issues.

Quoted 2 lines

Could you please momentarily exclude the patch before pushing the

rest or revert it if already applied and then build that branch? 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.

Quoted 21 lines

Kamala

Quoted 18 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Genki Kuroda
Sent: Friday, June 05, 2009 7:06 PM
To: Boris Derzhavets
Cc: [email protected]
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.

Quoted 52 lines
Quoted 8 lines

Review static int acpi_ec_read(struct acpi_ec *ec, u8 · line 389

Quoted 8 lines

diff –git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 2359480..b2c0221 100644
— a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c

(quoted diff) +0 -0
@@ -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.

Quoted 43 lines
Quoted 42 lines
(quoted diff) +1 -0
 */
+/*
 if ( in_query_wmi_event_data == TRUE ) {
 if ( address == 0×2b ) {

wmi_event_data_index = 0;

(quoted diff) +1 -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: [email protected]
Website: http://mulps.wordpress.com/

Quoted 2 lines · Boris Derzhavets

Kernel: arch/x86/boot/vmlinuz is ready (#2)
ERROR: "wmi_install_notify_handler" [drivers/misc/hp-wmi.ko]

undefined!

Quoted 1 line

ERROR: "wmi_remove_notify_handler" [drivers/misc/hp-wmi.ko]

undefined!

Quoted 9 lines

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=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Boris.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw

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

Quoted 104 lines · Kamala Narasimhan

Just to clarify - You mean you encounter wmi build issues mentioned below 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

Quoted 99 lines

-----Original Message-----
From: Genki Kuroda [mailto:[email protected]]
Sent: Friday, June 05, 2009 10:48 PM
To: Kamala Narasimhan
Cc: [email protected]
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

Quoted 1 line · Kamala Narasimhan

The xen-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 issues.

Quoted 2 lines

Could you please momentarily exclude the patch before pushing the

rest or revert it if already applied and then build that branch? 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.

Quoted 21 lines

Kamala

Quoted 18 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Genki Kuroda
Sent: Friday, June 05, 2009 7:06 PM
To: Boris Derzhavets
Cc: [email protected]
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.

Quoted 8 lines

Review static int acpi_ec_read(struct acpi_ec *ec, u8 · line 389

Quoted 8 lines

diff –git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 2359480..b2c0221 100644
— a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c

(quoted diff) +0 -0
@@ -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.

Quoted 43 lines
Quoted 42 lines
(quoted diff) +1 -0
 */
+/*
 if ( in_query_wmi_event_data == TRUE ) {
 if ( address == 0×2b ) {

wmi_event_data_index = 0;

(quoted diff) +1 -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: [email protected]
Website: http://mulps.wordpress.com/

Quoted 2 lines · Boris Derzhavets

Kernel: arch/x86/boot/vmlinuz is ready (#2)
ERROR: "wmi_install_notify_handler" [drivers/misc/hp-wmi.ko]

undefined!

Quoted 1 line

ERROR: "wmi_remove_notify_handler" [drivers/misc/hp-wmi.ko]

undefined!

Quoted 9 lines

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=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Boris.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#6 lore raw

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 <[email protected]>:

Quoted 128 lines

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

Quoted 104 lines · Kamala Narasimhan

Just to clarify - You mean you encounter wmi build issues mentioned below 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

Quoted 99 lines

-----Original Message-----
From: Genki Kuroda [mailto:[email protected]]
Sent: Friday, June 05, 2009 10:48 PM
To: Kamala Narasimhan
Cc: [email protected]
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

Quoted 1 line · Kamala Narasimhan

The xen-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 issues.

Quoted 2 lines

Could you please momentarily exclude the patch before pushing the

rest or revert it if already applied and then build that branch?  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.

Quoted 21 lines

Kamala

Quoted 18 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Genki Kuroda
Sent: Friday, June 05, 2009 7:06 PM
To: Boris Derzhavets
Cc: [email protected]
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.

Quoted 8 lines

Review static int acpi_ec_read(struct acpi_ec *ec, u8 · line 389

Quoted 8 lines

diff –git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 2359480..b2c0221 100644
— a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c

(quoted diff) +0 -0
@@ -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.

Quoted 43 lines
Quoted 42 lines
(quoted diff) +1 -0
 */
+/*
 if ( in_query_wmi_event_data == TRUE ) {
 if ( address == 0×2b ) {

wmi_event_data_index = 0;

(quoted diff) +1 -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: [email protected]
Website: http://mulps.wordpress.com/

Quoted 2 lines · Boris Derzhavets

Kernel: arch/x86/boot/vmlinuz is ready  (#2)
ERROR: "wmi_install_notify_handler" [drivers/misc/hp-wmi.ko]

undefined!

Quoted 1 line

ERROR: "wmi_remove_notify_handler" [drivers/misc/hp-wmi.ko]

undefined!

Quoted 9 lines

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=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Boris.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel