VirtualBox

Opened 10 years ago

Closed 10 years ago

#12467 closed defect (worksforme)

dkms unknow symbol mount (err0)

Reported by: vigilian Owned by:
Component: installer Version: VirtualBox 4.3.4
Keywords: Cc: ccrompho_wifi@…
Guest type: all Host type: Linux

Description

problem at the installer, impossible to use dkms with my kernel apparently and I c'ant downgrade my kernel because of compatibility issues. Os: ubuntu 13.10 saucy kernel 3.11.0-14 ubuntu saucy version

I have tried with all version of virtualbox

Attachments (9)

vbox-install.log (1.3 KB ) - added by vigilian 10 years ago.
dmesg (82.2 KB ) - added by vigilian 10 years ago.
good1.png (418.3 KB ) - added by vigilian 10 years ago.
screenshot1.jpg (353.4 KB ) - added by vigilian 10 years ago.
good21.jpg (159.4 KB ) - added by vigilian 10 years ago.
good22.jpg (386.2 KB ) - added by vigilian 10 years ago.
vboxdrv.ko (494.9 KB ) - added by vigilian 10 years ago.
make.log (9.1 KB ) - added by vigilian 10 years ago.
dmesg.txt (83.5 KB ) - added by vigilian 10 years ago.

Download all attachments as: .zip

Change History (33)

comment:1 by Frank Mehnert, 10 years ago

priority: blockermajor

The information you provided is not sufficient. I don't see any log file, e.g. the file /var/log/vbox-install.log.

by vigilian, 10 years ago

Attachment: vbox-install.log added

comment:2 by vigilian, 10 years ago

i've didn't attached it before because it is useless in this case, it seems to be well installed but I've still have an error... ans still the system didn't recognize it as well installed it blocks me to run any VM...

Last edited 10 years ago by vigilian (previous) (diff)

comment:3 by Frank Mehnert, 10 years ago

Then I would like to know what your actual problem is. You say that it is 'impossible to use dkms with your kernel' but you didn't mention what the actual problem is.

Also: What is the output of 'uname -a' on your host?

comment:4 by vigilian, 10 years ago

not possible to run anything with virtualbox because it says that the vboxdrv is not setup and that's because the installation return an error when I'm trying to install virtualbox at the line "trying to register the virtualbox kernel modules using dkms" it failed everytime... and because of that I can't run any VM in virtualbox because then it tells me that the drivers aren't installed and I have to run vboxdrv again but it always the same....

And the error in dmesg is what I've put in the title...

You don't have to make me fool, if you put the title in google you will have a lot of hits and it's a pretty common problem for years now and we nver had a good answer to that problem. That's why people go see the product of vmware or qemu.

comment:5 by vigilian, 10 years ago

the uname -a response is Linux hostname 3.11.0-14-generic #21-Ubuntu

comment:6 by vigilian, 10 years ago

and if you don't believe it I can put you a screenshot

comment:7 by Frank Mehnert, 10 years ago

I don't like your tone. If you want help then provide facts and don't insult people which try to help you. The first step is to provide an exact description of your problem and not just a few words without any log file.

We had a number of reports in the past from people where the VirtualBox kernel modules could not be installed. In many cases I saw it was a mistake done by the users. With VBox 4.3.4 I'm not aware of any problem with DKMS, therefore I'm asking. Googling "VirtualBox dkms 4.3.4" does not show me any relevant hit.

And actually the symbol 'mount' is not part of the VirtualBox host kernel modules. Therefore I would really like to see a screenshot from your problem, or better the complete output of 'dmesg' on your host.

comment:8 by Frank Mehnert, 10 years ago

The output of the 'uname -a' command you posted in comment 5 was not complete.

I took my time and set up an Ubuntu 13.10 guest locally. The output of 'uname -a' is:

Linux vbox-VirtualBox 3.11.0-14-generic #21-Ubuntu SMP Tue Nov 12 17:04:55 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

On this host I installed dkms and after that the VirtualBox 4.3.4 package for 64-Bit Ubuntu 13.04/13.10 (virtualbox-4.3_4.3.4-91027~Ubuntu~raring_amd64.deb). It installed without any issue, the kernel modules were automatically compiled using DKMS and I could start VMs without any problem.

When you mention the strange 'mount (err0)' failure I get more and more the feeling that this error comes from compiling kernel modules unrelated to VirtualBox. But I hope the output of 'dmesg' will provide the necessary information.

by vigilian, 10 years ago

Attachment: dmesg added

comment:9 by vigilian, 10 years ago

