is it save to upgrade from 4.2.17 to 4.2.20 with VBox Installed or should i first deinstall the Vbox and so on before Update.
does the 4.2.20 now support the reinstall of the Vbox system?
WhoCares? wrote:As VirtualBox suggested when it failed: What's the output of "dmesg"?
-Stefan
indomiti wrote:I tried to follow j6harri guide but i think something goes wrong with my VirtualBox kernel modules?
RAIDiator 4.2.20 and VirtualBox 4.1.14
- Code: Select all
# VBoxHeadless -startvm "Debian" &
[1] 12927
Netgear-NAS:/c/VirtualBox# WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.37.6.RNx86_64.2.2) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
- Code: Select all
# /etc/init.d/vboxdrv setup
Recompiling VirtualBox kernel modules ...done.
Starting VirtualBox kernel modules ...failed!
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)
- Code: Select all
# modprobe vboxdrv
FATAL: Error inserting vboxdrv (/lib/modules/2.6.37.6.RNx86_64.2.2/misc/vboxdrv.ko): Invalid argument
cmassey wrote:Was working fine until I upgrade to T20, it stopped working after the upgrade tos so I reinstalled, and still not working.
Will keep playing and may roll back firmware to see if that fixes the issue.
# cd /c/VirtualBox
# apt-get update
# apt-get install build-essential amd64-libs lib64stdc++6 bzip2 lib64z1 lzma
# apt-get --reinstall install libc6-amd64
# apt-get -f install
# rm -rf linux-2.6.37.6
# unzip -q RNDP6xxx_4.2.20_WW_src.zip "linux-2.6.37.6/*"
# ln -snf `pwd`/linux-2.6.37.6 /usr/src/linux
# cd linux-2.6.37.6
# cp arch/x86/configs/defconfig.smp .config
# make ARCH=x86_64 silentoldconfig
# make prepare
# make modules_prepare
# make, this warning comes at the end:
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
# make CONFIG_DEBUG_SECTION_MISMATCH=y, this warning comes at the end:
WARNING: drivers/target/target_core_mod.o(.text+0x5cf5): Section mismatch in reference from the function init_module() to the function .init.text:rd_module_init()
The function init_module() references
the function __init rd_module_init().
This is often because init_module lacks a __init
annotation or the annotation of rd_module_init is wrong.
WhoCares? wrote:Why do you run the "silentoldconfig" part?
-Stefan
# make ARCH=x86_64
# make CONFIG_DEBUG_SECTION_MISMATCH=y:/vm# sudo /usr/bin/VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.0.2-69518.vbox-extpack
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.37.6.RNx86_64.2.2) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to install "/c/vm/Oracle_VM_VirtualBox_Extension_Pack-4.0.2-69518.vbox-extpack": Extension pack 'Oracle VM VirtualBox Extension Pack'is already installed. In case of a reinstallation, please uninstall it first
NAS:/vm# sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMS ...failed!
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
(Look at /var/log/vbox-install.log to find out what went wrong)
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.37.6.tar.bz2
wget http://www.readynas.com/download/GPL/kernel-build-tools-x86-4.2.20-T43.tar.gzmake menuconfig
make modules
make modules_install INSTALL_MOD_PATH=/
depmod -a"
- Code: Select all
tar -xjf linux-2.6.37.6.tar.bz2
tar -xzf kernel-build-tools-x86-4.2.20-T43.tar.gz
mv linux-2.6.37.6/ kernel-build-tools-x86/2.6.37/
cd kernel-build-tools-x86/2.6.37/linux-2.6.37.6/
../netgearize_kernel.sh
make oldconfig
make all
/etc/init.d/vboxdrv start
Starting VirtualBox kernel modules ...done./usr/bin/VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"
wget http://download.virtualbox.org/virtualbox/4.1.14/Oracle_VM_VirtualBox_Extension_Pack-4.1.14-77440.vbox-extpack
/usr/bin/VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1.14-77440.vbox-extpack
Return to ReadyNAS Developers Network
Users browsing this forum: No registered users and 2 guests