Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Linus breaks nvidia again
Date: Sun, 29 Jul 2012 11:48:04
Message-Id: jv37q4$v0u$1@dough.gmane.org
1 For you weirdos who track Linus's git repo every day, and who use the
2 proprietary nvidia-drivers, you need to make this change to the nvidia
3 code for their kernel module (nvidia.ko):
4
5 --- /usr/src/nv/nv-acpi.c.orig 2012-07-29 04:09:03.336096276 -0700
6 +++ /usr/src/nv/nv-acpi.c 2012-07-29 04:09:21.260096633 -0700
7 @@ -300,7 +300,7 @@
8 if (pNvAcpiObject->notify_handler_installed)
9 {
10 // no status returned for this function
11 - acpi_os_wait_events_complete(NULL);
12 + acpi_os_wait_events_complete();
13
14 // remove event notifier
15 status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, nv_acpi_event);
16
17 ====================================
18
19 Note that I've stashed the nvidia code in /usr/src/nv because I do recompile
20 it every day after I build the latest kernel from Linus. This way I don't
21 have to re-patch the nvidia code every day because I don't have to reinstall
22 nvidia-drivers every day. (Just the kernel module part, nvidia.ko)
23
24 I know there are some of you who know how to change ebuilds to apply your
25 own local patches, so if you'd like to remind me how to do that I'd be
26 grateful.

Replies

Subject Author
Re: [gentoo-user] Linus breaks nvidia again "Canek Peláez Valdés" <caneko@×××××.com>