[Debian] Re: Bug#403712: kernel-patch-openvz: Cannot compile kernel, undefined symbols

Kirill Korotaev dev at sw.ru
Thu Dec 21 04:23:36 EST 2006


David Baron wrote:
> On Thursday 21 December 2006 08:16, Ola Lundqvist wrote:
> 
>>Hi David
>>
>>When I compiled the kernel yesterday using the same version of the kernel
>>and the openvz patch I did not need to do anything with symlinking.
>>
>>My compile line look something like this:
>>export PATCH_THE_KERNEL=true
>>untar xxx.tar.gz
>>cd /usr/src/linux
>>make-kpkg -rfakeroot --append-to-version -openvz --added_patches openvz \
>>	--revision 02 --initrd
>>
>>I used the same .config file as in the upstream version.
>>I built it for 486, 686 and k7.
>>
> 
> 
> Fine. Starting virgin or after "dist-clean", the symlink to asm-i### is 
> absent. For some reason, the initial scripts compiles do not place it and the 
> make-kpkg aborts. So, easy enough to work around. Don't need to? Even easier.
> 
> I am not using an initrd. Got sick of all the problems, especially since yaird 
> was introduced (old mkinitrd worked fine). Since unix.ko and some others come 
> up missing several symbols:
>  WARNING: /lib/modules/2.6.18-davidb-ovz/kernel/net/unix/unix.ko needs unknown 
> symbol ub_skb_set_charge, 
> WARNING: /lib/modules/2.6.18-davidb-ovz/kernel/net/unix/unix.ko needs unknown 
> symbol ub_sock_make_wreserv, 
> WARNING: /lib/modules/2.6.18-davidb-ovz/kernel/net/unix/unix.ko needs unknown 
> symbol sock_alloc_send_skb2, 
> WARNING: /lib/modules/2.6.18-davidb-ovz/kernel/net/unix/unix.ko needs unknown 
> symbol ub_sock_snd_queue_add, 
> WARNING: /lib/modules/2.6.18-davidb-ovz/kernel/net/unix/unix.ko needs unknown 
> symbol ub_sock_get_wreserv, 
> WARNING: /lib/modules/2.6.18-davidb-ovz/kernel/kernel/vzwdog.ko needs unknown 
> symbol first_online_pgdat, 
> WARNING: /lib/modules/2.6.18-davidb-ovz/kernel/kernel/vzwdog.ko needs unknown 
> symbol next_online_pgdat, 
> WARNING: /lib/modules/2.6.18-davidb-ovz/kernel/fs/binfmt_misc.ko needs 
> unknown symbol reset_files_struct
> I cannot boot the thing? What is in your initrd? Maybe I need to compile in a 
> couple more pieces :-)
check that you have
CONFIG_USER_RESOURCE=y
CONFIG_UNUSED_SYMBOLS=y       (known bug http://bugzilla.openvz.org/show_bug.cgi?id=287)

I added this to the bug.


Thanks,
Kirill


More information about the Debian mailing list