User Tools

Site Tools


linux64

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux64 [2026/09/17 07:45] – [Timelapse] bengtlinux64 [2026/09/17 09:49] (current) – [ollama in podman for ai] bengt
Line 892: Line 892:
 Configure podman: Configure podman:
   # dnf install nvidia-container-toolkit   # dnf install nvidia-container-toolkit
-  # nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml+  # nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml # Needs to be rerun after nvidia driver updates and when switching hdmi port between cards
   # nvidia-ctk cdi list   # nvidia-ctk cdi list
   # podman run --rm --security-opt label=disable --device nvidia.com/gpu=1 ubuntu nvidia-smi # Check gpu index to the one you want to use   # podman run --rm --security-opt label=disable --device nvidia.com/gpu=1 ubuntu nvidia-smi # Check gpu index to the one you want to use
Line 1304: Line 1304:
  
  
-==== Kernel 7.25 boot issues ====+==== Kernel 7.2.5 boot issues ====
  
-Increased the number of stored kernels in /etc/dnf/dnf.conf to 5 and set the default to the previous kernel. You will need to switch manually to latest kernel during boot until this is resolved upstead. When fixed use "grubby --set-default-index=0" to restore normal boot behaviour. +This is the likely issue, root= disappearing from the kernel line triggering auto-detection: 
- +https://discussion.fedoraproject.org/t/error-at-boot-with-kernel-6-17-12-300-fc43-x86-64/177533
-https://bugzilla.redhat.com/show_bug.cgi?id=2350605+
  
 +It also suggested adding the root UUID to the kernel paremeters, the others have it:
 +  # grep -E -R 'title|options' /boot/loader/entries/
 +  # grubby --update-kernel=/boot/vmlinuz-7.2.5-100.fc43.x86_64 --args="root=UUID=7cbb7c6a-5996-48d4-8378-4ba59e5f1f52 ro rhgb quiet"
 +It turns out this is lacking from the new boot entry.  
  
 +Possible permanent fix:
 +  # echo "root=UUID=7cbb7c6a-5996-48d4-8378-4ba59e5f1f52 ro rhgb quiet rd.driver.blacklist=nouveau,nova_core modprobe.blacklist=nouveau,nova_core" > /etc/kernel/cmdline
 +Or just remove that file and trust modern grubenv kernel-install handling:\
 +If /etc/kernel/cmdline does not exist, the installer automatically falls back to reading the kernelopts line straight out of your grubenv file to build new kernel configurations.If /etc/kernel/cmdline does exist, the modern BLS (Boot Loader Specification) standard dictates that it takes absolute priority. The script reads only /etc/kernel/cmdline and completely ignores the grubenv file.
  
 +For ollama to work again:
 +  # nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml
 ==== Upgrade Fedora ... -> 35 -> 36 -> 37 -> 38 -> 39 -> 40 -> 41 -> 42 -> 43 ==== ==== Upgrade Fedora ... -> 35 -> 36 -> 37 -> 38 -> 39 -> 40 -> 41 -> 42 -> 43 ====
  
linux64.1789631142.txt.gz · Last modified: by bengt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki