Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id E1123780FAF for <~alpine/users@lists.alpinelinux.org>; Mon, 10 Feb 2020 09:44:32 +0000 (UTC) Received: by mail-wm1-f51.google.com with SMTP id a6so3118443wme.2 for <~alpine/users@lists.alpinelinux.org>; Mon, 10 Feb 2020 01:44:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=5r3dBY7F19UYTKV9J/SIqBlqSA7wdkG/MR7Q2+GcE8k=; b=Q8tu1TzbKNHJ4nyY86Sttmh+DpTv2SIUUa3sQCCDbAGOXZ7SMTjvNhMGqVvjPDUSot awvYbJuCu669Tw1ntogCnK+3+32yFBGp47lVuIBn33wCQw8XdJMKeRnqmaboqoJrtv5F 1cTnSqGjkbBB6KHkh0vDiSl/ZWv75odn0hNx5/98jBab3wxY0zZCgk9Dro8VhG4a+Ld/ RR7JXzferRoGkaZ/B3AN7H0T5FcRn/Z5BiJKMMWqb7vvFO4IPA3AIF3wSc611h5cgE/t QHeG8wBgNixBnc21BB5U8T/u08cjO6qc7Vx1xoNMzcR+p9hhAtyT3pViVLo+8ZMIk91m lhrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5r3dBY7F19UYTKV9J/SIqBlqSA7wdkG/MR7Q2+GcE8k=; b=ipYI4T73ge4bSv4ETyGEXjIaHodzt/WWD7J4esy4KvneuUfX3d+uB3ec5Mn9zsvYEJ +bj8V6e0EV/ft+tibqRmMXEBlsnSx5l3ZHq8eVPS8ILfJMZwlhC3LAShi5ORSM9Auq08 ObeLLr+z4TeLPudhKwCB5CNneJIwHwz6PLP47pQNRdj/7yKf2sCAr2CxYdMLNTjFYJOn BBecM2+CXLFMOKKxC7TqL+tL6UFEDlWdpTeq8iYxNSzInivpsUV6g7SJ5HpzNjAL1eue RWKfgvlAzyJIeTFV86hh0IC6jmHqqstj1IxIJtZy2IVWg6j1C15CnRYOkwrcmdqer0wQ p1WA== X-Gm-Message-State: APjAAAVZYmS3VYc4/kA466cCMeH0BcGZJxD6l1bjUq06LFb1Yh6NDpMT TIenJC0ESdAEz+MrMtCZYb0ur++9QV+ny89zYByfo2W+lg8= X-Google-Smtp-Source: APXvYqwbkPWI4TY3SINX49yDvmHKADVlCqt4Ag0voTdvp1tbdfk2kM+Efv3423UZAADLqpSg62DfP7+INSqV341P3cs= X-Received: by 2002:a05:600c:248:: with SMTP id 8mr14547576wmj.1.1581327871245; Mon, 10 Feb 2020 01:44:31 -0800 (PST) MIME-Version: 1.0 From: Davy Landman Date: Mon, 10 Feb 2020 10:44:16 +0100 Message-ID: Subject: Installing package with kernel module fails on diskless mode? (wireguard-rpi) To: ~alpine/users@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="0000000000000a034c059e35968b" --0000000000000a034c059e35968b Content-Type: text/plain; charset="UTF-8" I'm loving alpine, but I'm running into a problem that I do not know how to solve, and no amount of googling has helped me. I'm on v3.11.3 on a rpi1, just downloaded the release and unpacked it onto a fresh fat32 sd card. It boots-up and stuff just works. Regular package installation works, but when I wanted to add wireguard, it fails and I think I understand what is happening, but I cannot seem to figure out to solve it. Here is the full log: (1/1) Installing wireguard-rpi (5.4.12-r0) ERROR: Failed to create lib/modules/5.4.12-0-rpi/extra/wireguard.ko: No such file or directory ERROR: wireguard-rpi-5.4.12-r0: failed to rename lib/modules/5.4.12-0-rpi/extra/.apk.6b9f5d1b725356e84556fbab4f1ce19495578693bf92d01e to lib/modules/5.4.12-0-rpi/extra/wireguard.ko. Executing busybox-1.31.1-r9.trigger Executing kmod-26-r0.trigger depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, modules.dep.2636.32472.1581276993, 301, 644): Read-only file system depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, modules.dep.bin.2636.32472.1581276993, 301, 644): Read-only file system depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, modules.alias.2636.32472.1581276993, 301, 644): Read-only file system depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, modules.alias.bin.2636.32472.1581276993, 301, 644): Read-only file system depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, modules.softdep.2636.32472.1581276993, 301, 644): Read-only file system depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, modules.symbols.2636.32472.1581276993, 301, 644): Read-only file system depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, modules.symbols.bin.2636.32472.1581276993, 301, 644): Read-only file system depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, modules.builtin.bin.2636.32472.1581276993, 301, 644): Read-only file system depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, modules.devname.2636.32472.1581276993, 301, 644): Read-only file system 1 error; 135 MiB in 57 packages if I understand correctly, it wants to add a kernel module but fails since the kernel is on a read-only side of the system. I've tried remounting the whole disk as rw, but that didn't solve it. I'm hoping someone can help me or maybe there is a wiki page I missed, but it looks like this should work, is the plain alpine-rpi install and the plain precompiled wireguard-rpi package. Thanks, Davy --0000000000000a034c059e35968b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm loving alpine, but I'm running into a probl= em that I do not know how to solve, and no amount of googling has helped me= .

I'm on v3.11.3 on a rpi1, just downloaded the re= lease and unpacked it onto a fresh fat32 sd card. It boots-up and stuff jus= t works. Regular package installation works, but when I wanted to add wireg= uard, it fails and I think I understand what is happening, but I cannot see= m to figure out to solve it.

Here is the full log:

(1/1) Installing wireguard-rpi (5.4.12-r0)
ERROR: Failed to create lib/modules/5.4.12-0-rpi/e= xtra/wireguard.ko: No such file or directory
ERROR: wireguard-rpi-5.4.12-r0: failed to rename= =20 lib/modules/5.4.12-0-rpi/extra/.apk.6b9f5d1b725356e84556fbab4f1ce1949557869= 3bf92d01e to lib/modules/5.4.12-0-rpi/extra/wireguard.ko.
Executing busybox-1.31.1-r9.trigger
Executing kmod-26-r0.trigger
depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, m= odules.dep.2636.32472.1581276993, 301, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, m= odules.dep.bin.2636.32472.1581276993, 301, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, m= odules.alias.2636.32472.1581276993, 301, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, m= odules.alias.bin.2636.32472.1581276993, 301, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, m= odules.softdep.2636.32472.1581276993, 301, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, m= odules.symbols.2636.32472.1581276993, 301, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, m= odules.symbols.bin.2636.32472.1581276993, 301, 644): Read-only file system<= /div>
depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, m= odules.builtin.bin.2636.32472.1581276993, 301, 644): Read-only file system<= /div>
depmod: ERROR: openat(/lib/modules/5.4.12-0-rpi, m= odules.devname.2636.32472.1581276993, 301, 644): Read-only file system 1 error; 135 MiB in 57 packages


if I= understand correctly, it wants to add a kernel module but fails since the = kernel is on a read-only side of the system. I've tried remounting the = whole disk as rw, but that didn't solve it.

I'= m hoping someone can help me or maybe there is a wiki page I missed, but it= looks like this should work, is the plain alpine-rpi install and the plain= precompiled wireguard-rpi package.

Thanks,
Da= vy
--0000000000000a034c059e35968b--