瑞芯微Rockchip开发者社区
直播中

向日葵的花季

8年用户 1237经验值
擅长:电源/新能源
私信 关注
[问答]

RK3288 nfs挂载firefly img导出的rootfs如何解决呢?

从fireflyimg导出的rootfs,重新制作成img烧录进开发板,没问题,可正常登录,但是用nfs挂载启动这个rootfs出现好几个问题。看起来好像是没有写权限。有没有小伙伴成功挂载firefly
img的rootfs,请指教一下,以下是nfs系统启动的打印

  [ 8.432458] No soundcards found.

  [ 8.449632] VFS: Mounted root (nfs filesystem) on device 0:16.

  [ 8.456334] devtmpfs: mounted

  [ 8.460005] Freeing unused kernel memory: 1024K

  [ 11.709698] systemd[1]: System time before build time, advancing
clock.

  [ 11.858200] systemd[1]: Failed to insert module ‘autofs4’: No such file or
directory

  [ 11.887742] cgroup: cgroup2: unknown option “nsdelegate”

  [ 11.945239] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT
+SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS
+ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2
default-hierarchy=hybrid)

  [ 11.968031] systemd[1]: Detected architecture arm.

  Welcome to Ubuntu 18.04.4 LTS!

  [ 11.990230] systemd[1]: Set hostname to 《firefly》。

  [ 13.061493] systemd[1]: File /lib/systemd/system/systemd-udevd.service:35
configures an IP firewall (IPAddressDeny=any), but the local system does not
support BPF/cgroup based firewalling.

  [ 13.079353] systemd[1]: Proceeding WITHOUT firewalling in effect! (This
warning is only shown for the first loaded unit using IP firewalling.)

  [ 14.608896] systemd[1]: /lib/systemd/system/serial-getty@.service:14:
Failed to add dependency on dev-ttyFIQ0, ignoring: Invalid argument

  [ 14.799315] systemd[1]: Reached target Swap.

  [ OK ] Reached target Swap.

  [ 14.807458] systemd[1]: Created slice User and Session Slice.

  [ OK ] Created slice User and Session Slice.

  [ 14.815081] systemd[1]: Reached target User and Group Name Lookups.

  [ OK ] Reached target User and Group Name Lookups.

  [ 14.827286] systemd[1]: Started Forward Password Requests to Wall
Directory Watch.

  [ OK ] Started Forward Password Requests to Wall Directory Watch.

  [ 14.842088] systemd[1]: Created slice System Slice.

  [ OK ] Created slice System Slice.

  [ 14.853723] systemd[1]: Listening on Journal Socket (/dev/log)。

  [ OK ] Listening on Journal Socket (/dev/log)。

  [ 14.864120] systemd[1]: Listening on udev Control Socket.

  [ OK ] Listening on udev Control Socket.

  [ 14.873621] systemd[1]: Listening on Syslog Socket.

  [ OK ] Listening on Syslog Socket.

  [ 14.884586] systemd[1]: Listening on /dev/initctl Compatibility Named
Pipe.

  [ OK ] Listening on /dev/initctl Compatibility Named Pipe.

  [ 14.895179] systemd[1]: Reached target Slices.

  [ OK ] Reached target Slices.

  [ 14.905735] systemd[1]: Listening on Journal Socket.

  [ OK ] Listening on Journal Socket.

  [ 14.916173] systemd[1]: Mounting Kernel Debug File System.。.

  Mounting Kernel Debug File System.。.

  [ 14.935593] systemd[1]: Starting Create Static Device Nodes in /dev.。.

  Starting Create Static Device Nodes in /dev.。.

  [ 14.944100] systemd[1]: Starting Remount Root and Kernel File
