WM8960-Audio-HAT icon indicating copy to clipboard operation
WM8960-Audio-HAT copied to clipboard

Error! Bad return status for module build on kernel: 5.15.32-v7l+ (armv7l)

Open gab75ayr opened this issue 3 years ago • 7 comments

Hello, The WM8960-Audio-HAT board was working fine on Raspberry PI 4B with Raspbian OS bullseye, until 4 days ago when a system software update was installed. I'm trying to reinstall the board software, but I get this error:

Building module: cleaning build area... make -j4 KERNELRELEASE=5.15.32-v7l+ -C /lib/modules/5.15.32-v7l+/build M=/var/lib/dkms/wm8960-soundcard/1.0/build....(bad exit status: 2) Error! Bad return status for module build on kernel: 5.15.32-v7l+ (armv7l) Consult /var/lib/dkms/wm8960-soundcard/1.0/build/make.log for more information.

Is there a fix for this?

gab75ayr avatar Apr 06 '22 19:04 gab75ayr

this is same as issue #44

dr-ni avatar Apr 06 '22 19:04 dr-ni

There apparently is not real fix for the problem. I gave up returned the module, go with a ReSpeaker module.

vvstubbs avatar Apr 07 '22 02:04 vvstubbs

it's only a driver problem because of changes in the kernel. There are the same problems with the seeed-voicecard you can run both cards with both drivers...

https://github.com/respeaker/seeed-voicecard/issues/321

dr-ni avatar Apr 07 '22 11:04 dr-ni

this is same as issue #44

Thanks for your reply! I try your fix on my Raspbian OS Bullseye 32 bit and it's work. I try on Raspbian OS Bullseye 64 bit and dosn't work. Do you have any ideas to fix the problem on the 64 bit OS?

gab75ayr avatar Apr 11 '22 18:04 gab75ayr

git clone https://github.com/HinTak/seeed-voicecard also works for the 64bit kernel 5.15.xx

TobiasVanDyk avatar Apr 12 '22 08:04 TobiasVanDyk

i just got the same error a month later

- Static hostname: XXXXX
- Icon name: computer
- Machine ID: XXXXX
-  Boot ID: 2ca38ee09d5f488789654a4bbec8f28b
- Operating System: Raspbian GNU/Linux 10 (buster)
-  Kernel: Linux 5.10.103-v7+
- Architecture: arm
-  32 bit

will try the suggested fix now

qkum avatar Jun 06 '22 22:06 qkum

git clone https://github.com/HinTak/seeed-voicecard also works for the 64bit kernel 5.15.xx

it works perfectly 💯

qkum avatar Jun 06 '22 23:06 qkum