LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-06-2004, 05:21 PM   #1
cuchumino
LQ Newbie
 
Registered: Aug 2004
Posts: 26

Rep: Reputation: 15
vmware and cko kernel patch don't get along?


im having problems running vmware with the cko patch. Vmware asks me to run vmware-config.pl, and when i do, i get this....

Code:
 
The kernel defined by this directory of header files does not have the same
address space size as your running kernel.
 
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
When i patched cko in the 2.6.9 source, i did it on a clean 2.6.9 source, and after it patched, i called it linux-2.6.9-cko2 and then compiled, in order to prevent it from screwing up the good 2.6.9 source.

Any help on how to get it running? Cko is a great patch, that imho really makes linux quicker. I wouldn't want to roll back to 2.6.9 just cuz i can't use vmware on it.

Last edited by cuchumino; 11-06-2004 at 05:22 PM.
 
Old 11-06-2004, 07:09 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Maybe you didn't symlink the cko kernel to linux,
and the header vmware finds belongs to the original
version?


Cheers,
Tink
 
Old 11-06-2004, 08:27 PM   #3
cuchumino
LQ Newbie
 
Registered: Aug 2004
Posts: 26

Original Poster
Rep: Reputation: 15
yea i did that. linked it to the cko source. it seems as if it doesn't recognizes it....
 
Old 11-06-2004, 10:42 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Did you give that cko kernel an extraversion
that shows in uname -a?


Cheers,
Tink
 
Old 11-06-2004, 10:48 PM   #5
cuchumino
LQ Newbie
 
Registered: Aug 2004
Posts: 26

Original Poster
Rep: Reputation: 15
Talking

prolly not, cuz i dont understand what you mean by that.

what do you mean by that?
 
Old 11-07-2004, 12:02 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Well ... when you compile the new (patched) kernel you
copied it to a new directory to maintain the old one untouched.

However, the Makefile defines as who/what the kernel
identifies itself in e.g. the uname command, or where its
modules come to live. Basically you'd use extraversion
to make sure that you're actually using the kernel you
think you are using. :)

Examples:
Code:
cd /usr/src/linux
$ head -n 4 Makefile 
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 27
EXTRAVERSION =
Code:
$ uname -r
2.4.27


Cheers,
Tink
 
Old 11-07-2004, 09:57 AM   #7
cuchumino
LQ Newbie
 
Registered: Aug 2004
Posts: 26

Original Poster
Rep: Reputation: 15
hmm is this right?

Code:
bash-2.05b# head -n 4 Makefile
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 9
EXTRAVERSION =-cko2
bash-2.05b# uname -r
2.6.9
 
Old 11-07-2004, 10:36 AM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
The head is fine, the current kernel just isn't the cko :}

/me wonders about the power of imagination ;)



Cheers,
Tink
 
Old 11-07-2004, 12:00 PM   #9
cuchumino
LQ Newbie
 
Registered: Aug 2004
Posts: 26

Original Poster
Rep: Reputation: 15
lol, i was currently using the 2.6.9 kernel. Its just that at the moment i need to use vmware. I will post as soon as i don't need to use vmware and can log into the cko kernel.
 
Old 11-07-2004, 04:37 PM   #10
cuchumino
LQ Newbie
 
Registered: Aug 2004
Posts: 26

Original Poster
Rep: Reputation: 15
this is what im getting, i am currently running the 2.6.9-cko kernel

Code:
bash-2.05b#  head -n 4 Makefile
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 9
EXTRAVERSION =-cko2
bash-2.05b# uname -r
2.6.9-cko2
it seems to be ok. dunno what to do...
 
Old 11-07-2004, 09:46 PM   #11
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hmmmm - did you ask vmware support?


Cheers,
Tink
 
Old 11-07-2004, 11:41 PM   #12
cuchumino
LQ Newbie
 
Registered: Aug 2004
Posts: 26

Original Poster
Rep: Reputation: 15
no. not yet

tho i have looked round some forums as of, havn't found anything
 
Old 11-09-2004, 05:38 PM   #13
cuchumino
LQ Newbie
 
Registered: Aug 2004
Posts: 26

Original Poster
Rep: Reputation: 15
found the solution.... i posted it here at 8dimensional.

here is what i posted there

Code:
How do I get Vmware
First install the Vmware RPM (or tarball) and then open up vmware-config.pl and look for the section:

$header_page_offset = direct_command(
shell_string($gHelper{'echo'}) . ' '
. shell_string('#define __KERNEL__' . "\n" . '#include
<
asm/page.h
>
'
. "\n" . $pattern . ' __PAGE_OFFSET') . ' | '
. shell_string($gHelper{'gcc'}) . ' ' . shell_string('-I' . $answer)
. ' -E - | ' . shell_string($gHelper{'grep'}) . ' '
. shell_string($pattern));
chomp($header_page_offset);
$header_page_offset =~ s/^$pattern \(0x([0-9a-fA-F]{8}).*$/$1/;
if ($header_page_offset =~ /[0-9a-fA-F]{8}/) {
# We found a valid page offset
if (not (lc($header_page_offset) eq lc($gSystem{'page_offset'}))) {
if ($source eq 'user') {
print wrap('The kernel defined by this directory of header files
does ' . 'not have the same address space size as your
running ' . 'kernel.' . "\n\n", 0);
}
return '';
}
}


and comment the final return statement. Once you have that download the any.any update from here and untar it. Go into the directory and run runme.pl and follow instructions.

if there's any problems with me posting a link to another forum, plz let me know.

thanx for your time and patience.

Last edited by cuchumino; 11-16-2004 at 08:42 PM.
 
Old 11-09-2004, 11:51 PM   #14
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
No problem ... this is a fair enough thing to do,
assuming that this is not your own site ;)


Problems with links to other sites only arise if
people come here to advertise their own site.
(this statement is cut rather short and incomplete,
look at the spirit it's said in, not the words).



Cheers,
Tink
 
Old 11-10-2004, 04:46 PM   #15
cuchumino
LQ Newbie
 
Registered: Aug 2004
Posts: 26

Original Poster
Rep: Reputation: 15
lol yea spammers suck.

the thing is that i had put out this post at various forums, such as fedora forums (jsut to name one), but i got no reply there.

Im happy here a lq that i at least got some response. i think im gonna post sommore here.

And really, thanx again for posting and lending a helping hand.
 
  


Reply


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
Con Kolivas 1G Lowmem patch vs. VMware? IamI Slackware 1 11-16-2005 02:14 PM
Unable to patch 2.6.11.7 kernel with Reiser4 mm patch SlackwareInAZ Slackware 9 04-26-2005 06:33 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
VMware Patch update Error: Unknown Version Guitarist88 Linux - Software 2 05-15-2004 11:53 AM
Patch VMware Tools aero Linux - Software 0 04-06-2003 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration