Re: Kernel 2059 from Dave Jones fixes nvidia.ko loading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18/03/06, Jim Bevier <jim@xxxxxxxxx> wrote:
> Well, kernel 2059 fixes the nvidia.ko loading problem.
nice!

>It also still works for VMware,<snip>
since when?
I can't use vmplayer with 2.6.15-1.2041_FC5, because of

The kernel defined by this directory of header files does not have the same
address space size as your running kernel.

I've read this topic:
https://www.redhat.com/archives/fedora-test-list/2006-February/msg00701.html
Patched vmmon and vmnet, all went fine except patching vmware-config.pl:

patch unexpectedly ends in middle of line
Hunk #1 FAILED at 1969.
1 out of 1 hunk FAILED -- saving rejects to file /usr/bin/vmware-config.pl.rej
[root@fbi vmware]# cat /usr/bin/vmware-config.pl.rej
***************
*** 1969,1976 ****
     . ' -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 (defined($gSystem{'page_offset'}) and

--- 1969,1976 ----
     . ' -E - | ' . shell_string($gHelper{'grep'}) . ' '
     . shell_string($pattern));
  chomp($header_page_offset);
+   if ($header_page_offset =~ /^$pattern \(?0x([0-9a-fA-F]{8,})/) {
+     $header_page_offset = $1;
     # We found a valid page offset
     if (defined($gSystem{'page_offset'}) and

patch itself:
--- vmware-config.pl.old        2005-12-15 21:55:24.000000000 -0800
+++ vmware-config.pl    2006-02-04 16:53:06.000000000 -0800
@@ -1969,8 +1969,8 @@
    . ' -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,}/) {
+  if ($header_page_offset =~ /^$pattern \(?0x([0-9a-fA-F]{8,})/) {
+    $header_page_offset = $1;
    # We found a valid page offset
    if (defined($gSystem{'page_offset'}) and
        not (lc($header_page_offset) eq lc($gSystem{'page_offset'}))) {


--
Cheers,
Filip
http://fedora.linux.duke.edu/wiki/FilipTsachev

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]