File: externalkernelmodules.dita

package info (click to toggle)
virtualbox 7.1.12-dfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 565,672 kB
  • sloc: ansic: 2,330,854; cpp: 2,193,228; asm: 230,777; python: 223,895; xml: 86,771; sh: 25,541; makefile: 8,158; perl: 5,697; java: 5,337; cs: 4,872; pascal: 1,782; javascript: 1,692; objc: 1,131; lex: 931; php: 906; sed: 899; yacc: 707
file content (65 lines) | stat: -rw-r--r-- 4,063 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic xml:lang="en-us" id="externalkernelmodules">
  <title>The <ph conkeyref="vbox-conkeyref-phrases/product-name"/> Kernel Modules</title>
  
  <body>
    <p>In order to run other operating systems in virtual machines alongside your main operating system, <ph
        conkeyref="vbox-conkeyref-phrases/product-name"/> needs to integrate very tightly with your system. To do this
      it installs a driver module called <userinput>vboxdrv</userinput> into the system kernel. The kernel is the part
      of the operating system which controls your processor and physical hardware. Without this kernel module, you can
      still use <ph conkeyref="vbox-conkeyref-phrases/vbox-mgr"/> to configure virtual machines, but they will not
      start. </p>
    <p>Network drivers called <userinput>vboxnetflt</userinput> and <userinput>vboxnetadp</userinput> are also
      installed. They enable virtual machines to make more use of your computer's network capabilities and are needed
      for any virtual machine networking beyond the basic NAT mode. </p>
    <p>Since distributing driver modules separately from the kernel is not something which Linux supports well, the <ph
        conkeyref="vbox-conkeyref-phrases/product-name"/> install process creates the modules on the system where they
      will be used. This means that you may need to install some software packages from the distribution which are
      needed for the build process. Required packages may include the following: </p>
    <ul>
      <li>
        <p>GNU compiler (GCC) </p>
      </li>
      <li>
        <p>GNU Make (make) </p>
      </li>
      <li>
        <p>Kernel header files </p>
      </li>
    </ul>
    <p>Also ensure that all system updates have been installed and that your system is running the most up-to-date
      kernel for the distribution. </p>
    <note>
      <p>The running kernel and the kernel header files must be updated to matching versions. </p>
    </note>
    <p>The following list includes some details of the required files for some common distributions. Start by finding
      the version name of your kernel, using the command <userinput>uname -r</userinput> in a terminal. The list assumes
      that you have not changed too much from the original installation, in particular that you have not installed a
      different kernel type. </p>
    <ul>
      <li>
        <p>With Debian and Ubuntu-based distributions, you must install the correct version of the
            <filepath>linux-headers</filepath>, usually whichever of <filepath>linux-headers-generic</filepath>,
            <filepath>linux-headers-amd64</filepath>, <filepath>linux-headers-i686</filepath> or
            <filepath>linux-headers-i686-pae</filepath> best matches the kernel version name. Also, the
            <filepath>linux-kbuild</filepath> package if it exists. Basic Ubuntu releases should have the correct
          packages installed by default. </p>
      </li>
      <li>
        <p>On Fedora, Red Hat, Oracle Linux and many other RPM-based systems, the kernel version sometimes has a code of
          letters or a word close to the end of the version name. For example "uek" for the Oracle Unbreakable
          Enterprise Kernel or "default" or "desktop" for the standard kernels. In this case, the package name is
            <filepath>kernel-uek-devel</filepath> or equivalent. If there is no such code, it is usually
            <filepath>kernel-devel</filepath>. </p>
      </li>
      <li>
        <p>On some SUSE and openSUSE Linux versions, you may need to install the <filepath>kernel-source</filepath> and
            <filepath>kernel-syms</filepath> packages. </p>
      </li>
    </ul>
    <p>If you suspect that something has gone wrong with module installation, check that your system is set up as
      described above and try running the following command, as root: </p>
    <pre xml:space="preserve">rcvboxdrv setup</pre>
  </body>
</topic>