Kernel sloppiness.

Steve Ellis steve.ellis at sympatico.ca
Thu Mar 11 01:22:57 UTC 2004


To get vmware to work after applying the patch
edit vmware-config.pl to ignore the page_offset error. It is not elegant
but works :-(

Locate the function below and rem the line      return '';

$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 '';
    }
  }



On Thu, 2004-03-11 at 10:23 +1000, Gavin Graham wrote:
> I have tried every rawhide kernel since the release of Fedora Core 2
> test1 one and I have the following two problems with every one of them
> after 2.6.3-1.116
> 
> 1) NVidia drivers build but fail to work. I end up with just a black
> screen. It looks like it has something to do with AGP failing.
> 2) VMware will not build its drivers even after vmware has been patched.
> It says that it cant find 'linux' 'asm' under the kernel source include
> directory.
> 
> When I downgrade to 2.6.3-1.116, both these problems go away and
> eveything will build.
> 
> Regards,
> -- 
> Gavin Graham
> Systems Operations Supervisor
> Orrcon Information Technology
> Orrcon Pty Ltd
> P:  07 32740549    E: g.graham at orrcon.com.au
> F:  07 32740691    M: 0409 897288
> WWW: www.orrcon.com.au
> 
> 
> -- 
> fedora-test-list mailing list
> fedora-test-list at redhat.com
> To unsubscribe: 
> http://www.redhat.com/mailman/listinfo/fedora-test-list





More information about the fedora-test-list mailing list