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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
11-06-2004, 05:21 PM
|
#1
|
LQ Newbie
Registered: Aug 2004
Posts: 26
Rep:
|
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.
|
|
|
11-06-2004, 07:09 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Maybe you didn't symlink the cko kernel to linux,
and the header vmware finds belongs to the original
version?
Cheers,
Tink
|
|
|
11-06-2004, 08:27 PM
|
#3
|
LQ Newbie
Registered: Aug 2004
Posts: 26
Original Poster
Rep:
|
yea i did that. linked it to the cko source. it seems as if it doesn't recognizes it....
|
|
|
11-06-2004, 10:42 PM
|
#4
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Did you give that cko kernel an extraversion
that shows in uname -a?
Cheers,
Tink
|
|
|
11-06-2004, 10:48 PM
|
#5
|
LQ Newbie
Registered: Aug 2004
Posts: 26
Original Poster
Rep:
|
prolly not, cuz i dont understand what you mean by that.
what do you mean by that?
|
|
|
11-07-2004, 12:02 AM
|
#6
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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 =
Cheers,
Tink
|
|
|
11-07-2004, 09:57 AM
|
#7
|
LQ Newbie
Registered: Aug 2004
Posts: 26
Original Poster
Rep:
|
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
|
|
|
11-07-2004, 10:36 AM
|
#8
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
The head is fine, the current kernel just isn't the cko :}
/me wonders about the power of imagination ;)
Cheers,
Tink
|
|
|
11-07-2004, 12:00 PM
|
#9
|
LQ Newbie
Registered: Aug 2004
Posts: 26
Original Poster
Rep:
|
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.
|
|
|
11-07-2004, 04:37 PM
|
#10
|
LQ Newbie
Registered: Aug 2004
Posts: 26
Original Poster
Rep:
|
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...
|
|
|
11-07-2004, 09:46 PM
|
#11
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Hmmmm - did you ask vmware support?
Cheers,
Tink
|
|
|
11-07-2004, 11:41 PM
|
#12
|
LQ Newbie
Registered: Aug 2004
Posts: 26
Original Poster
Rep:
|
no.  not yet
tho i have looked round some forums as of, havn't found anything
|
|
|
11-09-2004, 05:38 PM
|
#13
|
LQ Newbie
Registered: Aug 2004
Posts: 26
Original Poster
Rep:
|
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.
|
|
|
11-09-2004, 11:51 PM
|
#14
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
11-10-2004, 04:46 PM
|
#15
|
LQ Newbie
Registered: Aug 2004
Posts: 26
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|