Skip to content

Your kernel headers for kernel 6.1.21-v8+ cannot be found and service failed to start  #65

@Darkcast

Description

@Darkcast

im running bullseye armhf lite

Linux Phoniebox 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux

when the install escript finishes I get the error

Your kernel headers for kernel 6.1.21-v8+ cannot be found at

full msg


Creating symlink /var/lib/dkms/wm8960-soundcard/1.0/source ->
                 /usr/src/wm8960-soundcard-1.0

DKMS: add completed.
Error! echo
Your kernel headers for kernel 6.1.21-v8+ cannot be found at
/lib/modules/6.1.21-v8+/build or /lib/modules/6.1.21-v8+/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Created symlink /etc/systemd/system/sysinit.target.wants/wm8960-soundcard.service → /lib/systemd/system/wm8960-soundcard.service.
Job for wm8960-soundcard.service failed because the control process exited with error code.
See "systemctl status wm8960-soundcard.service" and "journalctl -xe" for details.
● wm8960-soundcard.service - WM8960 soundcard service
     Loaded: loaded (/lib/systemd/system/wm8960-soundcard.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2024-11-20 17:13:15 EST; 20ms ago
    Process: 2306 ExecStart=/usr/bin/wm8960-soundcard (code=exited, status=99)
   Main PID: 2306 (code=exited, status=99)
        CPU: 299ms

Nov 20 17:13:09 Phoniebox systemd[1]: Starting WM8960 soundcard service...
Nov 20 17:13:09 Phoniebox wm8960-soundcard[2306]: + exec
Nov 20 17:13:09 Phoniebox wm8960-soundcard[2307]: ++ basename /usr/bin/wm8960-soundcard
Nov 20 17:13:15 Phoniebox systemd[1]: wm8960-soundcard.service: Main process exited, code=exited, status=99/n/a
Nov 20 17:13:15 Phoniebox systemd[1]: wm8960-soundcard.service: Failed with result 'exit-code'.
Nov 20 17:13:15 Phoniebox systemd[1]: Failed to start WM8960 soundcard service.
------------------------------------------------------
Please reboot your raspberry pi to apply all settings
Enjoy!
------------------------------------------------------

any help would be greatly apreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions