User Tools

Site Tools


dell_xps_15_9530

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dell_xps_15_9530 [2020/04/18 18:59]
ben [ZFS root]
dell_xps_15_9530 [2021/08/27 07:40] (current)
ben
Line 22: Line 22:
 KDE defaults to letting the multimedia volume keys (Fn+F1/F2/F3) control the HDMI card by default. Switch this to the analog card by opening KMix and setting ''Settings->Select Master Channel...->Built-in Audio Analog Stereo''. KDE defaults to letting the multimedia volume keys (Fn+F1/F2/F3) control the HDMI card by default. Switch this to the analog card by opening KMix and setting ''Settings->Select Master Channel...->Built-in Audio Analog Stereo''.
  
 +If there's no sound when logging into plasma (the volume icon has a red cross through it, and the kde settings shows no devices), make sure pulseaudio user daemon is running, and if not start it one-time with ''pulseaudio -D'',
 ==== Graphics ==== ==== Graphics ====
  
Line 139: Line 140:
   * Reboot and pray   * Reboot and pray
  
-==== Failure to boot ====+Kernel package installations run ''sabayon-dract --rebuild x.y'', which invokes dracut with a bunch of module omissions including all the systemd ones needed for ZFS to work. Therefore whenever upgrading the kernel, be sure to run ''dracut -f /boot/initramfs-genkernel-x86_64-$(uname -r) $(uname -r)''
 + 
 +Grub 2.02-r3 ships a version of ''grub2-probe'' which can't handle ZFS properly. This means the generated grub config file will contain ''root=ZFS=/root'' instead of ''root=ZFS=rpool/root'' which breaks root filesystem mounting. After installing grub or any kernel package, fix grub,cfg before rebooting. 
 + 
 + 
 +====== Troubleshooting ====== 
 + 
 +===== Failure to boot from ZFS root =====
  
 Errors on startup about system not having been booted with systemd. This is a problem with the dracut initrd. Errors on startup about system not having been booted with systemd. This is a problem with the dracut initrd.
Line 155: Line 163:
 exit exit
 </code> </code>
-  * After boot, regenerate the initrd+  * After boot, regenerate the initrd <code bash> 
 +dracut -f /boot/initramfs-genkernel-5.4.0-sabayon 5.4.0-sabayon 
 +</code> 
 + 
 +Known issues: 
 +  * Infinite loop of something complaining about system not having been booted with systemd, dbus error: Initramfs was built without systemd support, and needs rebuilding 
 +  * Error that ''\'rpool/root\''' contains invalid characters and is not a valid filesystem name: ''/usr/lib/dracut/modules.d/90zfs/mount-zfs.sh'' contains errant single quotes, which need to be removed. Rebuild the initrd afterwards: <code bash> 
 +# This: 
 +                                ask_for_password \ 
 +                                        --tries 5 \ 
 +                                        --prompt "Encrypted ZFS password for ${ENCRYPTIONROOT}: " \ 
 +                                        --cmd "zfs load-key '${ENCRYPTIONROOT}'" 
 +# Should be: 
 +                                ask_for_password \ 
 +                                        --tries 5 \ 
 +                                        --prompt "Encrypted ZFS password for ${ENCRYPTIONROOT}: " \ 
 +                                        --cmd "zfs load-key ${ENCRYPTIONROOT}" 
 +</code> 
 + 
 +===== NetworkManager not authorized to control networking ===== 
 + 
 +  * Ensure interactive user is a member of the ''network'' group (logout and in again) 
 +  * Ensure polkit permits netdev group to control networkmanager (changes take immediate effect): <code javascript /etc/polkit-1/rules.d/90-network.rules> 
 +polkit.addRule(function(action, subject) { 
 +    if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("network")) { 
 +        return polkit.Result.YES; 
 +    } 
 +}); 
 +</code>
  
  
  
dell_xps_15_9530.1587236384.txt.gz · Last modified: 2020/04/18 18:59 by ben