Skip to contentSkip to conversation

How to properly recompile Dom0 kernel?

DISCUSSION Jun Koi 1 participant 1 message May 8, 2009

lore
Share & tools
lore

Jun Koi

author
#0 lore raw

Hi,

I did fresh compilation on the latest -unstable tree, and it works
well: Dom0 can boot on my machine.

Then I tried to recompile the Dom0's kernel, and did as followings:

# cd build-linux-2.6.18-xen_x86_32
# make menuconfig
# make
# make modules_install
# make install
# mkinitramfs -o /boot/initrd.img-2.6.18.8-xen 2.6.18.8-xen

But this new Dom0 kernel failed to boot my machine: it reports a lot of errors like

....
usbcore: disagrees about the version of symbol struct_module
....

Normally this means there are some mismatches between modules and vmlinuz. But I already did all the above compilation, so I think I still miss something else here?

Perhaps this is not the proper way to recompile Dom0's kernel??

Thanks,
Jun