Advertisement
Guest User

Kubuntu Error Outputs

a guest
Dec 5th, 2022
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.09 KB | None | 0 0
  1. Using "amdgpu-install --usecase=graphics" gives:
  2.  
  3. <about 50 hit or get urls>
  4. Reading package lists... Done
  5. Reading package lists... Done
  6. Building dependency tree... Done
  7. Reading state information... Done
  8. linux-headers-5.15.0-53-generic is already the newest version (5.15.0-53.59)
  9. linux-modules-extra-5.15.0-53-generic is already the newest version (5.15.0-53.59)
  10. amdgpu-dkms is already the newest version (1:5.16.9.22.20.50200-1438747~22.04)
  11. amdgpu-lib is already the newest version (22.20.50200-1438747~22.04)
  12. The following packages were automatically installed and are no longer required:
  13. <about 300 packages>
  14. Use 'sudo apt autoremove' to remove them.
  15. 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
  16. 1 not fully installed or removed.
  17. After this operation, 0 B of additional disk space will be used.
  18. Do you want to continue? [Y/n]
  19.  
  20. Setting up amdgpu-dkms (1:5.16.9.22.20.50200-1438747~22.04) ...
  21. Removing old amdgpu-5.16.9.22.20.50200-1438747~22.04 DKMS files...
  22. Deleting module amdgpu-5.16.9.22.20.50200-1438747~22.04 completely from the DKMS tree.
  23. Loading new amdgpu-5.16.9.22.20.50200-1438747~22.04 DKMS files...
  24. Building for 5.15.0-53-generic
  25. Building for architecture x86_64
  26. Building initial module for 5.15.0-53-generic
  27.  
  28. ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-dkms.0.crash'
  29. Error! Bad return status for module build on kernel: 5.15.0-53-generic (x86_64)
  30. Consult /var/lib/dkms/amdgpu/5.16.9.22.20.50200-1438747~22.04/build/make.log for more information.
  31. dkpg: error processing package amdgpu-dkms (--configure):
  32. installed amdgpu-dkms package post-installation script subprocess returned error exit status 10
  33. Errors encountered while processing:
  34. amdgpu-dkms
  35. E: Sub-process /usr/bin/dpkg returned an error code (1)
  36.  
  37. ---------------------------------------
  38. The log file gives:
  39.  
  40. make: Entering directory 'usr/src/linux-headers-5.15.0-53-generic'
  41. warning: the compiler differs from the one used to build the kernel
  42. The kernel was built by: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
  43. You are using: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
  44. /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/Makefile:26: "Local GCC version 110303 does not match kernel compiler GCC version 110200"
  45. /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/Makefile:27: "This may cause unexpected and hard-to-isolate compiler-related issues"
  46. <some unremarkable processing>
  47. /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_ttm.c: In function 'amdgpu_ssg_init':
  48. /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_ttm.c:2313:31: error: incompatible types when assigning to type 'struct percpu_ref' from type 'struct percpu_ref *'
  49. 2313 | adev->ssg.pgmap.ref = &adev->ssg.ref;
  50. | ^
  51. make[2]: *** [scripts/Makefile.build:297: /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu/amdgpu_ttm.o] Error 1
  52. make[2]: *** Waiting for unfinished jobs...
  53. make[1]: *** [scripts/Makefile.build:560: /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/amd/amdgpu] Error 2
  54. make: *** [Makefile:1903: /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build] Error 2
  55. make: Leaving directory 'usr/src/linux-headers-5.15.0-53-generic'
  56.  
  57. ---------------------------------------
  58. Using "amdgpu-install --vulkan=amdvlk" gives:
  59.  
  60. rocm-opencl-runtime is already the newest version (5.2.0.50200-65).
  61. Some packages could not be installed. This may mean that you have
  62. requested an impossible situation or if you are using the unstable
  63. distribution that some required packages have not been created
  64. or moved out of Incoming.
  65. The following information may help to resolve the situation:
  66.  
  67. The following packages have unmet dependencies:
  68. rocm-llvm : Depends: python but it is not installable
  69. Depends: libstdc++-5-dev but it is not installable or
  70. libstdc++-7-dev but it is not installable
  71. Depends: libgcc-5-dev but it is not installable or
  72. libgcc-5-dev but it is not installable
  73. E: Unable to correct problems, you have held broken packages.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement