Support for Raspberry Pi 3B+

Questions & Discussion about the right Hardware to run IPFire on
User avatar
Arne.F
Core Developer
Core Developer
Posts: 7977
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: Support for Raspberry Pi 3B+

Post by Arne.F » November 30th, 2018, 8:31 am

I have done more test. The RPi3B runs stable until i connect an additional USB LAN (tested with asix, realtek 8153, moschip and davicom) or similar device (android phone in rndis mode)

Same is for The RPi3B+ with my actual testbuild. (should available tommorow in the nightly builds.)

https://git.ipfire.org/?p=people/arne_f ... 4.84-multi
smsc95xx 1-1.1:1.0 green0: kevent 2 may have been dropped
This is known for the smsc95xx and many other usb lan chips. It is also present on other systems like odroid-c1 or pandaboard (with nearly all Linux distros).
With the RPi Kernel the RPi fondation has patched out the warning but the event drop is still there.
Arne

Support the project on the IPFire whishlist!

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: 17
Joined: October 28th, 2015, 8:19 pm

Re: Support for Raspberry Pi 3B+

Post by chubeez » November 30th, 2018, 4:06 pm

so I got a second USB Ethernet adapter and I was able to connect red0 PPPoE but the Pi3B+ eventually crashes with a large dump of info.

This is some of the /var/log/messages (I dotted ..... out some info):

Code: Select all

