You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just did a sudo apt-get update && sudo apt-get -y upgrade && sudo rpi-update to update my Raspberry Pi model B to the latest standard distribution Raspian software and am now always getting the "Unable to initialize DMA channels" error as well upon reboots.
As recorded in dmesg:
pi@talon5 ~ $ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.18.14+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #792 PREEMPT Sat May 23 15:53:19 BST 2015
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi Model B
...
[ 1.149003] bcm2835-cpufreq: min=700000 max=900000
[ 1.149945] sdhci: Secure Digital Host Controller Interface driver
[ 1.149969] sdhci: Copyright(c) Pierre Ossman
[ 1.150445] mmc-bcm2835 20300000.mmc: mmc-bcm2835: Unable to initialise DMA channels. Falling back to PIO
[ 1.191202] sdhci-pltfm: SDHCI platform and OF driver helper
...
Anything you want me to capture and post to help someone find the problem?
FYI, I first went ahead and re-installed the last production kernel/firmware release via:
sudo apt-get install --reinstall libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc libraspberrypi0 raspberrypi-bootloader
to correct the problem falling back to:
$ uname -a
Linux talon5 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l GNU/Linux
and confirmed the problem did not occur.
Then today I did a rpi-update to test with the updated firmware again, now running:
$ uname -a
Linux talon5 3.18.14+ #793 PREEMPT Sat May 30 13:15:19 BST 2015 armv6l GNU/Linux
and re-tested my application. I can report I do not see the error reported and that my application appears to runs fine.
Activity
kukabu commentedon May 26, 2015
May be it helps.
ps. Raspberry Pi Model B Revision 0x0f
skogsmaskin commentedon May 26, 2015
Same here, with Arch Linux ARM's official packages. According to this thread it happened 3.18.13-1 -> 3.18.13-2.
(Raspberry Pi 2 Model B)
notro commentedon May 26, 2015
See comment on commit 10c0f30
notro commentedon May 27, 2015
Ping @popcornmix @pelwell
MMC DMA is broken in rpi-3.18.y
10c0f30#commitcomment-11371485
kukabu commentedon May 28, 2015
@notro, thanks, it works
gregt590 commentedon May 29, 2015
I just did a sudo apt-get update && sudo apt-get -y upgrade && sudo rpi-update to update my Raspberry Pi model B to the latest standard distribution Raspian software and am now always getting the "Unable to initialize DMA channels" error as well upon reboots.
As recorded in dmesg:
pi@talon5 ~ $ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.18.14+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #792 PREEMPT Sat May 23 15:53:19 BST 2015
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi Model B
...
[ 1.149003] bcm2835-cpufreq: min=700000 max=900000
[ 1.149945] sdhci: Secure Digital Host Controller Interface driver
[ 1.149969] sdhci: Copyright(c) Pierre Ossman
[ 1.150445] mmc-bcm2835 20300000.mmc: mmc-bcm2835: Unable to initialise DMA channels. Falling back to PIO
[ 1.191202] sdhci-pltfm: SDHCI platform and OF driver helper
...
Anything you want me to capture and post to help someone find the problem?
notro commentedon May 29, 2015
The problem is fixed in the source but there's no new kernel/firmware release yet.
You can go back to the previous firmware like this:
kernel: Fix bcm2835-mmc DMA allocation error handling
kernel: Fix bcm2835-mmc DMA allocation error handling
popcornmix commentedon May 31, 2015
@kukabu can you test with latest rpi-update firmware?
gregt590 commentedon May 31, 2015
FYI, I first went ahead and re-installed the last production kernel/firmware release via:
sudo apt-get install --reinstall libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc libraspberrypi0 raspberrypi-bootloader
to correct the problem falling back to:
$ uname -a
Linux talon5 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l GNU/Linux
and confirmed the problem did not occur.
Then today I did a rpi-update to test with the updated firmware again, now running:
$ uname -a
Linux talon5 3.18.14+ #793 PREEMPT Sat May 30 13:15:19 BST 2015 armv6l GNU/Linux
and re-tested my application. I can report I do not see the error reported and that my application appears to runs fine.
Thanks,
Greg
kukabu commentedon May 31, 2015
Fixed. Thanks.
kernel: Fix bcm2835-mmc DMA allocation error handling
drm/dp_mst: Fix NULL dereference during payload addition