[SOLVED]3.2.0-4-686-pae Kernel breaks Virtualbox

Questions about hardware and drivers
Forum rules
Before you post please read this

[SOLVED]3.2.0-4-686-pae Kernel breaks Virtualbox

Postby Vontux on Thu Sep 12, 2013 2:10 am

Hello, I'm having a problem with Virtualbox that I believe is related to the version of the kernel that I am now running. When I was running the non-pae version of the kernel I didn't have any problems running virtualbox. With the pae kernel, whenever I try to start a virtual machine error message boxes are produced and the virtual machine doesn't start. I follow the instructions that the error message provides but running "/etc/init.d/vboxdrv setup" does nothing. If anyone would be willing to help me to make the pae kernel friendly to virtualbox I'd greatly appreciate it.
Attachments
virtualbox.png
Error message boxes generated.
Last edited by Vontux on Sun Sep 15, 2013 1:11 am, edited 1 time in total.
Vontux
Level 1
Level 1
 
Posts: 29
Joined: Mon Mar 02, 2009 3:45 pm

Linux Mint is funded by ads and donations.
 

Re: 3.2.0-4-686-pae Kernel breaks Virtualbox

Postby eanfrid on Thu Sep 12, 2013 4:17 am

I don't understand: were you previously running a Virtualbox host on a 32bit non-PAE kernel :shock: ? How much RAM do you have on the host ?

For a good virtualization support, you should run a 64bit OS (hence a 64bit kernel) on the host.

Did you install the "dkms" package ? Is your userid member of the vboxusers local group ?

