LEDE OpenWrt on ZyXEL

admin
Site Admin
Posts: 473
Joined: 06 Feb 2007, 13:36

Re: LEDE OpenWrt on ZyXEL - USB Boot

Post by admin »

USB
Although page: https://wiki.openwrt.org/doc/howto/usb.essentials
mention some 'needed' packages, usb devices are already 'seen' & usable with only the following packages installed:

Code: Select all

Installed packages (usb)
Package name		    Version
------------		    -------
kmod-ledtrig-usbdev	4.4.23-1
kmod-usb-core		   4.4.23-1
kmod-usb-dwc2		   4.4.23-1
libusb-1.0		      1.0.20-1
usbutils		        007-4
On command line we get on lsusb, with a 1GB USB attached (sideways):

Code: Select all

~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 0204:6025 Chipsbank Microelectronics Co., Ltd CBM2080 / CBM2090 Flash drive controller
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
But for 'really' use usb devices as storage (i.e. extroot etc.), following packages are also needed to use:

Code: Select all

kmod-usb-storage - 4.4.30-1
kmod-usb-storage-extras - 4.4.30-1
kmod-usb2 - 4.4.30-1
USB BOOT
Testing USB drive as root (boot) device ... [I have NO '/overlay' partition? Makes it not that easy ...]
Using the web GUI mounting '/dev/sda1' to '/' next text is shown:
Make sure to clone the root filesystem using something like the commands below:
--
mkdir -p /tmp/introot
mkdir -p /tmp/extroot
mount --bind / /tmp/introot
mount /dev/sda1 /tmp/extroot
tar -C /tmp/introot -cvf - . | tar -C /tmp/extroot -xf -
umount /tmp/introot
umount /tmp/extroot
--
Partition the usb device (sda) as follows:

Code: Select all

linux		     linux	linux
extroot	 	  swap	 ext (?)
sda1		      sda2	 sda3		      ...
+--------------+-------+----------------... ----+
2 - 4 x dev RAM

4GB USB device example:
+--------------+-------+--------------- ... ----+
about 1GB	    64MB	 2,7GB
or more...
As stated here: https://wiki.openwrt.org/doc/howto/extroot
Format and partition drive the way you want, either using a Linux Live CD or via uci (it's recommended to use first partition for the root overlay, second partition for swap (if you want swap), and then you can add other partitions as you like)
SWAP should be the second partition.

Code: Select all

mkswap /dev/sda2
swapon /dev/sda2
Will start swap.

Partitions needs a format (mkfs.ext4), before seen in web GUI.
I even had to check (and reformat) sometime a partition, before it was working correctly from usb.
Also keep in mind, i use UBIFS, that uses 2 reboots before 'real' usb extroot boot.

DG.
admin
Site Admin
Posts: 473
Joined: 06 Feb 2007, 13:36

Re: LEDE OpenWrt on ZyXEL - RT3062.eeprom

Post by admin »

Image

Above is shown the default MAC address of WLAN based on RT3062.eeprom file (can be adjusted, duhuu).
As the latest document about ZyXEL 100AACC3C0.pdf, mention the following:

Code: Select all

Notes: 
1. User need to accept cookies in their web browsers to use the device GUI correctly. 
2. MAC address MUST start from xx:xx:xx:xx:xx:x0 or xx:xx:xx:xx:xx:x8 otherwise WLAN will not work. 
3. This firmware can also use P-2812HNUL-F1 OBM firmware bootloader. 
4. The bootloader in this version supports Lantiq CPU VR9 v1.2. 
Looking @ point 2:
We program RT3062.eeprom to use the latest 4 MAC addresses ;) as mentioned on the box itself.
Hardcode MAC also after first serial boot/break (the x0 or x8 default MAC -sticker-).

Below an overview of used MAC addresses on ZyXEL default box and my OpenWrt-Lede version:

Code: Select all

original ZyXEL                                  OpenWrt-Lede
MAC end:     x0            x8                   MAC end:     x0            x8

WAN          x0            x8                                x2            xA
DSL          x1            x9  (?)                           x1            x9
LAN          x2            xA  (?)                           x0            x8
WLAN
 ch1         x4            xC                                x4            xC
 ch2         x5            xD                                x5            xD
 ch3         x6            xE                                x6            xE
 ch4         x7            xF                                x7            xF
DG.
admin
Site Admin
Posts: 473
Joined: 06 Feb 2007, 13:36

Re: LEDE OpenWrt on ZyXEL - USB SWAP

Post by admin »

To re-format a failed Windows USB device, installed several tools to format the USB device on router itself.
  • fdisk
  • e2fsprogs
Image
And some other USB tools/packages mentioned on: https://wiki.openwrt.org/doc/howto/usb.storage
Used mainly: http://www.brendangrainger.com/entries/13
To create a (in my case 128MB) SWAP & data partition with fdisk.

Resulting in:

Code: Select all

Disk /dev/sda: 987 MiB, 1034944512 bytes, 2021376 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x1af19f89

Device     Boot  Start     End Sectors  Size Id Type
/dev/sda1         2048  264191  262144  128M 82 Linux swap / Solaris
/dev/sda2       264192 2021375 1757184  858M 83 Linux
Nicely 2 partitions:
/dev/sda1 128M 82 Linux swap / Solaris
/dev/sda2 858M 83 Linux

The first try however did not result the way we thought:

Code: Select all

G04:~# mkswap /dev/sda1
Setting up swapspace version 1, size = 134213632 bytes

G04:~# swapon /dev/sda1
block: failed to swapon /dev/sda1 (-1)

G04:~# free
             total       used       free     shared    buffers     cached
