LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-16-2009, 12:12 AM   #16
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Original Poster
Rep: Reputation: 129Reputation: 129

Fixed after patching.
Apparently they renamed CONFIG_PERF_COUNTERS to CONFIG_PERF_EVENTS in 2.6.32. Hence vbox couldn't detect it.

Regards
 
Old 12-16-2009, 04:23 AM   #17
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by ~sHyLoCk~ View Post
Fixed after patching.
Apparently they renamed CONFIG_PERF_COUNTERS to CONFIG_PERF_EVENTS in 2.6.32. Hence vbox couldn't detect it.

Regards
They didn't actually rename it ... there are two options:
Code:
mingdao@silas64:~$ zgrep 'CONFIG_PERF' /proc/config.gz 
CONFIG_PERF_EVENTS=y
CONFIG_PERF_COUNTERS=y
And you see that apparently I didn't hit the bug in VirutalBox
because I have them both built in. As it says in the kernel:
Quote:
Kernel performance counters (old config option) (PERF_COUNTERS)

CONFIG_PERF_COUNTERS:

This config has been obsoleted by the PERF_EVENTS
config option - please see that one for details.

It has no effect on the kernel whether you enable
it or not, it is a compatibility placeholder.
This is why I read the HELP on every NEW option when I build using
new kernel source ... because people coding apps such as VirtualBox
don't always check new kernel options and give us bugs.
 
1 members found this post helpful.
Old 12-16-2009, 04:27 AM   #18
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Original Poster
Rep: Reputation: 129Reputation: 129
Wow, Thanks Bruce, that's some good advice+info. Mine is actually not set. Maybe it got stripped while I did "localmodconfig" and then I didn't pay attention while revising with menuconfig. Usually I also read every HELP while building. Lesson learnt.

Code:
 $ zgrep 'CONFIG_PERF' /proc/config.gz
CONFIG_PERF_EVENTS=y
# CONFIG_PERF_COUNTERS is not set
Regards

Last edited by ~sHyLoCk~; 12-16-2009 at 04:31 AM.
 
  


Reply

Tags
error, modules, virtualbox


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox binary 3.0.0 packaging issue cowyn Slackware 6 07-01-2009 07:16 AM
virtualbox or virtualbox ose manuleka Linux - Software 2 06-11-2009 02:56 PM
Virtualbox modules/app. version issue aquaboot Debian 6 12-13-2008 09:49 AM
virtualbox j d Linux - Software 22 11-05-2007 01:16 AM
VirtualBox jestinjoy Linux - Newbie 5 09-08-2007 06:37 PM


All times are GMT -5. The time now is 09:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration