Skip to contentSkip to conversation

Error building current Linux git tree without configuring Xen

DISCUSSION Dave McCracken 2 participants 3 messages Apr 30, 2010 – May 3, 2010

lore
Share & tools
lore
#0 lore raw

I tried to build a Linux kernel from current git sources without specifying any form of Xen. I got these three undefined symbols:

xen_register_gsi
xen_teardown_msi_dev
xen_setup_msi_irqs

I defined them as dummy functions in arch/x86/include/asm/xen/pci.h for the case where CONFIG_XEN is not set, and got a working kernel. They're also defined as dummy functions higher in the file under #else clauses for other config variables. I assume we don't want the dummy functions defined multiple times, but I'm not sure the cleanest solution.

Dave McCracken
Oracle Corp.

#1 lore raw
Quoted 2 lines · Dave McCracken

I tried to build a Linux kernel from current git sources without specifying

Which branch is that? Can you do 'git log' and tell me what is the latest you see?

Quoted 8 lines

any form of Xen. I got these three undefined symbols:

xen_register_gsi
xen_teardown_msi_dev
xen_setup_msi_irqs

I defined them as dummy functions in arch/x86/include/asm/xen/pci.h for the case where CONFIG_XEN is not set, and got a working kernel. They're also

There was a patch that fixed this floating around. Don't think Jeremy had a chance to check in it..

Here is the thread:
http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00785.html

Quoted 3 lines

defined as dummy functions higher in the file under #else clauses for other config variables. I assume we don't want the dummy functions defined multiple times, but I'm not sure the cleanest solution.

Something along these lines:

http://lists.xensource.com/archives/html/xen-devel/2010-04/msg01133.html

But not sure if it has been completly flushed out.

Quoted 8 lines

Dave McCracken
Oracle Corp.

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

#2 lore raw
Quoted 7 lines · Konrad Rzeszutek Wilk
Quoted 3 lines · Dave McCracken

I tried to build a Linux kernel from current git sources without specifying

Which branch is that? Can you do 'git log' and tell me what is the latest you see?

Hmm... I'm not using any branch, so the mainline of
git://git.kernel.org/.../jeremy/xen.git .

It looks like real development is happening on other branches. Should I be using one of them for testing and submitting new patches? I see xen/next and xen/core as possible choices.

Quoted 6 lines
Quoted 6 lines

any form of Xen. I got these three undefined symbols:

xen_register_gsi
xen_teardown_msi_dev
xen_setup_msi_irqs

Quoted 6 lines
Quoted 3 lines

I defined them as dummy functions in arch/x86/include/asm/xen/pci.h for the case where CONFIG_XEN is not set, and got a working kernel. They're also

There was a patch that fixed this floating around. Don't think Jeremy had a chance to check in it..

Ok. I just wanted to make sure it's a known problem and a fix is in progress.

Dave McCracken
Oracle Corp.