pop-os / system76-acpi-dkms

System76 ACPI Driver (DKMS)
GNU General Public License v2.0
16 stars 11 forks source link

Read-only filesystem errors during installation on Fedora Silverblue #16

Open tunix opened 2 years ago

tunix commented 2 years ago

Distribution (run cat /etc/os-release):

$ cat /etc/os-release 
NAME="Fedora Linux"
VERSION="35.20220118.0 (Silverblue)"
ID=fedora
VERSION_ID=35
VERSION_CODENAME=""
PLATFORM_ID="platform:f35"
PRETTY_NAME="Fedora Linux 35.20220118.0 (Silverblue)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:35"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora-silverblue/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=35
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=35
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Silverblue"
VARIANT_ID=silverblue
OSTREE_VERSION='35.20220118.0'

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

system76-acpi-dkms

Issue/Bug Description:

On Fedora Silverblue, I'm trying to install system76-acpi-dkms package for better power management. Package installation fails with errors:

$ journalctl -t 'rpm-ostree(system76-acpi-dkms.post)'
Oca 18 10:46:18 penguix rpm-ostree(system76-acpi-dkms.post)[13492]: sed: /usr/src/system76-io-0.4/dkms.conf okunamıyor: Böyle bir dosya ya da dizin yok
Oca 18 10:46:18 penguix rpm-ostree(system76-acpi-dkms.post)[13516]: Error! No write access to DKMS tree at /var/lib/dkms
Oca 18 10:46:18 penguix rpm-ostree(system76-acpi-dkms.post)[13539]: Error! No write access to DKMS tree at /var/lib/dkms
Oca 18 10:46:19 penguix rpm-ostree(system76-acpi-dkms.post)[13559]: Creating symlink /var/lib/dkms/system76-acpi/0.4/source -> /usr/src/system76-acpi-0.4
Oca 18 10:46:19 penguix rpm-ostree(system76-acpi-dkms.post)[13610]: mkdir: `/var/lib/dkms' dizini oluşturulamıyor: Salt-okunur dosya sistemi
Oca 18 10:46:19 penguix rpm-ostree(system76-acpi-dkms.post)[13611]: ln: failed to create symbolic link '/var/lib/dkms/system76-acpi/0.4/source': Böyle bir dosya ya da dizin yok
Oca 18 10:46:19 penguix rpm-ostree(system76-acpi-dkms.post)[13619]: ls: '/var/lib/dkms/system76-acpi/0.4/source''e erişilemedi: Böyle bir dosya ya da dizin yok
Oca 18 10:46:19 penguix rpm-ostree(system76-acpi-dkms.post)[13622]: Error! The directory /var/lib/dkms/system76-acpi/0.4/source does not appear to have module source located within it.
Oca 18 10:46:19 penguix rpm-ostree(system76-acpi-dkms.post)[13622]: Build halted.
Oca 18 10:47:59 penguix rpm-ostree(system76-acpi-dkms.post)[15091]: sed: /usr/src/system76-io-0.4/dkms.conf okunamıyor: Böyle bir dosya ya da dizin yok
Oca 18 10:47:59 penguix rpm-ostree(system76-acpi-dkms.post)[15120]: Error! No write access to DKMS tree at /var/lib/dkms
Oca 18 10:47:59 penguix rpm-ostree(system76-acpi-dkms.post)[15139]: Error! No write access to DKMS tree at /var/lib/dkms
Oca 18 10:47:59 penguix rpm-ostree(system76-acpi-dkms.post)[15159]: Creating symlink /var/lib/dkms/system76-acpi/0.4/source -> /usr/src/system76-acpi-0.4
Oca 18 10:47:59 penguix rpm-ostree(system76-acpi-dkms.post)[15210]: mkdir: `/var/lib/dkms' dizini oluşturulamıyor: Salt-okunur dosya sistemi
Oca 18 10:47:59 penguix rpm-ostree(system76-acpi-dkms.post)[15211]: ln: failed to create symbolic link '/var/lib/dkms/system76-acpi/0.4/source': Böyle bir dosya ya da dizin yok
Oca 18 10:47:59 penguix rpm-ostree(system76-acpi-dkms.post)[15219]: ls: '/var/lib/dkms/system76-acpi/0.4/source''e erişilemedi: Böyle bir dosya ya da dizin yok
Oca 18 10:47:59 penguix rpm-ostree(system76-acpi-dkms.post)[15222]: Error! The directory /var/lib/dkms/system76-acpi/0.4/source does not appear to have module source located within it.
Oca 18 10:47:59 penguix rpm-ostree(system76-acpi-dkms.post)[15222]: Build halted.
Oca 18 10:48:48 penguix rpm-ostree(system76-acpi-dkms.post)[15839]: sed: /usr/src/system76-io-0.4/dkms.conf okunamıyor: Böyle bir dosya ya da dizin yok
Oca 18 10:48:48 penguix rpm-ostree(system76-acpi-dkms.post)[15864]: Error! No write access to DKMS tree at /var/lib/dkms
Oca 18 10:48:48 penguix rpm-ostree(system76-acpi-dkms.post)[15884]: Error! No write access to DKMS tree at /var/lib/dkms
Oca 18 10:48:49 penguix rpm-ostree(system76-acpi-dkms.post)[15905]: Creating symlink /var/lib/dkms/system76-acpi/0.4/source -> /usr/src/system76-acpi-0.4
Oca 18 10:48:49 penguix rpm-ostree(system76-acpi-dkms.post)[15956]: mkdir: `/var/lib/dkms' dizini oluşturulamıyor: Salt-okunur dosya sistemi
Oca 18 10:48:49 penguix rpm-ostree(system76-acpi-dkms.post)[15957]: ln: failed to create symbolic link '/var/lib/dkms/system76-acpi/0.4/source': Böyle bir dosya ya da dizin yok
Oca 18 10:48:49 penguix rpm-ostree(system76-acpi-dkms.post)[15965]: ls: '/var/lib/dkms/system76-acpi/0.4/source''e erişilemedi: Böyle bir dosya ya da dizin yok
Oca 18 10:48:49 penguix rpm-ostree(system76-acpi-dkms.post)[15968]: Error! The directory /var/lib/dkms/system76-acpi/0.4/source does not appear to have module source located within it.
Oca 18 10:48:49 penguix rpm-ostree(system76-acpi-dkms.post)[15968]: Build halted.

Steps to reproduce (if you know):

I use the following command:

rpm-ostree install --allow-inactive --idempotent --unchanged-exit-77 \
    system76-driver firmware-manager system76-keyboard-configurator system76-dkms system76-acpi-dkms

Expected behavior:

I expect to be able to install the package and have better power management.

jackpot51 commented 2 years ago

Please see related issues like: https://github.com/coreos/rpm-ostree/issues/1091

jackpot51 commented 2 years ago

I don't know if it can currently be solved without building your own rpm-ostree install using rpm-ostree compose

tunix commented 2 years ago

Hi @jackpot51 ,

When I look at the documentation here, I see that DKMS is needed for proprietary firmware systems which I actually don't think that I have. I've a Lemur Pro with coreboot and I'm not sure whether I need dkms modules or not. Before installing Fedora, I checked whether I have these packages on Pop!_OS and I had them installed. So can you please clarify whether a Lemur Pro would need these?

image

jackpot51 commented 2 years ago

@tunix a Lemur Pro will have all necessary kernel functionality in the system76_acpi module, which is included in the Fedora 35 kernel.

tunix commented 2 years ago

Does that include fan related stuff? I can't see any fan related information in vitals extension nor in the output of sensors command.

jackpot51 commented 2 years ago

What kernal version do you have?

tunix commented 2 years ago

What kernal version do you have?

$ uname -a
Linux penguix 5.15.14-200.fc35.x86_64 system76/ec#1 SMP Tue Jan 11 16:49:27 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
jackpot51 commented 2 years ago

What is the output of:

sudo dmesg | grep -i system76
tunix commented 2 years ago
$ sudo dmesg | grep -i system76
[    0.000000] DMI: System76 Lemur Pro/Lemur Pro, BIOS 2022-01-06_c73e482 01/05/2022
njam commented 2 years ago

@jackpot51 so fan control for 'Lemur Pro' is available in upstream linux? If yes, starting from which version?

My system76-power log shows this error:

[ERROR] fan daemon: platform hwmon not found

I'm running the latest stable Linux kernel 5.18.11

curiousercreative commented 1 year ago

I'm unaware of userspace fan control for any open-firmware System76 laptops. There are a number of issues relating to this shortcoming including this one

jackpot51 commented 1 year ago

@njam system76-power only controls fans on Thelio desktops. That message is not important on a Lemur Pro.