Nov 30 17:32:24 ipfire unbound: [1300:0] error: failed to read /var/lib/unbound/root.key
Nov 30 17:32:24 ipfire unbound: [1300:0] error: error reading auto-trust-anchor-file: /var/lib/unbound/root.key
Nov 30 17:32:24 ipfire unbound: [1300:0] error: validator: error in trustanchors config
Nov 30 17:32:24 ipfire unbound: [1300:0] error: validator: could not apply configuration settings.
Nov 30 17:32:24 ipfire unbound: [1300:0] error: module init for module validator failed
Nov 30 17:32:24 ipfire unbound: [1300:0] fatal error: failed to setup modules
Nov 30 17:32:29 ipfire acpid: starting up with netlink and the input layer
Nov 30 17:32:29 ipfire acpid: 1 rule loaded
Nov 30 17:32:29 ipfire acpid: waiting for events: event logging is off
Nov 30 17:32:33 ipfire kernel: r8152 1-1.1.2:1.0 red0: carrier on
Nov 30 17:32:33 ipfire pppd[1442]: Plugin rp-pppoe.so loaded.
Nov 30 17:32:33 ipfire pppd[1442]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Nov 30 17:32:33 ipfire kernel: PPP generic driver version 2.4.2
Nov 30 17:32:33 ipfire pppd[1442]: pppd 2.4.7 started by root, uid 0
Nov 30 17:32:33 ipfire pppd[1442]: Using interface ppp0
Nov 30 17:32:33 ipfire codel: Codel AQM has been enabled on 'ppp0'.
Nov 30 17:32:33 ipfire saslauthd[1505]: detach_tty      : master pid is: 1505
Nov 30 17:32:33 ipfire saslauthd[1505]: ipc_init        : listening on socket: /var/run/saslauthd/mux
Nov 30 17:32:34 ipfire ntpd[1528]: Command line: /usr/bin/ntpd -Ap /var/run/ntpd.pid
Nov 30 17:32:34 ipfire ntpd[1530]: proto: precision = 2.396 usec (-19)
Nov 30 17:32:34 ipfire ntpd[1530]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Nov 30 17:32:34 ipfire ntpd[1530]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Nov 30 17:32:34 ipfire kernel: CoreChips 1-1.1.3:1.0 green0: link up, 100Mbps, full-duplex, lpa 0x4DE1
Nov 30 17:32:36 ipfire ntpd[1530]: Listen normally on 4 green0 192.168.200.1:123
Nov 30 17:32:36 ipfire ntpd[1530]: new interface(s) found: waking up resolver
Nov 30 17:32:36 ipfire collectd[1589]: Initialization complete, entering read-loop.
Nov 30 17:32:36 ipfire collectd[1589]: ping plugin: ping_host_add (gateway) failed: getaddrinfo: Name or service not known
Nov 30 17:32:36 ipfire collectd[1589]: ping plugin: No host could be added to ping object. Giving up.
Nov 30 17:32:36 ipfire collectd[1589]: ping plugin: The ping thread had a problem. Restarting it.
Nov 30 17:32:36 ipfire collectd[1589]: read-function of plugin `ping' failed. Will suspend it for 60 seconds.
Nov 30 17:32:36 ipfire collectd[1589]: ping plugin: ping_host_add (gateway) failed: getaddrinfo: Name or service not known
Nov 30 17:32:36 ipfire collectd[1589]: ping plugin: No host could be added to ping object. Giving up.
Nov 30 17:32:36 ipfire dhcpd: Wrote 2 leases to leases file.
Nov 30 17:32:36 ipfire dhcpd: Server starting service.
Nov 30 17:32:37 ipfire sshd[1639]: Server listening on 0.0.0.0 port 22.
Nov 30 17:32:37 ipfire dhcp[1626]: Could not run unbound-control local_data DAVIDT-PERSONAL.internal 60 IN A 192.168.200.101, error code: 1: 
Nov 30 17:32:38 ipfire dhcpd: reuse_lease: lease age 383 (secs) under 25% threshold, reply with unaltered, existing lease for 192.168.200.101
Nov 30 17:32:47 ipfire login[1835]: ROOT LOGIN  on '/dev/console'
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@Nov 30 17:33:45 ipfire syslogd 1.5.1: restart (remote reception).
Nov 30 17:33:45 ipfire unbound: [1302:0] notice: init module 0: validator
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at6: Syntax error, could not parse the RR's type: # The format of this file is documented in the dhcpd.leases(5) manual page. 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 1, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at7: Syntax error, could not parse the RR's type: # This lease file was written by isc-dhcp-4.4.1 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 2, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at23: Syntax error, could not parse the RR's type: # authoring-byte-order entry is generated, DO NOT DELETE
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 4, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at36: Syntax error, could not parse the RR's type: authoring-byte-order little-endian; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 5, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at24: Syntax error, could not parse the RR's type: lease 192.168.200.100 { 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 7, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at9: Syntax error, could not parse the RR's type:   starts 0 2018/11/18 06:31:29; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 8, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at7: Syntax error, could not parse the RR's type:   ends 0 2018/11/18 07:31:29; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 9, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at7: Syntax error, could not parse the RR's type:   tstp 0 2018/11/18 07:31:29; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 10, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at7: Syntax error, could not parse the RR's type:   cltt 0 2018/11/18 06:31:29; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 11, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at10: Syntax error, could not parse the RR's type:   binding state free; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 12, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at11: Syntax error, could not parse the RR's type:   hardware ethernet 00:..............; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 13, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at6: Syntax error, could not parse the RR's type:   uid "\001\000\340L6\000\021"; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 14, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at6: Syntax error, could not parse the RR's type:   set vendor-class-identifier = "MSFT 5.0"; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 15, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at2: Syntax error, could not parse the RR's TTL: } 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 16, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at24: Syntax error, could not parse the RR's type: lease 192.168.200.101 { 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 17, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at9: Syntax error, could not parse the RR's type:   starts 5 2018/11/30 15:26:15; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 18, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at7: Syntax error, could not parse the RR's type:   ends 5 2018/11/30 16:26:15; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 19, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at7: Syntax error, could not parse the RR's type:   tstp 5 2018/11/30 16:26:15; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 20, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at7: Syntax error, could not parse the RR's type:   cltt 5 2018/11/30 15:26:15; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 21, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at10: Syntax error, could not parse the RR's type:   binding state active; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 22, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at7: Syntax error, could not parse the RR's type:   next binding state free; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 23, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at9: Syntax error, could not parse the RR's type:   rewind binding state free; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 24, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at11: Syntax error, could not parse the RR's type:   hardware ethernet 00:..............; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 25, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at6: Syntax error, could not parse the RR's type:   uid "\001\000\340L6,I"; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 26, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at6: Syntax error, could not parse the RR's type:   set vendor-class-identifier = "MSFT 5.0"; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 27, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at18: Syntax error, could not parse the RR's type:   client-hostname "..............."; 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 28, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: ldns error while converting string to RR at2: Syntax error, could not parse the RR's TTL: } 
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 29, skipping
Nov 30 17:33:45 ipfire unbound: [1302:0] error: failed to read /var/lib/unbound/root.key
Nov 30 17:33:45 ipfire unbound: [1302:0] error: error reading auto-trust-anchor-file: /var/lib/unbound/root.key
Nov 30 17:33:45 ipfire unbound: [1302:0] error: validator: error in trustanchors config
Nov 30 17:33:45 ipfire unbound: [1302:0] error: validator: could not apply configuration settings.
Nov 30 17:33:45 ipfire unbound: [1302:0] error: module init for module validator failed
Nov 30 17:33:45 ipfire unbound: [1302:0] fatal error: failed to setup modules
Nov 30 17:33:50 ipfire acpid: starting up with netlink and the input layer
Nov 30 17:33:50 ipfire acpid: 1 rule loaded
Nov 30 17:33:50 ipfire acpid: waiting for events: event logging is off
Nov 30 17:33:55 ipfire pppd[1444]: Plugin rp-pppoe.so loaded.
Nov 30 17:33:55 ipfire pppd[1444]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Nov 30 17:33:55 ipfire kernel: PPP generic driver version 2.4.2
Nov 30 17:33:55 ipfire pppd[1444]: pppd 2.4.7 started by root, uid 0
Nov 30 17:33:55 ipfire pppd[1444]: Using interface ppp0
Nov 30 17:33:55 ipfire pppd[1444]: local  IP address ..............
Nov 30 17:33:55 ipfire pppd[1444]: remote IP address ..............
Nov 30 17:33:55 ipfire codel: Codel AQM has been enabled on 'ppp0'.
Nov 30 17:33:55 ipfire saslauthd[1507]: detach_tty      : master pid is: 1507
Nov 30 17:33:55 ipfire saslauthd[1507]: ipc_init        : listening on socket: /var/run/saslauthd/mux
Nov 30 17:33:56 ipfire ntpd[1530]: ntpd 4.2.8p12@1.3728-o Sat Nov 17 14:00:00 UTC 2018 (1): Starting
Nov 30 17:33:56 ipfire ntpd[1530]: Command line: /usr/bin/ntpd -Ap /var/run/ntpd.pid
Nov 30 17:33:56 ipfire ntpd[1532]: proto: precision = 2.447 usec (-19)
Nov 30 17:33:56 ipfire ntpd[1532]: Listening on routing socket on fd #20 for interface updates
Nov 30 17:33:56 ipfire ntpd[1532]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Nov 30 17:33:56 ipfire ntpd[1532]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Nov 30 17:33:56 ipfire kernel: CoreChips 1-1.1.3:1.0 green0: link up, 100Mbps, full-duplex, lpa 0x4DE1
Nov 30 17:33:58 ipfire ntpd[1532]: Listen normally on 4 green0 192.168.200.1:123
Nov 30 17:33:58 ipfire ntpd[1532]: new interface(s) found: waking up resolver
00 ACK URGP=0 
Nov 30 17:33:59 ipfire collectd[1591]: Initialization complete, entering read-loop.
Nov 30 17:33:59 ipfire collectd[1591]: ping plugin: ping_host_add (gateway) failed: getaddrinfo: Name or service not known
Nov 30 17:33:59 ipfire collectd[1591]: ping plugin: No host could be added to ping object. Giving up.
Nov 30 17:33:59 ipfire collectd[1591]: ping plugin: The ping thread had a problem. Restarting it.
Nov 30 17:33:59 ipfire collectd[1591]: read-function of plugin `ping' failed. Will suspend it for 60 seconds.
Nov 30 17:33:59 ipfire collectd[1591]: ping plugin: ping_host_add (gateway) failed: getaddrinfo: Name or service not known
Nov 30 17:33:59 ipfire collectd[1591]: ping plugin: No host could be added to ping object. Giving up.
Nov 30 17:33:59 ipfire dhcpd: Wrote 2 leases to leases file.
Nov 30 17:33:59 ipfire dhcpd: Server starting service.
Nov 30 17:34:00 ipfire dhcpd: reuse_lease: lease age 465 (secs) under 25% threshold, reply with unaltered, existing lease for 192.168.200.101
Nov 30 17:34:00 ipfire sshd[1641]: Server listening on 0.0.0.0 port 22.
Nov 30 17:34:00 ipfire dhcp[1628]: Could not run unbound-control local_data D....................... 60 IN A 192.168.200.101, error code: 1: 
00 ACK URGP=0 
Nov 30 17:34:09 ipfire login[1816]: ROOT LOGIN  on '/dev/console'
00 ACK URGP=0 
Nov 30 17:34:59 ipfire collectd[1591]: ping plugin: The ping thread had a problem. Restarting it.
Nov 30 17:34:59 ipfire collectd[1591]: read-function of plugin `ping' failed. Will suspend it for 120 seconds.
Nov 30 17:34:59 ipfire collectd[1591]: ping plugin: ping_host_add (gateway) failed: getaddrinfo: Name or service not known
Nov 30 17:34:59 ipfire collectd[1591]: ping plugin: No host could be added to ping object. Giving up.
Nov 30 17:36:59 ipfire collectd[1591]: ping plugin: The ping thread had a problem. Restarting it.
Nov 30 17:36:59 ipfire collectd[1591]: read-function of plugin `ping' failed. Will suspend it for 240 seconds.
Nov 30 17:36:59 ipfire collectd[1591]: ping plugin: ping_host_add (gateway) failed: getaddrinfo: Name or service not known
Nov 30 17:36:59 ipfire collectd[1591]: ping plugin: No host could be added to ping object. Giving up.
Nov 30 17:37:04 ipfire kernel: usb 1-1.3: new high-speed USB device number 8 using dwc2
Nov 30 17:37:04 ipfire kernel: usb 1-1.3: New USB device found, idVendor=13fe, idProduct=5200
Nov 30 17:37:04 ipfire kernel: usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 30 17:37:04 ipfire kernel: usb 1-1.3: Product: Patriot Memory
Nov 30 17:37:04 ipfire kernel: usb 1-1.3: Manufacturer:         
Nov 30 17:37:04 ipfire kernel: usb 1-1.3: SerialNumber: 0...............
Nov 30 17:37:04 ipfire kernel: usb-storage 1-1.3:1.0: USB Mass Storage device detected
Nov 30 17:37:04 ipfire kernel: scsi host0: usb-storage 1-1.3:1.0
Nov 30 17:37:05 ipfire kernel: scsi 0:0:0:0: Direct-Access              Patriot Memory   PMAP PQ: 0 ANSI: 6
Nov 30 17:37:05 ipfire kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Nov 30 17:37:05 ipfire kernel: sd 0:0:0:0: [sda] 30283008 512-byte logical blocks: (15.5 GB/14.4 GiB)
Nov 30 17:37:05 ipfire kernel: sd 0:0:0:0: [sda] Write Protect is off
Nov 30 17:37:05 ipfire kernel: sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Nov 30 17:37:06 ipfire kernel:  sda: sda1
Nov 30 17:37:06 ipfire kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk
Nov 30 17:37:59 ipfire shutdown[2602]: shutting down for system halt
Nov 30 17:38:00 ipfire init: Switching to runlevel: 0
Nov 30 17:38:18 ipfire sshd[1641]: Received signal 15; terminating.
Nov 30 17:38:19 ipfire ntpd[1532]: ntpd exiting on signal 15 (Terminated)
Nov 30 17:38:19 ipfire ntpd[1532]: 127.127.1.0 local addr 127.0.0.1 -> <null>
Nov 30 17:38:21 ipfire saslauthd[1507]: server_exit     : master exited: 1507
Nov 30 17:38:22 ipfire collectd[1591]: Exiting normally.
Nov 30 17:38:22 ipfire collectd[1591]: collectd: Stopping 1 read threads.
Nov 30 17:38:22 ipfire collectd[1591]: ping plugin: Shutting down thread.
Nov 30 17:38:22 ipfire collectd[1591]: rrdtool plugin: Shutting down the queue thread. This may take a while.
Nov 30 17:38:58 ipfire pppd[1444]: Terminating on signal 15
Nov 30 17:38:58 ipfire pppd[1444]: Exit.
Nov 30 17:39:01 ipfire acpid: exiting
Nov 30 17:39:02 ipfire kernel: Kernel logging (proc) stopped.
Nov 30 17:39:02 ipfire kernel: Kernel log daemon terminating.
Nov 30 17:39:03 ipfire exiting on signal 15
Nov 30 17:39:12 ipfire syslogd 1.5.1: restart (remote reception).
Nov 30 17:39:12 ipfire unbound: [1283:0] notice: init module 0: validator
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at6: Syntax error, could not parse the RR's type: # The format of this file is documented in the dhcpd.leases(5) manual page. 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 1, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at7: Syntax error, could not parse the RR's type: # This lease file was written by isc-dhcp-4.4.1 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 2, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at23: Syntax error, could not parse the RR's type: # authoring-byte-order entry is generated, DO NOT DELETE 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 4, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at36: Syntax error, could not parse the RR's type: authoring-byte-order little-endian; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 5, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at24: Syntax error, could not parse the RR's type: lease 192.168.200.100 { 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 7, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at9: Syntax error, could not parse the RR's type:   starts 0 2018/11/18 06:31:29; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 8, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at7: Syntax error, could not parse the RR's type:   ends 0 2018/11/18 07:31:29; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 9, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at7: Syntax error, could not parse the RR's type:   tstp 0 2018/11/18 07:31:29; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 10, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at7: Syntax error, could not parse the RR's type:   cltt 0 2018/11/18 06:31:29; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 11, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at10: Syntax error, could not parse the RR's type:   binding state free; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 12, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at11: Syntax error, could not parse the RR's type:   hardware ethernet 00:e0:4c:36:00:11; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 13, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at6: Syntax error, could not parse the RR's type:   uid "\001\000\340L6\000\021"; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 14, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at6: Syntax error, could not parse the RR's type:   set vendor-class-identifier = "MSFT 5.0";
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 15, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at2: Syntax error, could not parse the RR's TTL: } 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 16, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at24: Syntax error, could not parse the RR's type: lease 192.168.200.101 { 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 17, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at9: Syntax error, could not parse the RR's type:   starts 5 2018/11/30 15:26:15; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 18, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at7: Syntax error, could not parse the RR's type:   ends 5 2018/11/30 16:26:15; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 19, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at7: Syntax error, could not parse the RR's type:   tstp 5 2018/11/30 16:26:15; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 20, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at7: Syntax error, could not parse the RR's type:   cltt 5 2018/11/30 15:26:15; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 21, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at10: Syntax error, could not parse the RR's type:   binding state active; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 22, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at7: Syntax error, could not parse the RR's type:   next binding state free; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 23, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at9: Syntax error, could not parse the RR's type:   rewind binding state free; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 24, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at11: Syntax error, could not parse the RR's type:   hardware ethernet 00:e0:4c:36:2c:49; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 25, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at6: Syntax error, could not parse the RR's type:   uid "\001\000\340L6,I"; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 26, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at6: Syntax error, could not parse the RR's type:   set vendor-class-identifier = "MSFT 5.0"; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 27, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at18: Syntax error, could not parse the RR's type:   client-hostname "..............."; 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 28, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: ldns error while converting string to RR at2: Syntax error, could not parse the RR's TTL: } 
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to load trust anchor from /var/lib/unbound/root.key at line 29, skipping
Nov 30 17:39:12 ipfire unbound: [1283:0] error: failed to read /var/lib/unbound/root.key
Nov 30 17:39:12 ipfire unbound: [1283:0] error: error reading auto-trust-anchor-file: /var/lib/unbound/root.key
Nov 30 17:39:12 ipfire unbound: [1283:0] error: validator: error in trustanchors config
Nov 30 17:39:12 ipfire unbound: [1283:0] error: validator: could not apply configuration settings.
Nov 30 17:39:12 ipfire unbound: [1283:0] error: module init for module validator failed
Nov 30 17:39:12 ipfire unbound: [1283:0] fatal error: failed to setup modules
Nov 30 17:39:18 ipfire acpid: starting up with netlink and the input layer
Nov 30 17:39:18 ipfire acpid: 1 rule loaded
Nov 30 17:39:18 ipfire acpid: waiting for events: event logging is off
Nov 30 17:39:21 ipfire saslauthd[1440]: detach_tty      : master pid is: 1440
Nov 30 17:39:21 ipfire saslauthd[1440]: ipc_init        : listening on socket: /var/run/saslauthd/mux
Nov 30 17:39:22 ipfire ntpd[1463]: ntpd 4.2.8p12@1.3728-o Sat Nov 17 14:00:00 UTC 2018 (1): Starting
Nov 30 17:39:22 ipfire ntpd[1463]: Command line: /usr/bin/ntpd -Ap /var/run/ntpd.pid
Nov 30 17:39:22 ipfire ntpd[1465]: proto: precision = 2.344 usec (-19)
Nov 30 17:39:22 ipfire ntpd[1465]: Listening on routing socket on fd #19 for interface updates
Nov 30 17:39:22 ipfire ntpd[1465]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Nov 30 17:39:22 ipfire ntpd[1465]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Nov 30 17:39:24 ipfire collectd[1524]: Initialization complete, entering read-loop.
Nov 30 17:39:24 ipfire collectd[1524]: ping plugin: ping_host_add (gateway) failed: getaddrinfo: Name or service not known
Nov 30 17:39:24 ipfire collectd[1524]: ping plugin: No host could be added to ping object. Giving up.
Nov 30 17:39:24 ipfire collectd[1524]: ping plugin: The ping thread had a problem. Restarting it.
Nov 30 17:39:24 ipfire collectd[1524]: read-function of plugin `ping' failed. Will suspend it for 60 seconds.
Nov 30 17:39:24 ipfire collectd[1524]: ping plugin: ping_host_add (gateway) failed: getaddrinfo: Name or service not known
Nov 30 17:39:24 ipfire collectd[1524]: ping plugin: No host could be added to ping object. Giving up.
Image

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

JonM
Posts: 58
Joined: August 4th, 2017, 5:49 pm

Re: Support for Raspberry Pi 3B+

Post by JonM » November 30th, 2018, 6:41 pm

Arne.F wrote:
November 30th, 2018, 8:31 am
The RPi3B runs stable until i connect an additional USB LAN (tested with asix, realtek 8153, moschip and davicom) or similar device (android phone in rndis mode)
I experienced issues with an Apple USB-to-Ethernet adapter also. At the very beginning of the first boot I'd get the error:
Error smsc95xx_eth address not set.

Error smsc95xx_eth address not set - Screen Shot 2018-11-27 at 5.57.54 PM.png

And then 35 minutes of waiting (UGH!) until the boot continued. I assumed a driver was missing (bad on my part).

Arne.F wrote:
November 30th, 2018, 8:31 am
smsc95xx 1-1.1:1.0 green0: kevent 2 may have been dropped
This is known for the smsc95xx and many other usb lan chips. It is also present on other systems like odroid-c1 or pandaboard (with nearly all Linux distros).
With the RPi Kernel the RPi fondation has patched out the warning but the event drop is still there.
I may have located a way to fix. Edit /etc/sysctl.conf and change vm.min_free_kbytes = 8192 to vm.min_free_kbytes = 32768. Then do sysctl -p to reload/reinitialize sysctl.

There are other suggested changes but that is the one I tried.

Reference Links:
https://www.raspberrypi.org/forums/view ... hp?t=65506
http://wood1978.dyndns.org/~wood/wordpr ... rch-linux/
http://allenhsu.blogspot.com/2012/10/pa ... -eth0.html
https://www.kernel.org/doc/Documentation/sysctl/vm.txt

chubeez - sorry for not offering suggestions. I put a RPi3B+ on my Christmas wish list!
Production:
Image

Testing Raspi 2B:
Image

Testing Raspi 3B (built 2018-12-07):
Image

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

Re: Support for Raspberry Pi 3B+

Post by Arne.F » December 1st, 2018, 6:56 am

The reason with the apple adapter is not a missing driver. It use a smsc95xx like the rpi (1 and 2) and uboot search for it but it has only addresses for one smsc95xx or lan75xx (both base on the same smsc design)
Arne

Support the project on the IPFire whishlist!

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: 17
Joined: October 28th, 2015, 8:19 pm

Re: Support for Raspberry Pi 3B+

Post by chubeez » December 2nd, 2018, 8:50 am

Hi All,

So the onboard LAN doesn't work for me all. As mentioned, I have tried 2x external USB Ethernet adapters with some success. Using only one as green0 works without any issues but obviously I need both green0 + red0 for the RPi3B+ to be of any use as a firewall...

Searching Google for the error in /var/log/messages: lan78xx No External EEPROM. Setting MAX Speed I cam across this:

Code: Select all

Bug Description
Impact:

The RaspberryPi3+ board came with an usb's to ethernet lan78xx nic adapter - thhis chip has no external eeprom, nor internal preprogrammed mac address and as such, after every reboot, it generates a random new ethernet mac address.

Supposedly, the lan78xx driver is able to read its mac address from the device tree passed to the kernel (see d093067 "lan78xx: Read MAC address from DT if present"), making it possible to have reproducible/fixed mac addresses, but unfortunately this feature isn't working in our Xenial/raspi2 kernel (while it's working fine in Bionc/raspi2).

After some debugging i found that the usb_net struct backing the lan78xx driver, had no clue about the dt node it was associated, making this piece of code constantly evaluates to NULL:

static void lan78xx_init_mac_address(struct lan78xx_net *dev)
...
mac_addr = of_get_mac_address(dev->udev->dev.of_node);
...

There "of_node" was always NULL.

After more debugging, i found that the feature to bind usb_net devices and device tree nodes was introduced in the Linux 4.6 cycle, and as such Xenial didn't have it.

Fix:

Apply the patch and recompile

How to test:

Upon boot of the RaspberryPi3+ board (and after the dtb has been loaded into memory), stop at the uboot prompt and check the usbeether device node:

U-Boot> fdt print /soc/usb/usb1@1/usb1_1@1/usbether@1
usbether@1 {
        local-mac-address = [b8 27 eb ce 07 ba];
        compatible = "usb424,7800";
        reg = <0x00000001>;
        microchip,eee-enabled;
        microchip,tx-lpi-timer = <0x00000258>;
        phandle = <0x00000024>;
};

the "local-mac-address" has been filled by the Broadcom bootloader, and contains the lan78xx's mac address.

Then proceed with the boot routine, readh the user prompt, and check eth0's mac address:

$ ifconfig eth0 | grep HWaddr
eth0 Link encap:Ethernet HWaddr b8:27:eb:ce:07:ba

If it's the same as above, then the fix worked.

Regression:

The patch itself has been upstream since v4.6-rc1, and it changes a very small portion of code, so i'll say it's regression potential is very low / none.
https://bugs.launchpad.net/ubuntu/+sour ... ug/1798578

I will continue seeing what I can do but I obviously need to get into core code - which I'm not familiar with.

Maybe someone else (who is more familiar) can give it a try?
Image

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

ShorTie
Posts: 2
Joined: December 2nd, 2018, 2:00 pm

Re: Support for Raspberry Pi 3B+

Post by ShorTie » December 2nd, 2018, 2:19 pm

With the RPi Kernel the RPi fondation has patched out the warning but the event drop is still there.
Could you please give a little more info on that patch ??

Running a diff on linux-4.14.70, I see how they added in a mac field for the smsc95xx.c
Sounds like a nice patch to me, Maybe the fix ??

Code: Select all

--- linux-4.14.70/drivers/net/usb/smsc95xx.c	2018-09-15 07:45:37.000000000 +0000
+++ linux-71538ec053e0cdeddabbc84f30c6c53d6d6e4e9b/drivers/net/usb/smsc95xx.c	2018-09-18 14:36:13.000000000 +0000
@@ -60,6 +60,7 @@
 #define SUSPEND_SUSPEND3		(0x08)
 #define SUSPEND_ALLMODES		(SUSPEND_SUSPEND0 | SUSPEND_SUSPEND1 | \
 					 SUSPEND_SUSPEND2 | SUSPEND_SUSPEND3)
+#define MAC_ADDR_LEN                    (6)
 
 #define CARRIER_CHECK_DELAY (2 * HZ)
 
@@ -82,6 +83,18 @@
 module_param(turbo_mode, bool, 0644);
 MODULE_PARM_DESC(turbo_mode, "Enable multiple frames per Rx transaction");
 
+static bool truesize_mode = false;
+module_param(truesize_mode, bool, 0644);
+MODULE_PARM_DESC(truesize_mode, "Report larger truesize value");
+
+static int packetsize = 2560;
+module_param(packetsize, int, 0644);
+MODULE_PARM_DESC(packetsize, "Override the RX URB packet size");
+
+static char *macaddr = ":";
+module_param(macaddr, charp, 0);
+MODULE_PARM_DESC(macaddr, "MAC address");
+
 static int __must_check __smsc95xx_read_reg(struct usbnet *dev, u32 index,
 					    u32 *data, int in_pm)
 {
@@ -910,6 +923,53 @@
 	return generic_mii_ioctl(&dev->mii, if_mii(rq), cmd, NULL);
 }
 
+/* Check the macaddr module parameter for a MAC address */
+static int smsc95xx_is_macaddr_param(struct usbnet *dev, u8 *dev_mac)
+{
+       int i, j, got_num, num;
+       u8 mtbl[MAC_ADDR_LEN];
+
+       if (macaddr[0] == ':')
+               return 0;
+
+       i = 0;
+       j = 0;
+       num = 0;
+       got_num = 0;
+       while (j < MAC_ADDR_LEN) {
+               if (macaddr[i] && macaddr[i] != ':') {
+                       got_num++;
+                       if ('0' <= macaddr[i] && macaddr[i] <= '9')
+                               num = num * 16 + macaddr[i] - '0';
+                       else if ('A' <= macaddr[i] && macaddr[i] <= 'F')
+                               num = num * 16 + 10 + macaddr[i] - 'A';
+                       else if ('a' <= macaddr[i] && macaddr[i] <= 'f')
+                               num = num * 16 + 10 + macaddr[i] - 'a';
+                       else
+                               break;
+                       i++;
+               } else if (got_num == 2) {
+                       mtbl[j++] = (u8) num;
+                       num = 0;
+                       got_num = 0;
+                       i++;
+               } else {
+                       break;
+               }
+       }
+
+       if (j == MAC_ADDR_LEN) {
+               netif_dbg(dev, ifup, dev->net, "Overriding MAC address with: "
+               "%02x:%02x:%02x:%02x:%02x:%02x\n", mtbl[0], mtbl[1], mtbl[2],
+                                               mtbl[3], mtbl[4], mtbl[5]);
+               for (i = 0; i < MAC_ADDR_LEN; i++)
+                       dev_mac[i] = mtbl[i];
+               return 1;
+       } else {
+               return 0;
+       }
+}
+
 static void smsc95xx_init_mac_address(struct usbnet *dev)
 {
 	const u8 *mac_addr;
@@ -931,6 +991,10 @@
 		}
 	}
 
+	/* Check module parameters */
+	if (smsc95xx_is_macaddr_param(dev, dev->net->dev_addr))
+		return;
+
 	/* no useful static MAC address found. generate a random one */
 	eth_hw_addr_random(dev->net);
 	netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n");
@@ -1102,13 +1166,13 @@
 
 	if (!turbo_mode) {
 		burst_cap = 0;
-		dev->rx_urb_size = MAX_SINGLE_PACKET_SIZE;
+		dev->rx_urb_size = packetsize ? packetsize : MAX_SINGLE_PACKET_SIZE;
 	} else if (dev->udev->speed == USB_SPEED_HIGH) {
-		burst_cap = DEFAULT_HS_BURST_CAP_SIZE / HS_USB_PKT_SIZE;
-		dev->rx_urb_size = DEFAULT_HS_BURST_CAP_SIZE;
+		dev->rx_urb_size = packetsize ? packetsize : DEFAULT_HS_BURST_CAP_SIZE;
+		burst_cap = dev->rx_urb_size / HS_USB_PKT_SIZE;
 	} else {
-		burst_cap = DEFAULT_FS_BURST_CAP_SIZE / FS_USB_PKT_SIZE;
-		dev->rx_urb_size = DEFAULT_FS_BURST_CAP_SIZE;
+		dev->rx_urb_size = packetsize ? packetsize : DEFAULT_FS_BURST_CAP_SIZE;
+		burst_cap = dev->rx_urb_size / FS_USB_PKT_SIZE;
 	}
 
 	netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n",
@@ -1959,7 +2023,8 @@
 				if (dev->net->features & NETIF_F_RXCSUM)
 					smsc95xx_rx_csum_offload(skb);
 				skb_trim(skb, skb->len - 4); /* remove fcs */
-				skb->truesize = size + sizeof(struct sk_buff);
+				if (truesize_mode)
+					skb->truesize = size + sizeof(struct sk_buff);
 
 				return 1;
 			}
@@ -1977,7 +2042,8 @@
 			if (dev->net->features & NETIF_F_RXCSUM)
 				smsc95xx_rx_csum_offload(ax_skb);
 			skb_trim(ax_skb, ax_skb->len - 4); /* remove fcs */
-			ax_skb->truesize = size + sizeof(struct sk_buff);
+			if (truesize_mode)
+				ax_skb->truesize = size + sizeof(struct sk_buff);
 
 			usbnet_skb_return(dev, ax_skb);
 		}

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

Re: Support for Raspberry Pi 3B+

Post by Arne.F » December 2nd, 2018, 4:30 pm

The needed patches to set the mac address for the lan7800 are already included in IPFire, same for the smsc (they would also work without the patches but get a random address.

The smsc95xx patch will not help for rpi3b and + because they have removed this chip.
I have only mentioned this because the u-boot loader for rpi3 hangs with the apple adapter because they use the same chipset like rpi1 and2 and this is still enabled so it has no mac address left for this. But this is not a kernel problem...
Arne

Support the project on the IPFire whishlist!

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: 17
Joined: October 28th, 2015, 8:19 pm

Re: Support for Raspberry Pi 3B+

Post by chubeez » December 3rd, 2018, 4:36 pm

Arne.F wrote:
December 2nd, 2018, 4:30 pm
But this is not a kernel problem...
Does that mean it's a hardware problem (not fixable)?
Image

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

JonM
Posts: 58
Joined: August 4th, 2017, 5:49 pm

Re: Support for Raspberry Pi 3B+

Post by JonM » December 3rd, 2018, 9:42 pm

chubeez - there is a nightly build that may help. nightly > next > latest > armv5tel and then download ipfire-2.21.2gb-ext4.armv5tel-full-core126.img.xz. Keep in mind it is a test build and may not be stable.

I just loaded it up and it works with the built-in Ethernet port (the usb: Standard Microsystems Corp. SMSC95...) and my USB-to-Ethernet adapter. My adapter is a Trendnet TU3-ETG (with AXIS AX88179 Gigabit internals).

EDIT: The above image does not work with my Apple USB-to-Ethernet adapter A1277 (with AXIS AX88772 internals).
Production:
Image

Testing Raspi 2B:
Image

Testing Raspi 3B (built 2018-12-07):
Image

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

Re: Support for Raspberry Pi 3B+

Post by chubeez » December 4th, 2018, 4:41 am

Thank you JonM. I'm going to give it a try...
Image

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

ShorTie
Posts: 2
Joined: December 2nd, 2018, 2:00 pm

Re: Support for Raspberry Pi 3B+

Post by ShorTie » December 4th, 2018, 2:57 pm

Ok, Sorry, should have figured you'll had that figured out.

Don't forget, that lan chip is specially made for the foundation.

The last few foundation kernel commits are all about it.
They did add in some new Ethernet DT parameters for connection negotiations.

Has anybody tried the foundation's kernel ??
Twas thinking about it, after the 1st build gets done, 4 days and counting, lol.

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

Re: Support for Raspberry Pi 3B+

Post by chubeez » December 4th, 2018, 6:13 pm

Update:

With core126, I am able to use the on-board LAN (as green0) and DHCP works as expected (one issue fixed) BUT as soon as I use a second USB (any combination i.e. on-baord + USB or USB + USB) adapter, I get a massive dump of info and the system crashes.

It seems to happen after there is a little traffic on red0, then the system hangs...
IMG_9737.jpg
IMG_9739.jpg
... and kernel panic:
IMG_9741.jpg
EDIT: A little more info... I used to be able to use 2x external USB Ethernet adapters (eventually got a kernel panic) but now that combination does not work at all any more. I now get similar results (works for a short while) when using on-board LAN + USB Ethernet adapter...
Image

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

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

Re: Support for Raspberry Pi 3B+

Post by Arne.F » Yesterday, 3:05 pm

Can you try this build. I have revert a commit from the mainline kernel that should fix dma problems.
https://git.kernel.org/pub/scm/linux/ke ... 5e34099e46
It still run into such strange dma errors but i hope it will not crash complete but im not sure yet...

https://people.ipfire.org/~arne_f/highl ... ental/rpi/
Has anybody tried the foundation's kernel ??
No. Because it not has needed patches for IPFire like IMQ and Layer7...
Arne

Support the project on the IPFire whishlist!

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: 17
Joined: October 28th, 2015, 8:19 pm

Re: Support for Raspberry Pi 3B+

Post by chubeez » Yesterday, 4:05 pm

Hi Arne.F,

I actually downloaded and installed the https://nightly.ipfire.org/next/latest/ ... 126.img.xz build already and it seems like on-board LAN + Realtek USB works... so far...

Is it different from:
Can you try this build. I have revert a commit from the mainline kernel that should fix dma problems.
https://git.kernel.org/pub/scm/linux/ke ... 5e34099e46
I'll continue to monitor...
Image

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

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

Re: Support for Raspberry Pi 3B+

Post by chubeez » Yesterday, 6:59 pm

https://people.ipfire.org/~arne_f/highl ... 126.img.xz seems to be working so far :)

Thank you Arne.F!

On-board LAN (green) + Realtek USB (red) works so far...
Image

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest