Skip to contentSkip to conversation

Future of xenbits Linux trees

DISCUSSION Boris Derzhavets 1 participant 1 message Jun 6, 2009

lore
Share & tools
lore
#0 lore raw

Works fine.

root@SeverUbuntuJaunty:~# xm info
host                   : SeverUbuntuJaunty
release                : 2.6.27.19-5.1
version                : #1 SMP Sat Jun 6 23:35:05 MSD 2009
machine                : x86_64
nr_cpus                : 4
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 2833
hw_caps                : bfebfbff:20100800:00000000:00000140:0408e3fd:00000000:00000001:00000000
virt_caps              : hvm
total_memory           : 8191
free_memory            : 7
node_to_cpu            : node0:0-3
node_to_memory         : node0:7
xen_major              : 3
xen_minor              : 4
xen_extra              : .1-rc1-pre
xen_caps               : 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          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Mon Jun 01 14:56:17 2009 +0100 19628:29d7e3522cc5
cc_compiler            : gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12) 
cc_compile_by          : root
cc_compile_domain      : 
cc_compile_date        : Thu Jun  4 07:24:19 EDT 2009
xend_config_format     : 4

Boris.

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

From: Jean Guyader <[email protected]>
Subject: Re: [Xen-devel] Future of xenbits Linux trees
To: "Genki Kuroda" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Kamala Narasimhan" <[email protected]>
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 <[email protected]>:

Quoted 123 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

Quoted 5 lines

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

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

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