piknew
-
Posts
113 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Community Map
Posts posted by piknew
-
-
On 9/30/2018 at 7:20 PM, menno said:
I was able to get the machine stable by setting cpufreq to a fixed frequency. It does not matter if I set it to low or high so mine's now stable running at 1.37Ghz for days.
Could you please point out how to achieve this? All my H3 (also H2+) devices suffer from the issue as described. Even with newest kernel. So, after reading I decided to test stability with "constant cpu frequency".
EDIT: I've done it by:
[root@PKTEST ~]# cat /etc/default/cpufrequtils
# WARNING: this file will be replaced on board support package (linux-root-...) upgrade
ENABLE=true
MIN_SPEED=408000
MAX_SPEED=1296000
#GOVERNOR=ondemand
GOVERNOR=performance
[root@PKTEST ~]#Question: would it be possible not to overwrite cpufrequtils file once support package is installed/upgraded?
-
SUCCESS
Story: I have used armbian-config to check Hardware (if my I2C bus is enabled). I have noticed very strange behavior of function: grep was outputted in "usage" mode. I revieved all the scripts and it appeared that line which is searching for "overlays=" is throwing this error. My /boot/armbianEnv.txt didn't have any overlay, especially for I2C, enabled. So, I have added as following (+ overlay prefix):
[root@PKTEST ~]# cat /boot/armbianEnv.txt rootdev=UUID=f8301761-6756-4f97-aa80-12c05ea037cf extraargs=pty.legacy_count=2 overlays=i2c0 i2c1 i2c2 user_overlays=ds1307 overlay_prefix=sun8i-h3 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u,0x1058:0x10b8:u [root@PKTEST ~]#
Then I have modified my user overlay file to be as following:
[root@PKTEST ~]# cat /boot/overlay-user/ds1307.dts /dts-v1/; /plugin/; / { compatible = "allwinner,sun4i-a10", "allwinner,sun7i-a20", "allwinner,sun8i-h3", "allwinner,sun50i-a64", "allwinner,sun50i-h5"; /* * Aliases can be used to set the external RTC as rtc0 * Needs supplying the correct path to the I2C controller RTC is connected to, * this example is for I2C1 on H3 * NOTE: setting time at boot by the kernel * may not work in some cases if the external RTC module is loaded too late */ fragment@0 { target-path = "/aliases"; __overlay__ { rtc0 = "/soc/i2c@1c2ac00/ds1307@68"; }; }; fragment@1 { target = <&i2c0>; __overlay__ { #address-cells = <1>; #size-cells = <0>; ds1307@68 { compatible = "dallas,ds1307"; reg = <0x68>; status = "okay"; }; }; }; }; [root@PKTEST ~]#
The address in fragment@0 is determined by looking where system placed i2c0 bus (I am sure that my RTC is connected to bus 0).
It is giving /dev/rtc1,m which I have verified as following:
[root@PKTEST ~]# ll /dev/rtc* crw------- 1 root root 253, 0 May 22 2016 /dev/rtc0 lrwxrwxrwx 1 root root 4 May 22 2016 /dev/rtc -> rtc0 crw------- 1 root root 253, 1 May 22 2016 /dev/rtc1 [root@PKTEST ~]# hwclock -r -f /dev/rtc0 Sun 22 May 2016 12:38:25 AM CEST -1.593015 seconds [root@PKTEST ~]# hwclock -r -f /dev/rtc1 Fri 05 Oct 2018 11:57:03 AM CEST -0.927469 seconds [root@PKTEST ~]#
Unfortunately it seems that line frogment@0 is not making this device available as rtc0 (it is assigning rtc1):
[root@PKTEST ~]# dmesg | grep -i rtc [ 3.636229] [drm] Cannot find any crtc or sizes [ 3.756932] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0 [ 3.756939] sun6i-rtc 1f00000.rtc: RTC enabled [ 4.641465] [drm] Cannot find any crtc or sizes [ 9.740172] rtc-ds1307 0-0068: /aliases ID 0 not available [ 9.741555] rtc-ds1307 0-0068: registered as rtc1 [root@PKTEST ~]#
Can anybody help and answer if it is possible somehow "override" the device? Of course I have my own systemd script to use it and set correct date at boot time. If "overriding" is not possible then I will use it.
-
Definitely not (PKTEST is Orange Pi PC) - I also checked on OPI+2 with the same results (FAILED on "dev"). But I will try to downgrade to "next" on OPiPC (PKTEST). I will give an update in matter of minutes.
Update: "next" is the same. But then I have downgraded to "Default" and:
[root@PKTEST ~]# i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- [root@PKTEST ~]# cd /sys/class/i2c-adapter/i2c-0 [root@PKTEST /sys/class/i2c-adapter/i2c-0]# echo ds1307 0x68 >new_device [root@PKTEST /sys/class/i2c-adapter/i2c-0]# ll /dev/rtc* crw------- 1 root root 254, 0 May 22 2016 /dev/rtc0 lrwxrwxrwx 1 root root 4 May 22 2016 /dev/rtc -> rtc0 crw------- 1 root root 254, 1 Oct 4 18:36 /dev/rtc1 [root@PKTEST /sys/class/i2c-adapter/i2c-0]# hwclock -r -f /dev/rtc1 Thu 04 Oct 2018 06:36:46 PM CEST -0.853544 seconds [root@PKTEST /sys/class/i2c-adapter/i2c-0]#
-
1 hour ago, martinayotte said:
Is it at least appearing with "i2cdetect" ?
Is RTC DT node appears under the proper I2C node in /proc/device-tree/soc ?
I am not sure if the path is correct - I used the one from dts file (in post above). It seems that "something" is there. However, I2C detect does not see any device under address 0x68. I am also not sure if aliases section of dts file will somehow override visibility of standard rtc0 device from SOC?
Below are a few commands.
[root@PKTEST /proc/device-tree/soc/i2c@1c2b000]# ll total 0 -r--r--r-- 1 root root 24 Oct 4 17:32 compatible -r--r--r-- 1 root root 8 Oct 4 17:32 clocks -r--r--r-- 1 root root 8 Oct 4 17:32 resets -r--r--r-- 1 root root 9 Oct 4 17:32 status -r--r--r-- 1 root root 4 Oct 4 17:32 #address-cells -r--r--r-- 1 root root 12 Oct 4 17:32 interrupts -r--r--r-- 1 root root 4 Oct 4 17:32 #size-cells drwxr-xr-x 2 root root 0 Oct 4 17:32 ds1307@68 -r--r--r-- 1 root root 4 Oct 4 17:32 phandle -r--r--r-- 1 root root 8 Oct 4 17:32 reg -r--r--r-- 1 root root 4 Oct 4 17:32 pinctrl-0 -r--r--r-- 1 root root 4 Oct 4 17:32 name -r--r--r-- 1 root root 8 Oct 4 17:32 pinctrl-names [root@PKTEST /proc/device-tree/soc/i2c@1c2b000]# cd ds1307@68/ [root@PKTEST /proc/device-tree/soc/i2c@1c2b000/ds1307@68]# ll total 0 -r--r--r-- 1 root root 14 Oct 4 17:32 compatible -r--r--r-- 1 root root 5 Oct 4 17:32 status -r--r--r-- 1 root root 4 Oct 4 17:32 reg -r--r--r-- 1 root root 7 Oct 4 17:32 name [root@PKTEST /proc/device-tree/soc/i2c@1c2b000/ds1307@68]# ll /dev/rtc* crw------- 1 root root 253, 0 May 22 2016 /dev/rtc0 lrwxrwxrwx 1 root root 4 May 22 2016 /dev/rtc -> rtc0 [root@PKTEST /proc/device-tree/soc/i2c@1c2b000/ds1307@68]# dmesg | grep -i ds1307 [root@PKTEST /proc/device-tree/soc/i2c@1c2b000/ds1307@68]# dmesg | grep -i rtc [ 3.625735] [drm] Cannot find any crtc or sizes [ 3.746859] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0 [ 3.746865] sun6i-rtc 1f00000.rtc: RTC enabled [ 4.640512] [drm] Cannot find any crtc or sizes [root@PKTEST /proc/device-tree/soc/i2c@1c2b000/ds1307@68]# i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: 30 -- 32 33 34 35 36 37 -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- [root@PKTEST /proc/device-tree/soc/i2c@1c2b000/ds1307@68]# i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- [root@PKTEST /proc/device-tree/soc/i2c@1c2b000/ds1307@68]#
-
Thanks, I have updated device-tree-compiler to "buster" version and I have created symbolic link from modules/... to dtc binary. Script armbian-add-overlay is working. But after compiling new dts - rtc is still not working (not registered as rtc device).
-
Additionally I have noticed that example file is different slightly than mine:
https://github.com/armbian/sunxi-DT-overlays/blob/master/examples/i2c-ds1307.dts
Unfortunately I cannot compile new dts file:
[root@PKTEST ~]# uname -r 4.18.8-sunxi [root@PKTEST ~]# cd /lib/modules/4.18.8-sunxi/build/scripts/dtc [root@PKTEST /lib/modules/4.18.8-sunxi/build/scripts/dtc]# ll total 304 drwxr-xr-x 2 root root 4096 Oct 2 20:32 libfdt drwxr-xr-x 2 root root 4096 Oct 2 20:32 include-prefixes -rw-r--r-- 1 root root 42 Oct 2 20:32 version_gen.h -rw-r--r-- 1 root root 7888 Oct 2 20:32 util.h -rw-r--r-- 1 root root 9622 Oct 2 20:32 util.c -rwxr-xr-x 1 root root 2552 Oct 2 20:32 update-dtc-source.sh -rw-r--r-- 1 root root 6158 Oct 2 20:32 treesource.c -rw-r--r-- 1 root root 3624 Oct 2 20:32 srcpos.h -rw-r--r-- 1 root root 6859 Oct 2 20:32 srcpos.c -rw-r--r-- 1 root root 372 Oct 2 20:32 Makefile.dtc -rw-r--r-- 1 root root 956 Oct 2 20:32 Makefile -rw-r--r-- 1 root root 21011 Oct 2 20:32 livetree.c -rw-r--r-- 1 root root 4 Oct 2 20:32 .gitignore -rw-r--r-- 1 root root 2283 Oct 2 20:32 fstree.c -rw-r--r-- 1 root root 22682 Oct 2 20:32 flattree.c -rw-r--r-- 1 root root 8546 Oct 2 20:32 fdtput.c -rw-r--r-- 1 root root 8781 Oct 2 20:32 fdtget.c -rw-r--r-- 1 root root 3756 Oct 2 20:32 fdtdump.c -rwxr-xr-x 1 root root 8755 Oct 2 20:32 dtx_diff -rwxr-xr-x 1 root root 41838 Oct 2 20:32 dt_to_config -rw-r--r-- 1 root root 10590 Oct 2 20:32 dtc-parser.y -rw-r--r-- 1 root root 7043 Oct 2 20:32 dtc-lexer.l -rw-r--r-- 1 root root 8736 Oct 2 20:32 dtc.h -rw-r--r-- 1 root root 9477 Oct 2 20:32 dtc.c -rw-r--r-- 1 root root 5253 Oct 2 20:32 data.c -rw-r--r-- 1 root root 45534 Oct 2 20:32 checks.c [root@PKTEST /lib/modules/4.18.8-sunxi/build/scripts/dtc]# cd /boot/overlay-user/ [root@PKTEST /boot/overlay-user]# ll total 8 -rw-r--r-- 1 root root 401 May 13 18:11 ds1307.dtbo -rw-r--r-- 1 root root 770 Oct 4 12:29 ds1307.dts [root@PKTEST /boot/overlay-user]# rm ds1307.dtbo [root@PKTEST /boot/overlay-user]# cat ds1307.dts /dts-v1/; /plugin/; / { compatible = "allwinner,sun4i-a10", "allwinner,sun7i-a20", "allwinner,sun8i-h3", "allwinner,sun50i-a64", "allwinner,sun50i-h5"; /* * Aliases can be used to set the external RTC as rtc0 * Needs supplying the correct path to the I2C controller RTC is connected to, * this example is for I2C1 on H3 * NOTE: setting time at boot by the kernel * may not work in some cases if the external RTC module is loaded too late */ fragment@0 { target-path = "/aliases"; __overlay__ { rtc0 = "/soc/i2c@01c2b000/ds1307@68"; }; }; fragment@1 { target = <&i2c1>; __overlay__ { #address-cells = <1>; #size-cells = <0>; ds1307@68 { compatible = "dallas,ds1307"; reg = <0x68>; status = "okay"; }; }; }; }; [root@PKTEST /boot/overlay-user]# armbian-add-overlay ds1307.dts Error: kernel headers are not installed properly Can't find dtc that supports compiling overlays Please install the headers package for kernel 4.18.8-sunxi [root@PKTEST /boot/overlay-user]#
-
Hi, as written above everything is working correctly with "next" (4.14.70) and "default" (3.4.113) kernels.
For some of my boards I have upgraded to dev. And unfortunately module stopped working.
It seems that overlay method is mot causing that rtc device is registered. Here is my ds1307.dts file:
[root@PKTEST /boot/overlay-user]# ll total 8 -rw-r--r-- 1 root root 271 May 13 18:11 ds1307.dts -rw-r--r-- 1 root root 401 May 13 18:11 ds1307.dtbo [root@PKTEST /boot/overlay-user]# cat ds1307.dts /dts-v1/; /plugin/; / { compatible = "brcm,bcm2708"; fragment@0 { target = <&i2c0>; __overlay__ { #address-cells = <1>; #size-cells = <0>; status = "okay"; ds1307@68 { compatible = "ds1307"; reg = <0x68>; status = "okay"; }; }; }; }; [root@PKTEST /boot/overlay-user]#
After boot it is as folllowing:
[root@PKTEST ~]# cd /sys/class/i2c-adapter/ [root@PKTEST /sys/class/i2c-adapter]# ll total 0 lrwxrwxrwx 1 root root 0 Jan 1 1970 i2c-2 -> ../../devices/platform/soc/1f02400.i2c/i2c-2 lrwxrwxrwx 1 root root 0 Jan 1 1970 i2c-1 -> ../../devices/platform/soc/1c2ac00.i2c/i2c-1 lrwxrwxrwx 1 root root 0 Jan 1 1970 i2c-0 -> ../../devices/platform/soc/1ee0000.hdmi/i2c-0 [root@PKTEST /sys/class/i2c-adapter]# cd i2c-2 [root@PKTEST /sys/class/i2c-adapter/i2c-2]# ll total 0 -rw-r--r-- 1 root root 4096 Jan 1 1970 uevent lrwxrwxrwx 1 root root 0 Jan 1 1970 subsystem -> ../../../../../bus/i2c drwxr-xr-x 4 root root 0 Jan 1 1970 2-0065 drwxr-xr-x 3 root root 0 Jan 1 1970 i2c-dev drwxr-xr-x 2 root root 0 Oct 4 11:47 power lrwxrwxrwx 1 root root 0 Oct 4 11:47 of_node -> ../../../../../firmware/devicetree/base/soc/i2c@1f02400 --w------- 1 root root 4096 Oct 4 11:47 new_device -r--r--r-- 1 root root 4096 Oct 4 11:47 name lrwxrwxrwx 1 root root 0 Oct 4 11:47 device -> ../../1f02400.i2c --w------- 1 root root 4096 Oct 4 11:47 delete_device [root@PKTEST /sys/class/i2c-adapter/i2c-2]# cd ../i2c-1 [root@PKTEST /sys/class/i2c-adapter/i2c-1]# ll total 0 -rw-r--r-- 1 root root 4096 Jan 1 1970 uevent lrwxrwxrwx 1 root root 0 Jan 1 1970 subsystem -> ../../../../../bus/i2c drwxr-xr-x 3 root root 0 Jan 1 1970 1-0068 drwxr-xr-x 3 root root 0 Jan 1 1970 i2c-dev lrwxrwxrwx 1 root root 0 Oct 4 11:48 device -> ../../1c2ac00.i2c drwxr-xr-x 2 root root 0 Oct 4 11:48 power lrwxrwxrwx 1 root root 0 Oct 4 11:48 of_node -> ../../../../../firmware/devicetree/base/soc/i2c@1c2ac00 --w------- 1 root root 4096 Oct 4 11:48 new_device -r--r--r-- 1 root root 4096 Oct 4 11:48 name --w------- 1 root root 4096 Oct 4 11:48 delete_device [root@PKTEST /sys/class/i2c-adapter/i2c-1]# cd 1-0068 [root@PKTEST /sys/class/i2c-adapter/i2c-1/1-0068]# ll total 0 -rw-r--r-- 1 root root 4096 Jan 1 1970 uevent lrwxrwxrwx 1 root root 0 Jan 1 1970 subsystem -> ../../../../../../bus/i2c drwxr-xr-x 2 root root 0 Oct 4 11:48 power lrwxrwxrwx 1 root root 0 Oct 4 11:48 of_node -> ../../../../../../firmware/devicetree/base/soc/i2c@1c2ac00/ds1307@68 -r--r--r-- 1 root root 4096 Oct 4 11:48 name -r--r--r-- 1 root root 4096 Oct 4 11:48 modalias [root@PKTEST /sys/class/i2c-adapter/i2c-1/1-0068]# cd ../../i2c-0 [root@PKTEST /sys/class/i2c-adapter/i2c-0]# ll total 0 -rw-r--r-- 1 root root 4096 Jan 1 1970 uevent lrwxrwxrwx 1 root root 0 Jan 1 1970 subsystem -> ../../../../../bus/i2c drwxr-xr-x 3 root root 0 Jan 1 1970 i2c-dev drwxr-xr-x 2 root root 0 Oct 4 11:48 power --w------- 1 root root 4096 Oct 4 11:48 new_device -r--r--r-- 1 root root 4096 Oct 4 11:48 name lrwxrwxrwx 1 root root 0 Oct 4 11:48 device -> ../../1ee0000.hdmi --w------- 1 root root 4096 Oct 4 11:48 delete_device [root@PKTEST /sys/class/i2c-adapter/i2c-0]#
Additionally I have verified and swtched off overlay method in armbianEnv.txt file. The used method used for "Default" (echo to new_device). rtc1 is registered but cannot be effectively used:
[root@PKTEST ~]# cd /sys/class/i2c-adapter/ [root@PKTEST /sys/class/i2c-adapter]# ll total 0 lrwxrwxrwx 1 root root 0 Jan 1 1970 i2c-1 -> ../../devices/platform/soc/1f02400.i2c/i2c-1 lrwxrwxrwx 1 root root 0 Jan 1 1970 i2c-0 -> ../../devices/platform/soc/1ee0000.hdmi/i2c-0 [root@PKTEST /sys/class/i2c-adapter]# cd [root@PKTEST ~]# cat /boot/armbianEnv.txt verbosity=0 rootdev=UUID=f8301761-6756-4f97-aa80-12c05ea037cf extraargs=pty.legacy_count=2 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u,0x1058:0x10b8:u [root@PKTEST ~]# cd /sys/class/i2c-adapter/ [root@PKTEST /sys/class/i2c-adapter]# ll total 0 lrwxrwxrwx 1 root root 0 Oct 4 11:40 i2c-1 -> ../../devices/platform/soc/1f02400.i2c/i2c-1 lrwxrwxrwx 1 root root 0 Oct 4 11:40 i2c-0 -> ../../devices/platform/soc/1ee0000.hdmi/i2c-0 [root@PKTEST /sys/class/i2c-adapter]# cd i2c-0 [root@PKTEST /sys/class/i2c-adapter/i2c-0]# ll total 0 -rw-r--r-- 1 root root 4096 Jan 1 1970 uevent lrwxrwxrwx 1 root root 0 Jan 1 1970 subsystem -> ../../../../../bus/i2c drwxr-xr-x 3 root root 0 Jan 1 1970 i2c-dev lrwxrwxrwx 1 root root 0 Oct 4 11:40 device -> ../../1ee0000.hdmi drwxr-xr-x 2 root root 0 Oct 4 11:40 power --w------- 1 root root 4096 Oct 4 11:40 new_device -r--r--r-- 1 root root 4096 Oct 4 11:40 name --w------- 1 root root 4096 Oct 4 11:40 delete_device [root@PKTEST /sys/class/i2c-adapter/i2c-0]# cd .. [root@PKTEST /sys/class/i2c-adapter]# cd i2c-1 [root@PKTEST /sys/class/i2c-adapter/i2c-1]# ll total 0 -rw-r--r-- 1 root root 4096 Jan 1 1970 uevent lrwxrwxrwx 1 root root 0 Jan 1 1970 subsystem -> ../../../../../bus/i2c drwxr-xr-x 4 root root 0 Jan 1 1970 1-0065 drwxr-xr-x 3 root root 0 Jan 1 1970 i2c-dev drwxr-xr-x 2 root root 0 Oct 4 11:41 power lrwxrwxrwx 1 root root 0 Oct 4 11:41 of_node -> ../../../../../firmware/devicetree/base/soc/i2c@1f02400 --w------- 1 root root 4096 Oct 4 11:41 new_device -r--r--r-- 1 root root 4096 Oct 4 11:41 name lrwxrwxrwx 1 root root 0 Oct 4 11:41 device -> ../../1f02400.i2c --w------- 1 root root 4096 Oct 4 11:41 delete_device [root@PKTEST /sys/class/i2c-adapter/i2c-1]# cd .. [root@PKTEST /sys/class/i2c-adapter]# i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: 30 31 32 33 34 35 36 37 -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- [root@PKTEST /sys/class/i2c-adapter]# i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- [root@PKTEST /sys/class/i2c-adapter]# cd i2c-0 [root@PKTEST /sys/class/i2c-adapter/i2c-0]# echo ds1307 0x68 >new_device [root@PKTEST /sys/class/i2c-adapter/i2c-0]# dmesg | tail -10 [ 10.207986] zram0: detected capacity change from 0 to 52428800 [ 10.464198] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard [ 10.560357] thermal thermal_zone0: failed to read out thermal zone (-110) [ 11.600361] thermal thermal_zone0: failed to read out thermal zone (-110) [ 13.280939] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 13.280991] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 15.604092] random: crng init done [ 15.604102] random: 7 urandom warning(s) missed due to ratelimiting [ 109.520532] i2c i2c-0: new_device: Instantiated device ds1307 at 0x68 [ 109.544732] rtc-ds1307 0-0068: registered as rtc1 [root@PKTEST /sys/class/i2c-adapter/i2c-0]# ll total 0 lrwxrwxrwx 1 root root 0 Oct 4 11:40 device -> ../../1ee0000.hdmi lrwxrwxrwx 1 root root 0 Oct 4 11:40 subsystem -> ../../../../../bus/i2c drwxr-xr-x 2 root root 0 Oct 4 11:40 power --w------- 1 root root 4096 Oct 4 11:40 delete_device drwxr-xr-x 3 root root 0 Oct 4 11:40 i2c-dev -rw-r--r-- 1 root root 4096 Oct 4 11:40 uevent -r--r--r-- 1 root root 4096 Oct 4 11:40 name --w------- 1 root root 4096 Oct 4 11:41 new_device drwxr-xr-x 5 root root 0 Oct 4 11:41 0-0068 [root@PKTEST /sys/class/i2c-adapter/i2c-0]# ll /dev/rtc* crw------- 1 root root 253, 0 May 22 2016 /dev/rtc0 lrwxrwxrwx 1 root root 4 May 22 2016 /dev/rtc -> rtc0 crw------- 1 root root 253, 1 Oct 4 11:41 /dev/rtc1 [root@PKTEST /sys/class/i2c-adapter/i2c-0]# hwclock -r -f /dev/rtc1 hwclock: ioctl(RTC_RD_TIME) to /dev/rtc1 to read the time failed: Invalid argument [root@PKTEST /sys/class/i2c-adapter/i2c-0]# cd ../i2c-1 [root@PKTEST /sys/class/i2c-adapter/i2c-1]# echo ds1307 0x68 >new_device [root@PKTEST /sys/class/i2c-adapter/i2c-1]# dmesg | tail -10 [ 10.560357] thermal thermal_zone0: failed to read out thermal zone (-110) [ 11.600361] thermal thermal_zone0: failed to read out thermal zone (-110) [ 13.280939] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 13.280991] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 15.604092] random: crng init done [ 15.604102] random: 7 urandom warning(s) missed due to ratelimiting [ 109.520532] i2c i2c-0: new_device: Instantiated device ds1307 at 0x68 [ 109.544732] rtc-ds1307 0-0068: registered as rtc1 [ 154.367483] rtc-ds1307 0-0068: read error -5 [ 166.008663] i2c i2c-1: new_device: Instantiated device ds1307 at 0x68 [root@PKTEST /sys/class/i2c-adapter/i2c-1]# ll /dev/rtc* crw------- 1 root root 253, 0 May 22 2016 /dev/rtc0 lrwxrwxrwx 1 root root 4 May 22 2016 /dev/rtc -> rtc0 crw------- 1 root root 253, 1 Oct 4 11:41 /dev/rtc1 [root@PKTEST /sys/class/i2c-adapter/i2c-1]# hwclock -r -f /dev/rtc1 hwclock: ioctl(RTC_RD_TIME) to /dev/rtc1 to read the time failed: Invalid argument [root@PKTEST /sys/class/i2c-adapter/i2c-1]# cd ../i2c-0 [root@PKTEST /sys/class/i2c-adapter/i2c-0]# echo 0x68 >delete_device [root@PKTEST /sys/class/i2c-adapter/i2c-0]# dmesg | tail -10 [ 13.280939] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 13.280991] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 15.604092] random: crng init done [ 15.604102] random: 7 urandom warning(s) missed due to ratelimiting [ 109.520532] i2c i2c-0: new_device: Instantiated device ds1307 at 0x68 [ 109.544732] rtc-ds1307 0-0068: registered as rtc1 [ 154.367483] rtc-ds1307 0-0068: read error -5 [ 166.008663] i2c i2c-1: new_device: Instantiated device ds1307 at 0x68 [ 195.468248] rtc-ds1307 0-0068: read error -5 [ 209.625152] i2c i2c-0: delete_device: Deleting device ds1307 at 0x68 [root@PKTEST /sys/class/i2c-adapter/i2c-0]# cd ../i2c-1 [root@PKTEST /sys/class/i2c-adapter/i2c-1]# echo ds1307 0x68 >new_device -bash: echo: write error: Invalid argument [root@PKTEST /sys/class/i2c-adapter/i2c-1]# ll total 0 lrwxrwxrwx 1 root root 0 Oct 4 11:41 device -> ../../1f02400.i2c lrwxrwxrwx 1 root root 0 Oct 4 11:41 subsystem -> ../../../../../bus/i2c drwxr-xr-x 2 root root 0 Oct 4 11:41 power drwxr-xr-x 4 root root 0 Oct 4 11:41 1-0065 --w------- 1 root root 4096 Oct 4 11:41 delete_device drwxr-xr-x 3 root root 0 Oct 4 11:41 i2c-dev -rw-r--r-- 1 root root 4096 Oct 4 11:41 uevent -r--r--r-- 1 root root 4096 Oct 4 11:41 name lrwxrwxrwx 1 root root 0 Oct 4 11:41 of_node -> ../../../../../firmware/devicetree/base/soc/i2c@1f02400 drwxr-xr-x 3 root root 0 Oct 4 11:42 1-0068 --w------- 1 root root 4096 Oct 4 11:43 new_device [root@PKTEST /sys/class/i2c-adapter/i2c-1]# echo 0x68 >delete_device [root@PKTEST /sys/class/i2c-adapter/i2c-1]# dmesg | tail -10 [ 15.604092] random: crng init done [ 15.604102] random: 7 urandom warning(s) missed due to ratelimiting [ 109.520532] i2c i2c-0: new_device: Instantiated device ds1307 at 0x68 [ 109.544732] rtc-ds1307 0-0068: registered as rtc1 [ 154.367483] rtc-ds1307 0-0068: read error -5 [ 166.008663] i2c i2c-1: new_device: Instantiated device ds1307 at 0x68 [ 195.468248] rtc-ds1307 0-0068: read error -5 [ 209.625152] i2c i2c-0: delete_device: Deleting device ds1307 at 0x68 [ 226.135079] i2c i2c-1: Failed to register i2c client ds1307 at 0x68 (-16) [ 237.022019] i2c i2c-1: delete_device: Deleting device ds1307 at 0x68 [root@PKTEST /sys/class/i2c-adapter/i2c-1]# echo ds1307 0x68 >new_device [root@PKTEST /sys/class/i2c-adapter/i2c-1]# dmesg | tail -10 [ 15.604102] random: 7 urandom warning(s) missed due to ratelimiting [ 109.520532] i2c i2c-0: new_device: Instantiated device ds1307 at 0x68 [ 109.544732] rtc-ds1307 0-0068: registered as rtc1 [ 154.367483] rtc-ds1307 0-0068: read error -5 [ 166.008663] i2c i2c-1: new_device: Instantiated device ds1307 at 0x68 [ 195.468248] rtc-ds1307 0-0068: read error -5 [ 209.625152] i2c i2c-0: delete_device: Deleting device ds1307 at 0x68 [ 226.135079] i2c i2c-1: Failed to register i2c client ds1307 at 0x68 (-16) [ 237.022019] i2c i2c-1: delete_device: Deleting device ds1307 at 0x68 [ 247.317683] i2c i2c-1: new_device: Instantiated device ds1307 at 0x68 [root@PKTEST /sys/class/i2c-adapter/i2c-1]# ll /dev/rtc* crw------- 1 root root 253, 0 May 22 2016 /dev/rtc0 lrwxrwxrwx 1 root root 4 May 22 2016 /dev/rtc -> rtc0 [root@PKTEST /sys/class/i2c-adapter/i2c-1]#
-
My plan is (on Friday - when I get physical access to device):
1. Unplug network cable and plug in into built-in eth0 port if successful then get logs/dmesg etc.
2. Move the device neat to PC (or laptop near to this board), connect by UART and try to login (of course I know that it is without initial login prompt). Fortunately I am using portable UPS, so there should be no issue.
Any more suggestions? As topic is basically related to other (unfortunately other users the do not confirmed if connect by ssh is working (without debug option it seems that connection is not done at all).
-
Dear All, today my Opi PC stoppped responding. But I think it is not totally "dead".
From other machine I did:
root@PKSERVER:~# ssh -vvv pkbackup
OpenSSH_6.7p1 Debian-5+deb8u4, OpenSSL 1.0.1t 3 May 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: checking match for 'exec "/etc/ssh/pkdata.sh %n"' host pkbackup
debug1: Executing command: '/etc/ssh/pkdata.sh pkbackup'
debug1: permanently_drop_suid: 0
debug3: command returned status 1
debug1: /etc/ssh/ssh_config line 18: no match 'exec "/etc/ssh/pkdata.sh pkbackup"'
debug3: match not found
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: ssh_connect: needpriv 0......................... a lot of lines .................................
debug1: Offering RSA public key: /root/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug2: input_userauth_pk_ok: fp cc:d4:2d:54:9e:33:87:8e:ef:e0:b1:e3:dc:25:46:67
debug3: sign_and_send_pubkey: RSA cc:d4:2d:54:9e:33:87:8e:ef:e0:b1:e3:dc:25:46:67
debug1: Authentication succeeded (publickey).
Authenticated to pkbackup ([192.168.10.220]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.At this moment this is the last message from ssh. Quite interesting that CTRL+C is not working (session is already on remote machine side).
Please note that previously I provided stacktrace which was registered in log:
It was related to network driver (dwmac-sun8i):
[44339.175188] dwmac-sun8i 1c30000.ethernet: packet dropped [55271.062033] kworker/0:0H: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null) [55271.062702] kworker/0:0H cpuset=/ mems_allowed=0 [55271.063225] CPU: 0 PID: 21267 Comm: kworker/0:0H Not tainted 4.14.18-sunxi #24 [55271.063347] Hardware name: Allwinner sun8i Family [55271.063793] Workqueue: xprtiod xs_tcp_data_receive_workfn [55271.064500] [<c010db15>] (unwind_backtrace) from [<c010a0d9>] (show_stack+0x11/0x14) [55271.064924] [<c010a0d9>] (show_stack) from [<c0868f69>] (dump_stack+0x69/0x78)
Maybe this is the way (not kernel itself)?
EDIT (from RPI SBC):
https://github.com/raspberrypi/linux/issues/2482
Similar issue (I am also using nfs as primary "storage"). In my case also there was "packet dropped". Please note https://github.com/6by9/linux/commit/d9941e07f7b8d34a9404374c0e583ba6e5f25da9
Note to moderator: if this is wrong way - please delete/move it to "trash".
EDIT2:
I noticed difference to TSO between default and mainline in bonding driver, but no difference in eth interface.
default:
root@PKSERVER:~# ethtool -k bond0 | grep segmentation
tcp-segmentation-offload: off
tx-tcp-segmentation: off [requested on]
tx-tcp-ecn-segmentation: off [requested on]
tx-tcp6-segmentation: off [requested on]
generic-segmentation-offload: on
tx-fcoe-segmentation: off [fixed]
root@PKSERVER:~# ethtool -k eth0 | grep segmentation
tcp-segmentation-offload: off
tx-tcp-segmentation: off [fixed]
tx-tcp-ecn-segmentation: off [fixed]
tx-tcp6-segmentation: off [fixed]
generic-segmentation-offload: on
tx-fcoe-segmentation: off [fixed]
root@PKSERVER:~#mainline:
root@PKOTHER:~# ethtool -k bond0 | grep segmentation
Cannot get device udp-fragmentation-offload settings: Operation not supported
tcp-segmentation-offload: on
tx-tcp-segmentation: on
tx-tcp-ecn-segmentation: on
tx-tcp-mangleid-segmentation: on
tx-tcp6-segmentation: on
generic-segmentation-offload: on
tx-fcoe-segmentation: off [fixed]
tx-gre-segmentation: on
tx-gre-csum-segmentation: on
tx-ipxip4-segmentation: on
tx-ipxip6-segmentation: on
tx-udp_tnl-segmentation: on
tx-udp_tnl-csum-segmentation: on
tx-sctp-segmentation: off [fixed]
tx-esp-segmentation: off [fixed]
root@PKOTHER:~# ethtool -k eth0 | grep segmentation
Cannot get device udp-fragmentation-offload settings: Operation not supported
tcp-segmentation-offload: off
tx-tcp-segmentation: off [fixed]
tx-tcp-ecn-segmentation: off [fixed]
tx-tcp-mangleid-segmentation: off [fixed]
tx-tcp6-segmentation: off [fixed]
generic-segmentation-offload: on
tx-fcoe-segmentation: off [fixed]
tx-gre-segmentation: off [fixed]
tx-gre-csum-segmentation: off [fixed]
tx-ipxip4-segmentation: off [fixed]
tx-ipxip6-segmentation: off [fixed]
tx-udp_tnl-segmentation: off [fixed]
tx-udp_tnl-csum-segmentation: off [fixed]
tx-sctp-segmentation: off [fixed]
tx-esp-segmentation: off [fixed]
root@PKOTHER:~#For device "pkbackup" ("frozen") I am using 1GBit USB eth1, but until I get physical access to this device - I am not able to confirm what are the settings for this interface).
-
9 minutes ago, Igor said:
Don't worry about that. It works as expected. When you are shutting the board down ... you don't need this. I think it's written in the script why modules are unloading.
If you are messing with startup services, a warranty is void Until this is not replicated on a clean system, a problem does not exist.
We pay attention.
Sure. I will treat it as warning - do not use "stop" for this service. If there is relable way to recognise if "stop" is done on behalf of shutdown then it would be good idea to add it here as condition... I guess it is EOT for this "issue".
How about the test that I've done here: https://forum.armbian.com/topic/7548-apt-list-vs-mainline-very-slow/?do=findComment&comment=56805
I can repeat it, however as "apt" itself is a binary - I do not know what is really done by this tool here (no child processes, eg gzip etc.)...
-
For the issue "systemctl stop armbian-hardware-monitor" - the reason is quite obvious, this line of script /usr/lib/armbian/armbian-hardware-monitor:
/sbin/modprobe -r $(cut -f1 -d' ' </proc/modules)
In my case (hint: removing network/binding modules is basically "showstopper"):
root@PKHELPER:~# cut -f1 -d' ' </proc/modules
rpcsec_gss_krb5
bonding
snd_soc_hdmi_codec
rc_cec
dw_hdmi_i2s_audio
dw_hdmi_cec
evdev
8189es
sun8i_dw_hdmi
dw_hdmi
cec
sun8i_codec_analog
snd_soc_simple_card
sun4i_codec
sun4i_i2s
snd_soc_simple_card_utils
ir_lirc_codec
lirc_dev
snd_soc_core
rtc_ds1307
sunxi_cir
snd_pcm_dmaengine
cfg80211
snd_pcm
snd_timer
snd
rfkill
soundcore
sun4i_gpadc_iio
sun4i_tcon
sun8i_mixer
sun4i_drm
uio_pdrv_genirq
uio
fuse
uas
pwrseq_simple
sy8106a_regulator
realtek -
Please see attached log.txt.
This is the sequence of operations to reproduce (on my Orange Pi+2 in this case). Important is that removal or restore of /etc/apt/apt.conf.d/02-armbian-compress-indexes file shall be followed by apt update command.
Result of armbianmonitor -u is here.
Edit 1: my Opi+2 just "died" (this part of post shall be probably moved to new topic I guess). Igor, can you please try following? I was able to "make unresponsible" my both Opi+ and now OpiZero:
Starting point - armbian-hardware-monitor was disabled wg. no related symlink in /etc/systemd/.... // Please do not ask why I disabled it . Enabling it was caused by message in armbianmonitor -u - so, next is what I did.
root@PKOTHER:~# systemctl enable armbian-hardware-monitor
Created symlink from /etc/systemd/system/basic.target.wants/armbian-hardware-monitor.service to /lib/systemd/system/armbian-hardware-monitor.service.
root@PKOTHER:~# systemctl start armbian-hardware-monitor
root@PKOTHER:~# systemctl stop armbian-hardware-monitorInteresting thing is that "PuTTY" is keeping connection (by means of TCP?) // as it is seen first I was trying to connect to "pkhelper" (OPi+2 which stop responding after commands as given above and is a subject of my my tests for armbiuanmonitor -u):
Last command was not completed. And device... in not accessible anymore. I was able to reproduce it wit both OP'is.
admin@PKSERVER:~$ ssh root@pkother
ssh: connect to host pkother port 22: No route to hostEdit 2: now both of my "servers" are restarted, so I can resume testing...
-
Actually I have found root cause of this slowness. It is a file:
/etc/apt/apt.conf.d/02-armbian-compress-indexes
After removing it - everything is very fast again. So, the issue is rather not related to kernel. It is related to Armbian support files (in my case the version is 5.47).
-
After upgrade two of my boards to mainline (4.14.51-sunxi) I have noticed that simple command
apt list
basically stopped working. It stuck at "Listing ..." (at this moment 1 core of CPU is utilized in 100%). Now I run it in background to see if eventually it will be completed... So far (15 minutes)... nothing.
apt list --installed
is also very slow, but after some time it gives results. However, it is much slower than on "default" (3.4.113-sun8i)
Can anybody check it and reconfirm?
-
Orange Pi Zero (which I am using for "testing"). I have built:
Quoteroot@PKOTHER:~# uname -a
Linux PKOTHER 4.14.50-sunxi #1 SMP Mon Jun 18 23:35:22 +07 2018 armv7l GNU/Linux
Then I started normal (for me at least) activity) - cron.d is running my own backup software every one hour.This one in general is "rsync" (it is scanning disks/nfs) - determines the differences, storing state in sqlite3 db... So, I guess most of "my use cases".
I will let you results. So, far it is OK. I can say that this test "frozen" next kernel (downloaded from stable repository) upgrade after around 1 day...
Some results:
-
Hi, case is related to Opi Zero H2+:
Quoteroot@PKOTHER:/var/log# uname -a
Linux PKOTHER 4.14.50-sunxi #1 SMP Mon Jun 18 23:35:22 +07 2018 armv7l GNU/LinuxI have done cpuburn test and some time after start it thrown following message:
Quoteroot@PKOTHER:/var/log# cat kernel_2018-06-21.log
Jun 21 16:55:43 pkother kernel: thermal thermal_zone0: critical temperature reached (105 C), shutting downIs there any throttling here?
-
For me it did. On all of my boards (Opi+2e, Opi+2, OpiPC, OpiZero) I was trying:
- stable "next"
- nightly "next"
Unfortunately it failed (sometimes I was able to get some exceptions in logs, example of one of them is here:
So I went back to "default" (stable). And on all boards - no issues.
-
Just FYI - I have reverted to 3.4.113-sun8i on all my SBCs:
- Orange Pi+ 2E
- Orange Pi+ 2
- Orange Pi PC
- Orange Pi Zero (H2+/512)
The reason is here:
Thread in A20, but for me seems to happen on H2+/H3).
-
On 5/31/2018 at 10:22 AM, Igor said:
Solved in a simple manner: https://github.com/armbian/build/commit/442ab52d3e821fac5453fb21ec2ab294acb53dfd
Thanks. I have tested it with custom entry:
SHOW_IP_PATTERN="^[ewr].*|^br.*|^lt.*|^umts.*|^bond.*"
Test is successful on:
- Orange Pi+ 2E
- Orange Pi+ 2
- Orange Pi PC
- Orange Pi Zero (H2+/512)
My config for network is to make binding for network interfaces, so bond0 interface is the valid one.
-
On 5/15/2018 at 6:00 PM, zador.blood.stained said:
This will also include bridge interfaces which are usually named brX, so this regexp may need further rework.
During some experiments with nightly builds I noticed that script 30-sysinfo was updated. However, with additional regexp |^br.* - which will include bridges. Maybe I misunderstood, but I thought br interfaces shall be rather excluded, bond included, shall not they?
So far I keep modified copy of script (from "proposal" above) and I am using it after it is overwritten by "upgrade".
-
Hi, my OPIs after upgrading to mainline also started to be unresponsive. Today OPI+2e - before it died (ping was working but rest of services - not) following was dumped to kernel.log:
Spoiler[11145.875753] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: data=ordered,commit=600,errors=remount-ro [20634.129971] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: data=ordered,commit=600,errors=remount-ro [44339.174560] kworker/0:0H: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null) [44339.174589] kworker/0:0H cpuset=/ mems_allowed=0 [44339.174605] CPU: 0 PID: 12047 Comm: kworker/0:0H Not tainted 4.14.18-sunxi #24 [44339.174608] Hardware name: Allwinner sun8i Family [44339.174626] Workqueue: xprtiod rpc_async_schedule [44339.174652] [<c010db15>] (unwind_backtrace) from [<c010a0d9>] (show_stack+0x11/0x14) [44339.174663] [<c010a0d9>] (show_stack) from [<c0868f69>] (dump_stack+0x69/0x78) [44339.174676] [<c0868f69>] (dump_stack) from [<c01dddd1>] (warn_alloc+0xa1/0x120) [44339.174687] [<c01dddd1>] (warn_alloc) from [<c01dea25>] (__alloc_pages_nodemask+0xb6d/0xc2c) [44339.174695] [<c01dea25>] (__alloc_pages_nodemask) from [<c01dec0f>] (page_frag_alloc+0xd3/0xdc) [44339.174706] [<c01dec0f>] (page_frag_alloc) from [<c0772453>] (__netdev_alloc_skb+0x77/0xbc) [44339.174722] [<c0772453>] (__netdev_alloc_skb) from [<c06a5cd3>] (stmmac_poll+0x597/0x6e4) [44339.174736] [<c06a5cd3>] (stmmac_poll) from [<c0782ced>] (net_rx_action+0x115/0x2f0) [44339.174746] [<c0782ced>] (net_rx_action) from [<c01014a1>] (__do_softirq+0xb9/0x25c) [44339.174758] [<c01014a1>] (__do_softirq) from [<c011ef27>] (irq_exit+0x7f/0xc4) [44339.174773] [<c011ef27>] (irq_exit) from [<c0159e4d>] (__handle_domain_irq+0x49/0x84) [44339.174783] [<c0159e4d>] (__handle_domain_irq) from [<c01013b5>] (gic_handle_irq+0x39/0x68) [44339.174791] [<c01013b5>] (gic_handle_irq) from [<c010aa25>] (__irq_svc+0x65/0x94) [44339.174795] Exception stack(0xc1613a30 to 0xc1613a78) [44339.174802] 3a20: 2e9ef000 0000b1ac 0000cc08 0000ab9d [44339.174809] 3a40: c0dd8b00 c1613c74 c1613ad4 ef012000 0000001c 00000008 c0dd9600 c0d03f48 [44339.174815] 3a60: 60090193 c1613a80 c01e91eb c01e9294 20090133 ffffffff [44339.174826] [<c010aa25>] (__irq_svc) from [<c01e9294>] (shrink_inactive_list+0x1b0/0x440) [44339.174836] [<c01e9294>] (shrink_inactive_list) from [<c01e9a45>] (shrink_node_memcg+0x249/0x4b0) [44339.174844] [<c01e9a45>] (shrink_node_memcg) from [<c01e9d4d>] (shrink_node+0xa1/0x1fc) [44339.174852] [<c01e9d4d>] (shrink_node) from [<c01e9f69>] (do_try_to_free_pages+0xc1/0x270) [44339.174859] [<c01e9f69>] (do_try_to_free_pages) from [<c01ea215>] (try_to_free_pages+0xfd/0x320) [44339.174868] [<c01ea215>] (try_to_free_pages) from [<c01de323>] (__alloc_pages_nodemask+0x46b/0xc2c) [44339.174878] [<c01de323>] (__alloc_pages_nodemask) from [<c0216139>] (new_slab+0x201/0x444) [44339.174887] [<c0216139>] (new_slab) from [<c02175ed>] (___slab_alloc.constprop.14+0x16d/0x1c0) [44339.174895] [<c02175ed>] (___slab_alloc.constprop.14) from [<c02177b9>] (__kmalloc+0x179/0x1b4) [44339.174903] [<c02177b9>] (__kmalloc) from [<c084cd63>] (rpc_malloc+0x3f/0x70) [44339.174914] [<c084cd63>] (rpc_malloc) from [<c08449b1>] (call_allocate+0x51/0xc4) [44339.174922] [<c08449b1>] (call_allocate) from [<c084d227>] (__rpc_execute+0x6b/0x2ec) [44339.174933] [<c084d227>] (__rpc_execute) from [<c012d451>] (process_one_work+0x155/0x37c) [44339.174942] [<c012d451>] (process_one_work) from [<c012dff3>] (worker_thread+0xff/0x404) [44339.174952] [<c012dff3>] (worker_thread) from [<c0131a91>] (kthread+0xfd/0x104) [44339.174965] [<c0131a91>] (kthread) from [<c0106719>] (ret_from_fork+0x11/0x38) [44339.174970] Mem-Info: [44339.174985] active_anon:4916 inactive_anon:5782 isolated_anon:0 active_file:72639 inactive_file:154029 isolated_file:28 unevictable:0 dirty:0 writeback:14573 unstable:146 slab_reclaimable:6772 slab_unreclaimable:4999 mapped:4809 shmem:2852 pagetables:324 bounce:0 free:1202 free_pcp:482 free_cma:45 [44339.174994] Node 0 active_anon:19664kB inactive_anon:23128kB active_file:290556kB inactive_file:616116kB unevictable:0kB isolated(anon):0kB isolated(file):112kB mapped:19236kB dirty:0kB writeback:58292kB shmem:11408kB writeback_tmp:0kB unstable:584kB all_unreclaimable? no [44339.175007] Normal free:4048kB min:3476kB low:4344kB high:5212kB active_anon:6728kB inactive_anon:5156kB active_file:217180kB inactive_file:470540kB unevictable:0kB writepending:44328kB present:786432kB managed:761920kB mlocked:0kB kernel_stack:1040kB pagetables:592kB bounce:0kB free_pcp:1228kB local_pcp:360kB free_cma:0kB [44339.175009] lowmem_reserve[]: 0 1535 1535 [44339.175025] HighMem free:760kB min:188kB low:412kB high:636kB active_anon:12936kB inactive_anon:17912kB active_file:73376kB inactive_file:145860kB unevictable:0kB writepending:13964kB present:262144kB managed:262132kB mlocked:0kB kernel_stack:0kB pagetables:704kB bounce:0kB free_pcp:700kB local_pcp:216kB free_cma:180kB [44339.175027] lowmem_reserve[]: 0 0 0 [44339.175034] Normal: 0*4kB 2*8kB (H) 1*16kB (H) 1*32kB (H) 0*64kB 1*128kB (H) 1*256kB (H) 1*512kB (H) 1*1024kB (H) 1*2048kB (H) 0*4096kB = 4032kB [44339.175068] HighMem: 68*4kB (UC) 51*8kB (UMC) 3*16kB (U) 1*32kB (U) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 760kB [44339.175097] 229538 total pagecache pages [44339.175101] 0 pages in swap cache [44339.175104] Swap cache stats: add 0, delete 0, find 0/0 [44339.175106] Free swap = 131068kB [44339.175108] Total swap = 131068kB [44339.175110] 262144 pages RAM [44339.175112] 65536 pages HighMem/MovableOnly [44339.175114] 6131 pages reserved [44339.175116] 16384 pages cma reserved [44339.175188] dwmac-sun8i 1c30000.ethernet: packet dropped [55271.062033] kworker/0:0H: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null) [55271.062702] kworker/0:0H cpuset=/ mems_allowed=0 [55271.063225] CPU: 0 PID: 21267 Comm: kworker/0:0H Not tainted 4.14.18-sunxi #24 [55271.063347] Hardware name: Allwinner sun8i Family [55271.063793] Workqueue: xprtiod xs_tcp_data_receive_workfn [55271.064500] [<c010db15>] (unwind_backtrace) from [<c010a0d9>] (show_stack+0x11/0x14) [55271.064924] [<c010a0d9>] (show_stack) from [<c0868f69>] (dump_stack+0x69/0x78) [55271.065365] [<c0868f69>] (dump_stack) from [<c01dddd1>] (warn_alloc+0xa1/0x120) [55271.065797] [<c01dddd1>] (warn_alloc) from [<c01dea25>] (__alloc_pages_nodemask+0xb6d/0xc2c) [55271.066194] [<c01dea25>] (__alloc_pages_nodemask) from [<c01dec0f>] (page_frag_alloc+0xd3/0xdc) [55271.066654] [<c01dec0f>] (page_frag_alloc) from [<c0772453>] (__netdev_alloc_skb+0x77/0xbc) [55271.067153] [<c0772453>] (__netdev_alloc_skb) from [<c06a5a49>] (stmmac_poll+0x30d/0x6e4) [55271.067604] [<c06a5a49>] (stmmac_poll) from [<c0782ced>] (net_rx_action+0x115/0x2f0) [55271.068000] [<c0782ced>] (net_rx_action) from [<c01014a1>] (__do_softirq+0xb9/0x25c) [55271.068468] [<c01014a1>] (__do_softirq) from [<c011ed93>] (do_softirq.part.4+0x33/0x38) [55271.068950] [<c011ed93>] (do_softirq.part.4) from [<c011ee27>] (__local_bh_enable_ip+0x8f/0x94) [55271.069398] [<c011ee27>] (__local_bh_enable_ip) from [<c07ba8bb>] (ip_finish_output2+0xff/0x320) [55271.069804] [<c07ba8bb>] (ip_finish_output2) from [<c07bc4c5>] (ip_output+0xa5/0xf4) [55271.070204] [<c07bc4c5>] (ip_output) from [<c07cf2cf>] (tcp_transmit_skb+0x3d7/0x788) [55271.070600] [<c07cf2cf>] (tcp_transmit_skb) from [<c07cf7fd>] (tcp_write_xmit+0x17d/0xb68) [55271.070979] [<c07cf7fd>] (tcp_write_xmit) from [<c07d0213>] (__tcp_push_pending_frames+0x2b/0x78) [55271.071457] [<c07d0213>] (__tcp_push_pending_frames) from [<c07cca31>] (tcp_rcv_established+0x459/0x4d0) [55271.071918] [<c07cca31>] (tcp_rcv_established) from [<c07d41ef>] (tcp_v4_do_rcv+0xab/0x13c) [55271.072331] [<c07d41ef>] (tcp_v4_do_rcv) from [<c076d7fd>] (__release_sock+0x61/0xa4) [55271.072737] [<c076d7fd>] (__release_sock) from [<c076d861>] (release_sock+0x21/0x54) [55271.073177] [<c076d861>] (release_sock) from [<c0848d67>] (xs_tcp_data_receive_workfn+0x5f/0x120) [55271.073664] [<c0848d67>] (xs_tcp_data_receive_workfn) from [<c012d451>] (process_one_work+0x155/0x37c) [55271.074092] [<c012d451>] (process_one_work) from [<c012dff3>] (worker_thread+0xff/0x404) [55271.074538] [<c012dff3>] (worker_thread) from [<c0131a91>] (kthread+0xfd/0x104) [55271.075017] [<c0131a91>] (kthread) from [<c0106719>] (ret_from_fork+0x11/0x38) [55271.075166] Mem-Info: [55271.075767] active_anon:5254 inactive_anon:6349 isolated_anon:0 active_file:54401 inactive_file:171314 isolated_file:32 unevictable:0 dirty:18 writeback:13173 unstable:64 slab_reclaimable:6861 slab_unreclaimable:4605 mapped:4393 shmem:2864 pagetables:345 bounce:0 free:1289 free_pcp:645 free_cma:35 [55271.076223] Node 0 active_anon:21016kB inactive_anon:25396kB active_file:217604kB inactive_file:685256kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:17572kB dirty:72kB writeback:52692kB shmem:11456kB writeback_tmp:0kB unstable:256kB all_unreclaimable? no [55271.076841] Normal free:4312kB min:3476kB low:4344kB high:5212kB active_anon:7576kB inactive_anon:7712kB active_file:165480kB inactive_file:518564kB unevictable:0kB writepending:39200kB present:786432kB managed:761920kB mlocked:0kB kernel_stack:1064kB pagetables:652kB bounce:0kB free_pcp:1732kB local_pcp:40kB free_cma:0kB [55271.076922] lowmem_reserve[]: 0 1535 1535 [55271.077799] HighMem free:844kB min:188kB low:412kB high:636kB active_anon:13440kB inactive_anon:17684kB active_file:52124kB inactive_file:166692kB unevictable:0kB writepending:13564kB present:262144kB managed:262132kB mlocked:0kB kernel_stack:0kB pagetables:728kB bounce:0kB free_pcp:800kB local_pcp:328kB free_cma:140kB [55271.077871] lowmem_reserve[]: 0 0 0 [55271.078230] Normal: 31*4kB (UM) 0*8kB 0*16kB 0*32kB 1*64kB (H) 1*128kB (H) 1*256kB (H) 1*512kB (H) 1*1024kB (H) 1*2048kB (H) 0*4096kB = 4156kB [55271.079922] HighMem: 77*4kB (UMC) 45*8kB (UMC) 9*16kB (UM) 1*32kB (M) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 844kB [55271.081407] 228543 total pagecache pages [55271.081538] 0 pages in swap cache [55271.081691] Swap cache stats: add 0, delete 0, find 0/0 [55271.081797] Free swap = 131068kB [55271.081895] Total swap = 131068kB [55271.081995] 262144 pages RAM [55271.082096] 65536 pages HighMem/MovableOnly [55271.082190] 6131 pages reserved [55271.082289] 16384 pages cma reserved [55271.084057] dwmac-sun8i 1c30000.ethernet: fail to alloc skb entry 88 [65638.251697] kworker/0:2H: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null) [65638.252368] kworker/0:2H cpuset=/ mems_allowed=0 [65638.252881] CPU: 0 PID: 25695 Comm: kworker/0:2H Not tainted 4.14.18-sunxi #24 [65638.253006] Hardware name: Allwinner sun8i Family [65638.253440] Workqueue: xprtiod xs_tcp_data_receive_workfn [65638.254129] [<c010db15>] (unwind_backtrace) from [<c010a0d9>] (show_stack+0x11/0x14) [65638.254552] [<c010a0d9>] (show_stack) from [<c0868f69>] (dump_stack+0x69/0x78) [65638.254992] [<c0868f69>] (dump_stack) from [<c01dddd1>] (warn_alloc+0xa1/0x120) [65638.255420] [<c01dddd1>] (warn_alloc) from [<c01dea25>] (__alloc_pages_nodemask+0xb6d/0xc2c) [65638.255816] [<c01dea25>] (__alloc_pages_nodemask) from [<c01dec0f>] (page_frag_alloc+0xd3/0xdc) [65638.256275] [<c01dec0f>] (page_frag_alloc) from [<c0772453>] (__netdev_alloc_skb+0x77/0xbc) [65638.256770] [<c0772453>] (__netdev_alloc_skb) from [<c06a5cd3>] (stmmac_poll+0x597/0x6e4) [65638.257216] [<c06a5cd3>] (stmmac_poll) from [<c0782ced>] (net_rx_action+0x115/0x2f0) [65638.257610] [<c0782ced>] (net_rx_action) from [<c01014a1>] (__do_softirq+0xb9/0x25c) [65638.258051] [<c01014a1>] (__do_softirq) from [<c011ef27>] (irq_exit+0x7f/0xc4) [65638.258557] [<c011ef27>] (irq_exit) from [<c0159e4d>] (__handle_domain_irq+0x49/0x84) [65638.258989] [<c0159e4d>] (__handle_domain_irq) from [<c01013b5>] (gic_handle_irq+0x39/0x68) [65638.259343] [<c01013b5>] (gic_handle_irq) from [<c010aa25>] (__irq_svc+0x65/0x94) [65638.259514] Exception stack(0xc31e5d90 to 0xc31e5dd8) [65638.259796] 5d80: c2a841c0 000002c0 c0dd09c4 003e7040 [65638.260156] 5da0: c2a84fc0 00000b50 00005ab8 c2a841c0 ed8f9900 d73df60c 00000000 000005a8 [65638.260456] 5dc0: 00000000 c31e5de0 c07c4537 c07cfc36 a0010033 ffffffff [65638.260859] [<c010aa25>] (__irq_svc) from [<c07cfc36>] (tcp_write_xmit+0x5b6/0xb68) [65638.261258] [<c07cfc36>] (tcp_write_xmit) from [<c07d0213>] (__tcp_push_pending_frames+0x2b/0x78) [65638.261737] [<c07d0213>] (__tcp_push_pending_frames) from [<c07cc805>] (tcp_rcv_established+0x22d/0x4d0) [65638.262192] [<c07cc805>] (tcp_rcv_established) from [<c07d41ef>] (tcp_v4_do_rcv+0xab/0x13c) [65638.262608] [<c07d41ef>] (tcp_v4_do_rcv) from [<c076d7fd>] (__release_sock+0x61/0xa4) [65638.263019] [<c076d7fd>] (__release_sock) from [<c076d861>] (release_sock+0x21/0x54) [65638.263459] [<c076d861>] (release_sock) from [<c0848d67>] (xs_tcp_data_receive_workfn+0x5f/0x120) [65638.263939] [<c0848d67>] (xs_tcp_data_receive_workfn) from [<c012d451>] (process_one_work+0x155/0x37c) [65638.264365] [<c012d451>] (process_one_work) from [<c012dff3>] (worker_thread+0xff/0x404) [65638.264809] [<c012dff3>] (worker_thread) from [<c0131a91>] (kthread+0xfd/0x104) [65638.265277] [<c0131a91>] (kthread) from [<c0106719>] (ret_from_fork+0x11/0x38) [65638.265417] Mem-Info: [65638.266011] active_anon:552 inactive_anon:9046 isolated_anon:0 active_file:26575 inactive_file:199685 isolated_file:0 unevictable:0 dirty:1 writeback:16905 unstable:370 slab_reclaimable:8095 slab_unreclaimable:5018 mapped:1898 shmem:2848 pagetables:285 bounce:0 free:1331 free_pcp:588 free_cma:125 [65638.266457] Node 0 active_anon:2208kB inactive_anon:36184kB active_file:106300kB inactive_file:798740kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:7592kB dirty:4kB writeback:67620kB shmem:11392kB writeback_tmp:0kB unstable:1480kB all_unreclaimable? no [65638.267058] Normal free:4088kB min:3476kB low:4344kB high:5212kB active_anon:884kB inactive_anon:8752kB active_file:83476kB inactive_file:601032kB unevictable:0kB writepending:50184kB present:786432kB managed:761920kB mlocked:0kB kernel_stack:1008kB pagetables:340kB bounce:0kB free_pcp:1472kB local_pcp:152kB free_cma:0kB [65638.267136] lowmem_reserve[]: 0 1535 1535 [65638.267980] HighMem free:1236kB min:188kB low:412kB high:636kB active_anon:1324kB inactive_anon:27432kB active_file:22824kB inactive_file:197680kB unevictable:0kB writepending:17404kB present:262144kB managed:262132kB mlocked:0kB kernel_stack:0kB pagetables:800kB bounce:0kB free_pcp:880kB local_pcp:108kB free_cma:500kB [65638.268052] lowmem_reserve[]: 0 0 0 [65638.268411] Normal: 0*4kB 1*8kB (H) 1*16kB (H) 1*32kB (H) 1*64kB (H) 1*128kB (H) 1*256kB (H) 1*512kB (H) 1*1024kB (H) 1*2048kB (H) 0*4096kB = 4088kB [65638.270242] HighMem: 135*4kB (UMC) 69*8kB (UMC) 5*16kB (U) 2*32kB (U) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1236kB [65638.271731] 229122 total pagecache pages [65638.271863] 0 pages in swap cache [65638.272017] Swap cache stats: add 0, delete 0, find 0/0 [65638.272121] Free swap = 131068kB [65638.272218] Total swap = 131068kB [65638.272318] 262144 pages RAM [65638.272419] 65536 pages HighMem/MovableOnly [65638.272513] 6131 pages reserved [65638.272609] 16384 pages cma reserved [65638.274204] dwmac-sun8i 1c30000.ethernet: packet dropped [65638.278124] ksoftirqd/0: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null) [65638.278967] ksoftirqd/0 cpuset=/ mems_allowed=0 [65638.279570] CPU: 0 PID: 7 Comm: ksoftirqd/0 Not tainted 4.14.18-sunxi #24 [65638.279737] Hardware name: Allwinner sun8i Family [65638.280387] [<c010db15>] (unwind_backtrace) from [<c010a0d9>] (show_stack+0x11/0x14) [65638.280817] [<c010a0d9>] (show_stack) from [<c0868f69>] (dump_stack+0x69/0x78) [65638.281250] [<c0868f69>] (dump_stack) from [<c01dddd1>] (warn_alloc+0xa1/0x120) [65638.281670] [<c01dddd1>] (warn_alloc) from [<c01dea25>] (__alloc_pages_nodemask+0xb6d/0xc2c) [65638.282074] [<c01dea25>] (__alloc_pages_nodemask) from [<c01dec0f>] (page_frag_alloc+0xd3/0xdc) [65638.282527] [<c01dec0f>] (page_frag_alloc) from [<c0772453>] (__netdev_alloc_skb+0x77/0xbc) [65638.283018] [<c0772453>] (__netdev_alloc_skb) from [<c06a5cd3>] (stmmac_poll+0x597/0x6e4) [65638.283451] [<c06a5cd3>] (stmmac_poll) from [<c0782ced>] (net_rx_action+0x115/0x2f0) [65638.283850] [<c0782ced>] (net_rx_action) from [<c01014a1>] (__do_softirq+0xb9/0x25c) [65638.284280] [<c01014a1>] (__do_softirq) from [<c011ef27>] (irq_exit+0x7f/0xc4) [65638.284873] [<c011ef27>] (irq_exit) from [<c0159e4d>] (__handle_domain_irq+0x49/0x84) [65638.285430] [<c0159e4d>] (__handle_domain_irq) from [<c01013b5>] (gic_handle_irq+0x39/0x68) [65638.285799] [<c01013b5>] (gic_handle_irq) from [<c010aa25>] (__irq_svc+0x65/0x94) [65638.285970] Exception stack(0xef119e58 to 0xef119ea0) [65638.286189] 9e40: ee1e9b00 00000000 [65638.286557] 9e60: 00000000 0000774e c0cb71c0 ee04fc00 ee1e9b00 ef119eb8 ef6a61c0 2e9ef000 [65638.286925] 9e80: ef0fd100 c08773fd ef11803c ef119ea8 c08773fd c01377a6 00010033 ffffffff [65638.287325] [<c010aa25>] (__irq_svc) from [<c01377a6>] (finish_task_switch+0x72/0x18c) [65638.287914] [<c01377a6>] (finish_task_switch) from [<c08773fd>] (__schedule+0x185/0x6c8) [65638.288415] [<c08773fd>] (__schedule) from [<c087796f>] (schedule+0x2f/0x68) [65638.288908] [<c087796f>] (schedule) from [<c01348ff>] (smpboot_thread_fn+0x12b/0x130) [65638.289403] [<c01348ff>] (smpboot_thread_fn) from [<c0131a91>] (kthread+0xfd/0x104) [65638.289873] [<c0131a91>] (kthread) from [<c0106719>] (ret_from_fork+0x11/0x38) [65638.291897] dwmac-sun8i 1c30000.ethernet: packet dropped [65638.297504] kworker/0:2H: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null) [65638.298072] kworker/0:2H cpuset=/ mems_allowed=0 [65638.298559] CPU: 0 PID: 25695 Comm: kworker/0:2H Not tainted 4.14.18-sunxi #24 [65638.298685] Hardware name: Allwinner sun8i Family [65638.299065] Workqueue: xprtiod xs_tcp_data_receive_workfn [65638.299682] [<c010db15>] (unwind_backtrace) from [<c010a0d9>] (show_stack+0x11/0x14) [65638.300080] [<c010a0d9>] (show_stack) from [<c0868f69>] (dump_stack+0x69/0x78) [65638.300487] [<c0868f69>] (dump_stack) from [<c01dddd1>] (warn_alloc+0xa1/0x120) [65638.300909] [<c01dddd1>] (warn_alloc) from [<c01dea25>] (__alloc_pages_nodemask+0xb6d/0xc2c) [65638.301309] [<c01dea25>] (__alloc_pages_nodemask) from [<c01dec0f>] (page_frag_alloc+0xd3/0xdc) [65638.301761] [<c01dec0f>] (page_frag_alloc) from [<c0772453>] (__netdev_alloc_skb+0x77/0xbc) [65638.302245] [<c0772453>] (__netdev_alloc_skb) from [<c06a5cd3>] (stmmac_poll+0x597/0x6e4) [65638.302677] [<c06a5cd3>] (stmmac_poll) from [<c0782ced>] (net_rx_action+0x115/0x2f0) [65638.303058] [<c0782ced>] (net_rx_action) from [<c01014a1>] (__do_softirq+0xb9/0x25c) [65638.303483] [<c01014a1>] (__do_softirq) from [<c011ef27>] (irq_exit+0x7f/0xc4) [65638.304159] [<c011ef27>] (irq_exit) from [<c0159e4d>] (__handle_domain_irq+0x49/0x84) [65638.304592] [<c0159e4d>] (__handle_domain_irq) from [<c01013b5>] (gic_handle_irq+0x39/0x68) [65638.304951] [<c01013b5>] (gic_handle_irq) from [<c010aa25>] (__irq_svc+0x65/0x94) [65638.305285] Exception stack(0xc31e5cd0 to 0xc31e5d18) [65638.305557] 5cc0: 9fce0000 00004b73 00000000 00000000 [65638.305925] 5ce0: 003bddeb ed8f9900 0000096e 00000000 73f9c000 0000096e eda8a000 d73e0cac [65638.306232] 5d00: 10000000 c31e5d20 c07c6567 c08671d4 00010033 ffffffff [65638.306603] [<c010aa25>] (__irq_svc) from [<c08671d4>] (__do_div64+0x58/0xc6) [65638.307034] [<c08671d4>] (__do_div64) from [<c07c6567>] (tcp_update_pacing_rate+0x9f/0xa4) [65638.307528] [<c07c6567>] (tcp_update_pacing_rate) from [<c07cb513>] (tcp_ack+0xc0b/0xd78) [65638.308186] [<c07cb513>] (tcp_ack) from [<c07cc74b>] (tcp_rcv_established+0x173/0x4d0) [65638.308647] [<c07cc74b>] (tcp_rcv_established) from [<c07d41ef>] (tcp_v4_do_rcv+0xab/0x13c) [65638.309059] [<c07d41ef>] (tcp_v4_do_rcv) from [<c076d7fd>] (__release_sock+0x61/0xa4) [65638.309472] [<c076d7fd>] (__release_sock) from [<c076d861>] (release_sock+0x21/0x54) [65638.310051] [<c076d861>] (release_sock) from [<c0848d67>] (xs_tcp_data_receive_workfn+0x5f/0x120) [65638.310530] [<c0848d67>] (xs_tcp_data_receive_workfn) from [<c012d451>] (process_one_work+0x155/0x37c) [65638.310953] [<c012d451>] (process_one_work) from [<c012dff3>] (worker_thread+0xff/0x404) [65638.311393] [<c012dff3>] (worker_thread) from [<c0131a91>] (kthread+0xfd/0x104) [65638.311995] [<c0131a91>] (kthread) from [<c0106719>] (ret_from_fork+0x11/0x38) [65638.313233] dwmac-sun8i 1c30000.ethernet: packet dropped [65638.317911] kworker/0:2H: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null) [65638.318438] kworker/0:2H cpuset=/ mems_allowed=0 [65638.319043] CPU: 0 PID: 25695 Comm: kworker/0:2H Not tainted 4.14.18-sunxi #24 [65638.319169] Hardware name: Allwinner sun8i Family [65638.319603] Workqueue: xprtiod xs_tcp_data_receive_workfn [65638.320228] [<c010db15>] (unwind_backtrace) from [<c010a0d9>] (show_stack+0x11/0x14) [65638.320748] [<c010a0d9>] (show_stack) from [<c0868f69>] (dump_stack+0x69/0x78) [65638.321159] [<c0868f69>] (dump_stack) from [<c01dddd1>] (warn_alloc+0xa1/0x120) [65638.321755] [<c01dddd1>] (warn_alloc) from [<c01dea25>] (__alloc_pages_nodemask+0xb6d/0xc2c) [65638.322152] [<c01dea25>] (__alloc_pages_nodemask) from [<c01dec0f>] (page_frag_alloc+0xd3/0xdc) [65638.322602] [<c01dec0f>] (page_frag_alloc) from [<c0772453>] (__netdev_alloc_skb+0x77/0xbc) [65638.323072] [<c0772453>] (__netdev_alloc_skb) from [<c06a5cd3>] (stmmac_poll+0x597/0x6e4) [65638.323599] [<c06a5cd3>] (stmmac_poll) from [<c0782ced>] (net_rx_action+0x115/0x2f0) [65638.324046] [<c0782ced>] (net_rx_action) from [<c01014a1>] (__do_softirq+0xb9/0x25c) [65638.324666] [<c01014a1>] (__do_softirq) from [<c011ef27>] (irq_exit+0x7f/0xc4) [65638.325147] [<c011ef27>] (irq_exit) from [<c0159e4d>] (__handle_domain_irq+0x49/0x84) [65638.325577] [<c0159e4d>] (__handle_domain_irq) from [<c01013b5>] (gic_handle_irq+0x39/0x68) [65638.325932] [<c01013b5>] (gic_handle_irq) from [<c010aa25>] (__irq_svc+0x65/0x94) [65638.326101] Exception stack(0xc31e5ca8 to 0xc31e5cf0) [65638.326576] 5ca0: 000005dc 000000fc 000005a8 0000ffff 00000014 000005dc [65638.326944] 5cc0: c2a855c0 ee4a3940 ed8f9900 000005dc 128e4ad4 00000007 c31e5d38 c31e5cf8 [65638.327183] 5ce0: c077015d c0770174 80010033 ffffffff [65638.327617] [<c010aa25>] (__irq_svc) from [<c0770174>] (skb_gso_validate_mtu+0x2c/0x68) [65638.328227] [<c0770174>] (skb_gso_validate_mtu) from [<c07bbc59>] (ip_finish_output+0x111/0x194) [65638.328634] [<c07bbc59>] (ip_finish_output) from [<c07bc4c5>] (ip_output+0xa5/0xf4) [65638.329023] [<c07bc4c5>] (ip_output) from [<c07cf2cf>] (tcp_transmit_skb+0x3d7/0x788) [65638.329411] [<c07cf2cf>] (tcp_transmit_skb) from [<c07cf7fd>] (tcp_write_xmit+0x17d/0xb68) [65638.329949] [<c07cf7fd>] (tcp_write_xmit) from [<c07d0213>] (__tcp_push_pending_frames+0x2b/0x78) [65638.330597] [<c07d0213>] (__tcp_push_pending_frames) from [<c07cc805>] (tcp_rcv_established+0x22d/0x4d0) [65638.331047] [<c07cc805>] (tcp_rcv_established) from [<c07d41ef>] (tcp_v4_do_rcv+0xab/0x13c) [65638.331601] [<c07d41ef>] (tcp_v4_do_rcv) from [<c076d7fd>] (__release_sock+0x61/0xa4) [65638.331997] [<c076d7fd>] (__release_sock) from [<c076d861>] (release_sock+0x21/0x54) [65638.332441] [<c076d861>] (release_sock) from [<c0848d67>] (xs_tcp_data_receive_workfn+0x5f/0x120) [65638.332922] [<c0848d67>] (xs_tcp_data_receive_workfn) from [<c012d451>] (process_one_work+0x155/0x37c) [65638.333334] [<c012d451>] (process_one_work) from [<c012dff3>] (worker_thread+0xff/0x404) [65638.333936] [<c012dff3>] (worker_thread) from [<c0131a91>] (kthread+0xfd/0x104) [65638.334391] [<c0131a91>] (kthread) from [<c0106719>] (ret_from_fork+0x11/0x38) [65638.335427] dwmac-sun8i 1c30000.ethernet: packet dropped [65638.338108] kworker/0:2H: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null) [65638.338775] kworker/0:2H cpuset=/ mems_allowed=0 [65638.339386] CPU: 0 PID: 25695 Comm: kworker/0:2H Not tainted 4.14.18-sunxi #24 [65638.339509] Hardware name: Allwinner sun8i Family [65638.339832] Workqueue: xprtiod xs_tcp_data_receive_workfn [65638.340375] [<c010db15>] (unwind_backtrace) from [<c010a0d9>] (show_stack+0x11/0x14) [65638.340766] [<c010a0d9>] (show_stack) from [<c0868f69>] (dump_stack+0x69/0x78) [65638.341331] [<c0868f69>] (dump_stack) from [<c01dddd1>] (warn_alloc+0xa1/0x120) [65638.341750] [<c01dddd1>] (warn_alloc) from [<c01dea25>] (__alloc_pages_nodemask+0xb6d/0xc2c) [65638.342145] [<c01dea25>] (__alloc_pages_nodemask) from [<c01dec0f>] (page_frag_alloc+0xd3/0xdc) [65638.342584] [<c01dec0f>] (page_frag_alloc) from [<c0772453>] (__netdev_alloc_skb+0x77/0xbc) [65638.343048] [<c0772453>] (__netdev_alloc_skb) from [<c06a5cd3>] (stmmac_poll+0x597/0x6e4) [65638.343464] [<c06a5cd3>] (stmmac_poll) from [<c0782ced>] (net_rx_action+0x115/0x2f0) [65638.343840] [<c0782ced>] (net_rx_action) from [<c01014a1>] (__do_softirq+0xb9/0x25c) [65638.344434] [<c01014a1>] (__do_softirq) from [<c011ed93>] (do_softirq.part.4+0x33/0x38) [65638.344900] [<c011ed93>] (do_softirq.part.4) from [<c011ee27>] (__local_bh_enable_ip+0x8f/0x94) [65638.345332] [<c011ee27>] (__local_bh_enable_ip) from [<c07ba8bb>] (ip_finish_output2+0xff/0x320) [65638.345718] [<c07ba8bb>] (ip_finish_output2) from [<c07bc4c5>] (ip_output+0xa5/0xf4) [65638.346260] [<c07bc4c5>] (ip_output) from [<c07cf2cf>] (tcp_transmit_skb+0x3d7/0x788) [65638.346645] [<c07cf2cf>] (tcp_transmit_skb) from [<c07cf7fd>] (tcp_write_xmit+0x17d/0xb68) [65638.347028] [<c07cf7fd>] (tcp_write_xmit) from [<c07d0213>] (__tcp_push_pending_frames+0x2b/0x78) [65638.347661] [<c07d0213>] (__tcp_push_pending_frames) from [<c07cc805>] (tcp_rcv_established+0x22d/0x4d0) [65638.348261] [<c07cc805>] (tcp_rcv_established) from [<c07d41ef>] (tcp_v4_do_rcv+0xab/0x13c) [65638.348811] [<c07d41ef>] (tcp_v4_do_rcv) from [<c076d7fd>] (__release_sock+0x61/0xa4) [65638.349250] [<c076d7fd>] (__release_sock) from [<c076d861>] (release_sock+0x21/0x54) [65638.349690] [<c076d861>] (release_sock) from [<c0848d67>] (xs_tcp_data_receive_workfn+0x5f/0x120) [65638.350342] [<c0848d67>] (xs_tcp_data_receive_workfn) from [<c012d451>] (process_one_work+0x155/0x37c) [65638.350768] [<c012d451>] (process_one_work) from [<c012dff3>] (worker_thread+0xff/0x404) [65638.351195] [<c012dff3>] (worker_thread) from [<c0131a91>] (kthread+0xfd/0x104) [65638.351653] [<c0131a91>] (kthread) from [<c0106719>] (ret_from_fork+0x11/0x38) [65638.353178] dwmac-sun8i 1c30000.ethernet: packet dropped [65638.355069] kworker/0:2H: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null) [65638.355554] kworker/0:2H cpuset=/ mems_allowed=0 [65638.356005] CPU: 0 PID: 25695 Comm: kworker/0:2H Not tainted 4.14.18-sunxi #24 [65638.356463] Hardware name: Allwinner sun8i Family [65638.356797] Workqueue: xprtiod xs_tcp_data_receive_workfn [65638.357334] [<c010db15>] (unwind_backtrace) from [<c010a0d9>] (show_stack+0x11/0x14) [65638.357729] [<c010a0d9>] (show_stack) from [<c0868f69>] (dump_stack+0x69/0x78) [65638.358271] [<c0868f69>] (dump_stack) from [<c01dddd1>] (warn_alloc+0xa1/0x120) [65638.358683] [<c01dddd1>] (warn_alloc) from [<c01dea25>] (__alloc_pages_nodemask+0xb6d/0xc2c) [65638.359078] [<c01dea25>] (__alloc_pages_nodemask) from [<c01dec0f>] (page_frag_alloc+0xd3/0xdc) [65638.359633] [<c01dec0f>] (page_frag_alloc) from [<c0772453>] (__netdev_alloc_skb+0x77/0xbc) [65638.360330] [<c0772453>] (__netdev_alloc_skb) from [<c06a5cd3>] (stmmac_poll+0x597/0x6e4) [65638.360746] [<c06a5cd3>] (stmmac_poll) from [<c0782ced>] (net_rx_action+0x115/0x2f0) [65638.361122] [<c0782ced>] (net_rx_action) from [<c01014a1>] (__do_softirq+0xb9/0x25c) [65638.361553] [<c01014a1>] (__do_softirq) from [<c011ed93>] (do_softirq.part.4+0x33/0x38) [65638.362179] [<c011ed93>] (do_softirq.part.4) from [<c011ee27>] (__local_bh_enable_ip+0x8f/0x94) [65638.362613] [<c011ee27>] (__local_bh_enable_ip) from [<c07bc4a9>] (ip_output+0x89/0xf4) [65638.363006] [<c07bc4a9>] (ip_output) from [<c07cf2cf>] (tcp_transmit_skb+0x3d7/0x788) [65638.363391] [<c07cf2cf>] (tcp_transmit_skb) from [<c07cf7fd>] (tcp_write_xmit+0x17d/0xb68) [65638.363773] [<c07cf7fd>] (tcp_write_xmit) from [<c07d0213>] (__tcp_push_pending_frames+0x2b/0x78) [65638.364227] [<c07d0213>] (__tcp_push_pending_frames) from [<c07cc805>] (tcp_rcv_established+0x22d/0x4d0) [65638.364774] [<c07cc805>] (tcp_rcv_established) from [<c07d41ef>] (tcp_v4_do_rcv+0xab/0x13c) [65638.365257] [<c07d41ef>] (tcp_v4_do_rcv) from [<c076d7fd>] (__release_sock+0x61/0xa4) [65638.365862] [<c076d7fd>] (__release_sock) from [<c076d861>] (release_sock+0x21/0x54) [65638.366309] [<c076d861>] (release_sock) from [<c0848d67>] (xs_tcp_data_receive_workfn+0x5f/0x120) [65638.366769] [<c0848d67>] (xs_tcp_data_receive_workfn) from [<c012d451>] (process_one_work+0x155/0x37c) [65638.367204] [<c012d451>] (process_one_work) from [<c012dff3>] (worker_thread+0xff/0x404) [65638.367640] [<c012dff3>] (worker_thread) from [<c0131a91>] (kthread+0xfd/0x104) [65638.368096] [<c0131a91>] (kthread) from [<c0106719>] (ret_from_fork+0x11/0x38) [65638.368989] dwmac-sun8i 1c30000.ethernet: packet dropped [65638.375152] kworker/0:2H: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null) [65638.375795] kworker/0:2H cpuset=/ mems_allowed=0 [65638.376253] CPU: 0 PID: 25695 Comm: kworker/0:2H Not tainted 4.14.18-sunxi #24 [65638.376375] Hardware name: Allwinner sun8i Family [65638.376715] Workqueue: xprtiod xs_tcp_data_receive_workfn [65638.377272] [<c010db15>] (unwind_backtrace) from [<c010a0d9>] (show_stack+0x11/0x14) [65638.377667] [<c010a0d9>] (show_stack) from [<c0868f69>] (dump_stack+0x69/0x78) [65638.378070] [<c0868f69>] (dump_stack) from [<c01dddd1>] (warn_alloc+0xa1/0x120) [65638.378488] [<c01dddd1>] (warn_alloc) from [<c01dea25>] (__alloc_pages_nodemask+0xb6d/0xc2c) [65638.378876] [<c01dea25>] (__alloc_pages_nodemask) from [<c01dec0f>] (page_frag_alloc+0xd3/0xdc) [65638.379325] [<c01dec0f>] (page_frag_alloc) from [<c0772453>] (__netdev_alloc_skb+0x77/0xbc) [65638.379798] [<c0772453>] (__netdev_alloc_skb) from [<c06a5cd3>] (stmmac_poll+0x597/0x6e4) [65638.380219] [<c06a5cd3>] (stmmac_poll) from [<c0782ced>] (net_rx_action+0x115/0x2f0) [65638.380596] [<c0782ced>] (net_rx_action) from [<c01014a1>] (__do_softirq+0xb9/0x25c) [65638.381027] [<c01014a1>] (__do_softirq) from [<c011ed93>] (do_softirq.part.4+0x33/0x38) [65638.381493] [<c011ed93>] (do_softirq.part.4) from [<c011ee27>] (__local_bh_enable_ip+0x8f/0x94) [65638.381972] [<c011ee27>] (__local_bh_enable_ip) from [<c07c6db7>] (tcp_check_space+0x8b/0xd8) [65638.382466] [<c07c6db7>] (tcp_check_space) from [<c07cc80b>] (tcp_rcv_established+0x233/0x4d0) [65638.382927] [<c07cc80b>] (tcp_rcv_established) from [<c07d41ef>] (tcp_v4_do_rcv+0xab/0x13c) [65638.383528] [<c07d41ef>] (tcp_v4_do_rcv) from [<c076d7fd>] (__release_sock+0x61/0xa4) [65638.383931] [<c076d7fd>] (__release_sock) from [<c076d861>] (release_sock+0x21/0x54) [65638.384376] [<c076d861>] (release_sock) from [<c0848d67>] (xs_tcp_data_receive_workfn+0x5f/0x120) [65638.384974] [<c0848d67>] (xs_tcp_data_receive_workfn) from [<c012d451>] (process_one_work+0x155/0x37c) [65638.385407] [<c012d451>] (process_one_work) from [<c012dff3>] (worker_thread+0xff/0x404) [65638.385841] [<c012dff3>] (worker_thread) from [<c0131a91>] (kthread+0xfd/0x104) [65638.386305] [<c0131a91>] (kthread) from [<c0106719>] (ret_from_fork+0x11/0x38) [65638.387373] dwmac-sun8i 1c30000.ethernet: packet dropped [65638.388710] kworker/0:2H: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null) [65638.389191] kworker/0:2H cpuset=/ mems_allowed=0 [65638.389640] CPU: 0 PID: 25695 Comm: kworker/0:2H Not tainted 4.14.18-sunxi #24 [65638.389760] Hardware name: Allwinner sun8i Family [65638.390063] Workqueue: xprtiod xs_tcp_data_receive_workfn [65638.390604] [<c010db15>] (unwind_backtrace) from [<c010a0d9>] (show_stack+0x11/0x14) [65638.390996] [<c010a0d9>] (show_stack) from [<c0868f69>] (dump_stack+0x69/0x78) [65638.391391] [<c0868f69>] (dump_stack) from [<c01dddd1>] (warn_alloc+0xa1/0x120) [65638.391981] [<c01dddd1>] (warn_alloc) from [<c01dea25>] (__alloc_pages_nodemask+0xb6d/0xc2c) [65638.392377] [<c01dea25>] (__alloc_pages_nodemask) from [<c01dec0f>] (page_frag_alloc+0xd3/0xdc) [65638.392815] [<c01dec0f>] (page_frag_alloc) from [<c0772453>] (__netdev_alloc_skb+0x77/0xbc) [65638.393286] [<c0772453>] (__netdev_alloc_skb) from [<c06a5cd3>] (stmmac_poll+0x597/0x6e4) [65638.393701] [<c06a5cd3>] (stmmac_poll) from [<c0782ced>] (net_rx_action+0x115/0x2f0) [65638.394076] [<c0782ced>] (net_rx_action) from [<c01014a1>] (__do_softirq+0xb9/0x25c) [65638.394508] [<c01014a1>] (__do_softirq) from [<c011ed93>] (do_softirq.part.4+0x33/0x38) [65638.394973] [<c011ed93>] (do_softirq.part.4) from [<c011ee27>] (__local_bh_enable_ip+0x8f/0x94) [65638.395403] [<c011ee27>] (__local_bh_enable_ip) from [<c076d7d5>] (__release_sock+0x39/0xa4) [65638.395793] [<c076d7d5>] (__release_sock) from [<c076d861>] (release_sock+0x21/0x54) [65638.396228] [<c076d861>] (release_sock) from [<c0848d67>] (xs_tcp_data_receive_workfn+0x5f/0x120) [65638.396683] [<c0848d67>] (xs_tcp_data_receive_workfn) from [<c012d451>] (process_one_work+0x155/0x37c) [65638.397095] [<c012d451>] (process_one_work) from [<c012dff3>] (worker_thread+0xff/0x404) [65638.397521] [<c012dff3>] (worker_thread) from [<c0131a91>] (kthread+0xfd/0x104) [65638.397975] [<c0131a91>] (kthread) from [<c0106719>] (ret_from_fork+0x11/0x38) [65638.398913] dwmac-sun8i 1c30000.ethernet: packet dropped [65638.402424] kworker/0:2H: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null) [65638.402922] kworker/0:2H cpuset=/ mems_allowed=0 [65638.403372] CPU: 0 PID: 25695 Comm: kworker/0:2H Not tainted 4.14.18-sunxi #24 [65638.403493] Hardware name: Allwinner sun8i Family [65638.404009] Workqueue: xprtiod xs_tcp_data_receive_workfn [65638.404572] [<c010db15>] (unwind_backtrace) from [<c010a0d9>] (show_stack+0x11/0x14) [65638.404968] [<c010a0d9>] (show_stack) from [<c0868f69>] (dump_stack+0x69/0x78) [65638.405370] [<c0868f69>] (dump_stack) from [<c01dddd1>] (warn_alloc+0xa1/0x120) [65638.405776] [<c01dddd1>] (warn_alloc) from [<c01dea25>] (__alloc_pages_nodemask+0xb6d/0xc2c) [65638.406181] [<c01dea25>] (__alloc_pages_nodemask) from [<c01dec0f>] (page_frag_alloc+0xd3/0xdc) [65638.406781] [<c01dec0f>] (page_frag_alloc) from [<c0772453>] (__netdev_alloc_skb+0x77/0xbc) [65638.407249] [<c0772453>] (__netdev_alloc_skb) from [<c06a5cd3>] (stmmac_poll+0x597/0x6e4) [65638.407662] [<c06a5cd3>] (stmmac_poll) from [<c0782ced>] (net_rx_action+0x115/0x2f0) [65638.408048] [<c0782ced>] (net_rx_action) from [<c01014a1>] (__do_softirq+0xb9/0x25c) [65638.408783] [<c01014a1>] (__do_softirq) from [<c011ef27>] (irq_exit+0x7f/0xc4) [65638.409271] [<c011ef27>] (irq_exit) from [<c0159e4d>] (__handle_domain_irq+0x49/0x84) [65638.409702] [<c0159e4d>] (__handle_domain_irq) from [<c01013b5>] (gic_handle_irq+0x39/0x68) [65638.410172] [<c01013b5>] (gic_handle_irq) from [<c010aa25>] (__irq_svc+0x65/0x94) [65638.410343] Exception stack(0xc31e5cf0 to 0xc31e5d38) [65638.410614] 5ce0: d73e2884 00000b50 00000000 485176ef [65638.410971] 5d00: 485176e6 0000000f 00000002 ed8f9900 00000004 c0d03f48 eda8a380 d73e33d4 [65638.411272] 5d20: 00000000 c31e5d40 c07cad93 c07caede 00010033 ffffffff [65638.412089] [<c010aa25>] (__irq_svc) from [<c07caede>] (tcp_ack+0x5d6/0xd78) [65638.412582] [<c07caede>] (tcp_ack) from [<c07cca0f>] (tcp_rcv_established+0x437/0x4d0) [65638.413031] [<c07cca0f>] (tcp_rcv_established) from [<c07d41ef>] (tcp_v4_do_rcv+0xab/0x13c) [65638.413439] [<c07d41ef>] (tcp_v4_do_rcv) from [<c076d7fd>] (__release_sock+0x61/0xa4) [65638.413841] [<c076d7fd>] (__release_sock) from [<c076d861>] (release_sock+0x21/0x54) [65638.414551] [<c076d861>] (release_sock) from [<c0848d67>] (xs_tcp_data_receive_workfn+0x5f/0x120) [65638.415017] [<c0848d67>] (xs_tcp_data_receive_workfn) from [<c012d451>] (process_one_work+0x155/0x37c) [65638.415435] [<c012d451>] (process_one_work) from [<c012dff3>] (worker_thread+0xff/0x404) [65638.415870] [<c012dff3>] (worker_thread) from [<c0131a91>] (kthread+0xfd/0x104) [65638.416610] [<c0131a91>] (kthread) from [<c0106719>] (ret_from_fork+0x11/0x38) [65638.417611] dwmac-sun8i 1c30000.ethernet: packet dropped [65638.421021] kworker/0:2H: page allocation failure: order:0, mode:0x1080020(GFP_ATOMIC), nodemask=(null) [65638.421648] kworker/0:2H cpuset=/ mems_allowed=0 [65638.422099] CPU: 0 PID: 25695 Comm: kworker/0:2H Not tainted 4.14.18-sunxi #24 [65638.422219] Hardware name: Allwinner sun8i Family [65638.422549] Workqueue: xprtiod xs_tcp_data_receive_workfn [65638.423110] [<c010db15>] (unwind_backtrace) from [<c010a0d9>] (show_stack+0x11/0x14) [65638.423505] [<c010a0d9>] (show_stack) from [<c0868f69>] (dump_stack+0x69/0x78) [65638.423901] [<c0868f69>] (dump_stack) from [<c01dddd1>] (warn_alloc+0xa1/0x120) [65638.424316] [<c01dddd1>] (warn_alloc) from [<c01dea25>] (__alloc_pages_nodemask+0xb6d/0xc2c) [65638.424710] [<c01dea25>] (__alloc_pages_nodemask) from [<c01dec0f>] (page_frag_alloc+0xd3/0xdc) [65638.425354] [<c01dec0f>] (page_frag_alloc) from [<c0772453>] (__netdev_alloc_skb+0x77/0xbc) [65638.425816] [<c0772453>] (__netdev_alloc_skb) from [<c06a5cd3>] (stmmac_poll+0x597/0x6e4) [65638.426235] [<c06a5cd3>] (stmmac_poll) from [<c0782ced>] (net_rx_action+0x115/0x2f0) [65638.426806] [<c0782ced>] (net_rx_action) from [<c01014a1>] (__do_softirq+0xb9/0x25c) [65638.427405] [<c01014a1>] (__do_softirq) from [<c011ef27>] (irq_exit+0x7f/0xc4) [65638.427883] [<c011ef27>] (irq_exit) from [<c0159e4d>] (__handle_domain_irq+0x49/0x84) [65638.428306] [<c0159e4d>] (__handle_domain_irq) from [<c01013b5>] (gic_handle_irq+0x39/0x68) [65638.428661] [<c01013b5>] (gic_handle_irq) from [<c010aa25>] (__irq_svc+0x65/0x94) [65638.428954] Exception stack(0xc31e5dd0 to 0xc31e5e18) [65638.429225] 5dc0: 00000000 c31e4000 2e9ef000 00007761 [65638.429592] 5de0: ef6a61c0 ee1e9b00 ee1e9b00 c31e5e30 c0d03f48 c0cb71c0 ee1e9ea4 c0901eb0 [65638.429892] 5e00: 00000000 c31e5e20 c087734f c0877732 00010033 ffffffff [65638.430316] [<c010aa25>] (__irq_svc) from [<c0877732>] (__schedule+0x4ba/0x6c8) [65638.430894] [<c0877732>] (__schedule) from [<c0877b27>] (preempt_schedule_common+0x13/0x20) [65638.431360] [<c0877b27>] (preempt_schedule_common) from [<c0877b61>] (_cond_resched+0x2d/0x30) [65638.431801] [<c0877b61>] (_cond_resched) from [<c076d801>] (__release_sock+0x65/0xa4) [65638.432198] [<c076d801>] (__release_sock) from [<c076d861>] (release_sock+0x21/0x54) [65638.432781] [<c076d861>] (release_sock) from [<c0848d67>] (xs_tcp_data_receive_workfn+0x5f/0x120) [65638.433246] [<c0848d67>] (xs_tcp_data_receive_workfn) from [<c012d451>] (process_one_work+0x155/0x37c) [65638.433665] [<c012d451>] (process_one_work) from [<c012dff3>] (worker_thread+0xff/0x404) [65638.434098] [<c012dff3>] (worker_thread) from [<c0131a91>] (kthread+0xfd/0x104) [65638.434553] [<c0131a91>] (kthread) from [<c0106719>] (ret_from_fork+0x11/0x38) [65638.435417] dwmac-sun8i 1c30000.ethernet: packet dropped
-
Conclusion and many thanks especially to martinayotte:
I must have explicit line in armbianEnv.txt:
root@PKTOOL:~# cat /boot/armbianEnv.txt
verbosity=0
rootdev=/dev/mmcblk1p1
user_overlays=ds1307
extraargs=pty.legacy_count=2
root@PKTOOL:~#EDIT:
Both /etc/fstab and /boot/armbianEnv.txt was migrated to UUID, so my images are compatible again with both SD and EMMC.
Additionally there is suggestion - as I have upgraded from legacy I didn't have armbianEnv.txt file at all. armbian-config hasn't created any... So, content was only my "guessing". Maybe it will be worth to add ceration of such a file automatically? I guess it may be an issue with correct detection of boot device when still under "old kernel". This would be "would" prediction. So, maybe warning at the end...
EDIT: with UUID approach it would not be so difficult.
Many thanks to everybody. I have solved my problem
-
3.1 EMMC_Mainline (with no armbianEnv.txt at all)
U-Boot SPL 2017.11-armbian (Jan 25 2018 - 07:58:02) DRAM: 2048 MiB Trying to boot from MMC2 U-Boot 2017.11-armbian (Jan 25 2018 - 07:58:02 +0100) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi Plus / Plus 2 DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: phy interface7 eth0: ethernet@1c30000 starting USB... USB0: USB EHCI 1.00 USB1: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning bus 1 for devices... Device NOT ready Request Sense returned 02 3A 00 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Autoboot in 1 seconds, press <Space> to stop switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... Found U-Boot script /boot/boot.scr 3708 bytes read in 149 ms (23.4 KiB/s) ## Executing script at 43100000 U-boot loaded from eMMC or secondary SD Boot script loaded from mmc MMC: no card present mmc_init: -123, time 2 ** Bad device mmc 0 ** 4578490 bytes read in 467 ms (9.3 MiB/s) 6972808 bytes read in 543 ms (12.2 MiB/s) Found mainline kernel configuration 33781 bytes read in 491 ms (66.4 KiB/s) ** File not found /boot/dtb/overlay/-fixup.scr ** ## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 4578426 Bytes = 4.4 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 49ba2000, end 49fffc7a ... OK reserving fdt memory region: addr=43000000 size=6e000 Loading Device Tree to 49b31000, end 49ba1fff ... OK Starting kernel ... Loading, please wait... Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. done. Gave up waiting for root device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Check root= (did the system wait for the right device?) - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/mmcblk0p1 does not exist. Dropping to a shell! Rebooting automatically due to panic= boot argument
3.2 EMMC_Mainline (with mmcblk1) - SUCCESS!
U-Boot SPL 2017.11-armbian (Jan 25 2018 - 07:58:02)
DRAM: 2048 MiB
Trying to boot from MMC2
U-Boot 2017.11-armbian (Jan 25 2018 - 07:58:02 +0100) Allwinner TechnologyCPU: Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Plus / Plus 2
DRAM: 2 GiB
MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environmentIn: serial
Out: serial
Err: serial
Net: phy interface7
eth0: ethernet@1c30000
starting USB...
USB0: USB EHCI 1.00
USB1: USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning bus 1 for devices... Device NOT ready
Request Sense returned 02 3A 00
2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
3708 bytes read in 159 ms (22.5 KiB/s)
## Executing script at 43100000
U-boot loaded from eMMC or secondary SD
Boot script loaded from mmc
85 bytes read in 225 ms (0 Bytes/s)
MMC: no card present
mmc_init: -123, time 2
** Bad device mmc 0 **
4578490 bytes read in 484 ms (9 MiB/s)
6972808 bytes read in 557 ms (11.9 MiB/s)
Found mainline kernel configuration
33781 bytes read in 523 ms (62.5 KiB/s)
** File not found /boot/overlay-user/ds1307.dtbo **
** File not found /boot/dtb/overlay/-fixup.scr **
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4578426 Bytes = 4.4 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Loading Ramdisk to 49ba2000, end 49fffc7a ... OK
reserving fdt memory region: addr=43000000 size=6e000
Loading Device Tree to 49b31000, end 49ba1fff ... OKStarting kernel ...
Loading, please wait...
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.25.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk1p1] fsck.ext4 -a -C0 /dev/mmcblk1p1
/dev/mmcblk1p1: clean, 80126/118800 files, 403135/476928 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.Welcome to Debian GNU/Linux 8 (jessie)!
Expecting device dev-ttyS0.device...
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Reached target Paths.
[ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[ OK ] Reached target Encrypted Volumes.
[ OK ] Created slice Root Slice.
[ OK ] Listening on Delayed Shutdown Socket. -
First part of results as below. I have used the same image which was copied to SD and EMMC - in both cases I am able to boot the device.
1. SD_Legacy
Welcome to ARMBIAN 5.38 stable Debian GNU/Linux 8 (jessie) 3.4.113-sun8i System load: 0.00 0.14 0.11 Up time: 6 min Memory usage: 2 % of 2014MB IP: 192.168.10.250 CPU temp: 45°C Usage of /: 79% of 1.8G root@PKTOOL:~# uname -a Linux PKTOOL 3.4.113-sun8i #18 SMP PREEMPT Wed Jan 24 22:10:49 CET 2018 armv7l GNU/Linux root@PKTOOL:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT mmcblk1boot0 179:32 0 4M 1 disk mmcblk1boot1 179:48 0 4M 1 disk mmcblk0 179:0 0 1.9G 0 disk └─mmcblk0p1 179:1 0 1.8G 0 part / mmcblk1 179:16 0 14.6G 0 disk └─mmcblk1p1 179:17 0 1.8G 0 part root@PKTOOL:~# ll /dev/mmc* brw-rw---- 1 root disk 179, 0 Jan 1 1970 /dev/mmcblk0 brw-rw---- 1 root disk 179, 1 Jan 1 1970 /dev/mmcblk0p1 brw-rw---- 1 root disk 179, 16 Jan 1 1970 /dev/mmcblk1 brw-rw---- 1 root disk 179, 48 Jan 1 1970 /dev/mmcblk1boot1 brw-rw---- 1 root disk 179, 32 Jan 1 1970 /dev/mmcblk1boot0 brw-rw---- 1 root disk 179, 17 Jan 1 1970 /dev/mmcblk1p1 root@PKTOOL:~# blkid /dev/mmcblk0 /dev/mmcblk0: PTUUID="278946fa" PTTYPE="dos" root@PKTOOL:~# blkid /dev/mmcblk1 /dev/mmcblk1: PTUUID="278946fa" PTTYPE="dos" root@PKTOOL:~# blkid /dev/mmcblk0p1 /dev/mmcblk0p1: UUID="f8301761-6756-4f97-aa80-12c05ea037cf" TYPE="ext4" PARTUUID="278946fa-01" root@PKTOOL:~# blkid /dev/mmcblk1p1 /dev/mmcblk1p1: UUID="f8301761-6756-4f97-aa80-12c05ea037cf" TYPE="ext4" PARTUUID="278946fa-01" root@PKTOOL:~#
2. EMMC_Legacy
Welcome to ARMBIAN 5.38 stable Debian GNU/Linux 8 (jessie) 3.4.113-sun8i System load: 0.84 0.19 0.06 Up time: 0 min Memory usage: 3 % of 2014MB IP: 192.168.10.250 CPU temp: 48°C Usage of /: 79% of 1.8G root@PKTOOL:~# uname -a Linux PKTOOL 3.4.113-sun8i #18 SMP PREEMPT Wed Jan 24 22:10:49 CET 2018 armv7l GNU/Linux root@PKTOOL:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT mmcblk0boot0 179:16 0 4M 1 disk mmcblk0boot1 179:32 0 4M 1 disk mmcblk0 179:0 0 14.6G 0 disk └─mmcblk0p1 179:1 0 1.8G 0 part / root@PKTOOL:~# ll /dev/mmc* brw-rw---- 1 root disk 179, 0 Jan 1 1970 /dev/mmcblk0 brw-rw---- 1 root disk 179, 1 Jan 1 1970 /dev/mmcblk0p1 brw-rw---- 1 root disk 179, 16 Jan 1 1970 /dev/mmcblk0boot0 brw-rw---- 1 root disk 179, 32 Jan 1 1970 /dev/mmcblk0boot1 root@PKTOOL:~# blkid /dev/mmcblk0 /dev/mmcblk0: PTUUID="278946fa" PTTYPE="dos" root@PKTOOL:~# blkid /dev/mmcblk1 root@PKTOOL:~# blkid /dev/mmcblk0p1 /dev/mmcblk0p1: UUID="f8301761-6756-4f97-aa80-12c05ea037cf" TYPE="ext4" PARTUUID="278946fa-01" root@PKTOOL:~# blkid /dev/mmcblk1p1 root@PKTOOL:~#
Now I will boot by EMMC (I decided to use EMMC test first to avoid any impact from "upgrade of SD"), upgrade to mainline "next" (by armbian-config). Then boot and see results.
OrangePi+ 2E (H3) crashes on 4.14 with INFO: rcu_sched self-detected stall on CPU
in Allwinner sunxi
Posted
Could you please take a look here:
Considering that when running on performance mode - system seems to be stable but once switched to "ondemand" - unstable. May the "mismatch" be the root cause here?