Mem:        124484      52172      72312       5756          0      21208
-/+ buffers/cache:      30964      93520
Swap:            0          0          0
Not nice, the message: block: failed to swapon /dev/sda1 (-1)
After a failed swapoff:

Code: Select all

G04:~# swapoff /dev/sda1
block: failed to swapoff /dev/sda1 (-1)
We tried the mkswap & swapon again:

Code: Select all

G04:~# mkswap /dev/sda1
Setting up swapspace version 1, size = 134213632 bytes

G04:~# swapon /dev/sda1

G04:~# free
             total       used       free     shared    buffers     cached
Mem:        124484      52352      72132       5760          4      21396
-/+ buffers/cache:      30952      93532
Swap:       131068          0     131068
And now is ok!
Still needs to format /dev/sda2 and use it.

We could try ext_root on the USB device ...
And we read here another partition setup is preffered: https://wiki.openwrt.org/doc/howto/extroot
So maybe have a look what we have right now, before we continue.

DG.
admin
Site Admin
Posts: 473
Joined: 06 Feb 2007, 13:36

Re: LEDE OpenWrt on ZyXEL - MAC address

Post by admin »

Even after changing the hardware MAC address on 1st serial break, the default MAC stays on 00:11:22:33:44:55 during boot of the device.
I've no idea why, as ... This is NOT what we want!!
- Why does OpenWrt-Lede not take the hardware coded MAC address??

Loggings on 1 OpenWrt device, when booting another (both NOT running the same MAC when fully booted!)

Code: Select all

[37029.231340] eth0: port 0 lost link
[37032.231376] eth0: port 0 got link
[37052.231065] eth0: port 0 lost link
[37054.231060] eth0: port 0 got link
[42863.704197] eth0: port 4 lost link
[42866.703983] eth0: port 4 got link
[42870.703914] eth0: port 4 lost link
[42871.704114] eth0: port 4 got link
[42872.086148] br-lan: received packet on eth0.1 with own address as source address
[42872.143154] br-lan: received packet on eth0.1 with own address as source address
[42872.658112] br-lan: received packet on eth0.1 with own address as source address
[42873.054076] br-lan: received packet on eth0.1 with own address as source address
[42873.658172] br-lan: received packet on eth0.1 with own address as source address
[42873.664336] br-lan: received packet on eth0.1 with own address as source address
[42874.197487] br-lan: received packet on eth0.1 with own address as source address
[42874.510193] br-lan: received packet on eth0.1 with own address as source address
[42885.970272] br-lan: received packet on eth0.1 with own address as source address
[42886.006607] br-lan: received packet on eth0.1 with own address as source address
[42886.026256] br-lan: received packet on eth0.1 with own address as source address
[42886.686217] br-lan: received packet on eth0.1 with own address as source address
[42887.026387] br-lan: received packet on eth0.1 with own address as source address
[42887.034207] br-lan: received packet on eth0.1 with own address as source address
[42887.054215] br-lan: received packet on eth0.1 with own address as source address
[42887.290221] br-lan: received packet on eth0.1 with own address as source address
[43154.712372] eth0: port 4 lost link
[43158.712340] eth0: port 4 got link
[43162.712272] eth0: port 4 lost link
[43163.712529] eth0: port 4 got link
[43164.072815] br-lan: received packet on eth0.1 with own address as source address
[43164.127373] br-lan: received packet on eth0.1 with own address as source address
[43164.280749] br-lan: received packet on eth0.1 with own address as source address
[43164.712777] br-lan: received packet on eth0.1 with own address as source address
[43165.712827] br-lan: received packet on eth0.1 with own address as source address
[43165.719001] br-lan: received packet on eth0.1 with own address as source address
[43165.920757] br-lan: received packet on eth0.1 with own address as source address
[43166.164758] br-lan: received packet on eth0.1 with own address as source address
[43179.992896] br-lan: received packet on eth0.1 with own address as source address
[43180.034866] br-lan: received packet on eth0.1 with own address as source address
[43180.232886] br-lan: received packet on eth0.1 with own address as source address
[43180.960902] br-lan: received packet on eth0.1 with own address as source address
[43181.961045] br-lan: received packet on eth0.1 with own address as source address
[43181.968862] br-lan: received packet on eth0.1 with own address as source address
[43182.684910] br-lan: received packet on eth0.1 with own address as source address
[43182.948891] br-lan: received packet on eth0.1 with own address as source address
[43735.725359] eth0: port 4 lost link
[43738.725129] eth0: port 4 got link
[43741.725325] eth0: port 4 lost link
[43918.726909] eth0: port 4 got link
[43921.727055] eth0: port 4 lost link
[43925.727009] eth0: port 4 got link
[43939.846109] br-lan: received packet on eth0.1 with own address as source address
[43939.888066] br-lan: received packet on eth0.1 with own address as source address
[43940.038090] br-lan: received packet on eth0.1 with own address as source address
[43940.362116] br-lan: received packet on eth0.1 with own address as source address
[43941.362274] br-lan: received packet on eth0.1 with own address as source address
[43941.370080] br-lan: received packet on eth0.1 with own address as source address
[43941.406105] br-lan: received packet on eth0.1 with own address as source address
[43941.818280] br-lan: received packet on eth0.1 with own address as source address
[54768.731316] eth0: port 4 lost link
[54769.731716] eth0: port 4 got link
[56128.322441] eth0: port 4 lost link
[56131.322073] eth0: port 4 got link
[56135.322000] eth0: port 4 lost link
[56136.322117] eth0: port 4 got link
[56136.646675] br-lan: received packet on eth0.1 with own address as source address
[56136.703298] br-lan: received packet on eth0.1 with own address as source address
[56137.306625] br-lan: received packet on eth0.1 with own address as source address
[56137.406639] br-lan: received packet on eth0.1 with own address as source address
[56138.407147] br-lan: received packet on eth0.1 with own address as source address
[56138.413342] br-lan: received packet on eth0.1 with own address as source address
[56139.374626] br-lan: received packet on eth0.1 with own address as source address
[56139.414633] br-lan: received packet on eth0.1 with own address as source address
[56143.321899] eth0: port 4 lost link
[56146.321986] eth0: port 4 got link
[56150.321935] eth0: port 4 lost link
[56151.321814] eth0: port 4 got link
[56151.642812] br-lan: received packet on eth0.1 with own address as source address
[56151.699749] br-lan: received packet on eth0.1 with own address as source address
[56152.170581] br-lan: received packet on eth0.1 with own address as source address
[56152.394608] br-lan: received packet on eth0.1 with own address as source address
[56153.394651] br-lan: received packet on eth0.1 with own address as source address
[56153.400817] br-lan: received packet on eth0.1 with own address as source address
[56153.834644] br-lan: received packet on eth0.1 with own address as source address
[56154.410834] br-lan: received packet on eth0.1 with own address as source address
[56157.321801] eth0: port 4 lost link
[56160.321803] eth0: port 4 got link
[56164.321735] eth0: port 4 lost link
[56165.321717] eth0: port 4 got link
[56165.766572] br-lan: received packet on eth0.1 with own address as source address
[56165.823528] br-lan: received packet on eth0.1 with own address as source address
[56166.002535] br-lan: received packet on eth0.1 with own address as source address
[56166.246513] br-lan: received packet on eth0.1 with own address as source address
[56167.002577] br-lan: received packet on eth0.1 with own address as source address
[56167.008747] br-lan: received packet on eth0.1 with own address as source address
[56167.166542] br-lan: received packet on eth0.1 with own address as source address
[56167.558525] br-lan: received packet on eth0.1 with own address as source address
[56172.321631] eth0: port 4 lost link
[56174.321628] eth0: port 4 got link
[56178.321564] eth0: port 4 lost link
[56179.321472] eth0: port 4 got link
[56179.882625] br-lan: received packet on eth0.1 with own address as source address
[56179.939028] br-lan: received packet on eth0.1 with own address as source address
[56180.602580] br-lan: received packet on eth0.1 with own address as source address
[56180.610551] br-lan: received packet on eth0.1 with own address as source address
[56181.602738] br-lan: received packet on eth0.1 with own address as source address
[56181.608904] br-lan: received packet on eth0.1 with own address as source address
[56181.866580] br-lan: received packet on eth0.1 with own address as source address
[56181.930544] br-lan: received packet on eth0.1 with own address as source address
[56183.321403] eth0: port 4 lost link
[56211.321058] eth0: port 4 got link
[56215.370343] br-lan: received packet on eth0.1 with own address as source address
[56215.934353] br-lan: received packet on eth0.1 with own address as source address
[56230.002504] br-lan: received packet on eth0.1 with own address as source address
[56230.028454] br-lan: received packet on eth0.1 with own address as source address
[56230.578542] br-lan: received packet on eth0.1 with own address as source address
[56230.858498] br-lan: received packet on eth0.1 with own address as source address
[56231.578641] br-lan: received packet on eth0.1 with own address as source address
[56231.586492] br-lan: received packet on eth0.1 with own address as source address
[56231.646497] br-lan: received packet on eth0.1 with own address as source address
[56232.578492] br-lan: received packet on eth0.1 with own address as source address
This looks like a MAJOR issue to me.

But SOLVED after just a few checks.
The device which returned the error had:

Code: Select all

# ifconfig | grep HWaddr
br-lan    Link encap:Ethernet  HWaddr CC:5D:4E:0A:77:F8
eth0      Link encap:Ethernet  HWaddr 00:11:22:33:44:55
eth0.1    Link encap:Ethernet  HWaddr 00:11:22:33:44:55
wlan0     Link encap:Ethernet  HWaddr CC:5D:4E:0A:77:FC
wlan0-1   Link encap:Ethernet  HWaddr CC:5D:4E:0A:77:FD
The other (no error returned in logs):

Code: Select all

# ifconfig | grep HWaddr
br-lan    Link encap:Ethernet  HWaddr B0:B2:DC:10:46:08
eth0      Link encap:Ethernet  HWaddr 00:11:22:33:44:55
eth0.2    Link encap:Ethernet  HWaddr B0:B2:DC:10:46:08
eth0.3    Link encap:Ethernet  HWaddr B0:B2:DC:10:46:0A
wlan0     Link encap:Ethernet  HWaddr B0:B2:DC:10:46:0C
wlan0-1   Link encap:Ethernet  HWaddr B0:B2:DC:10:46:0D
The first vlan after eth0 seems the problem. On the good on, it had the same MAC as br-lan, the wrong one has its vlan mac the same as its base eth0.
Next step checked both '/etc/config/network' settings, on the 'wrong' one, LAN defined as:

Code: Select all

config interface 'lan'
        option force_link '1'
        option proto 'static'
        option ipaddr 'x.x.x.1'
        option netmask '255.x.x.0'
        option ip6assign '60'
        option _orig_ifname 'eth0.1'
        option _orig_bridge 'true'
        option ifname 'eth0.1'
        option type 'bridge'
        option dns '8.8.8.8 208.67.220.220'
        option macaddr 'CC:5D:4E:0A:77:F8'
As on the other 'good' one LAN is described as:

Code: Select all

config interface 'lan'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.100.1'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option _orig_ifname 'eth0.2 wlan0'
        option _orig_bridge 'true'
        option ifname 'eth0.2'

config device 'lan_dev'
        option name 'eth0.2'
        option macaddr 'b0:b2:dc:10:46:08'
Hé, we see lan_dev :) In this case, in the web GUI it seems hard-coded there.
We change the wrong version the same as the good one (although other eth0.x as boxes have different vlan settings).

Code: Select all

config interface 'lan'
        option force_link '1'
        option proto 'static'
        option ipaddr 'x.x.x.1'
        option netmask '255.x.x.0'
        option ip6assign '60'
        option _orig_ifname 'eth0.1'
        option _orig_bridge 'true'
        option ifname 'eth0.1'
        option type 'bridge'
        option dns '8.8.8.8 208.67.220.220'
#        option macaddr 'CC:5D:4E:0A:77:F8'

config device 'lan_dev'
        option name 'eth0.1'
        option macaddr 'cc:5d:4e:0a:77:f8'
Issue looks solved, only now we have 1 hard-coded WAN and 1 not ... hmm, maybe same settings issue.
And for LAN this is OK now! WAN is different on both machines so the hard-coded mac (or not) is right too!

This works also for vlan eth0.x (now all looks hard-coded in web GUI and no eth0 interference's anymore).

Code: Select all

config interface 'wan'
        option proto 'dhcp'
        option ifname 'eth0.3'

config device 'wan_dev'
        option name 'eth0.3'
        option macaddr 'b0:b2:dc:10:46:09'
DG.
admin
Site Admin
Posts: 473
Joined: 06 Feb 2007, 13:36

Re: LEDE OpenWrt on ZyXEL

Post by admin »

Build new LEDE Reboot 17.01.2 r3435-65eec8bd5f / LuCI lede-17.01 branch (git-17.152.82987-7f6fc16) version for F1 device.

Image

Bootlog:

Code: Select all

[    0.000000] Linux version 4.4.71 (openwrt@LD861) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3435-65eec8bd5f) ) #0 Thu Jun 8 21:02:37 2017
[    0.000000] SoC: xRX200 rev 1.1
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019555 (MIPS 34Kc)
[    0.000000] MIPS: machine is P2812HNUF1 - ZyXEL P-2812HNU-F1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 804e23b0, node_mem_map 8100a780
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyLTQ0,115200
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00065480
[    0.000000] Readback ErrCtl register=00065480
[    0.000000] Memory: 123276K/131072K available (3801K kernel code, 159K rwdata, 1156K rodata, 1204K init, 212K bss, 7796K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] Setting up vectored interrupts
[    0.000000] CPU Clock: 500MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns
[    0.000010] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns
[    0.007855] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[    0.042325] pid_max: default: 32768 minimum: 301
[    0.047163] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.053734] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.067249] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.076905] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.083187] pinctrl core: initialized pinctrl subsystem
[    0.089060] NET: Registered protocol family 16
[    0.098151] pinctrl-xway 1e100b10.pinmux: Init done
[    0.103673] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.213804] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.228959] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[    0.234607]  MEM 0x0000000018000000..0x0000000019ffffff
[    0.239861]   IO 0x000000001ae00000..0x000000001affffff
[    0.259219] gpio-stp-xway 1e100bb0.stp: Init done
[    0.264591] usbcore: registered new interface driver usbfs
[    0.270083] usbcore: registered new interface driver hub
[    0.275443] usbcore: registered new device driver usb
[    0.280924] PCI host bridge to bus 0000:00
[    0.284920] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.291826] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
[    0.298772] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.305628] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.313673] pci 0000:00:0e.0: [1814:3062] type 00 class 0x028000
[    0.313727] pci 0000:00:0e.0: reg 0x10: [mem 0xffff0000-0xffffffff]
[    0.314119] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.314165] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.321828] clocksource: Switched to clocksource MIPS
[    0.328393] NET: Registered protocol family 2
[    0.333536] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.340424] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.346806] TCP: Hash tables configured (established 1024 bind 1024)
[    0.353312] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.359164] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.365736] NET: Registered protocol family 1
[    0.370129] PCI: CLS 0 bytes, default 32
[    0.376626] gptu: totally 6 16-bit timers/counters
[    0.381453] gptu: misc_register on minor 63
[    0.385556] gptu: succeeded to request irq 126
[    0.390047] gptu: succeeded to request irq 127
[    0.394559] gptu: succeeded to request irq 128
[    0.399072] gptu: succeeded to request irq 129
[    0.403586] gptu: succeeded to request irq 130
[    0.408100] gptu: succeeded to request irq 131
[    0.412967] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy11g_a1x.bin
[    0.420286] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 7D80000
[    0.426624] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 7D80000
[    0.533409] No VPEs reserved for AP/SP, not initialize VPE loader
[    0.533409] Pass maxvpes=<n> argument as kernel argument
[    0.544781] No TCs reserved for AP/SP, not initializing RTLX.
[    0.544781] Pass maxtcs=<n> argument as kernel argument
[    0.556823] Crashlog allocated RAM at address 0x3f00000
[    0.581160] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.586898] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.600821] io scheduler noop registered
[    0.604650] io scheduler deadline registered (default)
[    0.610541] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    0.619433] console [ttyLTQ0] enabled
[    0.626761] bootconsole [early0] disabled
[    0.638069] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    0.642969] nand: Samsung NAND 128MiB 3,3V 8-bit
[    0.647583] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.655223] Scanning device for bad blocks
[    0.740731] Bad eraseblock 973 at 0x0000079a0000
[    0.748138] 4 ofpart partitions found on MTD device 10000000.nand-parts
[    0.753323] Creating 4 MTD partitions on "10000000.nand-parts":
[    0.759246] 0x000000000000-0x000000040000 : "uboot"
[    0.765992] 0x000000040000-0x000000060000 : "uboot-env"
[    0.771833] 0x000000060000-0x000000260000 : "kernel"
[    0.777440] 0x000000260000-0x000008000000 : "ubi"
[    0.886392] libphy: lantiq,xrx200-mdio: probed
[    0.962564] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:00, irq=-1)
[    1.030538] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:01, irq=-1)
[    1.098522] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[    1.166521] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[    1.234538] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:05, irq=-1)
[    1.242782] wdt 1f8803f0.watchdog: Init done
[    1.249663] NET: Registered protocol family 10
[    1.259800] NET: Registered protocol family 17
[    1.262960] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.275473] 8021q: 802.1Q VLAN Support v1.8
[    1.283953] UBI: auto-attach mtd3
[    1.285644] ubi0: attaching mtd3
[    1.470700] ubi0: scanning is finished
[    1.484577] ubi0: attached mtd3 (name "ubi", size 125 MiB)
[    1.488663] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[    1.495509] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[    1.502211] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[    1.508998] ubi0: good PEBs: 1004, bad PEBs: 1, corrupted PEBs: 0
[    1.515092] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[    1.522321] ubi0: max/mean erase counter: 502/133, WL threshold: 4096, image sequence number: 1504047231
[    1.531805] ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 19
[    1.541174] ubi0: background thread "ubi_bgt0d" started, PID 311
[    1.570100] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 313
[    1.659720] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    1.665731] UBIFS (ubi0:0): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    1.675618] UBIFS (ubi0:0): FS size: 125153280 bytes (119 MiB, 970 LEBs), journal size 9033728 bytes (8 MiB, 71 LEBs)
[    1.686227] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[    1.692068] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 3F8AAEAC-C7A3-4F8B-AB9E-A6AB0348172D, small LPT model
[    1.704109] VFS: Mounted root (ubifs filesystem) on device 0:11.
[    1.713044] Freeing unused kernel memory: 1204K (80503000 - 80630000)
[    1.854973] init: Console is alive
[    1.857199] init: - watchdog -
[    2.084973] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.291384] SCSI subsystem initialized
[    2.313448] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.319973] ehci-platform: EHCI generic platform driver
[    2.344415] dwc2 1e101000.ifxhcd: requested GPIO 495
[    3.206017] dwc2 1e101000.ifxhcd: DWC OTG Controller
[    3.209608] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1
[    3.216919] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000
[    3.222452] dwc2 1e101000.ifxhcd: Hardware does not support descriptor DMA mode -
[    3.229895] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode.
[    3.237566] hub 1-0:1.0: USB hub found
[    3.240357] hub 1-0:1.0: 1 port detected
[    4.102036] dwc2 1e106000.ifxhcd: DWC OTG Controller
[    4.105625] dwc2 1e106000.ifxhcd: new USB bus registered, assigned bus number 2
[    4.112935] dwc2 1e106000.ifxhcd: irq 91, io mem 0x00000000
[    4.118467] dwc2 1e106000.ifxhcd: Hardware does not support descriptor DMA mode -
[    4.125911] dwc2 1e106000.ifxhcd: falling back to buffer DMA mode.
[    4.133417] hub 2-0:1.0: USB hub found
[    4.136312] hub 2-0:1.0: 1 port detected
[    4.152866] usbcore: registered new interface driver usb-storage
[    4.158274] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.170065] init: - preinit -
[    4.398319] random: procd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[    4.961983] eth0: port 0 got link
[    7.545147] mount_root: mounting /dev/root
[    7.553782] mount_root: loading kmods from internal overlay
[    7.602237] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    7.611775] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    8.182317] block: attempting to load /etc/config/fstab
[    8.189701] block: unable to load configuration (fstab: Entry not found)
[    8.195180] block: no usable configuration
[    8.303224] urandom-seed: Seed file not found (/etc/urandom.seed)
[    8.347152] procd: - early -
[    8.349947] procd: - watchdog -
[    8.917356] procd: - ubus -
[    8.944260] random: ubusd: uninitialized urandom read (4 bytes read, 39 bits of entropy available)
[    8.973783] random: ubusd: uninitialized urandom read (4 bytes read, 39 bits of entropy available)
[    8.981956] random: ubusd: uninitialized urandom read (4 bytes read, 39 bits of entropy available)
[    8.990394] random: ubusd: uninitialized urandom read (4 bytes read, 39 bits of entropy available)
[    9.000094] random: ubusd: uninitialized urandom read (4 bytes read, 39 bits of entropy available)
[    9.008337] random: ubusd: uninitialized urandom read (4 bytes read, 39 bits of entropy available)
[    9.017523] random: ubusd: uninitialized urandom read (4 bytes read, 39 bits of entropy available)
[    9.026502] random: ubusd: uninitialized urandom read (4 bytes read, 39 bits of entropy available)
[    9.035723] procd: - init -
[    9.162040] eth0: port 0 lost link
[    9.358170] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.370556] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH
[    9.396462] NET: Registered protocol family 8
[    9.399430] NET: Registered protocol family 20
[    9.437393] PPP generic driver version 2.4.2
[    9.451119] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.514964] Lantiq (VRX) DSL CPE MEI driver, version 1.5.17.6, (c) 2007-2015 Lantiq Beteiligungs-GmbH & Co. KG
[    9.514964] 
[    9.514964] Lantiq CPE API Driver version: DSL CPE API V4.17.18.6
[    9.573891] 
[    9.573891] Predefined debug level: 3
[    9.589895] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[    9.596491] Backport generated by backports.git backports-20160324-13-g24da7d3c
[    9.609498] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.622281] Infineon Technologies DEU driver version 2.0.0 
[    9.628343] IFX DEU DES initialized (multiblock).
[    9.632613] IFX DEU AES initialized (multiblock).
[    9.636748] IFX DEU ARC4 initialized (multiblock).
[    9.641377] IFX DEU SHA1 initialized.
[    9.644968] IFX DEU MD5 initialized.
[    9.648601] IFX DEU SHA1_HMAC initialized.
[    9.652639] IFX DEU MD5_HMAC initialized.
[    9.676697] nf_conntrack version 0.5.0 (1945 buckets, 7780 max)
[    9.704277] NET: Registered protocol family 24
[    9.709719] usbcore: registered new interface driver ums-alauda
[    9.716666] usbcore: registered new interface driver ums-cypress
[    9.723851] usbcore: registered new interface driver ums-datafab
[    9.730890] usbcore: registered new interface driver ums-freecom
[    9.738139] usbcore: registered new interface driver ums-isd200
[    9.745223] usbcore: registered new interface driver ums-jumpshot
[    9.752276] usbcore: registered new interface driver ums-karma
[    9.759784] usbcore: registered new interface driver ums-sddr09
[    9.767004] usbcore: registered new interface driver ums-sddr55
[    9.774405] usbcore: registered new interface driver ums-usbat
[    9.798512] xt_time: kernel timezone is -0000
[   10.106116] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   10.110578] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   10.120899] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[   10.127905] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
[   10.135443] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.146120] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.602114] random: jshn: uninitialized urandom read (4 bytes read, 47 bits of entropy available)
[   20.276239] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   20.305774] device eth0.1 entered promiscuous mode
[   20.309195] device eth0 entered promiscuous mode
[   20.342466] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   21.166193] eth0: port 0 got link
[   21.168252] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   21.219972] br-lan: port 1(eth0.1) entered forwarding state
[   21.224235] br-lan: port 1(eth0.1) entered forwarding state
[   21.342856] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   23.162438] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
[   23.172399] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.40
[   23.225845] br-lan: port 1(eth0.1) entered forwarding state
[   23.292155] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
[   23.304170] device wlan0-1 entered promiscuous mode
[   28.905906] random: nonblocking pool is initialized
With the following packages (and modules) included:

