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: 131
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

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: 8452
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: 131
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

User avatar
Arne.F
Core Developer
Core Developer
Posts: 8452
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: 3
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: 131
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

Challenger
Posts: 3
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: 131
Joined: August 4th, 2017, 5:49 pm
Location: US

Re: Support for Raspberry Pi 3B+

Post by JonM » January 17th, 2019, 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

User avatar
Roberto Peña
Posts: 749
Joined: July 16th, 2014, 3:56 pm
Location: Bilbao (España)
Contact:

Re: Support for Raspberry Pi 3B+

Post by Roberto Peña » January 18th, 2019, 6:56 am

Hi Guys.

I´ve one Raspberry Pi 3B and have issues.

My profile:
https://fireinfo.ipfire.org/profile/725 ... 20acac7db0

Issues:
Registros del sistema.png
They say that the Raspberry Pi 3B has no problems. Well, mine gives these errors randomly.

Greetings.
Image
Image

╔════════════════════════════════════════════════╗
Donate to improve IPFire: https://www.ipfire.org/donate
╚════════════════════════════════════════════════╝

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

Re: Support for Raspberry Pi 3B+

Post by Arne.F » January 20th, 2019, 7:52 am

They say that the Raspberry Pi 3B has no problems. Well, mine gives these errors randomly.
I have not say'd this, i have said that i have fixed the kernel crash after some of this errors, not the error itself.
I need a kernel trace with a kernel without this hack for the dwc driver developers and are not able to capture it
because if i try to get it via serial console im not able to reproduce the error. Maybee the video console triggers it.

Here is the Image without the hack that crash after some of the dma errors. https://people.ipfire.org/~arne_f/highl ... rpi-crash/
If you are able to get the complete kernel trace please send it to me.
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.

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

Re: Support for Raspberry Pi 3B+

Post by JonM » January 20th, 2019, 8:03 pm

Arne - the highly-experimental/rpi-crash version is up & running on a RPI3B+!

EDIT:
My setup:
• Raspberry Pi 3 Model B+
• IPFire 2.21 (armv5tel) - Core Update 126-dirty
• 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)
• addons = nano

SERIAL-CONSOLE=OFF in uENV.txt
Production:
Image

Testing Raspi 3B+:
Image

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

Re: Support for Raspberry Pi 3B+

Post by JonM » January 21st, 2019, 6:04 pm

Arne - In the past I've always run the RPI3b+ in the serial console mode and all seemed to run OK. Yesterday I added a Dell USB keyboard and I saw this:

Code: Select all

