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
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
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 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 by  Roman Kyrylych (Romashka)
Wednesday, 16 July 2008, 07:47 GMT
Reason for closing:  Fixed
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/modules/2.6.25-ARCH/misc/vboxadd.ko): Invalid module format

Dmesg shows:

"No module found in object"
Comment by David Rosenstrauch (darose) - Tuesday, 10 June 2008, 18:09 GMT
FYI - I've started a thread at the virtualbox forums for this:

http://forums.virtualbox.org/viewtopic.php?t=7152
Comment by Xavier (shining) - Monday, 16 June 2008, 11:06 GMT
Apparently no one answered yet, that is sad, I really miss the features provided by these modules..
Maybe you could also report it on their bug tracker if they have one?
Anyway, thanks to bash and darose for having tried to investigate this issue even if it hasn't been solved yet :)
Comment by David Rosenstrauch (darose) - Tuesday, 17 June 2008, 14:50 GMT
There has been a little bit of comment on that forum thread recently. And I'm still following up on trying to get this resolved.

I think bash mentioned at one point that he had opened a bug at their site about this, but I don't know the #, and wasn't able to find it in a search. Can you confirm this, bash?

Problem with opening a bug report on their site is: I'm not sure if it's their bug or ours.

Comment by Xavier (shining) - Tuesday, 17 June 2008, 14:57 GMT
This started happening on the first rebuild against 2.6.25, right?
Maybe 2.6.25 is not widely used yet, and that is why that issue hasn't been noticed somewhere else?
I don't know.
Comment by David Rosenstrauch (darose) - Tuesday, 17 June 2008, 16:45 GMT
I believe so, Xavier, but not 100% sure. That would make some sense though.

I'm going to try downgrading my kernel & kernel-headers to test this theory.
Comment by David Rosenstrauch (darose) - Tuesday, 17 June 2008, 16:52 GMT
Ugh ... not quite so simple. glibc is dependent on kernel-headers>=2.6.25.6. And then a bunch of other things are dependent upon it.

I'll see if I can downgrade a bunch of things. If not, then I'll have to create a new guest OS with an earlier kernel. Feh.
Comment by David Rosenstrauch (darose) - Tuesday, 17 June 2008, 18:02 GMT
Nope. That wasn't it. I built the modules (v1.6.2) again with kernel2.6.24.4-1, kernel-headers2.6.24.3-1, gcc4.3.0-1, glibc2.7-9, but same error.

Perhaps the mismatch of kernel and kernel-headers versions is responsible now? I don't know. I didn't seem to have kernel2.6.24.3 in my cache to test with though.

If anyone's got earlier stuff in their cache and want to give this a shot, be my guest. I don't think there's any more back testing I can do.
Comment by Andrea Scarpino (BaSh) - Tuesday, 17 June 2008, 18:11 GMT
I didn't open a bug report. I discussed with michael (Sun developer) on irc and we didn't find a solution.

I tried to build and use vboxadd module that are in VBoxLinuxAdditions.run but I get the same error.

Very thanks to darose for your effort.
Comment by David Rosenstrauch (darose) - Tuesday, 17 June 2008, 18:54 GMT
I also tried to build the module in VBoxLinuxAdditions.run as per his suggestion on the forum ... and it succeeded. I'm looking at functional guest additions as we speak.

So then ... what's different between what that install program is doing and what we're doing? And/or what's different between what the PUEL version of the additions is doing and what the OSE version of the additions is doing?
Comment by Andrea Scarpino (BaSh) - Wednesday, 18 June 2008, 10:05 GMT
I get a different output with 1.6.2-5

# modprobe vboxadd
FATAL: Error inserting vboxadd
(/lib/modules/2.6.25-ARCH/kernel/drivers/misc/vboxadd.ko): No such
device
# dmesg | tail -n 1
vboxadd: VirtualBox PCI device not found.

but still don't work
Comment by David Rosenstrauch (darose) - Wednesday, 18 June 2008, 16:30 GMT
Worked for me! Sweet!!!

Trying to get the xorg driver stuff setup correctly right now so that I can test this all out together to see if the mouse integration works properly.
Comment by Andrea Scarpino (BaSh) - Wednesday, 18 June 2008, 17:39 GMT
perfect. work also for me :)
finally I think this can be closed

for get mouse and video modules you must install virtualbox-ose-xorg-drivers

very thanks for your grants David
Comment by André Fettouhi (A.Fettouhi) - Wednesday, 25 June 2008, 08:23 GMT
I'm still getting an error when loading vboxadd and etc. The error now says

[af@andre ~]$ sudo modprobe vboxadd
Adgangskode:
FATAL: Error inserting vboxadd (/lib/modules/2.6.25-ARCH/misc/vboxadd.ko): No such device
Comment by Xavier (shining) - Wednesday, 25 June 2008, 08:38 GMT
It works perfectly here since 1.6.2-5 (on an uptodate i686 arch system), thanks :)
Comment by X (xeonic) - Wednesday, 25 June 2008, 13:39 GMT
No, it doesn't... Same error as above.
Comment by Xavier (shining) - Wednesday, 25 June 2008, 13:48 GMT
Wtf, I am saying it works for me, and you say no, what the hell do you know?
You can say that it does not work for YOU, in this case at least give some details about your system, architecture, whatever...
Comment by David Rosenstrauch (darose) - Wednesday, 25 June 2008, 14:32 GMT
Re: the "No such device" error:

I was getting that too, but found a way to solve it. The cause for me was that I was that the guest additions inside the guest were v1.6.2, while the actual virtual box software I was running on the host (Windows) was 1.5.x. Once I upgraded the software on the Windows host to 1.6.2, all was fine.

Not sure if this is the cause of you guys' problems, but it fixed it for me.
Comment by Xavier (shining) - Wednesday, 25 June 2008, 14:43 GMT
Ah, that is possible. Before the 1.6.2-5 guest addition package was released, I tried to upgrade the host virtual box from 1.5 to 1.6 to see if that helped.
So I also have a windows host at 1.6.2
Comment by X (xeonic) - Thursday, 26 June 2008, 05:34 GMT
Xavier, it is obvious, that it doesn't work for ME, we are intelligent and hope we can read... and most details you have above, hence I've created this task... "Same error" means "same as Andre, after most recent update". Please, be nicer...
Comment by Xavier (shining) - Thursday, 26 June 2008, 06:16 GMT
In that case, why don't you just answer which version of the virtual box software (on the host) you are using?
Comment by X (xeonic) - Saturday, 28 June 2008, 06:50 GMT
"Most recent update" (for last 3 days nothing has changed) means:
virtualbox-modules 1.6.2-2
virtualbox-ose 1.6.2-1
virtualbox-ose-additions 1.6.2-1
virtualbox-ose-additions-modules 1.6.2-5
virtualbox-ose-xorg-drivers 1.6.2-2
kernel26 2.6.25.6-1
Comment by Xavier (shining) - Saturday, 28 June 2008, 08:51 GMT
You do realize this thread is about guest addition modules, which happen to be used on the guest only?
Are you trying to say you use both an uptodate Arch Linux system as host and as guest?
Please try to be clearer.
Comment by X (xeonic) - Saturday, 28 June 2008, 10:34 GMT
Yes. I have a testing environment on VirtualBox, and tried to create a shared directory.
Comment by X (xeonic) - Saturday, 28 June 2008, 11:31 GMT
Ok. Now, everything works... Personally, I don't know, what has happend, that just another simple pacman -S helped. Thanks for your help.

Loading...