Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2018 22:17:02 +0200
From:      Niclas Zeising <zeising+freebsd@daemonic.se>
To:        sgk@troutmask.apl.washington.edu
Cc:        Johannes Lundberg <johalun0@gmail.com>, freebsd-x11@freebsd.org
Subject:   Re: fence_wait returned with error -512
Message-ID:  <b8e08aee-c532-b92c-26d8-0f82f586cb2e@daemonic.se>
In-Reply-To: <20180927190409.GA27756@troutmask.apl.washington.edu>
References:  <20180926170105.GA8906@troutmask.apl.washington.edu> <CAECmPwvFXoBqjC7YZ3ZE=W6u0YHmSGAHuJ9hzLDwC2=VnG7fDQ@mail.gmail.com> <20180926232051.GA13774@troutmask.apl.washington.edu> <CAECmPwt8ptE1P_-2qY23KFfnbPAE9Nj=-2cXFVGMRCSUqb_pJw@mail.gmail.com> <20180927014128.GA14820@troutmask.apl.washington.edu> <daf96fc7-3902-6461-a1b6-554ed24f1518@daemonic.se> <20180927190409.GA27756@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/27/18 9:04 PM, Steve Kargl wrote:
> On Thu, Sep 27, 2018 at 09:13:46AM +0200, Niclas Zeising wrote:
>> On 9/27/18 3:41 AM, Steve Kargl wrote:
>>> On Wed, Sep 26, 2018 at 04:45:10PM -0700, Johannes Lundberg wrote:
>>>>
>>>> I=E2=80=99ve attached what I think is the correct ports patch for th=
is if you want
>>>> to build yourself. I don=E2=80=99t know when the package will be upd=
ated but it
>>>> will definitely be before 12 is released.
>>>>
>>>> You can also always clone the git repo and build from there for late=
st
>>>> version.
>>>> github.com/freebsddesktop/drm-legacy
>>>>
>>>> I don=E2=80=99t have the hardware to test myself so I=E2=80=99d be g=
rateful if you can give
>>>> the patch a try and see if firmware loading works.
>>>>
>>>
>>> I'll see if I can pull the source tomorrow.
>>>
>>
>> Hi!
>> The port has been updated with the latest version of drm-legacy-kmod. =
 I
>> don't exactly know when packages are updated, but you can build it fro=
m
>> ports in the meantime.
>> Regards
>=20
> Ugh.  Seems I have to build a new world. :(
>=20
>=20
> --- i915_drv.o ---
> /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-226834b/src/dev/drm=
2/i915/i915_drv.c:1240:26: error: too few arguments provided to function-=
like macro invocation
>      nitems(pciidlist) - 1);
>                           ^
> /usr/src/sys/sys/module.h:181:9: note: macro 'MODULE_PNP_INFO' defined =
here
> #define MODULE_PNP_INFO(d, b, unique, t, l, n)                         =
 \
>          ^
> /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-226834b/src/dev/drm=
2/i915/i915_drv.c:1239:1: error: type specifier missing, defaults to 'int=
' [-Werror,-Wimplicit-int]
> MODULE_PNP_INFO("U32:vendor;U32:device;P:#;D:#", vgapci, i915, pciidlis=
t,
> ^
> 2 errors generated.
> *** [i915_drv.o] Error code 1
>=20
> make[4]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy=
-226834b/drm2/i915kms
> 1 error
>=20
> make[4]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy=
-226834b/drm2/i915kms
> *** [all_subdir_drm2/i915kms] Error code 2
>=20
> make[3]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy=
-226834b/drm2
> 1 error
>=20
> make[3]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy=
-226834b/drm2
> *** [all_subdir_drm2] Error code 2
>=20
> make[2]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy=
-226834b
> 1 error
>=20
> make[2]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy=
-226834b
> =3D=3D=3D> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the fail=
ure to
> the maintainer.
> *** Error code 1
>=20
> Stop.
> make[1]: stopped in /usr/ports/graphics/drm-legacy-kmod
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/ports/graphics/drm-legacy-kmod
>=20
> =3D=3D=3D>>> make build failed for graphics/drm-legacy-kmod
> =3D=3D=3D>>> Aborting update
>=20
>=20
> =3D=3D=3D>>> You can restart from the point of failure with this comman=
d line:
>         portmaster <flags> graphics/drm-legacy-kmod
>=20
> This command has been saved to /root/tmp/portmasterfail.txt
>=20
>=20

Or someone broke something inadvertently.  Which revision are you=20
currently on?
Regards
--=20
Niclas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b8e08aee-c532-b92c-26d8-0f82f586cb2e>