Re: Problem with drm
Yes the port is up to date and I did rebuild from ports drm-current-kmod gpu-firmware-kmod and drm-kmodFilippo On Friday, January 15, 2021, 10:29:38 AM GMT+1, Hans Petter Selasky wrote: On 1/15/21 10:11 AM, Filippo Moretti wrote: > After upgrading my custom kernel I get the following error (that did not > occur before hid):hidbus0: on usbhid0 > link_elf_obj: symbol linux_pci_get_class undefined > Warning: memory type debugfsint leaked memory on destroy (2 allocations, 80 > bytes leaked). > linker_load_file: /boot/modules/radeonkms.ko - unsupported file type > > Also the generic kernel was working fine before I upgraded my kernel STING > now it no longer works and Xorg start with scfb instead of radeon kms.After > completing installworld I always rebuild from ports drm-current-kmod > gpu-firmware-kmod drm-kmod.SincerelyFilippo Is your ports updated to the latest? Looks like radeonkms was not re-build after upgrading and installing the sources. --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Problem with drm
After upgrading my custom kernel I get the following error (that did not occur before hid):hidbus0: on usbhid0 link_elf_obj: symbol linux_pci_get_class undefined Warning: memory type debugfsint leaked memory on destroy (2 allocations, 80 bytes leaked). linker_load_file: /boot/modules/radeonkms.ko - unsupported file type Also the generic kernel was working fine before I upgraded my kernel STING now it no longer works and Xorg start with scfb instead of radeon kms.After completing installworld I always rebuild from ports drm-current-kmod gpu-firmware-kmod drm-kmod.SincerelyFilippo ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Problem with drm
On 1/15/21 10:11 AM, Filippo Moretti wrote: After upgrading my custom kernel I get the following error (that did not occur before hid):hidbus0: on usbhid0 link_elf_obj: symbol linux_pci_get_class undefined Warning: memory type debugfsint leaked memory on destroy (2 allocations, 80 bytes leaked). linker_load_file: /boot/modules/radeonkms.ko - unsupported file type Also the generic kernel was working fine before I upgraded my kernel STING now it no longer works and Xorg start with scfb instead of radeon kms.After completing installworld I always rebuild from ports drm-current-kmod gpu-firmware-kmod drm-kmod.SincerelyFilippo Is your ports updated to the latest? Looks like radeonkms was not re-build after upgrading and installing the sources. --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Problem compiling drm-current-kmod
Good morning, my system:[root@STING /usr/ports/graphics/drm-current-kmod]# uname -a FreeBSD STING 13.0-CURRENT FreeBSD 13.0-CURRENT #16 main-c255860-g2903606b606: Tue Jan 12 04:59:16 CET 2021 root@STING:/usr/obj/usr/src/amd64.amd64/sys/STING amd64 I get the following error while trying to upgrade drm-current-kmod from ports:/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_6/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:4009:6: error: implicit declaration of function 'pci_is_root_bus' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (pci_is_root_bus(adev->pdev->bus)) { ^ /usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_6/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:4009:6: note: did you mean 'pci_set_bus'? /usr/src/sys/dev/pci/pcivar.h:385:1: note: 'pci_set_bus' declared here PCI_ACCESSOR(bus, BUS, uint8_t) ^ /usr/src/sys/dev/pci/pcivar.h:371:2: note: expanded from macro 'PCI_ACCESSOR' __BUS_ACCESSOR(pci, var, PCI, ivar, type) ^ /usr/src/sys/sys/bus.h:812:22: note: expanded from macro '__BUS_ACCESSOR' static __inline void varp ## _set_ ## var(device_t dev, type t) \ ^ :77:1: note: expanded from here pci_set_bus ^ 1 error generated.*** Error code 1 Stop. make[4]: stopped in /usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_6/amd/amdgpu *** Error code 1 *** Error code 1 *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/drm-current-kmod *** Error code 1 Stop. make: stopped in /usr/ports/graphics/drm-current-kmod Filippo ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Problem compiling drm-current-kmod
On Wed, 13 Jan 2021 11:45:31 +0100 Emmanuel Vadot wrote: > On Wed, 13 Jan 2021 10:32:01 + (UTC) > Filippo Moretti wrote: > > > Good morning, my system:[root@STING > > /usr/ports/graphics/drm-current-kmod]# uname -a > > FreeBSD STING 13.0-CURRENT FreeBSD 13.0-CURRENT #16 > > main-c255860-g2903606b606: Tue Jan 12 04:59:16 CET 2021 > > root@STING:/usr/obj/usr/src/amd64.amd64/sys/STING amd64 > > > > I get the following error while trying to upgrade drm-current-kmod from > > ports:/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_6/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:4009:6: > > error: implicit declaration of function 'pci_is_root_bus' is invalid in > > C99 [-Werror,-Wimplicit-function-declaration] > > if (pci_is_root_bus(adev->pdev->bus)) { > > ^ > > /usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_6/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:4009:6: > > note: did you mean 'pci_set_bus'? > > /usr/src/sys/dev/pci/pcivar.h:385:1: note: 'pci_set_bus' declared here > > PCI_ACCESSOR(bus, BUS, uint8_t) > > ^ > > /usr/src/sys/dev/pci/pcivar.h:371:2: note: expanded from macro > > 'PCI_ACCESSOR' > > __BUS_ACCESSOR(pci, var, PCI, ivar, type) > > ^ > > /usr/src/sys/sys/bus.h:812:22: note: expanded from macro '__BUS_ACCESSOR' > > static __inline void varp ## _set_ ## var(device_t dev, type t) \ > > ^ > > :77:1: note: expanded from here > > pci_set_bus > > ^ > > 1 error generated.*** Error code 1 > > > > Stop. > > make[4]: stopped in > > /usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_6/amd/amdgpu > > *** Error code 1 > > *** Error code 1 > > *** Error code 1 > > > > Stop. > > make[1]: stopped in /usr/ports/graphics/drm-current-kmod > > *** Error code 1 > > > > Stop. > > make: stopped in /usr/ports/graphics/drm-current-kmod > > > > Filippo > > ___ > > freebsd-current@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" > > Sorry that's my fault. > https://github.com/freebsd/drm-kmod/blob/master/linuxkpi/gplv2/include/linux/pci.h#L121 > > This if 0 should have been #if __FreeBSD_version < 1300135 > I'll check if I've missed more and update the port. > In the meantime either update your kernel after commit > 35a39dc5b34962081eeda8dbcf0b99a31585499b or wait that I fix this. Fixed in r561457. -- Emmanuel Vadot ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Problem compiling drm-current-kmod
On Wed, 13 Jan 2021 10:32:01 + (UTC) Filippo Moretti wrote: > Good morning, my system:[root@STING > /usr/ports/graphics/drm-current-kmod]# uname -a > FreeBSD STING 13.0-CURRENT FreeBSD 13.0-CURRENT #16 > main-c255860-g2903606b606: Tue Jan 12 04:59:16 CET 2021 > root@STING:/usr/obj/usr/src/amd64.amd64/sys/STING amd64 > > I get the following error while trying to upgrade drm-current-kmod from > ports:/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_6/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:4009:6: > error: implicit declaration of function 'pci_is_root_bus' is invalid in C99 > [-Werror,-Wimplicit-function-declaration] > if (pci_is_root_bus(adev->pdev->bus)) { > ^ > /usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_6/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:4009:6: > note: did you mean 'pci_set_bus'? > /usr/src/sys/dev/pci/pcivar.h:385:1: note: 'pci_set_bus' declared here > PCI_ACCESSOR(bus, BUS, uint8_t) > ^ > /usr/src/sys/dev/pci/pcivar.h:371:2: note: expanded from macro 'PCI_ACCESSOR' > __BUS_ACCESSOR(pci, var, PCI, ivar, type) > ^ > /usr/src/sys/sys/bus.h:812:22: note: expanded from macro '__BUS_ACCESSOR' > static __inline void varp ## _set_ ## var(device_t dev, type t) \ > ^ > :77:1: note: expanded from here > pci_set_bus > ^ > 1 error generated.*** Error code 1 > > Stop. > make[4]: stopped in > /usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_6/amd/amdgpu > *** Error code 1 > *** Error code 1 > *** Error code 1 > > Stop. > make[1]: stopped in /usr/ports/graphics/drm-current-kmod > *** Error code 1 > > Stop. > make: stopped in /usr/ports/graphics/drm-current-kmod > > Filippo > ___ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" Sorry that's my fault. https://github.com/freebsd/drm-kmod/blob/master/linuxkpi/gplv2/include/linux/pci.h#L121 This if 0 should have been #if __FreeBSD_version < 1300135 I'll check if I've missed more and update the port. In the meantime either update your kernel after commit 35a39dc5b34962081eeda8dbcf0b99a31585499b or wait that I fix this. -- Emmanuel Vadot ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"