Date: Wed, 07 Jan 2009 02:17:25 +0100 From: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> To: freebsd-stable@freebsd.org Subject: Re: Pending MFC of drm updates Message-ID: <20090107021725.3d43a49f.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20090107012457.f9ce6dba.torfinn.ingolfsen@broadpark.no> References: <1231263380.57454.23.camel@squirrel.corp.cox.com> <20090107012457.f9ce6dba.torfinn.ingolfsen@broadpark.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 07 Jan 2009 01:24:57 +0100 Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> wrote: I forgot to tell that I fixed the Makefile in sys/modules/drm/i915 manually. > Apparently patch gets confuseed when it finds a file with the same > name in the current directory (which was /usr/src), or perhaps I > don't know how to tell patch how to find the right file. > I just did: > cd /usr/src > patch < /dir/name/patchfile > > Anyway, a 'make kernel' fails: Which is no wonder, because patch misplaced more files: root@kg-v2# pwd /usr/src root@kg-v2# ll *.c *c.orig *.h *h.orig -rw-r--r-- 1 root wheel 1650 Jan 7 01:09 drm_internal.h -rw-r--r-- 1 root wheel 0 Jan 7 01:09 drm_internal.h.orig -rw-r--r-- 1 root wheel 16455 Jan 7 01:09 i915_suspend.c -rw-r--r-- 1 root wheel 0 Jan 7 01:09 i915_suspend.c.orig -rw-r--r-- 1 root wheel 59118 Jan 7 01:09 radeon_microcode.h -rw-r--r-- 1 root wheel 0 Jan 7 01:09 radeon_microcode.h.orig Is ther a "secret handshake" to make patch put the files in their correct place? (Except for reading through the whole patchfile to determine if all touched filews are in the same directory.) For now I just mv'ed the files into place. Anyway, now the new kernel builds, installs and works correctly. It didn't pick up any drm, but I'm not sure that it should either. This machine[1] has a GeForce 8200 chipset. More info about FreeBSD on this machine here[2], including dmesgs before and after, etc. HTH References: 1) http://tingox.googlepages.com/asus_v2-m3n8200 2) http://tingox.googlepages.com/asus_v2-m3n8200_freebsd -- Regards, Torfinn Ingolfsen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090107021725.3d43a49f.torfinn.ingolfsen>