Skip to contentSkip to conversation

unresolved symbols in PV driver for HVM

DISCUSSION Zhai, Edwin 3 participants 3 messages Jul 12, 2007

lore
Share & tools
lore
#0 lore raw

all,

On latest tip, following symbols are unresolved when inserting modules

xen_balloon: Unknown symbol totalhigh_pages
xen_vnif: Unknown symbol netfront_accelerator_call_resume
xen_vnif: Unknown symbol netfront_accelerator_call_suspend_cancel
xen_vnif: Unknown symbol netfront_accelerator_call_stop_napi_irq
xen_vnif: Unknown symbol balloon_update_driver_allowance
xen_vnif: Unknown symbol netfront_check_accelerator_queue_busy
xen_vnif: Unknown symbol netfront_accelerator_call_backend_changed
xen_vnif: Unknown symbol netif_init_accel
xen_vnif: Unknown symbol netfront_accelerator_call_suspend
xen_vnif: Unknown symbol netfront_load_accelerator
xen_vnif: Unknown symbol netfront_accelerator_call_remove
xen_vnif: Unknown symbol init_accelerator_vif
xen_vnif: Unknown symbol balloon_release_driver_page

netfront/accel.c is not included in Kbuild, but still has unsolved symbol after add accel.o in Kbuild.

Changes in PV side easily break PV driver on HVM:(

Thanks,

Signature · 2 lines
best rgds,
edwin
#1 lore raw
Quoted 4 lines · Edwin

all,

On latest tip, following symbols are unresolved when inserting modules

Quoted 13 lines

xen_balloon: Unknown symbol totalhigh_pages
xen_vnif: Unknown symbol netfront_accelerator_call_resume
xen_vnif: Unknown symbol netfront_accelerator_call_suspend_cancel
xen_vnif: Unknown symbol netfront_accelerator_call_stop_napi_irq
xen_vnif: Unknown symbol balloon_update_driver_allowance
xen_vnif: Unknown symbol netfront_check_accelerator_queue_busy
xen_vnif: Unknown symbol netfront_accelerator_call_backend_changed
xen_vnif: Unknown symbol netif_init_accel
xen_vnif: Unknown symbol netfront_accelerator_call_suspend
xen_vnif: Unknown symbol netfront_load_accelerator
xen_vnif: Unknown symbol netfront_accelerator_call_remove
xen_vnif: Unknown symbol init_accelerator_vif
xen_vnif: Unknown symbol balloon_release_driver_page

I'm not sure about the balloon_* symbols, but the accelerator stuff will be due to the recent changeset sent in by me. I'm sorry this isn't working for you, but must confess I don't fully understand why it's not. I can point you at the patches that will have caused this if you want to back them out, but that won't help with the balloon symbols.

Quoted 2 lines

netfront/accel.c is not included in Kbuild, but still has unsolved symbol after add accel.o in Kbuild.

That in itself is rather odd. The patches should have included a change to the Makefile in drivers/xen/netfront to make it look like this:

===
obj-$(CONFIG_XEN_NETDEV_FRONTEND) := xennet.o

xennet-objs := netfront.o accel.o
===

In addition, as all the accelerator symbols that are listed above are in accel.c, if you've added that file they should then be found.

Quoted 1 line

Changes in PV side easily break PV driver on HVM:(

Perhaps there is some subtlety of PV-on-HVM that I've missed.

Kieran

#2 lore raw
In reply to Zhai, Edwin
Quoted 5 lines · Edwin

netfront/accel.c is not included in Kbuild, but still has unsolved symbol after
add accel.o in Kbuild.

Changes in PV side easily break PV driver on HVM:(

Yes.

Now hopefully fixed in the staging trees.

-- Keir