Skip to main content
Topic: NVIDIA-module failure: read: -c: line 2: syntax error: unexpected end of file (Read 614 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

NVIDIA-module failure: read: -c: line 2: syntax error: unexpected end of file

Folks,

I am encountering the following error while updating. I am not sure what is wrong here. I have not had this error before. Is it something to with the kernel or the module or both?

Could someone help me solve this issue?


Code: [Select]
 ( 2/10) Updating module dependencies...
( 3/10) Install DKMS modules
==> dkms install --no-depmod nvidia/390.147 -k 5.17.2-artix3-1
==> depmod 5.17.2-artix3-1
( 4/10) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 5.17.2-artix3-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 5.17.2-artix3-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
( 5/10) Updating GIO module cache...
( 6/10) Compiling GSettings XML schema files...
( 7/10) Reloading GVFS config...
( 8/10) Update Nvidia module in initcpio
read: -c: line 1: unexpected EOF while looking for matching ``'
read: -c: line 2: syntax error: unexpected end of file
error: command failed to execute correctly
( 9/10) Updating the info directory file...
(10/10) Updating the desktop file MIME type cache...
Andromedan


Re: NVIDIA-module failure: read: -c: line 2: syntax error: unexpected end of file

Reply #2
What nvidia package was upgraded? Was it a package from AUR?

It was nvidia-390.147 graphics driver.

Not from AUR.
Andromedan

Re: NVIDIA-module failure: read: -c: line 2: syntax error: unexpected end of file

Reply #3
Please provide the complete list of steps you performed to install and configure nvidia-390xx.
Then we can try to reproduce this.
artist

 

Re: NVIDIA-module failure: read: -c: line 2: syntax error: unexpected end of file

Reply #4
Please provide the complete list of steps you performed to install and configure nvidia-390xx.
Then we can try to reproduce this.
artist

I have installed
Code: [Select]
 universe/nvidia-390xx-dkms 390.147-2 
using pacman. I did no confiuration. It works fine when I switch to NVIDIA card from by BIOS setup. Mine is a optimus enabled laptop however, I do not use optimus rather only discrete graphics card when needed (I reboot my laptop when needed).
Andromedan