Jan 20 15:40:19 ipfire-rpi3bplus-he126 ntpd[2254]: new interface(s) found: waking up resolver
Jan 20 15:41:44 ipfire-rpi3bplus-he126 kernel: usb 1-1.3: new full-speed USB device number 6 using dwc2
Jan 20 15:41:44 ipfire-rpi3bplus-he126 kernel: usb 1-1.3: New USB device found, idVendor=413c, idProduct=1004
Jan 20 15:41:44 ipfire-rpi3bplus-he126 kernel: usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jan 20 15:41:44 ipfire-rpi3bplus-he126 kernel: usb 1-1.3: Product: Dell USB Keyboard Hub
Jan 20 15:41:44 ipfire-rpi3bplus-he126 kernel: usb 1-1.3: Manufacturer: Dell
Jan 20 15:41:44 ipfire-rpi3bplus-he126 kernel: hub 1-1.3:1.0: USB hub found
Jan 20 15:41:44 ipfire-rpi3bplus-he126 kernel: hub 1-1.3:1.0: 3 ports detected
Jan 20 15:41:45 ipfire-rpi3bplus-he126 kernel: usb 1-1.3.1: new low-speed USB device number 7 using dwc2
Jan 20 15:41:45 ipfire-rpi3bplus-he126 kernel: usb 1-1.3.1: New USB device found, idVendor=413c, idProduct=2006
Jan 20 15:41:45 ipfire-rpi3bplus-he126 kernel: usb 1-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jan 20 15:41:45 ipfire-rpi3bplus-he126 kernel: usb 1-1.3.1: Product: Dell USB Keyboard Hub
Jan 20 15:41:45 ipfire-rpi3bplus-he126 kernel: usb 1-1.3.1: Manufacturer: Dell
Jan 20 15:41:45 ipfire-rpi3bplus-he126 kernel: input: Dell Dell USB Keyboard Hub as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/0003:413C:2006.0001/input/input0
Jan 20 15:41:45 ipfire-rpi3bplus-he126 kernel: hid-generic 0003:413C:2006.0001: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell USB Keyboard Hub] on usb-3f980000.usb-1.3.1/input0
Jan 20 15:41:50 ipfire-rpi3bplus-he126 kernel: input: Dell Dell USB Keyboard Hub as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.1/0003:413C:2006.0002/input/input1
Jan 20 15:41:50 ipfire-rpi3bplus-he126 kernel: dwc2 3f980000.usb: dwc2_do_reserve: No host channel available for periodic transfer
Jan 20 15:41:50 ipfire-rpi3bplus-he126 kernel: dwc2 3f980000.usb: DWC OTG HCD URB Enqueue failed adding QTD. Error status -28
Jan 20 15:41:50 ipfire-rpi3bplus-he126 kernel: input: failed to attach handler kbd to device input1, error: -16
Jan 20 15:41:50 ipfire-rpi3bplus-he126 kernel: dwc2 3f980000.usb: dwc2_do_reserve: No host channel available for periodic transfer
Jan 20 15:41:50 ipfire-rpi3bplus-he126 kernel: dwc2 3f980000.usb: DWC OTG HCD URB Enqueue failed adding QTD. Error status -28
Jan 20 15:41:50 ipfire-rpi3bplus-he126 kernel: hid-generic 0003:413C:2006.0002: input,hidraw1: USB HID v1.10 Device [Dell Dell USB Keyboard Hub] on usb-3f980000.usb-1.3.1/input1
Jan 20 15:41:50 ipfire-rpi3bplus-he126 kernel: dwc2 3f980000.usb: dwc2_do_reserve: No host channel available for periodic transfer
Jan 20 15:41:50 ipfire-rpi3bplus-he126 kernel: dwc2 3f980000.usb: DWC OTG HCD URB Enqueue failed adding QTD. Error status -28
Jan 20 15:42:06 ipfire-rpi3bplus-he126 login[2440]: ROOT LOGIN  on '/dev/console'
And then after restarting this morning I could no longer connect to the internet (RED = ax88179_178a device) and I saw 2700+ of these messages:

Code: Select all

Jan 21 10:49:52 ipfire-rpi3bplus-he126 acpid: waiting for events: event logging is off
Jan 21 10:49:54 ipfire-rpi3bplus-he126 kernel: lan78xx 1-1.1.1:1.0 green0: kevent 4 may have been dropped
Jan 21 10:49:58 ipfire-rpi3bplus-he126 kernel: ax88179_178a 1-1.1.3:1.0 red0: ax88179 - Link status is: 1
Jan 21 10:49:58 ipfire-rpi3bplus-he126 kernel: ax88179_178a 1-1.1.3:1.0 red0: ax88179 - Link status is: 1
Jan 21 10:49:59 ipfire-rpi3bplus-he126 kernel: ax88179_178a 1-1.1.3:1.0 red0: kevent 4 may have been dropped
Jan 21 10:49:59 ipfire-rpi3bplus-he126 kernel: ax88179_178a 1-1.1.3:1.0 red0: ax88179 - Link status is: 1
Jan 21 10:49:59 ipfire-rpi3bplus-he126 kernel: ax88179_178a 1-1.1.3:1.0 red0: kevent 4 may have been dropped
Jan 21 10:49:59 ipfire-rpi3bplus-he126 kernel: ax88179_178a 1-1.1.3:1.0 red0: ax88179 - Link status is: 1
I unplugged the keyboard and rebooted and the red network came back.
Production:
Image

Testing Raspi 3B+:
Image

Post Reply