Linux mnserver 3.11.0-14-generic #21-Ubuntu SMP TUe Nov 12 17:04:55 UTC 2013 x86_64 x86_64 x86_64 GNU/linux

comment:10 by Frank Mehnert, 10 years ago

The provided output of 'dmesg' does not contain any error message. And there is no sign of any 'mount (err0)' message at all.

by vigilian, 10 years ago

Attachment: good1.png added

by vigilian, 10 years ago

Attachment: screenshot1.jpg added

by vigilian, 10 years ago

Attachment: good21.jpg added

comment:11 by vigilian, 10 years ago

sorry my bad wrong one

by vigilian, 10 years ago

Attachment: good22.jpg added

comment:12 by vigilian, 10 years ago

sorry i can't get the dmesg updated. it show it on the command "dmesg" but not on the file in /var/log/dmesg. So i f you have another way to do it i'm open to all suggestions

comment:13 by vigilian, 10 years ago

anyway you have all the screenshots to believe me . I could even open you a ssh access

comment:14 by Frank Mehnert, 10 years ago

You can create a file containing the output of 'dmesg' by

dmesg > ~/dmesg.txt

After that a file dmesg.txt will be located in your home directory.

Looking at your last screenshot shows that the actual error message is

vboxdrv: Unknown symbol mcount (err 0)

And this is completely different from your original description! This makes a difference because 'mcount' hints to some profiling option enabled in your kernel.

Next please attach the vboxdrv.ko kernel module which does not load to this ticket and also attach the file /var/lib/dkms/vboxhost/4.3.4/3.11.0.-14-generic/x86_64/log/make.log file.

comment:15 by vigilian, 10 years ago

okey no problem then i'm fully capable to understand that I've done a mistake by being upset after you. I will explain me after we've solved this thing. give me 3 minutes

by vigilian, 10 years ago

Attachment: vboxdrv.ko added

by vigilian, 10 years ago

Attachment: make.log added

by vigilian, 10 years ago

Attachment: dmesg.txt added

comment:16 by vigilian, 10 years ago

done

comment:17 by Frank Mehnert, 10 years ago

Interesting. The make.log already shows that there are undefined 'mcount' symbols. And I see this symbol in your module while I don't see this symbol in the module on my local system. Unfortunately the actual command line for compiling the modules is not recorded. Please could you also provide the complete output of

gcc -v

Best attach it as file (gcc -v > ~/gcc.txt).

comment:18 by vigilian, 10 years ago

it appear to not working (this command I mean, to put it in a file. it shouws me on screen nothing in the file) will try something else

comment:19 by Frank Mehnert, 10 years ago

Sorry, please try

gcc -v > ~/gcc.txt

comment:20 by vigilian, 10 years ago

I was meaning the gcc -v > name_of_thefile

well tee doesn't work either... I will put you the output here then : vigilian@mnserver:/var/log$ gcc -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.7-2ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.4.7 (Ubuntu/Linaro 4.4.7-2ubuntu2)

Version 0, edited 10 years ago by vigilian (next)

comment:21 by Frank Mehnert, 10 years ago

Ok, that's the reason for your problem. Your gcc version is outdated. Your kernel was compiled with gcc-4.8.1-10ubuntu9 while you are now trying to compile the modules with gcc-4.4.7. This will not work.

dpkg -l gcc

should show 4:4.8.1-2ubuntu3 installed but it will most likely show a 4.4.7 version installed. If the command shows 4.8.1 on your box as well then you have a 2nd gcc version installed which takes preference over 4.8.1.

I don't see an easy way how the VirtualBox installer could check that both gcc versions match.

comment:22 by vigilian, 10 years ago

okey I understand. Now sorry to have been impolite earlier but for the record it's not the first time that I have this problem. some years ago again with different kernel and different ubuntu of course. And if you put this error in google (I mean the mcount error) you'll see a lot of post in forums with different kernel and different os sometimes. So I don't say that the users are a bit stupid like me but maybe there isn't enough basic documentation like a "must have before installing" section which precise maybe all the required component like gcc and the version needed and maybe also the command line to check it jsut in case. Especially, since the Linux Os are opening to the market to consumer users like Steam platform introduction. Anyway thank you for your assistance, I will do a wiki on the subject with the error message as title, Think it will be a good help to a lot of people.

comment:23 by vigilian, 10 years ago

I'm confirming that it was the solution of the problem, just solved it

comment:24 by Frank Mehnert, 10 years ago

Resolution: worksforme
Status: newclosed

Great, closing this ticket.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use