Support for Raspberry Pi 3B+

Questions & Discussion about the right Hardware to run IPFire on
chubeez
Posts: 18
Joined: October 28th, 2015, 8:19 pm

Re: Support for Raspberry Pi 3B+

Post by chubeez » December 10th, 2018, 7:48 pm

So as soon as I add a second USB Ethernet adapter and set it to blue, it does not get past "Restarting Network".

It also seems quite unstable.
IMG_9780.jpg
Image

Testing Raspberry Pi 3 B+: Core Update 126-dirty
Image

JonM
Posts: 69
Joined: August 4th, 2017, 5:49 pm
Location: US

Re: Support for Raspberry Pi 3B+

Post by JonM » December 12th, 2018, 5:18 pm

I saw the blog for IPFire 2.21 - Core Update 126 is available for testing and I went to download and try the update. I went to nightly builds > core126 > latest but there is no ARM build.

Screen Shot 2018-12-12 at 11.15.47 AM.png
Production:
Image

Testing Raspi 3B:
Image

Testing Raspi 3B+:
Image

gmac
Posts: 1
Joined: December 12th, 2018, 5:26 pm

Re: Support for Raspberry Pi 3B+

Post by gmac » December 12th, 2018, 5:39 pm

I have just tried core 126 with the Pi3B+. The on-board LAN appears to work as expected.

Getting the core 126 software was a little awkward: I had core 125 installed on a PiB then chose the upgrade to core 126 option; after the upgrade, transferred the SD card to the Pi3B+, reconfigured the network and all is working well.

My network config has the on-board LAN (usb: Standard Microsystems Corp.) as green, and external USB NIC (usb: ASIX Electronics Corp. AX88772B) as red. IPFire version 2.21 (armv5tel) Core Update 126.

User avatar
Arne.F
Core Developer
Core Developer
Posts: 8023
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: Support for Raspberry Pi 3B+

Post by Arne.F » December 13th, 2018, 6:12 am

@JonM: the nightly builder seems not build all branches for arm...

Here are the buildeesting builds:
https://people.ipfire.org/~arne_f/testing/
Arne

Support the project on the donation!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

chubeez
Posts: 18
Joined: October 28th, 2015, 8:19 pm

Re: Support for Raspberry Pi 3B+

Post by chubeez » December 31st, 2018, 8:00 am

I see the stable 126 is available :)

Thanks for all your effort. Going to give it a try as soon as possible...
Image

Testing Raspberry Pi 3 B+: Core Update 126-dirty
Image

JonM
Posts: 69
Joined: August 4th, 2017, 5:49 pm
Location: US

Re: Support for Raspberry Pi 3B+

Post by JonM » December 31st, 2018, 5:42 pm

chubeez -

On your Raspberry Pi 3B+, do you load the armv5tel images? or the aarch64 images?


EDIT:
chubeez wrote:
December 31st, 2018, 8:00 am
I see the stable 126 is available :)
Where is you find stable 126 for the Raspberry Pi 3B+?
Production:
Image

Testing Raspi 3B:
Image

Testing Raspi 3B+:
Image

User avatar
Arne.F
Core Developer
Core Developer
Posts: 8023
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: Support for Raspberry Pi 3B+

Post by Arne.F » January 1st, 2019, 3:43 pm

IPFire stable is only armv5tel. aarch64 is experimental...

But there are still some strange usb issues on RPi (all versions). I had mailed with some developers and they need a full trace if the kernel panic but im not
able to reproduce it when the serial logging/console is used. And the trace was not written to the logfiles if tty console was used.
Arne

Support the project on the donation!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

Challenger
Posts: 2
Joined: January 2nd, 2019, 7:50 pm

Re: Support for Raspberry Pi 3B+

Post by Challenger » January 2nd, 2019, 8:23 pm

Hello to everyone,
I have been using IPFire 2.21 (armv5tel) - core126 with raspberry PI 3B+. I have configured onboard LAN ethernet port (Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter) as green interface and an USB to LAN adapter (Realtek Semiconductor Corp. RTL8150 Fast Ethernet Adapter) as a red interface and everything works wells. No DMA errors, no kernel panic. I have test this configuration over 30 days with no issues. The problem shows up when i configure the blue interface as an AP with hostapd addon. I have test several combinations on red, green and blue interfaces and the results are the same. A lot of DMA errors appears and after some time kernel panics and USB hangs. It seems that the 3 interfaces can't work in parallel.

Next are the logs:

Jan 2 00:16:50 ipfire kernel: dwc2 3f980000.usb: dwc2_hc_chhltd_intr_dma: Channel 5 - ChHltd set, but reason is unknown
Jan 2 00:16:50 ipfire kernel: dwc2 3f980000.usb: hcint 0x00000402, intsts 0x06600001
Jan 2 00:16:50 ipfire kernel: dwc2 3f980000.usb: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is unknown
Jan 2 00:16:50 ipfire kernel: dwc2 3f980000.usb: hcint 0x00000402, intsts 0x04600001
Jan 2 00:16:50 ipfire kernel: dwc2 3f980000.usb: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is unknown
Jan 2 00:16:50 ipfire kernel: dwc2 3f980000.usb: hcint 0x00000402, intsts 0x06600021
Jan 2 00:16:50 ipfire kernel: usb 1-1.5: Rx status -71
Jan 2 02:23:15 ipfire kernel: read_bulk_callback: 48 callbacks suppressed
Jan 2 03:25:02 ipfire kernel: dwc2 3f980000.usb: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is unknown
Jan 2 03:25:02 ipfire kernel: dwc2 3f980000.usb: hcint 0x00000402, intsts 0x04600009
Jan 2 03:25:02 ipfire kernel: dwc2 3f980000.usb: dwc2_hc_chhltd_intr_dma: Channel 2 - ChHltd set, but reason is unknown
Jan 2 03:25:02 ipfire kernel: dwc2 3f980000.usb: hcint 0x00000402, intsts 0x04600001
Jan 2 03:25:02 ipfire kernel: dwc2 3f980000.usb: dwc2_hc_chhltd_intr_dma: Channel 0 - ChHltd set, but reason is unknown
Jan 2 03:25:02 ipfire kernel: dwc2 3f980000.usb: hcint 0x00000402, intsts 0x04600001
Jan 2 03:25:02 ipfire kernel: usb 1-1.2: Rx status -71
Jan 2 03:25:36 ipfire kernel: usb 1-1.2: Rx status -32
Jan 2 03:25:36 ipfire last message repeated 9 times
Jan 2 03:25:36 ipfire kernel: usb 1-1.2: red0: intr status -71
Jan 2 03:25:36 ipfire kernel: usb 1-1.2: red0: intr status -71
Jan 2 03:25:36 ipfire kernel: usb 1-1.2: red0: Tx status -32
Jan 2 03:25:36 ipfire kernel: usb 1-1.2: red0: intr status -71
Jan 2 03:25:36 ipfire last message repeated 2 times
Jan 2 03:25:36 ipfire kernel: usb 1-1.2: red0: Tx status -32
Jan 2 03:25:37 ipfire kernel: usb 1-1.2: red0: intr status -71
Jan 2 03:25:38 ipfire last message repeated 5 times

Anyone knows about a workaround maybe?? or how to fix this?? Do we have to wait until next core update??

Any support will be helpfull

Thx

JonM
Posts: 69
Joined: August 4th, 2017, 5:49 pm
Location: US

Re: Support for Raspberry Pi 3B+

Post by JonM » January 12th, 2019, 9:21 pm

@Challenger - I haven't tried the blue interface yet but maybe in the next week or so I'll have some time.

Everyone - I am curious if anyone else has tried the RPI3B+ or RPI3B with IPFire 2.21 (armv5tel) - Core Update 126. I've run the RPI3B for a week and the RPI3B+ for almost a week and both seem to work OK without kernel panics or issues. Is there something I can test differently?

If all is OK, is it safe to remove the:
With kernels newer than 4.14.50 i get again kernel panics after some USB access so the board is not working very well.
from the Raspberry Pi 3 Model B wiki? I've not seen the kernel panics so I may not be experiencing the same issues as others.
Production:
Image

Testing Raspi 3B:
Image

Testing Raspi 3B+:
Image

Challenger
Posts: 2
Joined: January 2nd, 2019, 7:50 pm

Re: Support for Raspberry Pi 3B+

Post by Challenger » January 16th, 2019, 12:15 am

Thanks @JonM, if you need any logs or data, please don't hesitate to contact me.
Looking forward to hearing from you.

JonM
Posts: 69
Joined: August 4th, 2017, 5:49 pm
Location: US

Re: Support for Raspberry Pi 3B+

Post by JonM » Yesterday, 8:56 pm

@Challenger - I went from a red/green setup to a red/green/blue setup and I don't see the same errors. (disclaimer - I am not one of the experts. I am just a user like you).

My setup:
• Raspberry Pi 3 Model B+
• IPFire 2.21 (armv5tel) - Core Update 126
green = Onboard LAN ethernet port - Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
red = USB-to-Ethernet adapter - Trendnet TU3-ETG (with AXIS AX88179 Gigabit internals)
blue = on-board wifi via sdio: brcmfmac
• addons = hostapd, nano, iperf3

I don't see any of the errors like the ones in your log and I don't have any of the kernel panics. But I also cannot get the hostapd add-on to work correctly. I cannot connect from the blue network to the Internet. I can access the IPFire box and connect to the WUI just fine. So I think I've set something wrong!

These are the only issues I see:

Code: Select all

[root@ipfire-rpi3bplus ~]# dmesg | grep -ave "DROP_INPUT"
[   27.437026] cfg80211: Invalid regulatory domain detected: 00
[   32.179606] 8021q: 802.1Q VLAN Support v1.8
[   34.867696] ax88179_178a 1-1.1.3:1.0 red0: ax88179 - Link status is: 1
[  280.353561] cfg80211: Invalid regulatory domain detected: 00
[  283.999590] brcmfmac mmc1:0001:1 blue0_man: renamed from blue0
[ 2405.902226] cfg80211: Invalid regulatory domain detected: 00
[ 2464.347532] cfg80211: Invalid regulatory domain detected: 00
[ 2583.825689] cfg80211: Invalid regulatory domain detected: 00
[ 3055.267432] cfg80211: Invalid regulatory domain detected: 00
[ 3098.848984] cfg80211: Invalid regulatory domain detected: 00
[ 3140.067677] cfg80211: Invalid regulatory domain detected: 00
More testing to do!
Production:
Image

Testing Raspi 3B:
Image

Testing Raspi 3B+:
Image

Post Reply