geoffreybennett / scarlett-gen2

Linux kernel source tree with additional Focusrite Scarlett and Clarett support ("Scarlett2 USB Protocol Mixer Driver")
200 stars 6 forks source link

cannot install on kernel 6.9.3-76060903-generic #25

Open bready2die opened 4 weeks ago

bready2die commented 4 weeks ago

running pop os 22, this is what I get. from what i've looked up, it might have to do with zstd compression, especially since i didn't have an issue when the kernel modules weren't being compressed by default.

> sudo make -j4 -C $KSRCDIR M=$(pwd) INSTALL_MOD_DIR=updates/snd-usb-audio modules_install
make: Entering directory '/usr/src/linux-headers-6.9.3-76060903-generic'
  INSTALL /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/snd-usb-audio.ko
  INSTALL /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/snd-usbmidi-lib.ko
  INSTALL /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/misc/snd-ua101.ko
  INSTALL /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/usx2y/snd-usb-usx2y.ko
  SIGN    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/snd-usbmidi-lib.ko
  SIGN    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/misc/snd-ua101.ko
  SIGN    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/usx2y/snd-usb-usx2y.ko
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: ./certs/signing_key.pem
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: ./certs/signing_key.pem
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: ./certs/signing_key.pem
  INSTALL /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/usx2y/snd-usb-us122l.ko
  INSTALL /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/caiaq/snd-usb-caiaq.ko
  INSTALL /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/6fire/snd-usb-6fire.ko
  SIGN    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/snd-usb-audio.ko
  SIGN    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/usx2y/snd-usb-us122l.ko
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: ./certs/signing_key.pem
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: ./certs/signing_key.pem
  INSTALL /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/hiface/snd-usb-hiface.ko
  SIGN    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/caiaq/snd-usb-caiaq.ko
  INSTALL /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/bcd2000/snd-bcd2000.ko
  SIGN    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/6fire/snd-usb-6fire.ko
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: ./certs/signing_key.pem
  INSTALL /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/line6/snd-usb-line6.ko
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: ./certs/signing_key.pem
  SIGN    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/hiface/snd-usb-hiface.ko
  SIGN    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/bcd2000/snd-bcd2000.ko
  INSTALL /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/line6/snd-usb-pod.ko
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: ./certs/signing_key.pem
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: ./certs/signing_key.pem
  INSTALL /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/line6/snd-usb-podhd.ko
  SIGN    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/line6/snd-usb-line6.ko
  INSTALL /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/line6/snd-usb-toneport.ko
  SIGN    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/line6/snd-usb-pod.ko
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: ./certs/signing_key.pem
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: ./certs/signing_key.pem
  SIGN    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/line6/snd-usb-podhd.ko
  INSTALL /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/line6/snd-usb-variax.ko
  ZSTD    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/snd-usb-audio.ko.zst
  SIGN    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/line6/snd-usb-toneport.ko
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: ./certs/signing_key.pem
  ZSTD    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/snd-usbmidi-lib.ko.zst
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: ./certs/signing_key.pem
  SIGN    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/line6/snd-usb-variax.ko
  ZSTD    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/misc/snd-ua101.ko.zst
At main.c:167:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: ./certs/signing_key.pem
  ZSTD    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/usx2y/snd-usb-usx2y.ko.zst
  ZSTD    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/usx2y/snd-usb-us122l.ko.zst
  ZSTD    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/caiaq/snd-usb-caiaq.ko.zst
  ZSTD    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/6fire/snd-usb-6fire.ko.zst
  ZSTD    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/hiface/snd-usb-hiface.ko.zst
  ZSTD    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/bcd2000/snd-bcd2000.ko.zst
  ZSTD    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/line6/snd-usb-line6.ko.zst
  ZSTD    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/line6/snd-usb-pod.ko.zst
  ZSTD    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/line6/snd-usb-podhd.ko.zst
  ZSTD    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/line6/snd-usb-toneport.ko.zst
  ZSTD    /lib/modules/6.9.3-76060903-generic/updates/snd-usb-audio/line6/snd-usb-variax.ko.zst
  DEPMOD  /lib/modules/6.9.3-76060903-generic
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make: Leaving directory '/usr/src/linux-headers-6.9.3-76060903-generic'
geoffreybennett commented 3 weeks ago

Does it work if you build with an older pop-os kernel?

bready2die commented 3 weeks ago

it works in the 6.8 kernel, but it only compiles after commenting out any CONFIG_* options related to module signing in the kernel version's auto.conf. it seems like module signing got turned on in the kernel at some point, and while verification isn't forced, it will still attempt to sign modules during module_install and throw a fit if there isn't a key. any kind of home-compiled module loading is broken in the 6.9 kernel for me though.