Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I am running Plebian on a Pine64 Quart64B.
- About every three days it runs out of memory and has to be restarted.
- The heartbeat LED indicates a trouble state by flashing about twice a second.
- The Device does not get an IP Address from the router for the ethernet interface.
- troubleshooting the memory issue:
- pleb@Quartz64B1:~$ find /usr/lib/systemd /etc/systemd /run/systemd -type l \( -ipath "*target.wants*timer" -o -ipath "*target.wants*service" \) -printf '%f\n' | sort -t. -k2 | uniq
- find: '/run/systemd/resolve/netif': Permission denied
- find: '/run/systemd/propagate': Permission denied
- find: '/run/systemd/unit-root': Permission denied
- find: '/run/systemd/inaccessible/dir': Permission denied
- ModemManager.service
- NetworkManager-wait-online.service
- NetworkManager.service
- alsa-restore.service
- alsa-state.service
- apparmor.service
- bluetooth.service
- console-setup.service
- cron.service
- dbus.service
- e2scrub_reap.service
- getty-static.service
- keyboard-setup.service
- kmod-static-nodes.service
- networking.service
- regen-openssh-keys.service
- ssh-agent.service
- ssh.service
- systemd-binfmt.service
- systemd-firstboot.service
- systemd-fsck-root.service
- systemd-journal-flush.service
- systemd-journald.service
- systemd-logind.service
- systemd-machine-id-commit.service
- systemd-modules-load.service
- systemd-pcrphase-initrd.service
- systemd-pcrphase-sysinit.service
- systemd-pcrphase.service
- systemd-pstore.service
- systemd-random-seed.service
- systemd-remount-fs.service
- systemd-repart.service
- systemd-resolved.service
- systemd-sysctl.service
- systemd-sysusers.service
- systemd-timesyncd.service
- systemd-tmpfiles-setup-dev.service
- systemd-tmpfiles-setup.service
- systemd-udev-trigger.service
- systemd-udevd.service
- systemd-update-utmp-runlevel.service
- systemd-update-utmp.service
- systemd-user-sessions.service
- wpa_supplicant.service
- apt-daily-upgrade.timer
- apt-daily.timer
- dpkg-db-backup.timer
- e2scrub_all.timer
- fstrim.timer
- logrotate.timer
- man-db.timer
- systemd-tmpfiles-clean.timer
- pleb@Quartz64B1:~$ uname -a
- Linux Quartz64B1 6.1.0-9-arm64 #1 SMP Debian 6.1.27-1 (2023-05-08) aarch64 GNU/Linux
- pleb@Quartz64B1:~$ date; uptime; uname -a; ip -br address;
- Fri Jun 16 17:39:10 UTC 2023
- 17:39:10 up 1 day, 1:38, 1 user, load average: 0.00, 0.00, 0.00
- Linux Quartz64B1 6.1.0-9-arm64 #1 SMP Debian 6.1.27-1 (2023-05-08) aarch64 GNU/Linux
- lo UNKNOWN 127.0.0.1/8 ::1/128
- end0 DOWN
- wlan0 UP 192.168.125.143/24 fe80::dfdb:c3ec:ee4f:891/64
- nmtui:
- Could not activate connection:
- Activation failed: The device could
- not be readied for configuration
- DMesg:
- [ 5.739822] rk_gmac-dwmac fe010000.ethernet: IRQ eth_lpi not found
- ...
- [ 5.741635] rk_gmac-dwmac fe010000.ethernet: phy regulator is not available yet, deferred probing
- ...
- [ 29.430111] rk_gmac-dwmac fe010000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
- [ 29.432291] rk_gmac-dwmac fe010000.ethernet end0: validation of with support 00000000,00000000,00006000 and advertisement 00000000,00000000,00000000 failed: -EINVAL
- [ 29.433942] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -22)
- ...
- [ 30.065007] rk_gmac-dwmac fe010000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
- ... sequence repeats four times ...
- [ 30.147359] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -22)
- pleb@Quartz64B1:~$ lsinitramfs -l /boot/initrd.img-6.1.0-9-arm64 | grep -iE 'fixed|mmioreg'
- -rw-r--r-- 1 root root 14939 May 8 20:16 usr/lib/modules/6.1.0-9-arm64/kernel/drivers/net/mdio/mdio-mux-mmioreg.ko
- -rw-r--r-- 1 root root 18011 May 8 20:16 usr/lib/modules/6.1.0-9-arm64/kernel/drivers/net/phy/fixed_phy.ko
- -rw-r--r-- 1 root root 16843 May 8 20:16 usr/lib/modules/6.1.0-9-arm64/kernel/drivers/regulator/fixed.ko
- pleb@Quartz64B1:~$ sudo dmesg --level err,warn
- [87627.446961] rk_gmac-dwmac fe010000.ethernet end0: validation of with support 00000000,00000000,00006000 and advertisement 00000000,00000000,00000000 failed: -EINVAL
- [87627.448724] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -22)
- [87627.465688] rk_gmac-dwmac fe010000.ethernet end0: validation of with support 00000000,00000000,00006000 and advertisement 00000000,00000000,00000000 failed: -EINVAL
- [87627.467138] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -22)
- [87627.482714] rk_gmac-dwmac fe010000.ethernet end0: validation of with support 00000000,00000000,00006000 and advertisement 00000000,00000000,00000000 failed: -EINVAL
- [87627.484384] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -22)
- [87627.500401] rk_gmac-dwmac fe010000.ethernet end0: validation of with support 00000000,00000000,00006000 and advertisement 00000000,00000000,00000000 failed: -EINVAL
- [87627.501935] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -22)
- 300 Seconds Later
- [87927.437689] rk_gmac-dwmac fe010000.ethernet end0: validation of with support 00000000,00000000,00006000 and advertisement 00000000,00000000,00000000 failed: -EINVAL
- [87927.439463] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -22)
- [87927.459278] rk_gmac-dwmac fe010000.ethernet end0: validation of with support 00000000,00000000,00006000 and advertisement 00000000,00000000,00000000 failed: -EINVAL
- [87927.460743] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -22)
- [87927.475062] rk_gmac-dwmac fe010000.ethernet end0: validation of with support 00000000,00000000,00006000 and advertisement 00000000,00000000,00000000 failed: -EINVAL
- [87927.476612] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -22)
- [87927.491711] rk_gmac-dwmac fe010000.ethernet end0: validation of with support 00000000,00000000,00006000 and advertisement 00000000,00000000,00000000 failed: -EINVAL
- [87927.493162] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -22)
- 300 Seconds Later
- [88227.429480] rk_gmac-dwmac fe010000.ethernet end0: validation of with support 00000000,00000000,00006000 and advertisement 00000000,00000000,00000000 failed: -EINVAL
- [88227.431234] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -22)
- [88227.452670] rk_gmac-dwmac fe010000.ethernet end0: validation of with support 00000000,00000000,00006000 and advertisement 00000000,00000000,00000000 failed: -EINVAL
- [88227.454119] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -22)
- [88227.469443] rk_gmac-dwmac fe010000.ethernet end0: validation of with support 00000000,00000000,00006000 and advertisement 00000000,00000000,00000000 failed: -EINVAL
- [88227.470945] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -22)
- [88227.486382] rk_gmac-dwmac fe010000.ethernet end0: validation of with support 00000000,00000000,00006000 and advertisement 00000000,00000000,00000000 failed: -EINVAL
- [88227.488044] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -22)
- The above repeats every 300 seconds.
- pleb@Quartz64B1:~$ lsmod
- Module Size Used by
- qrtr 40960 4
- algif_hash 16384 1
- algif_skcipher 16384 1
- af_alg 24576 6 algif_hash,algif_skcipher
- bnep 28672 2
- hci_uart 139264 0
- btqca 24576 1 hci_uart
- btrtl 24576 1 hci_uart
- btbcm 24576 1 hci_uart
- btintel 40960 1 hci_uart
- btsdio 20480 0
- bluetooth 745472 30 btrtl,btqca,btsdio,btintel,hci_uart,btbcm,bnep
- jitterentropy_rng 20480 1
- sha512_generic 16384 0
- sha512_arm64 20480 1
- aes_neon_bs 24576 0
- aes_neon_blk 28672 1 aes_neon_bs
- evdev 28672 2
- aes_ce_blk 32768 4
- snd_soc_hdmi_codec 24576 1
- aes_ce_cipher 16384 1 aes_ce_blk
- drbg 40960 1
- polyval_ce 16384 0
- polyval_generic 16384 1 polyval_ce
- ansi_cprng 16384 0
- ghash_ce 20480 0
- gf128mul 16384 2 polyval_generic,ghash_ce
- sha2_ce 16384 0
- rockchip_saradc 24576 0
- industrialio_triggered_buffer 16384 1 rockchip_saradc
- brcmfmac 299008 0
- kfifo_buf 16384 1 industrialio_triggered_buffer
- ofpart 20480 0
- sha256_arm64 24576 1 sha2_ce
- sha1_ce 16384 0
- industrialio 77824 3 industrialio_triggered_buffer,kfifo_buf,rockchip_saradc
- ecdh_generic 16384 2 bluetooth
- brcmutil 16384 1 brcmfmac
- ecc 32768 1 ecdh_generic
- snd_soc_simple_card 24576 0
- cfg80211 782336 1 brcmfmac
- snd_soc_simple_card_utils 24576 1 snd_soc_simple_card
- display_connector 20480 0
- rockchip_thermal 28672 0
- leds_gpio 16384 0
- spi_nor 94208 0
- snd_soc_rk817 45056 1
- snd_soc_rockchip_i2s_tdm 32768 4
- rfkill 36864 6 bluetooth,cfg80211
- hantro_vpu 139264 0
- v4l2_vp9 24576 1 hantro_vpu
- governor_simpleondemand 16384 0
- mtd 69632 3 spi_nor,ofpart
- snd_soc_core 208896 5 snd_soc_rockchip_i2s_tdm,snd_soc_hdmi_codec,snd_soc_rk817,snd_soc_simple_card_utils,snd_soc_simple_card
- v4l2_h264 20480 1 hantro_vpu
- videobuf2_dma_contig 24576 1 hantro_vpu
- snd_pcm_dmaengine 16384 1 snd_soc_core
- v4l2_mem2mem 36864 1 hantro_vpu
- snd_pcm 114688 4 snd_soc_hdmi_codec,snd_soc_simple_card_utils,snd_soc_core,snd_pcm_dmaengine
- videobuf2_memops 20480 1 videobuf2_dma_contig
- videobuf2_v4l2 24576 2 hantro_vpu,v4l2_mem2mem
- snd_timer 40960 1 snd_pcm
- rk805_pwrkey 16384 0
- snd 98304 4 snd_soc_hdmi_codec,snd_timer,snd_soc_core,snd_pcm
- dw_wdt 16384 0
- videobuf2_common 53248 5 videobuf2_dma_contig,videobuf2_v4l2,hantro_vpu,v4l2_mem2mem,videobuf2_memops
- soundcore 16384 1 snd
- panfrost 69632 0
- dw_hdmi_cec 16384 0
- dw_hdmi_i2s_audio 16384 0
- videodev 225280 4 videobuf2_v4l2,hantro_vpu,videobuf2_common,v4l2_mem2mem
- gpu_sched 36864 1 panfrost
- drm_shmem_helper 20480 1 panfrost
- mc 57344 5 videodev,videobuf2_v4l2,hantro_vpu,videobuf2_common,v4l2_mem2mem
- cpufreq_dt 20480 0
- loop 36864 0
- fuse 135168 1
- efi_pstore 16384 0
- dm_mod 139264 0
- dax 32768 1 dm_mod
- configfs 49152 1
- ip_tables 32768 0
- x_tables 36864 1 ip_tables
- autofs4 45056 2
- ext4 765952 1
- crc16 16384 2 bluetooth,ext4
- mbcache 20480 1 ext4
- jbd2 139264 1 ext4
- crc32c_generic 16384 2
- dwmac_rk 28672 0
- xhci_plat_hcd 24576 0
- stmmac_platform 24576 1 dwmac_rk
- xhci_hcd 258048 1 xhci_plat_hcd
- stmmac 237568 2 stmmac_platform,dwmac_rk
- rk808_regulator 40960 21
- pcs_xpcs 20480 1 stmmac
- fan53555 16384 1
- phylink 45056 2 stmmac,pcs_xpcs
- rockchipdrm 147456 0
- crct10dif_ce 16384 0
- dw_hdmi 49152 2 dw_hdmi_i2s_audio,rockchipdrm
- of_mdio 20480 2 stmmac_platform,stmmac
- crct10dif_common 16384 1 crct10dif_ce
- cec 45056 2 dw_hdmi_cec,dw_hdmi
- pl330 36864 3
- sdhci_of_dwcmshc 20480 0
- fixed 20480 27
- sdhci_pltfm 16384 1 sdhci_of_dwcmshc
- ohci_platform 16384 0
- rc_core 53248 2 cec
- dw_mmc_rockchip 20480 0
- fixed_phy 16384 1 of_mdio
- dw_mmc_pltfm 16384 1 dw_mmc_rockchip
- ohci_hcd 53248 1 ohci_platform
- dw_mmc 45056 2 dw_mmc_pltfm,dw_mmc_rockchip
- dw_mipi_dsi 20480 1 rockchipdrm
- fwnode_mdio 20480 1 of_mdio
- sdhci 69632 2 sdhci_pltfm,sdhci_of_dwcmshc
- phy_rockchip_naneng_combphy 20480 3
- spi_rockchip_sfc 20480 0
- phy_rockchip_inno_usb2 45056 6
- analogix_dp 49152 1 rockchipdrm
- ehci_platform 20480 0
- libphy 98304 6 fwnode_mdio,of_mdio,stmmac,fixed_phy,phylink,pcs_xpcs
- ehci_hcd 90112 1 ehci_platform
- drm_display_helper 118784 3 rockchipdrm,dw_hdmi,analogix_dp
- ptp 32768 1 stmmac
- usbcore 266240 7 ohci_platform,xhci_hcd,ohci_hcd,ehci_platform,ehci_hcd,brcmfmac,xhci_plat_hcd
- pps_core 24576 1 ptp
- drm_dma_helper 16384 1 rockchipdrm
- i2c_rk3x 24576 0
- drm_kms_helper 139264 8 dw_mipi_dsi,drm_dma_helper,display_connector,drm_display_helper,rockchipdrm,dw_hdmi,analogix_dp
- dwc3 159744 0
- drm 442368 12 gpu_sched,drm_kms_helper,dw_mipi_dsi,drm_dma_helper,display_connector,drm_shmem_helper,drm_display_helper,rockchipdrm,dw_hdmi,panfrost,analogix_dp
- io_domain 24576 0
- udc_core 57344 1 dwc3
- roles 16384 1 dwc3
- ulpi 20480 1 dwc3
- usb_common 16384 10 ohci_platform,xhci_hcd,ohci_hcd,ehci_platform,phy_rockchip_inno_usb2,usbcore,ehci_hcd,xhci_plat_hcd,dwc3,udc_core
Advertisement
Add Comment
Please, Sign In to add comment