Systems.。.

  Starting Remount Root and Kernel File Systems.。.

  [ 14.963704] systemd[1]: Starting Load Kernel Modules.。.

  Starting Load Kernel Modules.。.

  [ 14.974116] systemd[1]: Starting Set the console keyboard layout.。.

  Starting Set the console keyboard layout.。.

  [ 15.064945] systemd[1]: Starting Journal Service.。.

  Starting Journal Service.。.

  [ 15.070258] systemd[1]: Listening on udev Kernel Socket.

  [ OK ] Listening on udev Kernel Socket.

  [ 15.079534] systemd[1]: Created slice system-serial\x2dgetty.slice.

  [ OK ] Created slice system-serial\x2dgetty.slice.

  [ 15.090347] systemd[1]: Reached target Remote File Systems.

  [ OK ] Reached target Remote File Systems.

  [ 15.103457] systemd[1]: Starting udev Coldplug all Devices.。.

  Starting udev Coldplug all Devices.。.

  [ 15.114014] systemd[1]: Mounted Kernel Debug File System.

  [ OK ] Mounted Kernel Debug File System.

  [ 15.123047] systemd[1]: Started Remount Root and Kernel File Systems.

  [ OK ] Started Remount Root and Kernel File Systems.

  [ 15.174173] systemd[1]: Started Load Kernel Modules.

  [ OK ] Started Load Kernel Modules.

  [ 15.182303] systemd[1]: Mounting FUSE Control File System.。.

  Mounting FUSE Control File System.。.

  [ 15.191972] systemd[1]: Starting Apply Kernel Variables.。.

  Starting Apply Kernel Variables.。.

  [ 15.202036] systemd[1]: Mounting Kernel Configuration File System.。.

  Mounting Kernel Configuration File System.。.

  [ 15.225723] systemd[1]: Starting Load/Save Random Seed.。.

  Starting Load/Save Random Seed.。.

  [ 15.232896] systemd[1]: Mounted FUSE Control File System.

  [ OK ] Mounted FUSE Control File System.

  [ 15.247350] systemd[1]: Mounted Kernel Configuration File System.

  [ OK ] Mounted Kernel Configuration File System.

  [ 15.261641] systemd[1]: Started Create Static Device Nodes in /dev.

  [ OK ] Started Create Static Device Nodes in /dev.

  [ 15.271217] systemd[1]: Starting udev Kernel Device Manager.。.

  Starting udev Kernel Device Manager.。.

  [ 15.301291] systemd[1]: Failed to start Load/Save Random Seed.

  [FAILED] Failed to start Load/Save Random Seed.

  See ‘systemctl status systemd-random-seed.service’ for details.

  [ OK ] Started Apply Kernel Variables.

  [ OK ] Started Journal Service.

  Starting Flush Journal to Persistent Storage.。.

  [ OK ] Started udev Coldplug all Devices.

  [ OK ] Started Flush Journal to Persistent Storage.

  [ OK ] Started Set the console keyboard layout.

  [ OK ] Reached target Local File Systems (Pre)。

  [ OK ] Reached target Local File Systems.

  Starting Set console font and keymap.。.

  Starting Tell Plymouth To Write Out Runtime Data.。.

  Starting Create Volatile Files and Directories.。.

  [ OK ] Started Tell Plymouth To Write Out Runtime Data.

  [ OK ] Started Set console font and keymap.

  [ OK ] Started udev Kernel Device Manager.

  [ OK ] Started Dispatch Password Requests to Console Directory Watch.

  [ OK ] Reached target Local Encrypted Volumes.

  [FAILED] Failed to start Create Volatile Files and Directories.

  See ‘systemctl status systemd-tmpfiles-setup.service’ for details.

  [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.

  Starting Network Name Resolution.。.

  Starting Network Time Synchronization.。.

  Starting Update UTMP about System Boot/Shutdown.。.

  [ OK ] Created slice system-systemd\x2dbacklight.slice.

  Starting Load/Save Screen Backlight…ightness of backlight:backlight.。.

  [FAILED] Failed to start Network Time Synchronization.

  See ‘systemctl status systemd-timesyncd.service’ for details.

  [FAILED] Failed to start Load/Save Screen Ba…Brightness of
backlight:backlight.

  See ‘systemctl status systemd-backlight…cklight:backlight.service’ for
details.

  [ OK ] Stopped Network Time Synchronization.

  Starting Network Time Synchronization.。.

  Starting Load/Save RF Kill Switch Status.。.

  [FAILED] Failed to start Network Time Synchronization.

  See ‘systemctl status systemd-timesyncd.service’ for details.

  [FAILED] Failed to start Load/Save RF Kill Switch Status.

  See ‘systemctl status systemd-rfkill.service’ for details.

  Starting Load/Save RF Kill Switch Status.。.

  [ OK ] Stopped Network Time Synchronization.

  Starting Network Time Synchronization.。.

  [FAILED] Failed to start Load/Save RF Kill Switch Status.

  See ‘systemctl status systemd-rfkill.service’ for details.

  [FAILED] Failed to start Network Time Synchronization.

  See ‘systemctl status systemd-timesyncd.service’ for details.

  [ OK ] Stopped Network Time Synchronization.

  Starting Network Time Synchronization.。.

  Starting Load/Save RF Kill Switch Status.。.

  [FAILED] Failed to start Network Time Synchronization.

  See ‘systemctl status systemd-timesyncd.service’ for details.

  [FAILED] Failed to start Load/Save RF Kill Switch Status.

  See ‘systemctl status systemd-rfkill.service’ for details.

  Starting Load/Save RF Kill Switch Status.。.

  [ OK ] Stopped Network Time Synchronization.

  Starting Network Time Synchronization.。.

  [FAILED] Failed to start Load/Save RF Kill Switch Status.

  See ‘systemctl status systemd-rfkill.service’ for details.

  [FAILED] Failed to start Network Time Synchronization.

  See ‘systemctl status systemd-timesyncd.service’ for details.

  [ OK ] Stopped Network Time Synchronization.

  [FAILED] Failed to start Network Time Synchronization.

  See ‘systemctl status systemd-timesyncd.service’ for details.

  Starting Load/Save RF Kill Switch Status.。.

  [ OK ] Reached target System Time Synchronized.

  [FAILED] Failed to start Load/Save RF Kill Switch Status.

  See ‘systemctl status systemd-rfkill.service’ for details.

  [FAILED] Failed to start Load/Save RF Kill Switch Status.

  See ‘systemctl status systemd-rfkill.service’ for details.

  [FAILED] Failed to start Update UTMP about System Boot/Shutdown.

  See ‘systemctl status systemd-update-utmp.service’ for details.

  [DEPEND] Dependency failed for Update UTMP about System Runlevel
Changes.

  [ OK ] Reached target System Initialization.

  [ OK ] Listening on D-Bus System Message Bus Socket.

  [ OK ] Started Daily Cleanup of Temporary Directories.

  [ OK ] Started Discard unused blocks once a week.

  [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.

  [ OK ] Reached target Sockets.

  [ OK ] Started Daily apt download activities.

  [ OK ] Started Daily apt upgrade and clean activities.

  [ OK ] Reached target Timers.

  [ OK ] Reached target Paths.

  [ OK ] Reached target Basic System.

  Starting System Logging Service.。.

  Starting Login Service.。.

  Starting Avahi mDNS/DNS-SD Stack.。.

  Starting Accounts Service.。.

  Starting rkisp 3A engine.。.

  [ OK ] Started Set the CPU Frequency Scaling governor.

  [ OK ] Started D-Bus System Message Bus.

  Starting WPA supplicant.。.

  Starting Modem Manager.。.

  Starting Restore /etc/resolv.conf i…fore the ppp link was shut down.。.

  [ OK ] Started Regular background program processing daemon.

  Starting LSB: automatic crash report generation.。.

  Starting Dispatcher daemon for systemd-networkd.。.

  Starting Adbd for linux.。.

  Starting Disk Manager.。.

  Starting Network Manager.。.

  [ OK ] Started Network Name Resolution.

  [ OK ] Started System Logging Service.

  [ OK ] Started Login Service.

  [ OK ] Started Avahi mDNS/DNS-SD Stack.

  [ OK ] Reached target Host and Network Name Lookups.

  [ OK ] Started WPA supplicant.

  [ OK ] Started Restore /etc/resolv.conf if…before the ppp link was shut
down.

  [ 19.633587] stmmac_hw_setup: DMA engine initialization failed

  [ 19.639358] stmmac_open: Hw setup failed

  [ OK ] Started rkisp 3A engine.

  Starting Authorization Manager.。.

  [ OK ] Started LSB: automatic crash report generation.

  [ OK ] Started Authorization Manager.

  [ OK ] Started Accounts Service.

  [ OK ] Started Modem Manager.

  Starting Hostname Service.。.

  [ OK ] Started Disk Manager.

  [ OK ] Started Hostname Service.

  Starting Network Manager Script Dispatcher Service.。.

  [ OK ] Started Network Manager Script Dispatcher Service.

  [ OK ] Started Adbd for linux.

  [ 22.090615] stmmac_hw_setup: DMA engine initialization failed

  [ 22.096381] stmmac_open: Hw setup failed

  [ OK ] Started Dispatcher daemon for systemd-networkd.

  [ 22.505848] stmmac_hw_setup: DMA engine initialization failed

  [ 22.511620] stmmac_open: Hw setup failed

  [ 22.649995] stmmac_hw_setup: DMA engine initialization failed

  [ 22.655745] stmmac_open: Hw setup failed

  [ OK ] Started Network Manager.

  [ OK ] Reached target Network.

  Starting Permit User Sessions.。.

  Starting OpenBSD Secure Shell server.。.

  Starting /etc/rc.local Compatibility.。.

  [ OK ] Started /etc/rc.local Compatibility.

  [ OK ] Started Permit User Sessions.

  Starting Hold until boot process finishes up.。.

  Starting Light Display Manager.。.

  [ OK ] Started Hold until boot process finishes up.

  Starting Set console scheme.。.

  [ OK ] Started Serial Getty on ttyFIQ0.

  [ 22.775197] stmmac_hw_setup: DMA engine initialization failed

  [ 22.786387] stmmac_open: Hw setup failed

  [ OK ] Started Set console scheme.

  [ OK ] Created slice system-getty.slice.

  [ 22.907022] stmmac_hw_setup: DMA engine initialization failed

  [ 22.916437] stmmac_open: Hw setup failed

  [ OK ] Started Getty on tty1.

  [ OK ] Reached target Login Prompts.

  [ OK ] Started OpenBSD Secure Shell server.

  [ OK ] Reached target Multi-User System.

  Ubuntu 18.04.4 LTS firefly ttyFIQ0

  firefly login: root (automatic login)

  Authentication failure

更多回帖

发帖
×
20
完善资料,
赚取积分