[SOLVED] Cannot access the kernel driver?

Discussions related to using VirtualBox on Windows hosts.

[SOLVED] Cannot access the kernel driver?

Postby oldjoe911 » 12. Sep 2009, 12:47

Hi,

I'm new to Virtualbox and decided to test Windows 7 in guest mode before I decide wether or not to upgrade my existing Windows XP installation.
But when I try to power up the virtual machine I get the following error:
Cannot access the kernel driver!
Make sure the kernel module has been loaded successfully.

Followed by:
Failed to open a session for the virtual machine Windows 7.
Virtual machine 'Windows 7' has terminated unexpectedly during startup.
Details:
Result Code: E_FAIL (0x80004005)
Component: Machine
Interface: IMachine {540dcfda-3df2-49c6-88fa-033a28c2ff85}


These are the settings I use:
I have 2gb of physical RAM available to Windows XP.
I have assigned 1gb to the guest (Windows 7).
Tried disabling various settings for the guest but this does not seem to make any difference.
Rebooted after installing Virtual Box 3.0.6.

I seem unable to even try the virtual machine because of this. Any ideas why this might happen?
Last edited by oldjoe911 on 13. Sep 2009, 14:30, edited 1 time in total.
oldjoe911
 
Posts: 5
Joined: 12. Sep 2009, 12:36
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: Windows 7

Re: Cannot access the kernel driver?

Postby Perryg » 12. Sep 2009, 14:58

Try setting the RAM on the guest to 512 or 768 and see if it starts.
Set the VRam to 12 meg

Turn off USB, Audio, 3D effect (these can be turned on later one at a time)
Perryg
Site Moderator
 
Posts: 25923
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: Cannot access the kernel driver?

Postby oldjoe911 » 12. Sep 2009, 15:32

Hi,

Tried setting RAM to 768 and then to 512. VRAM is set to 12mb. Turned off USB, Audio, and 3D effect. Also tried disabling network.
But I still get the same error.
oldjoe911
 
Posts: 5
Joined: 12. Sep 2009, 12:36
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: Windows 7

Re: Cannot access the kernel driver?

Postby Perryg » 12. Sep 2009, 16:33

Is this a 32 bit or 64 bit machine and is the Win7 OS 32 or 64 bit?
What are the settings in the Guest system settings?
Perryg
Site Moderator
 
Posts: 25923
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: Cannot access the kernel driver?

Postby oldjoe911 » 12. Sep 2009, 16:43

Hi,

Both are 32-bit.

Here is an extended list of settings turned on:

Remember runtime changes
Show in fullscreen/seamless
Boot: hdd + cdrom
Enable ACPI
Processors: 1 (I have a intel quad core)
Enable VT-x/AMD-v
VRAM: 12mb
IDE controller: PIIX4
Enable network adapter (NAT)

The rest are disabled (USB, Audio, etc, etc).
oldjoe911
 
Posts: 5
Joined: 12. Sep 2009, 12:36
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: Windows 7

Re: Cannot access the kernel driver?

Postby Perryg » 12. Sep 2009, 16:50

Can you disable VT-x/AMD-v or is it grayed out? If you can disable it try to run it with the switch off.
Perryg
Site Moderator
 
Posts: 25923
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: Cannot access the kernel driver?

Postby oldjoe911 » 12. Sep 2009, 17:18

Disblaed it, but still same result. :cry:
oldjoe911
 
Posts: 5
Joined: 12. Sep 2009, 12:36
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: Windows 7

Re: Cannot access the kernel driver?

Postby Perryg » 12. Sep 2009, 17:24

This really is starting to sound like a failed install. If it were me I would start over and use the defaults that VBox sets for you and change nothing.
It is also possible the the ISO that you have of Windows 7 may be corrupt. Did you use a download manager to download it?
Also did you get this from Microsoft or some other location?
Perryg
Site Moderator
 
Posts: 25923
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: Cannot access the kernel driver?

Postby Sasquatch » 13. Sep 2009, 13:29

The error you get means VB isn't installed properly. Please run the installer again and select "Repair". If that doesn't solve it (after a reboot), remove VB, reboot, then install VB again, reboot to be sure and run the VM.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Cannot access the kernel driver?

Postby oldjoe911 » 13. Sep 2009, 14:30

I uninstalled VB, rebooted, then installed again, and now it works!
The problem seems to have been that I installed 3.0.4 first, and without using it, upgraded to 3.0.6 one day later.
Thanks again for the help :)
oldjoe911
 
Posts: 5
Joined: 12. Sep 2009, 12:36
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: Windows 7


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: Google [Bot] and 30 guests