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

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

 




----- Original Message ----- From: "Filip Tsachev" <filip.tsachev@xxxxxxxxxxxxxxxxx> To: "For testers of Fedora Core development releases" <fedora-test-list@xxxxxxxxxx>
Sent: Saturday, March 18, 2006 7:36 AM
Subject: Re: Kernel 2059 from Dave Jones fixes nvidia.ko loading


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

Filip

It looks like you have some bad characters in the patch.  Edit it with
your favorite editor or try the patch again.  Here is the stuff again:

From a Tom London message on this list:

There is a bug in the vmware-config.pl script that is exposed by
changes to the newer kernel headers.

I've reported this to vmware:
http://www.vmware.com/community/thread.jspa?threadID=31877&tstart=0

Here is the patch described there:

--- 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'}))) {


I am able to build a vmware 5.5 system with a couple of patches to vmware.
One is in the makefile.kernel in vmmon and vmnet directory.  The other is
the patch above.  See the vmware forum for the latest.  I am also building
on a x86_64 box.  Also make sure you have the kernel-devel rpm installed.

Jim



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


--
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]