Code: Select all

atm-esi - 2.5.2-5
base-files - 173-r3435-65eec8bd5f
block-mount - 2016-12-04-84b530a7-2
br2684ctl - 2.5.2-5
bspatch - 4.3-1
busybox - 1.25.1-4
collectd - 5.5.3-3
collectd-mod-cpu - 5.5.3-3
collectd-mod-interface - 5.5.3-3
collectd-mod-iwinfo - 5.5.3-3
collectd-mod-load - 5.5.3-3
collectd-mod-memory - 5.5.3-3
collectd-mod-network - 5.5.3-3
collectd-mod-rrdtool - 5.5.3-3
dnsmasq - 2.77-1
dosfstools - 4.0-2
dropbear - 2017.75-1
dsl-vrx200-firmware-xdsl-a - 05.08.01.08.01.06_05.08.00.0B.01.01_osc-1
dsl-vrx200-firmware-xdsl-b-patch - 05.08.01.08.01.06_05.08.00.0B.01.01_osc-1
e2fsprogs - 1.43.3-2
fdisk - 2.29.2-1
firewall - 2017-05-27-a4d98aea-1
fstools - 2016-12-04-84b530a7-2
fwtool - 1
hostapd-common - 2016-12-19-ad02e79d-3
htop - 2.0.2-1
ip6tables - 1.4.21-2
iptables - 1.4.21-2
iw - 4.9-1
jshn - 2017-02-24-96305a3c-1
jsonfilter - 2016-07-02-dea067ad-1
kernel - 4.4.71-1-ecff7fd088bc5feb8670284793fb4f1c
kmod-atm - 4.4.71-1
kmod-cfg80211 - 4.4.71+2017-01-31-2
kmod-crypto-aead - 4.4.71-1
kmod-crypto-crc32c - 4.4.71-1
kmod-crypto-hash - 4.4.71-1
kmod-crypto-manager - 4.4.71-1
kmod-crypto-null - 4.4.71-1
kmod-crypto-pcompress - 4.4.71-1
kmod-eeprom-93cx6 - 4.4.71-1
kmod-fs-ext4 - 4.4.71-1
kmod-fs-vfat - 4.4.71-1
kmod-gpio-button-hotplug - 4.4.71-2
kmod-ip6tables - 4.4.71-1
kmod-ipt-conntrack - 4.4.71-1
kmod-ipt-core - 4.4.71-1
kmod-ipt-nat - 4.4.71-1
kmod-leds-gpio - 4.4.71-1
kmod-lib-crc-ccitt - 4.4.71-1
kmod-lib-crc-itu-t - 4.4.71-1
kmod-lib-crc16 - 4.4.71-1
kmod-ltq-atm-vr9 - 4.4.71-1
kmod-ltq-deu-vr9 - 4.4.71-1
kmod-ltq-ifxos - 4.4.71+1.5.19-2
kmod-ltq-ptm-vr9 - 4.4.71-1
kmod-ltq-vdsl-vr9 - 4.4.71+4.17.18.6-1
kmod-ltq-vdsl-vr9-mei - 4.4.71+1.5.17.6-1
kmod-mac80211 - 4.4.71+2017-01-31-2
kmod-nf-conntrack - 4.4.71-1
kmod-nf-conntrack6 - 4.4.71-1
kmod-nf-ipt - 4.4.71-1
kmod-nf-ipt6 - 4.4.71-1
kmod-nf-nat - 4.4.71-1
kmod-nls-base - 4.4.71-1
kmod-nls-cp437 - 4.4.71-1
kmod-nls-iso8859-1 - 4.4.71-1
kmod-nls-utf8 - 4.4.71-1
kmod-ppp - 4.4.71-1
kmod-pppoa - 4.4.71-1
kmod-pppoe - 4.4.71-1
kmod-pppox - 4.4.71-1
kmod-rt2800-lib - 4.4.71+2017-01-31-2
kmod-rt2800-mmio - 4.4.71+2017-01-31-2
kmod-rt2800-pci - 4.4.71+2017-01-31-2
kmod-rt2x00-lib - 4.4.71+2017-01-31-2
kmod-rt2x00-mmio - 4.4.71+2017-01-31-2
kmod-rt2x00-pci - 4.4.71+2017-01-31-2
kmod-scsi-core - 4.4.71-1
kmod-slhc - 4.4.71-1
kmod-usb-core - 4.4.71-1
kmod-usb-dwc2 - 4.4.71-1
kmod-usb-ledtrig-usbport - 4.4.71-1
kmod-usb-storage - 4.4.71-1
kmod-usb-storage-extras - 4.4.71-1
kmod-usb2 - 4.4.71-1
lede-keyring - 2017-01-20-a50b7529-1
libblkid - 2.29.2-1
libblobmsg-json - 2017-02-24-96305a3c-1
libbz2 - 1.0.6-2
libc - 1.1.16-1
libcap - 2.24-1
libevent2 - 2.0.22-1
libext2fs - 1.43.3-2
libfdisk - 2.29.2-1
libgcc - 5.4.0-1
libip4tc - 1.4.21-2
libip6tc - 1.4.21-2
libiwinfo - 2016-09-21-fd9e17be-1
libiwinfo-lua - 2016-09-21-fd9e17be-1
libjson-c - 0.12.1-1
libjson-script - 2017-02-24-96305a3c-1
libkmod - 20-1
libltdl - 2.4-2
liblua - 5.1.5-1
libmbedtls - 2.4.2-1
libncurses - 6.0-1
libnl-tiny - 0.1-5
libopenssl - 1.0.2k-1
libpcre - 8.40-2
libpthread - 1.1.16-1
librrd1 - 1.0.50-2
librt - 1.1.16-1
libsmartcols - 2.29.2-1
libubox - 2017-02-24-96305a3c-1
libubus - 2017-02-18-34c6e818-1
libubus-lua - 2017-02-18-34c6e818-1
libuci - 2016-07-04-e1bf4356-1
libuci-lua - 2016-07-04-e1bf4356-1
libuclient - 2016-12-09-52d955fd-1
libusb-1.0 - 1.0.21-1
libustream-mbedtls - 2016-07-02-ec80adaa-2
libuuid - 2.29.2-1
libxtables - 1.4.21-2
linux-atm - 2.5.2-5
logd - 2017-03-10-16f7e161-1
ltq-vdsl-app - 4.17.18.6-1
lua - 5.1.5-1
luci - git-17.152.82987-7f6fc16-1
luci-app-firewall - git-17.152.82987-7f6fc16-1
luci-app-privoxy - 1.0.6-1
luci-app-statistics - git-17.152.82987-7f6fc16-1
luci-base - git-17.152.82987-7f6fc16-1
luci-lib-ip - git-17.152.82987-7f6fc16-1
luci-lib-jsonc - git-17.152.82987-7f6fc16-1
luci-lib-nixio - git-17.152.82987-7f6fc16-1
luci-mod-admin-full - git-17.152.82987-7f6fc16-1
luci-proto-ipv6 - git-17.152.82987-7f6fc16-1
luci-proto-ppp - git-17.152.82987-7f6fc16-1
luci-ssl - git-17.152.82987-7f6fc16-1
luci-theme-bootstrap - git-17.152.82987-7f6fc16-1
mtd - 21
nano - 2.7.5-1
netifd - 2017-01-25-650758b1-1
odhcp6c - 2017-01-30-c13b6a05-1
odhcpd - 2017-04-28-9268ca65-1
opkg - 2017-03-23-1d0263bb-1
pciutils - 3.5.2-1
ppp - 2.4.7-11
ppp-mod-pppoa - 2.4.7-11
ppp-mod-pppoe - 2.4.7-11
privoxy - 3.0.26-2
procd - 2017-02-15-5f912410-1
procd-nand - 2017-02-15-5f912410-1
px5g-mbedtls - 4
rpcd - 2016-12-03-0577cfc1-1
rrdtool1 - 1.0.50-2
rt2800-pci-firmware - 2016-09-21-42ad5367-1
swconfig - 11
terminfo - 6.0-1
tor - 0.2.9.10-1
tor-gencert - 0.2.9.10-1
tor-geoip - 0.2.9.10-1
tor-resolve - 0.2.9.10-1
ubi-utils - 1.5.2-1
ubox - 2017-03-10-16f7e161-1
ubus - 2017-02-18-34c6e818-1
ubusd - 2017-02-18-34c6e818-1
uci - 2016-07-04-e1bf4356-1
uclient-fetch - 2016-12-09-52d955fd-1
uhttpd - 2016-10-25-1628fa4b-1
uhttpd-mod-ubus - 2016-10-25-1628fa4b-1
usbutils - 007-6
usign - 2015-07-04-ef641914-1
wpad-mini - 2016-12-19-ad02e79d-3
zlib - 1.2.11-1