"sudo /etc/init.d/vboxdrv setup" should output something, at least some errors.
No, Linux is not a Windows clone for free - Before asking any question here...
"Never attribute to malice that which is adequately explained by stupidity." (Hanlon's razor)

Debian GNU/Linux Wheezy 64bit w/custom 3.12 kernel - MATE 1.8
User avatar
eanfrid
Level 6
Level 6
 
Posts: 1215
Joined: Mon Apr 30, 2012 2:49 am
Location: France

Re: 3.2.0-4-686-pae Kernel breaks Virtualbox

Postby trapperjohn on Thu Sep 12, 2013 1:43 pm

Quick question:

From the settings of a VM, System>processor tab, what is the state of the checkbox for Enable PAE/NX.
trapperjohn
Level 5
Level 5
 
Posts: 686
Joined: Wed Jul 11, 2012 4:10 pm

Re: 3.2.0-4-686-pae Kernel breaks Virtualbox

Postby Vontux on Thu Sep 12, 2013 5:29 pm

eanfrid wrote:I don't understand: were you previously running a Virtualbox host on a 32bit non-PAE kernel :shock: ? How much RAM do you have on the host ?

For a good virtualization support, you should run a 64bit OS (hence a 64bit kernel) on the host.

Did you install the "dkms" package ? Is your userid member of the vboxusers local group ?

"sudo /etc/init.d/vboxdrv setup" should output something, at least some errors.

I've only been running LMDE for a little over a month, before that I was running one of the Ubuntu based editions of Mint. I was initially running the non-PAE kernel because that is what was installed on my system by default when I first installed the system. Once I realized that the OS was not aware of both cores on my system I switched to the pae kernel. I have a 32 bit processor so using a 64 bit OS is not an option for me. I've never had trouble running virtualbox in the past on my system. I have 4 gigs of RAM and I typically allocate 1.5 - 2.0 gb to virtualbox when I need to use it. Odd as it sounds running "sudo /etc/init.d/vboxdrv setup" did indeed yield no output of any kind. I just tried installing the dkms package again just in case my earlier attempts of uninstalling and reinstalling virtualbox caused an issue, and below is the output that resulted from the apt-get command:
Code: Select all
Setting up virtualbox (4.1.18-dfsg-1.1) ...
insserv: script virtualbox: service vboxdrv already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing virtualbox (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of virtualbox-qt:
 virtualbox-qt depends on virtualbox (= 4.1.18-dfsg-1.1); however:
  Package virtualbox is not configured yet.

dpkg: error processing virtualbox-qt (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-dkms:
 virtualbox-dkms depends on virtualbox (>= 4.1.18-dfsg-1.1); however:
  Package virtualbox is not configured yet.

dpkg: error processing virtualbox-dkms (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-qt:
 virtualbox-ose-qt depends on virtualbox-qt; however:
  Package virtualbox-qt is not configured yet.

dpkg: error processing virtualbox-ose-qt (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 virtualbox
 virtualbox-qt
 virtualbox-dkms
 virtualbox-ose-qt
E: Sub-process /usr/bin/dpkg returned an error code (1)
Vontux
Level 1
Level 1
 
Posts: 29
Joined: Mon Mar 02, 2009 3:45 pm

Re: 3.2.0-4-686-pae Kernel breaks Virtualbox

Postby eanfrid on Fri Sep 13, 2013 4:36 am

You were probably previously running a 32bit 486 kernel, which is only intended for older single-core cpus. With 4GB of RAM and a 686 kernel, either PAE or not does not make a difference.

Did you rather try to install Virtualbox with the all-in-one official package from Oracle (http://www.virtualbox.org), selecting the i386 Debian Wheezy version ?
No, Linux is not a Windows clone for free - Before asking any question here...
"Never attribute to malice that which is adequately explained by stupidity." (Hanlon's razor)

Debian GNU/Linux Wheezy 64bit w/custom 3.12 kernel - MATE 1.8
User avatar
eanfrid
Level 6
Level 6
 
Posts: 1215
Joined: Mon Apr 30, 2012 2:49 am
Location: France

Re: 3.2.0-4-686-pae Kernel breaks Virtualbox

Postby Vontux on Sun Sep 15, 2013 1:08 am

eanfrid wrote:You were probably previously running a 32bit 486 kernel, which is only intended for older single-core cpus. With 4GB of RAM and a 686 kernel, either PAE or not does not make a difference.

Did you rather try to install Virtualbox with the all-in-one official package from Oracle (http://www.virtualbox.org), selecting the i386 Debian Wheezy version ?


Running i386 Debian Wheezy package was indeed the answer. At first it didn't install, but after I ran "apt-get install -f" and tried again everything worked just fine, virtualbox now appears to be running the images without a hitch. I was wondering though, if you wouldn't mind elaborating further on what you were saying about the PAE and 686 kernels. I am running a 32-bit core 2 duo system, should I be running a different kernel in your opinion?
Vontux
Level 1
Level 1
 
Posts: 29
Joined: Mon Mar 02, 2009 3:45 pm

Re: [SOLVED]3.2.0-4-686-pae Kernel breaks Virtualbox

Postby eanfrid on Sun Sep 15, 2013 2:20 am

Despite what you believe, you own a 64bit cpu. If you happened to have more than 4GB on your computer, installing the 64bit version of your system would be a better choice for virtualization purpose. But that would need a complete reinstall.

Cf: http://en.wikipedia.org/wiki/Core_2_duo#Core_2_Duo
No, Linux is not a Windows clone for free - Before asking any question here...
"Never attribute to malice that which is adequately explained by stupidity." (Hanlon's razor)

Debian GNU/Linux Wheezy 64bit w/custom 3.12 kernel - MATE 1.8
User avatar
eanfrid
Level 6
Level 6
 
Posts: 1215
Joined: Mon Apr 30, 2012 2:49 am
Location: France

Re: [SOLVED]3.2.0-4-686-pae Kernel breaks Virtualbox

Postby catweazel on Sun Sep 15, 2013 2:49 am

eanfrid wrote:Despite what you believe, you own a 64bit cpu.

Cf: http://en.wikipedia.org/wiki/Core_2_duo#Core_2_Duo

Don't give up your day job.
The original Core brand refers to Intel's 32-bit mobile dual-core x86 CPUs, which derived from the Pentium M branded processors.

qv: https://en.wikipedia.org/wiki/Intel_Core#Core_Duo

HTH
Mint Testing Team & Mint Donor #3606
KDE 4.12.0, custom preemptive kernel 3.12.5,
Intel i7 4770K @ 4.7GHz, 16GB 2666MHz XMP,
4 Samsung 840 PRO 512GB SSDs in RAID0,
6TB HW RAID10, dual 24" Acer X243H,
Gigabyte nVidia GTX 680 Super Overclock
User avatar
catweazel
Level 7
Level 7
 
Posts: 1656
Joined: Fri Oct 12, 2012 9:44 pm

Re: 3.2.0-4-686-pae Kernel breaks Virtualbox

Postby eanfrid on Sun Sep 15, 2013 3:23 am

@catweasel:
Vontux wrote:core 2 duo system

@vontux: as long as you don't tell us the exact model with
Code: Select all
inxi -C
the correct answer may vary :)
No, Linux is not a Windows clone for free - Before asking any question here...
"Never attribute to malice that which is adequately explained by stupidity." (Hanlon's razor)

Debian GNU/Linux Wheezy 64bit w/custom 3.12 kernel - MATE 1.8
User avatar
eanfrid
Level 6
Level 6
 
Posts: 1215
Joined: Mon Apr 30, 2012 2:49 am
Location: France

Re: 3.2.0-4-686-pae Kernel breaks Virtualbox

Postby Vontux on Sun Sep 15, 2013 3:38 am

eanfrid wrote:@catweasel:
Vontux wrote:core 2 duo system

@vontux: as long as you don't tell us the exact model with
Code: Select all
inxi -C
the correct answer may vary :)

When I originally bought the system, it had 32 bit Windows Xp installed. I guess because of that I just assumed it was a 32 bit system, but based on the specs for the processor that "inxi -C ", showed my system to have, it is indeed a 64 bit system. I may indeed just go ahead and reinstall with a 64 bit architecture. In general terms, do you think I will indeed experience significant performance improvement if I do? Also below is what inxi showed, and the link to the specs that shows it is indeed a 64 bit processor I'm running.

Code: Select all
CPU:       Dual core Intel Core2 Duo P8600 (-MCP-) cache 3072 KB flags (lm nx sse sse2 sse3 sse4_1 ssse3 vmx)
           Clock Speeds: (1) 800.00 MHz (2) 800.00 MHz

Specs: http://ark.intel.com/products/35568/Intel-Core2-Duo-Processor-P8600-3M-Cache-2_40-GHz-1066-MHz-FSB
Vontux
Level 1
Level 1
 
Posts: 29
Joined: Mon Mar 02, 2009 3:45 pm

Re: [SOLVED]3.2.0-4-686-pae Kernel breaks Virtualbox

Postby eanfrid on Sun Sep 15, 2013 3:58 am

As I said above, it is really worth installing a 64bit OS on this platform only if you have more than 4GB of RAM onboard (actually at least 8GB, IMO). If you don't have some spare RAM to add to this computer and go up to a total amount of 8GB, stick with 32bit.
No, Linux is not a Windows clone for free - Before asking any question here...
"Never attribute to malice that which is adequately explained by stupidity." (Hanlon's razor)

Debian GNU/Linux Wheezy 64bit w/custom 3.12 kernel - MATE 1.8
User avatar
eanfrid
Level 6
Level 6
 
Posts: 1215
Joined: Mon Apr 30, 2012 2:49 am
Location: France

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 2 guests