Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jan 2009 23:09:58 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Pending MFC of drm updates
Message-ID:  <1231301398.7992.14.camel@wombat.2hip.net>
In-Reply-To: <20090107021725.3d43a49f.torfinn.ingolfsen@broadpark.no>
References:  <1231263380.57454.23.camel@squirrel.corp.cox.com> <20090107012457.f9ce6dba.torfinn.ingolfsen@broadpark.no> <20090107021725.3d43a49f.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-2pZO+4G5yk/18Sxb31qs
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2009-01-07 at 02:17 +0100, Torfinn Ingolfsen wrote:
> On Wed, 07 Jan 2009 01:24:57 +0100
> Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> wrote:
>=20
> I forgot to tell that I fixed the Makefile in sys/modules/drm/i915
> manually.
>=20
> > 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
> >=20
> > Anyway, a 'make kernel' fails:
>=20
> 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
>=20
> 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.)
>=20
> 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.

Nope, sorry no Nvidia support yet.  nouveau is on my list to work on,
but it's a long list...

robert.

> HTH
>=20
> References:
> 1) http://tingox.googlepages.com/asus_v2-m3n8200
> 2) http://tingox.googlepages.com/asus_v2-m3n8200_freebsd

--=-2pZO+4G5yk/18Sxb31qs
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEABECAAYFAklkKxYACgkQM4TrQ4qfROONwQCgiHig52gtRe/BZa8oLp0FRo0q
6UcAnRKzRQHsMWe9GnjCtq2B2Y91Lml9
=CHFS
-----END PGP SIGNATURE-----

--=-2pZO+4G5yk/18Sxb31qs--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1231301398.7992.14.camel>