linux64
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux64 [2025/12/26 14:43] – [Upgrade Fedora ... -> 35 -> 36 -> 37 -> 38 -> 39 -> 40 -> 41] bengt | linux64 [2026/06/01 09:43] (current) – [Moving boot disk from sata to m.2] bengt | ||
|---|---|---|---|
| Line 49: | Line 49: | ||
| Standard users https:// | Standard users https:// | ||
| - | ==== TBS 6280 PCIe DVB-T2 ==== | ||
| - | |||
| - | A PCIe card for recording DVB-T2 TV. Linux driver support from the manufacturer, | ||
| - | |||
| - | You will need to disable secure boot in bios for uefi boot to load 3rd party drivers. Maybe solved by selecting "Other OS" instead of " | ||
| - | |||
| - | Roughly following https:// | ||
| - | dnf install kernel-headers kernel-devel | ||
| - | mkdir tbs | ||
| - | cd tbs | ||
| - | wget http:// | ||
| - | unzip tbs-linux-drivers_v170330.zip | ||
| - | tar xvjf linux-tbs-drivers.tar.bz2 | ||
| - | cd linux-tbs-drivers/ | ||
| - | ./ | ||
| - | make -j6 | ||
| - | mv / | ||
| - | make install | ||
| - | reboot | ||
| - | dmesg | grep DVB | ||
| - | The cards should be possible to configure in mythtvsetup now. After kernel upgrades you will need to remove the " | ||
| - | |||
| - | Nowadays it seems like like using the open source drivers at https:// | ||
| - | dnf install perl-Proc-ProcessTable patchutils | ||
| - | mkdir tbs && cd tbs | ||
| - | git clone https:// | ||
| - | git clone --depth=1 https:// | ||
| - | cd media_build | ||
| - | make dir DIR=../ | ||
| - | make distclean | ||
| - | make -j6 | ||
| - | mv / | ||
| - | make install | ||
| - | reboot | ||
| - | |||
| - | Install firmware: | ||
| - | wget http:// | ||
| - | tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C / | ||
| - | |||
| - | Update using: (Does not work anymore since kernel 5.7.15) | ||
| - | cd tbs/media | ||
| - | git remote update && git pull | ||
| - | git clean -ffdx | ||
| - | cd ../ | ||
| - | git remote update && git pull | ||
| - | git clean -ffdx | ||
| - | make dir DIR=../ | ||
| - | make distclean | ||
| - | echo -e "# | ||
| - | sed -i '/ | ||
| - | make -j6 # I actually tried compiling without disabling OV9650, then I had to run "make distclean" | ||
| - | sudo mv / | ||
| - | sudo make install | ||
| - | sudo reboot | ||
| - | |||
| - | I've really had issues with kernel 5.7, in the forum they suggest to download precompiled files instead which does not work either. Failed the same way as the compilation for 5.7.15 did. Therefor I eventually decided to try: | ||
| ==== Hauppauge WinTV Dual HD ==== | ==== Hauppauge WinTV Dual HD ==== | ||
| Line 120: | Line 64: | ||
| Then I deleted the cards and sources and recreated them because EIT data did not get updated. Still had issues with low SVT1/2/B/K but I think this was because EIT for these overwrote the ones in use. Only enable EIT for channels in use. See MythTV EIT Issues below. | Then I deleted the cards and sources and recreated them because EIT data did not get updated. Still had issues with low SVT1/2/B/K but I think this was because EIT for these overwrote the ones in use. Only enable EIT for channels in use. See MythTV EIT Issues below. | ||
| + | |||
| + | ==== Moving boot disk from sata to m.2 ==== | ||
| + | |||
| + | Updating boot drive from sata to m.2 turned out to be a real hassle on my MSI Tomahawk Max B450. Just putting the m.2 drive in and it stopped booting from the old sata boot drive. It turns out that m.2 disables sata ports 5 and 6. After rearranging cables and adding default, | ||
| + | |||
| + | Then I need to boot from a live usb stick (press Fn+F11 during boot and do not use the topmost slow usb ports) and then use dd to clone: | ||
| + | # dd if=/dev/sda of=/ | ||
| + | |||
| + | Then it still hangs on boot when systemd is trying to mount my vfat /boot partition with uuid F71B-C42F. Apparently this is for lacking drivers in the boot image. Had to remove the m.2 disk and boot fedora 43 again to prepare with support for nvme on on sata disk: | ||
| + | # echo ' | ||
| + | # dracut --regenerate-all --force | ||
| + | Ran out of disk space in /boot here. The fun never ends. | ||
| + | |||
| + | Removed a kernel and tried this instead: | ||
| + | # echo -e ' | ||
| + | # dracut --force | ||
| + | Then clone again. Remove sata and boot from nvme to check that it works. This time it did. Then boot livecd again, install gparted and use this to expand /boot and move and expand / putting the swap at the end as well. Reboot | ||
| + | |||
| + | Also took the time to get new rescue images as my old ones were from 2016, remove old vmlinuz/ | ||
| + | # / | ||
| + | |||
| + | |||
| ==== grub2 boot config ==== | ==== grub2 boot config ==== | ||
| Line 200: | Line 166: | ||
| More info on rpmfusion drivers: | More info on rpmfusion drivers: | ||
| https:// | https:// | ||
| + | |||
| + | ==== TBS 6280 PCIe DVB-T2 [old] ==== | ||
| + | |||
| + | A PCIe card for recording DVB-T2 TV. Linux driver support from the manufacturer, | ||
| + | |||
| + | You will need to disable secure boot in bios for uefi boot to load 3rd party drivers. Maybe solved by selecting "Other OS" instead of " | ||
| + | |||
| + | Roughly following https:// | ||
| + | dnf install kernel-headers kernel-devel | ||
| + | mkdir tbs | ||
| + | cd tbs | ||
| + | wget http:// | ||
| + | unzip tbs-linux-drivers_v170330.zip | ||
| + | tar xvjf linux-tbs-drivers.tar.bz2 | ||
| + | cd linux-tbs-drivers/ | ||
| + | ./ | ||
| + | make -j6 | ||
| + | mv / | ||
| + | make install | ||
| + | reboot | ||
| + | dmesg | grep DVB | ||
| + | The cards should be possible to configure in mythtvsetup now. After kernel upgrades you will need to remove the " | ||
| + | |||
| + | Nowadays it seems like like using the open source drivers at https:// | ||
| + | dnf install perl-Proc-ProcessTable patchutils | ||
| + | mkdir tbs && cd tbs | ||
| + | git clone https:// | ||
| + | git clone --depth=1 https:// | ||
| + | cd media_build | ||
| + | make dir DIR=../ | ||
| + | make distclean | ||
| + | make -j6 | ||
| + | mv / | ||
| + | make install | ||
| + | reboot | ||
| + | |||
| + | Install firmware: | ||
| + | wget http:// | ||
| + | tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C / | ||
| + | |||
| + | Update using: (Does not work anymore since kernel 5.7.15) | ||
| + | cd tbs/media | ||
| + | git remote update && git pull | ||
| + | git clean -ffdx | ||
| + | cd ../ | ||
| + | git remote update && git pull | ||
| + | git clean -ffdx | ||
| + | make dir DIR=../ | ||
| + | make distclean | ||
| + | echo -e "# | ||
| + | sed -i '/ | ||
| + | make -j6 # I actually tried compiling without disabling OV9650, then I had to run "make distclean" | ||
| + | sudo mv / | ||
| + | sudo make install | ||
| + | sudo reboot | ||
| + | |||
| + | I've really had issues with kernel 5.7, in the forum they suggest to download precompiled files instead which does not work either. Failed the same way as the compilation for 5.7.15 did. Therefor I eventually decided to try usb instead. See above. | ||
| + | |||
| ===== Services ===== | ===== Services ===== | ||
| Line 475: | Line 499: | ||
| # vi /etc/group0 | # vi /etc/group0 | ||
| squeezeboxserver: | squeezeboxserver: | ||
| - | # wget https:// | + | # wget https:// |
| - | # dnf install logitechmediaserver-8.5.2-1.noarch.rpm | + | # dnf install lyrionmusicserver-9.1.0-1.noarch.rpm # Moving config from / |
| - | # wget https:// | + | |
| - | # dnf install lyrionmusicserver-9.0.2-1.noarch.rpm # Moving config from / | + | |
| # ln -s / | # ln -s / | ||
| # firewall-config # Open port 9000 TCP for http, 3483 TCP& | # firewall-config # Open port 9000 TCP for http, 3483 TCP& | ||
| - | # systemctl enable | + | # systemctl enable |
| - | Check logs with something like " | + | # cd / |
| + | Check logs with something like " | ||
| + | |||
| + | If you get issues with lacking modules in status, like Proc:: | ||
| - | For example after upgrade to fedora 35 the "EV YAML:: | + | Another |
| The web server is then available for configuration: | The web server is then available for configuration: | ||
| Line 1248: | Line 1273: | ||
| Seems ok. Had to do this later for " | Seems ok. Had to do this later for " | ||
| - | ==== Upgrade Fedora ... -> 35 -> 36 -> 37 -> 38 -> 39 -> 40 -> 41 ==== | + | ==== Upgrade Fedora ... -> 35 -> 36 -> 37 -> 38 -> 39 -> 40 -> 41 -> 42 -> 43 ==== |
| Following the instructions on https:// | Following the instructions on https:// | ||
| Line 1262: | Line 1287: | ||
| # dnf remove python3-iso-639 # For fedora 40 | # dnf remove python3-iso-639 # For fedora 40 | ||
| # dnf remove python2-pillow # For fedora 41 | # dnf remove python2-pillow # For fedora 41 | ||
| - | # dnf system-upgrade download --releasever=42 # Did not work on Saturdays due to 404 for lacking rpmfusion files, waiting for mirroring and retrying on Sunday worked. | + | |
| + | | ||
| You may need the " | You may need the " | ||
| Then reboot this way to do the actual upgrade: | Then reboot this way to do the actual upgrade: | ||
| - | # sudo dnf system-upgrade reboot | + | |
| + | (# sudo dnf system-upgrade reboot) | ||
| You may need to upgrade the squeezeboxserver rpm. Maybe update java version used for minecraft. See those chapters. (Old, running nouveau with modern gfx-card nowadays: You may need to uninstall and install nvidia drivers again, at least uninstall the newly created kmod-nvidia and rebuild it using akmods.) | You may need to upgrade the squeezeboxserver rpm. Maybe update java version used for minecraft. See those chapters. (Old, running nouveau with modern gfx-card nowadays: You may need to uninstall and install nvidia drivers again, at least uninstall the newly created kmod-nvidia and rebuild it using akmods.) | ||
| Line 1275: | Line 1302: | ||
| - Had to upgrade to squeezeboxserver 7.9.3 and build tbs with workarounds for kernel 5.7. Later I replaced tbs with a hauppauge dongle. | - Had to upgrade to squeezeboxserver 7.9.3 and build tbs with workarounds for kernel 5.7. Later I replaced tbs with a hauppauge dongle. | ||
| - New samba 4.11 disables smbv1 by default which does not work with my tablet used as a photo frame. See samba section above for how to fix. | - New samba 4.11 disables smbv1 by default which does not work with my tablet used as a photo frame. See samba section above for how to fix. | ||
| - | - Autologin had to be reconfigured in / | + | - Autologin had to be reconfigured in / |
| + | - The mailserver got disabled for fedora 42, run " | ||
| - Maybe clean up old unmaintained packages using " | - Maybe clean up old unmaintained packages using " | ||
linux64.1766760192.txt.gz · Last modified: by bengt