WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] solution to xen_pcpu_index error

To: xen-users@xxxxxxxxxxxxxxxxxxx, Todd Deshane <todd.deshane@xxxxxxx>, "Fajar A. Nugraha" <list@xxxxxxxxx>
Subject: [Xen-users] solution to xen_pcpu_index error
From: John Liu <bradevuu@xxxxxxxxx>
Date: Wed, 6 Jul 2011 20:06:18 -0400
Cc:
Delivery-date: Wed, 06 Jul 2011 17:07:48 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=44egGr1TG/52lFvbo8CNMAcPTF1Ht/Qb4qk0MZmDu18=; b=U16yMO39LCpposlOYSGKxkcpisi468DN95eZD4AHKWQxUJ4m9bfBLsigl6duyMv+RD 2qmlTdVZe6FVQfmvCiSeq6IxQX4KfmkPfyZ+VMWiCE2InKJwfOJF0kxTg9XXueT6LbGA c2dMv0LOClpS2GJuib8EDTOnM/SceRbpgfq6c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

When compiling dom0 kernel, I came across the ERROR: "xen_pcpu_index"
[drivers/acpi/processor.ko] undefined reference.
(drivers/acpi/processor_xen.c)

xen_pcpu_index is an extern function defined in drivers/xen/pcpu.c,
which will be used by processor_xen.c.    If xen drivers are not
included in .config, pcpu.o will not be generated and thus that
undefined reference will occur.

Solution: included all modules(especially drivers) required by XEN in
.config[more details in
http://wiki.xensource.com/xenwiki/XenParavirtOps]. Meanwhile if
necessary drivers are not built, dom0 cannot work. Here is a reference
.config file(for x86_64): http://pastebin.com/NAV1iUG3 (thank Fajar
for providing this link)

Hope this help!

-- 
Liu

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>