Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tunix opened this issue Jan 18, 2022 · 12 comments
Open

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

tunix opened this issue Jan 18, 2022 · 12 comments

Comments

@tunix
Copy link

tunix commented Jan 18, 2022

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
Copy link
Member

Please see related issues like: coreos/rpm-ostree#1091

@jackpot51
Copy link
Member

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

@tunix
Copy link
Author

tunix commented Jan 18, 2022

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
Copy link
Member

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

@tunix
Copy link
Author

tunix commented Jan 19, 2022

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
Copy link
Member

What kernal version do you have?

@tunix
Copy link
Author

tunix commented Jan 19, 2022

What kernal version do you have?

$ uname -a
Linux penguix 5.15.14-200.fc35.x86_64 #1 SMP Tue Jan 11 16:49:27 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

@jackpot51
Copy link
Member

What is the output of:

sudo dmesg | grep -i system76

@tunix
Copy link
Author

tunix commented Jan 20, 2022

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

@njam
Copy link

njam commented Jul 17, 2022

@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
Copy link

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants