Linux - SoftwareThis 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.
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.
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.
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 =
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.
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.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.