Hi All!
I'm running RHEL 5.2 and have loaded VirtualBox. Any type of build of the module kernel (/etc/init.d/vboxdrv setup) causes the server to abend and reboot. I'm running a Dell OptiPlex 330.
I can run the virtual manager - but when I try to create a vm it stalls and I have to hard boot the machine.
Any ideas? Please . . .
Reboot
-
TerryE
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
It sounds like you are linking your drivers against the wrong kernel headers. Since the drivers reference tables inside the kernel, they need to know their addresses. Some OSs do this the sensible way by having standard pointer blocks so that the drivers don't need to be kernel specific. For *nix kernels, you need to link against the correct symbol tables for the current kernel. If you don; then loading the driver can crash the machine. In Debian systems you do an apt-get install linux-headers-$(uname -r) to make sure that the right versions are loaded. RHEL should have an equivalent (but different) way of effecting the same.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
Thanks TerryE - I appreciate your efforts. Did I happen to mention that I'm a complete RHEL noob?
Anyways, I did load all the required packages per the documentation - Qt, SDL, and kernel-devel, which I believe is the equivalent to what you mentioned above.
When I try service vboxdrv start, I get "no suitable module for kernel found" but I'm at a loss to what module it needs. Again, if I do a vboxdrv setup - the computer abends.
If I look in the vbox-install.log, here's what I found:
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
Any help would be greatly appreciated!
Anyways, I did load all the required packages per the documentation - Qt, SDL, and kernel-devel, which I believe is the equivalent to what you mentioned above.
When I try service vboxdrv start, I get "no suitable module for kernel found" but I'm at a loss to what module it needs. Again, if I do a vboxdrv setup - the computer abends.
If I look in the vbox-install.log, here's what I found:
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
Any help would be greatly appreciated!