You are not logged in.

#26 2024-05-22 21:01:57

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 670

Re: [SOLVED] Errors when trying to install Linux-zen kernel

seth wrote:

Just remove /var/lib/dkms/nvidia/550.78/6.9.1-zen1-1-zen manually and try to rebuild the module.

I did that and it worked...but only for the zen kernel (while under the zen kernel). Now those modules cannot be build against the standard kernel.

$ uname -a
Linux MSI-Raider 6.9.1-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Fri, 17 May 2024 16:56:18 +0000 x86_64 GNU/Linux
[cardiozibi@MSI-Raider ~]$ lsmod | grep nvidia
nvidia_drm            126976  4
nvidia_uvm           6615040  0
nvidia_modeset       1605632  3 nvidia_drm
video                  77824  4 msi_wmi,xe,i915,nvidia_modeset
nvidia              60514304  24 nvidia_uvm,nvidia_modeset

Last edited by Zibi1981 (2024-05-22 21:02:27)


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#27 2024-05-22 21:03:10

seth
Member
Registered: 2012-09-03
Posts: 53,432

Re: [SOLVED] Errors when trying to install Linux-zen kernel

Now those modules cannot be build against the standard kernel.

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Cannot be built because of what error?

Offline

#28 2024-05-22 21:05:22

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 670

Re: [SOLVED] Errors when trying to install Linux-zen kernel

Well, exactly the same error as it was before while trying to build them against zen kernel

# mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
==> Starting build: '6.9.1-arch1-1'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
  -> Running build hook: [plymouth]
==> ERROR: module not found: 'nvidia'
==> ERROR: module not found: 'nvidia_modeset'
==> ERROR: module not found: 'nvidia_uvm'
==> ERROR: module not found: 'nvidia_drm'
==> Generating module dependencies
==> Creating lz4-compressed initcpio image: '/boot/initramfs-linux.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-zen -g /boot/initramfs-linux-zen.img
==> Starting build: '6.9.1-zen1-1-zen'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
  -> Running build hook: [plymouth]
==> Generating module dependencies
==> Creating lz4-compressed initcpio image: '/boot/initramfs-linux-zen.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful

"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#29 2024-05-22 21:15:09

seth
Member
Registered: 2012-09-03
Posts: 53,432

Re: [SOLVED] Errors when trying to install Linux-zen kernel

Because the build of the module somehow™ failed in https://bbs.archlinux.org/viewtopic.php … 1#p2173061 when it "stuck" signing? Did you just ctrl+c that?

Offline

#30 2024-05-24 08:08:25

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 670

Re: [SOLVED] Errors when trying to install Linux-zen kernel

Nope, I didn't.

After some struggle I was finally able to make it all work for the zen kernel. One of the problems in my case is a small size (~300MB) EFI partition. Windows + GRUB + 2x linux kernel make it 100% full, so I'm having issues while updating the kernels and initramfs's.

Last edited by Zibi1981 (2024-05-24 08:44:44)


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

Board footer

Powered by FluxBB