Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Oct 2020 01:54:48 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Cy Schubert <Cy.Schubert@cschubert.com>, Mateusz Guzik <mjguzik@gmail.com>
Cc:        Emmanuel Vadot <manu@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r366381 - head/sys/modules/pwm
Message-ID:  <50246694-58eb-0a68-7c9f-309ae2777e08@FreeBSD.org>
In-Reply-To: <202010030412.0934C1Mu015832@slippy.cwsent.com>
References:  <202010021956.092Jus8I080666@repo.freebsd.org> <CAGudoHECuyebLK5197TBV4MXAHOhTWE0B5yNBMvWRPxy5zN7fQ@mail.gmail.com> <202010030412.0934C1Mu015832@slippy.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 20. 10. 3., Cy Schubert wrote:
> In message <CAGudoHECuyebLK5197TBV4MXAHOhTWE0B5yNBMvWRPxy5zN7fQ@mail.gmail.c
> om>
> , Mateusz Guzik writes:
>> On 10/2/20, Emmanuel Vadot <manu@freebsd.org> wrote:
>>> Author: manu
>>> Date: Fri Oct  2 19:56:54 2020
>>> New Revision: 366381
>>> URL: https://svnweb.freebsd.org/changeset/base/366381
>>>
>>> Log:
>>>   pwm_backlight: Restrict module to armv7 and aarch64
>>>
>>>   Both powerpc64 and riscv uses fdt but don't use EXT_RESOURCES.
>>>
>>>   Reported by:	jenkins
>>>
>>> Modified:
>>>   head/sys/modules/pwm/Makefile
>>>
>>> Modified: head/sys/modules/pwm/Makefile
>>> ===========================================================================
>> ===
>>> --- head/sys/modules/pwm/Makefile	Fri Oct  2 19:16:06 2020	(r36638
>> 0)
>>> +++ head/sys/modules/pwm/Makefile	Fri Oct  2 19:56:54 2020	(r36638
>> 1)
>>> @@ -6,8 +6,10 @@ SUBDIR = \
>>>  	pwmbus \
>>>  	pwmc \
>>>
>>> +.if ${MACHINE_ARCH} == "armv7" || ${MACHINE_ARCH} == "aarch64"
>>>  .if !empty(OPT_FDT)
>>>  SUBDIR += pwm_backlight
>>> +.endif
>>>  .endif
>>>
>>>  .include <bsd.subdir.mk>
>>
>> I don't know which commits are to blame, but the following is broken
>> in tinderbox:
>> arm GENERIC kernel failed, check _.arm.GENERIC for details
>> arm GENERIC-NODEBUG kernel failed, check _.arm.GENERIC-NODEBUG for details
>> arm TEGRA124 kernel failed, check _.arm.TEGRA124 for details
>> arm ARMADA38X kernel failed, check _.arm.ARMADA38X for details
>> arm VYBRID kernel failed, check _.arm.VYBRID for details
>> arm GENERIC-MMCCAM kernel failed, check _.arm.GENERIC-MMCCAM for details
>> arm LINT kernel failed, check _.arm.LINT for details
>> arm IMX53 kernel failed, check _.arm.IMX53 for details
>> arm IMX6 kernel failed, check _.arm.IMX6 for details
>> arm EFIKA_MX kernel failed, check _.arm.EFIKA_MX for details
>> arm ZEDBOARD kernel failed, check _.arm.ZEDBOARD for details
> 
> And on amd64 my laptop is useless now.
> 
> Oct  2 18:23:58 slippy kernel: link_elf_obj: symbol 
> acpi_video_get_backlight_type undefined
> Oct  2 18:23:58 slippy kernel: Warning: memory type debugfsint leaked 
> memory on destroy (2 allocations, 80 bytes leaked).
> Oct  2 18:23:59 slippy kernel: linker_load_file: /boot/modules/i915kms.ko - 
> unsupported file type
> 
> And this is also after updating drm-current-kmod.

Create files directory, add the attached patch there, and try again.

Jung-uk Kim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50246694-58eb-0a68-7c9f-309ae2777e08>