#Error reinstalling Crowsnest

19 messages · Page 1 of 1 (latest)

autumn epoch
#

Hi, I ran into this error trying to install v4 after uninstalling v3

It is likely that 6.1.21-v8+ belongs to a chroot's host
Building for 6.1.21+, 6.1.21-v7+, 6.1.21-v7l+ and 6.1.21-v8+
Building initial module for 6.1.21+
Error! Bad return status for module build on kernel: 6.1.21+ (aarch64)
Consult /var/lib/dkms/v4l2loopback/0.12.5/build/make.log for more information.
dpkg: error processing package v4l2loopback-dkms (--configure):
 installed v4l2loopback-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 v4l2loopback-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
Install dependencies ... [FAILED]
Something went wrong!```
naive geode
#

Send a bit more in both directions of that error

#

And did you update from buster to bullseye with dist-upgrade, or maybe even bookworm already?

autumn epoch
#

I believe it originally was installed with bullseye.

#

heres the whole thing when running sudo make install

#
DKMS make.log for v4l2loopback-0.12.5 for kernel 6.1.21+ (aarch64)
Mon 12 Jun 01:46:00 PDT 2023
make[1]: Entering directory '/var/lib/dkms/v4l2loopback/0.12.5/build'
Building v4l2-loopback driver...
make -C /lib/modules/6.1.21+/build M=/var/lib/dkms/v4l2loopback/0.12.5/build modules
make[2]: Entering directory '/usr/src/linux-headers-6.1.21+'
  CC [M]  /var/lib/dkms/v4l2loopback/0.12.5/build/v4l2loopback.o
In file included from ./include/linux/preempt.h:10,
                 from ./include/linux/spinlock.h:56,
                 from ./include/linux/vmalloc.h:5,
                 from /var/lib/dkms/v4l2loopback/0.12.5/build/v4l2loopback.c:17:
./include/linux/linkage.h:8:10: fatal error: asm/linkage.h: No such file or directory
    8 | #include <asm/linkage.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:250: /var/lib/dkms/v4l2loopback/0.12.5/build/v4l2loopback.o] Error 1
make[2]: *** [Makefile:2012: /var/lib/dkms/v4l2loopback/0.12.5/build] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-6.1.21+'
make[1]: *** [Makefile:43: v4l2loopback.ko] Error 2
make[1]: Leaving directory '/var/lib/dkms/v4l2loopback/0.12.5/build'```
This is the log
naive geode
#

v4l2loopback isn't a dependency of crowsnest afaik. That's something you installed by yourself and that's failing during installation atm

autumn epoch
#

hmm. To give a bit of background, I ran an update through the Mailsail OS for crowsnest and my camera stopped working. i verified that it still works via some commands i can't think off the top of my head

#

I saw a post mentioned going from v3 to v4 breaks the camera

#

so i followed the instructions to do so and pretty much ran into this

naive geode
#

You could try to comment out the install_dependencies function call inside ~/crowsnest/tools/install.sh
So try to comment out:

    if install_dependencies ;then
        status_msg "Install dependencies ..." "0"
    else
        status_msg "Install dependencies ..." "1"
    fi```
#

Just put a # in front of every single of that 5 lines

autumn epoch
#

ok just edited the shell script running it again

autumn epoch
#

got everything installed, but still cant get my pi cam to work

#

was working before the update

autumn epoch
# naive geode https://crowsnest.mainsail.xyz/faq/how-to-setup-a-raspicam

Yes I followed that but still get no signal, even tried a brand new camera too. my raspberry pi detects it. I see it in the crowsnest log too and copied the device from the log. I'm getting another cable just in case since that's the only thing i haven't swapped out yet with the new install