adam van gaalen
Posts: 32
Joined: Sun Jul 01, 2012 11:51 am

kernel 4.14.69-v7+ gives: kernel: [29298.960359] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -16

Mon Sep 17, 2018 5:22 pm

I have been using my Pi 3+ to play my favourite audio-files ever since the 3+ became available.
I have a small script that inventories my music-folder for mp3-files and then randomly generates '/usr/bin/omxplayer -o local <filename}.mp3' lines.
The script could run for days until all mp3's had been played.

However,...
After installing kernel 4.14.69-v7+ it never runs for longer than about 2 to 3 hours and then it freezes. Also the keyboard becomes unresponsive yet going in through ssh remains possible.

I monitored memory-usage just to illustrate what happened.

18:28 wspberrypi: % uname -a
Linux wspberrypi 4.14.69-v7+ #1141 SMP Mon Sep 10 15:26:29 BST 2018 armv7l GNU/Linux

logging:
Mon Sep 17 01:03:56 CEST 2018
total used free shared buff/cache available
Mem: 939 63 30 13 845 797
Swap: 99 0 99
Mon Sep 17 01:04:56 CEST 2018
total used free shared buff/cache available
Mem: 939 64 30 13 845 797
Swap: 99 0 99
Mon Sep 17 01:05:56 CEST 2018
total used free shared buff/cache available
Mem: 939 69 22 13 847 791
Swap: 99 0 99
Mon Sep 17 01:06:56 CEST 2018
total used free shared buff/cache available
Mem: 939 65 218 13 655 795
Swap: 99 0 99
Mon Sep 17 01:07:56 CEST 2018
total used free shared buff/cache available
Mem: 939 65 218 13 655 795
Swap: 99 0 99


syslog says:
Sep 17 01:05:14 wspberrypi kernel: [29298.960359] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -16

wspberrypi:~# ps -ef | grep player
root 17732 5274 0 17:37 pts/1 00:00:00 grep player
pi 20197 7034 0 01:03 tty1 00:00:00 /bin/bash /usr/bin/omxplayer -o local /home/pi/Top40_Songs/-My_Favourite_Songs/[email protected]@Downtown.mp3
pi 20205 20197 0 01:03 tty1 00:01:34 /usr/bin/omxplayer.bin -o local /home/pi/Top40_Songs/-My_Favourite_Songs/[email protected]@Downtown.mp3
wspberrypi:~#


My GPU-memory has been set to 64MB (as required by omxplayer) and the Pi runs without a GUI active.

I did a complete reinstall of the Pi but that did not solve my problem...

Please help!

Kind regards,
Adam


User avatar
HawaiianPi
Posts: 2778
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: kernel 4.14.69-v7+ gives: kernel: [29298.960359] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -16

Mon Sep 17, 2018 7:14 pm

Looks like the 4.14.70 kernel still has the kernel panic on shutdown bug (with Bluetooth off). :(
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?


Return to “Troubleshooting”

Who is online

Users browsing this forum: Markowitsch and 38 guests