On my older F1 -running: LEDE Reboot r2144- i see the following error in System logs after nearly 40 days of good work:

Code: Select all

Sun Aug 13 02:21:42 2017 kern.info kernel: [3425898.250401] 
Sun Aug 13 02:21:42 2017 kern.info kernel: [3425898.250401] do_page_fault(): sending SIGSEGV to opkg for invalid read access from 00000000
Sun Aug 13 02:21:42 2017 kern.info kernel: [3425898.257490] epc = 77b4ccfc in libc.so[77ada000+91000]
Sun Aug 13 02:21:42 2017 kern.info kernel: [3425898.262666] ra  = 00409fa5 in opkg[400000+18000]
Sun Aug 13 02:21:42 2017 kern.info kernel: [3425898.267397] 
Sun Aug 13 02:21:42 2017 daemon.err uhttpd[849]: Segmentation fault
Sun Aug 13 02:21:47 2017 kern.info kernel: [3425903.449098] 
Sun Aug 13 02:21:47 2017 kern.info kernel: [3425903.449098] do_page_fault(): sending SIGSEGV to opkg for invalid read access from 00000000
Sun Aug 13 02:21:47 2017 kern.info kernel: [3425903.456148] epc = 77bc4cfc in libc.so[77b52000+91000]
Sun Aug 13 02:21:47 2017 kern.info kernel: [3425903.461353] ra  = 00409fa5 in opkg[400000+18000]
Sun Aug 13 02:21:47 2017 kern.info kernel: [3425903.466128] 
Sun Aug 13 02:21:47 2017 daemon.err uhttpd[849]: Segmentation fault
Sun Aug 13 02:22:09 2017 kern.info kernel: [3425925.109728] 
Sun Aug 13 02:22:09 2017 kern.info kernel: [3425925.109728] do_page_fault(): sending SIGSEGV to opkg for invalid read access from 00000000
Sun Aug 13 02:22:09 2017 kern.info kernel: [3425925.116789] epc = 77baecfc in libc.so[77b3c000+91000]
Sun Aug 13 02:22:09 2017 kern.info kernel: [3425925.122099] ra  = 00409fa5 in opkg[400000+18000]
Sun Aug 13 02:22:09 2017 kern.info kernel: [3425925.126724] 
Sun Aug 13 02:22:09 2017 daemon.err uhttpd[849]: Segmentation fault
Sun Aug 13 02:22:20 2017 kern.info kernel: [3425936.379878] 
Sun Aug 13 02:22:20 2017 kern.info kernel: [3425936.379878] do_page_fault(): sending SIGSEGV to opkg for invalid read access from 00000000
Sun Aug 13 02:22:20 2017 kern.info kernel: [3425936.387038] epc = 77d62cfc in libc.so[77cf0000+91000]
Sun Aug 13 02:22:20 2017 kern.info kernel: [3425936.392166] ra  = 00409fa5 in opkg[400000+18000]
Sun Aug 13 02:22:20 2017 kern.info kernel: [3425936.396912] 
Sun Aug 13 02:22:20 2017 daemon.err uhttpd[849]: Segmentation fault
Sun Aug 13 02:22:26 2017 kern.info kernel: [3425941.484872] 
Sun Aug 13 02:22:26 2017 kern.info kernel: [3425941.484872] do_page_fault(): sending SIGSEGV to opkg for invalid read access from 00000000
Sun Aug 13 02:22:26 2017 kern.info kernel: [3425941.491930] epc = 776d6cfc in libc.so[77664000+91000]
Sun Aug 13 02:22:26 2017 kern.info kernel: [3425941.497136] ra  = 00409fa5 in opkg[400000+18000]
Sun Aug 13 02:22:26 2017 kern.info kernel: [3425941.501862] 
Sun Aug 13 02:22:26 2017 daemon.err uhttpd[849]: Segmentation fault
Sun Aug 13 02:22:30 2017 kern.info kernel: [3425945.849298] 
Sun Aug 13 02:22:30 2017 kern.info kernel: [3425945.849298] do_page_fault(): sending SIGSEGV to opkg for invalid read access from 00000000
Sun Aug 13 02:22:30 2017 kern.info kernel: [3425945.857796] epc = 7734acfc in libc.so[772d8000+91000]
Sun Aug 13 02:22:30 2017 kern.info kernel: [3425945.861629] ra  = 00409fa5 in opkg[400000+18000]
Sun Aug 13 02:22:30 2017 kern.info kernel: [3425945.866336] 
Sun Aug 13 02:22:30 2017 daemon.err uhttpd[849]: Segmentation fault
and in the Kernel logs:

Code: Select all

[3425898.250401] 
[3425898.250401] do_page_fault(): sending SIGSEGV to opkg for invalid read access from 00000000
[3425898.257490] epc = 77b4ccfc in libc.so[77ada000+91000]
[3425898.262666] ra  = 00409fa5 in opkg[400000+18000]
[3425898.267397] 
[3425903.449098] 
[3425903.449098] do_page_fault(): sending SIGSEGV to opkg for invalid read access from 00000000
[3425903.456148] epc = 77bc4cfc in libc.so[77b52000+91000]
[3425903.461353] ra  = 00409fa5 in opkg[400000+18000]
[3425903.466128] 
Although this error the box still working, updating software passes 'ok', but Available Packages is empty.
This box needs the new 17.01.2 firmware, but let's see the logs on the new F1...
Only 1 message:

Code: Select all

Sun Aug 13 02:26:41 2017 daemon.err uhttpd[1189]: Collected errors:
Sun Aug 13 02:26:41 2017 daemon.err uhttpd[1189]:  * opkg_conf_load: Could not lock /var/lock/opkg.lock: Resource temporarily unavailable.
Maybe willing to sell ;)
mail me ...

DG.
Post Reply