Error Inserting Vboxadd
Opened 5 years ago Last modified 5 years ago FATAL ERROR - instering vboxguest on 2.6.38.8 kernel Reported by: samiux Owned by: Priority: major Component: guest additions Version: VirtualBox 4.1.2 Keywords: vboxguest Cc: Guest type: Linux Host type: Linux Description I am using Version 4.1.2 and 4.1.0. When the kernel is upgraded to 2.6.38.8, I reinstalled the guest addition and the vboxguest cannot be loaded and produced the following error : FATAL: Error inserting vboxguest (/lib/modules/2.6.38.8/misc/vboxguest.ko): Invalid module format Attachments vboxadd-install.log (150.7 KB) - added by samiux 5 years ago. /etc/init.d/vboxadd setup Change History comment:1 Changed 5 years ago by frank That sounds more like a mismatch between the C compiler used for compiling the modules and the C compiler used for compiling the kernel. Which Linux distribution is that and which kernel package are you using? comment:2 Changed 5 years ago by samiux I am using BackTrack 5 with the current kernel 2.6.39.4. I just upgraded to 2.6.39.4 and the vboxguest also cannot be loaded : FATAL: Error inserting vboxguest (/lib/modules/2.6.39.4/misc/vboxguest.ko): Invalid module format And the version of the gcc is : gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) The kernel is : Linux bt 2.6.39.4 #1 SMP Wed Aug 17 21:42:30 EDT 2011 x86_64 GNU/Linux comment:3 Changed 5 years ago by frank What is the output of cat /proc/version? comment:4 Changed 5 years ago by samiux root@bt:/tmp# cat /proc/version Linux version 2.6.39.4 (root@builder64) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #1 SMP Wed Aug 17 21:42:30 EDT 2011 comment:5 Changed 5 years ago by frank So the gcc compiler seems to be the same. But it sill looks like the sources are different from the Linux kernel. Please attach /var/log/vboxadd-install.log after your forced recompilation of your guest kernel modules (/etc/init.d/vboxadd setup). Changed 5 years ago by samiux attachment vboxadd-install.log added /etc/init.d/vboxadd setup comment:6 Changed 5 years ago by samiux root@bt:~# /etc/init.d/vboxadd setup Removing existing VirtualBox DKMS kernel modules ...done. Removing existing VirtualBox non-DKMS kernel modules ...done. Building the VirtualBox Guest Additions kernel modules The headers for the current running kernel were not found. If the following module compilation fails then this could be the reason. Building the main Guest Additions modu
Roadmap Show Task # Please read this before reporting a bug: http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List. REPEAT: Do NOT report bugs for outdated packages! Tasklist FS#10607 - Error inserting vboxadd and vboxvfs. Attached to Project: Community Packages Opened by X (xeonic) - Sunday, 08 June 2008, 08:00 GMT Last edited by Roman Kyrylych (Romashka) - Wednesday, 16 July 2008, 07:47 GMT Task Type Bug Report Category Status Closed Assigned To Andrea Scarpino (BaSh) Architecture i686 Severity Low Priority Normal https://www.virtualbox.org/ticket/9456 Reported Version Due in Version Undecided Due Date Undecided Percent Complete Votes 3 X (xeonic) (2008-06-26) Xavier (shining) (2008-06-16) David Rosenstrauch (darose) (2008-06-10) Private No Details Description: When I try to insert vboxadd or vboxvfs I get an error. The same with vboxvfs Additional info: # dmesg | tail -1 - the most interesting line No module found in object # pacman -Qs Virtualbox kernel26 | grep https://bugs.archlinux.org/task/10607 local local/virtualbox-modules 1.6.2-2 local/virtualbox-ose 1.6.2-1 local/virtualbox-ose-additions 1.6.2-1 local/virtualbox-ose-additions-modules 1.6.2-2 local/kernel26 2.6.25.4-1 (base) Steps to reproduce: # modprobe vboxadd FATAL: Error inserting vboxadd (/lib/modules/2.6.25-ARCH/misc/vboxadd.ko): Invalid module format or # modprobe vboxvfs WARNING: Error inserting vboxadd (/lib/modules/2.6.25-ARCH/misc/vboxadd.ko): Invalid module format FATAL: Error inserting vboxvfs (/lib/modules/2.6.25-ARCH/misc/vboxvfs.ko): Invalid module format This task depends upon Closed byRoman Kyrylych (Romashka) Wednesday, 16 July 2008, 07:47 GMT Reason for closing: Fixed Comments (29) Related Tasks (0/0) Comment by Andrea Scarpino (BaSh) - Sunday, 08 June 2008, 14:45 GMT Ok, I'm rebuilding with 2.6.25.4 headers and it should works now Comment by Andrea Scarpino (BaSh) - Sunday, 08 June 2008, 17:39 GMT I rebuilt it and now I get: # modprobe vboxadd FATAL: Error inserting vboxadd (/lib/modules/2.6.25-ARCH/misc/vboxadd.ko): No such device # dmesg | tail -n 1 vboxadd: VirtualBox PCI device not found. I'm trying to solve it Comment by Andrea Scarpino (BaSh) - Monday, 09 June 2008, 22:50 GMT Please, you try 1.6.2-3 Comment by André Fettouhi (A.Fettouhi) - Tuesday, 10 June 2008, 16:21 GMT Have tried 1.6.2-3 and the error is still present. Regards André Comment by David Rosenstrauch (darose) - Tuesday, 10 June 2008, 18:00 GMT Ditto. I see: FATAL: Error inserting vboxadd (/lib/modul
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and http://superuser.com/questions/298367/how-to-fix-virtualbox-startup-error-vboxadd-service-failed policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody error inserting can ask a question Anybody can answer The best answers are voted up and rise to the top How to fix virtualbox startup error: “vboxadd-service … failed!” up vote 4 down vote favorite 2 I'm using VirtualBox 4.0.8 with Windows 7 Enterprise 64 bit host and debian 6.0.1a amd64 guest (in CLI mode). I installed Guest Additions and it seems to work, error inserting vboxadd at least partially, as I have successfully setup a shared folder between host and guest. However every time I boot the guest, I get the following messages on console: Starting VirtualBox Guest Addition service ...done. startpar: services(s) returned failure: vboxadd-service ... failed! There is no additional error message in any of the logs (checked syslog and VBoxGuestAdditions.log) Additionally, I'm unable to use shared clipboard between host and guest (it's set to bidirectional, but neither direction seems to work). I assume this might be related to the service start failure. Any idea how to fix this? virtualbox guest-additions share|improve this question asked Jun 17 '11 at 7:35 András Szepesházi 4472817 Possible duplicate of Unable to install VIrtualbox, `"Specify KERN_DIR=