Unable to initialise DMA channels. Falling back to PIO

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Unable to initialise DMA channels. Falling back to PIO

Postby adolchristin » Wed May 20, 2015 4:07 am

I'm running archlinux arm on my raspberry pi 2 and I'm seeing the following during boot:

mmc-bcm2835 3f300000.mmc: mmc-bcm2835: Unable to initialise DMA channels. Falling back to PIO

I added bcm2708.bcm2835_mmc=1 to my /boot/cmdline.txt but I'm still seeing the same thing. In any case I was pretty sure this new driver was the default. Is the archlinux kernel compiled with CONFIG_DMA_BCM2708=y ?
adolchristin
 
Posts: 6
Joined: Wed May 20, 2015 3:55 am

Re: Unable to initialise DMA channels. Falling back to PIO

Postby moonman » Wed May 20, 2015 4:27 am

Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Unable to initialise DMA channels. Falling back to PIO

Postby adolchristin » Wed May 20, 2015 1:14 pm

Thanks for the link. Looks like appropriate values are set, any idea why I'm falling back to programmed IO? Is this expected behaviour and I just shouldn't worry about it?
adolchristin
 
Posts: 6
Joined: Wed May 20, 2015 3:55 am

Re: Unable to initialise DMA channels. Falling back to PIO

Postby towolf » Wed May 20, 2015 2:23 pm

I’m having the same issue. PIO mode is not good.
towolf
 
Posts: 12
Joined: Mon Oct 07, 2013 10:23 pm

Re: Unable to initialise DMA channels. Falling back to PIO

Postby adolchristin » Wed May 20, 2015 2:39 pm

It's especially bad for writing it seems like. I'm going to try the linux-armv7-rc kernel to see if there's any difference when I get home. Unfortunately I only recently got my rpi so I can't say if this worked before.
adolchristin
 
Posts: 6
Joined: Wed May 20, 2015 3:55 am

Re: Unable to initialise DMA channels. Falling back to PIO

Postby towolf » Wed May 20, 2015 2:40 pm

It worked before. I’m not sure when it started, during the most recent kernel update or the one before.
towolf
 
Posts: 12
Joined: Mon Oct 07, 2013 10:23 pm

Re: Unable to initialise DMA channels. Falling back to PIO

Postby adolchristin » Wed May 20, 2015 3:04 pm

After further reading I'm wondering if it's a mismatch between the compiled kernel and the device tree blob? I'm fairly new to the RPI so deciphering all the broadcom specific stuff is a little tricky.
adolchristin
 
Posts: 6
Joined: Wed May 20, 2015 3:55 am

Re: Unable to initialise DMA channels. Falling back to PIO

Postby trolly » Wed May 20, 2015 6:21 pm

Same problem here. It showed up after doing these updates:

$this->bbcode_second_pass_code('', '[2015-05-20 19:27] [PACMAN] Running 'pacman -Syu'
[2015-05-20 19:27] [PACMAN] synchronizing package lists
[2015-05-20 19:27] [PACMAN] starting full system upgrade
[2015-05-20 19:27] [ALPM] transaction started
[2015-05-20 19:27] [ALPM] upgraded dhcpcd (6.8.2-1 -> 6.9.0-1)
[2015-05-20 19:27] [ALPM] upgraded libssh (0.6.5-1 -> 0.7.0-1)
[2015-05-20 19:27] [ALPM] upgraded ffmpeg (1:2.6.2-1 -> 1:2.6.3-1)
[2015-05-20 19:27] [ALPM] upgraded iproute2 (3.19.0-1 -> 4.0.0-1)
[2015-05-20 19:27] [ALPM] upgraded linux-raspberrypi (3.18.13-1 -> 3.18.13-2)
[2015-05-20 19:28] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2015-05-20 19:28] [ALPM] upgraded mdadm (3.3.2-1 -> 3.3.2-2)
[2015-05-20 19:28] [ALPM] upgraded raspberrypi-firmware-bootloader (20150513-1 -> 20150518-1)
[2015-05-20 19:28] [ALPM] upgraded raspberrypi-firmware-bootloader-x (20150513-1 -> 20150518-1)
[2015-05-20 19:28] [ALPM] upgraded raspberrypi-firmware-tools (20150513-1 -> 20150518-1)
[2015-05-20 19:28] [ALPM] upgraded raspberrypi-firmware-examples (20150513-1 -> 20150518-1)
[2015-05-20 19:28] [ALPM] upgraded raspberrypi-firmware (20150513-1 -> 20150518-1)
[2015-05-20 19:28] [ALPM] transaction completed
')
trolly
 
Posts: 4
Joined: Thu Apr 23, 2015 4:56 pm

Re: Unable to initialise DMA channels. Falling back to PIO

Postby adolchristin » Wed May 20, 2015 11:39 pm

Thanks for the info, I'm learning more about this raspberry pi stuff. Apparently the broadcom stuff is provided in the firmware packages as binary blobs which the kernel interacts with. I'm starting to think that there's a mismatch between the kernel and the binary blob but it's pretty hard to diagnose what's happening in the blobs since, well, they're binary :?
adolchristin
 
Posts: 6
Joined: Wed May 20, 2015 3:55 am

Re: Unable to initialise DMA channels. Falling back to PIO

Postby Evils » Thu May 21, 2015 4:22 pm

Same problem here since I updated yesterday... a fix would be nice or at least a fallback

Edit:
After downgrading one package after another, it seems to be in here:

$this->bbcode_second_pass_quote('', '
')[2015-05-20 19:27] [ALPM] upgraded linux-raspberrypi (3.18.13-1 -> 3.18.13-2)


After downgrading linux-raspberrypi to 3.18.13-1 from my pacman cache, the warning was gone
Evils
 
Posts: 20
Joined: Fri May 01, 2015 2:36 am

Next

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 9 guests