Installing vmtools on a Oracle Linux 5.7 (formally a rebranded Red Hat Enterprise Linux Server release 5.7) I found following compiling error:
Creating a new initrd boot image for the kernel.
No module ehci-hcd found for kernel 2.6.32-200.13.1.el5uek, aborting.
ERROR: "/sbin/mkinitrd -f --with=vmxnet --with=vmxnet3 --with=vmw_pvscsi
Broadcast message from root (tty1) (Tue Nov 15 08:50:05 2011):
/boot/initrd-2.6.32-200.13.1.el5uek.img 2.6.32-200.13.1.el5uek" exited with non-zero status.
The system is going down for reboot NOW!
Your system currently may not have a functioning init image and may not boot
properly. DO NOT REBOOT! Please ensure that you have enough free space
#>uname -a
2.6.32-200.13.1.el5uek #1 SMP Wed Jul 27 21:02:33 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
this compiling error depending on ehci-hcd ohci-hcd uhci-hcd builtin on Kernel.
to fix add these lines to /usr/bin/vmware-config-tools.pl
starting from line 6479:
#vmware-config-tools.pl.patch
6479a6480,6481
> #Fix builtin module compiling
> $content .= " --builtin=ehci-hcd --builtin=ohci-hcd --builtin=uhci-hcd ";
# vim /usr/bin/vmware-config-tools.pl
add line in bold starting from line 6479
[...]
foreach my $key (@gRamdiskModules) {
if ($style eq 'redhat') {
$content .= " --with=" . get_module_name($key) . " ";
#Fix builtin module compiling
$content .= " --builtin=ehci-hcd --builtin=ohci-hcd --builtin=uhci-hcd ";
} else {
$content .= get_module_name($key) . ' ';
}
}
[...]
Hope to be useful!
Massimo "Break" Biagi 