xuliyu 发表于 2021-11-18 11:20:15

RK3288 nfs挂载firefly img导出的rootfs

从firefly img导出的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: System time before build time, advancing clock.
[   11.858200] systemd: Failed to insert module 'autofs4': No such file or directory
[   11.887742] cgroup: cgroup2: unknown option "nsdelegate"
[   11.945239] systemd: 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: Detected architecture arm.

Welcome to Ubuntu 18.04.4 LTS!

[   11.990230] systemd: Set hostname to <firefly>.
[   13.061493] systemd: 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: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[   14.608896] systemd: /lib/systemd/system/serial-getty@.service:14: Failed to add dependency on dev-ttyFIQ0, ignoring: Invalid argument
[   14.799315] systemd: Reached target Swap.
Reached target Swap.
[   14.807458] systemd: Created slice User and Session Slice.
Created slice User and Session Slice.
[   14.815081] systemd: Reached target User and Group Name Lookups.
Reached target User and Group Name Lookups.
[   14.827286] systemd: Started Forward Password Requests to Wall Directory Watch.
Started Forward Password Requests to Wall Directory Watch.
[   14.842088] systemd: Created slice System Slice.
Created slice System Slice.
[   14.853723] systemd: Listening on Journal Socket (/dev/log).
Listening on Journal Socket (/dev/log).
[   14.864120] systemd: Listening on udev Control Socket.
Listening on udev Control Socket.
[   14.873621] systemd: Listening on Syslog Socket.
Listening on Syslog Socket.
[   14.884586] systemd: Listening on /dev/initctl Compatibility Named Pipe.
Listening on /dev/initctl Compatibility Named Pipe.
[   14.895179] systemd: Reached target Slices.
Reached target Slices.
[   14.905735] systemd: Listening on Journal Socket.
Listening on Journal Socket.
[   14.916173] systemd: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   14.935593] systemd: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
[   14.944100] systemd: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   14.963704] systemd: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   14.974116] systemd: Starting Set the console keyboard layout...
         Starting Set the console keyboard layout...
[   15.064945] systemd: Starting Journal Service...
         Starting Journal Service...
[   15.070258] systemd: Listening on udev Kernel Socket.
Listening on udev Kernel Socket.
[   15.079534] systemd: Created slice system-serial\x2dgetty.slice.
Created slice system-serial\x2dgetty.slice.
[   15.090347] systemd: Reached target Remote File Systems.
Reached target Remote File Systems.
[   15.103457] systemd: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...
[   15.114014] systemd: Mounted Kernel Debug File System.
Mounted Kernel Debug File System.
[   15.123047] systemd: Started Remount Root and Kernel File Systems.
Started Remount Root and Kernel File Systems.
[   15.174173] systemd: Started Load Kernel Modules.
Started Load Kernel Modules.
[   15.182303] systemd: Mounting FUSE Control File System...
         Mounting FUSE Control File System...
[   15.191972] systemd: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   15.202036] systemd: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[   15.225723] systemd: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
[   15.232896] systemd: Mounted FUSE Control File System.
Mounted FUSE Control File System.
[   15.247350] systemd: Mounted Kernel Configuration File System.
Mounted Kernel Configuration File System.
[   15.261641] systemd: Started Create Static Device Nodes in /dev.
Started Create Static Device Nodes in /dev.
[   15.271217] systemd: Starting udev Kernel Device Manager...
         Starting udev Kernel Device Manager...
[   15.301291] systemd: Failed to start Load/Save Random Seed.
Failed to start Load/Save Random Seed.
See 'systemctl status systemd-random-seed.service' for details.
Started Apply Kernel Variables.
Started Journal Service.
         Starting Flush Journal to Persistent Storage...
Started udev Coldplug all Devices.
Started Flush Journal to Persistent Storage.
Started Set the console keyboard layout.
Reached target Local File Systems (Pre).
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...
Started Tell Plymouth To Write Out Runtime Data.
Started Set console font and keymap.
Started udev Kernel Device Manager.
Started Dispatch Password Requests to Console Directory Watch.
Reached target Local Encrypted Volumes.
Failed to start Create Volatile Files and Directories.
See 'systemctl status systemd-tmpfiles-setup.service' for details.
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...
Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen Backlight…ightness of backlight:backlight...
Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
Failed to start Load/Save Screen Ba…Brightness of backlight:backlight.
See 'systemctl status systemd-backlight…cklight:backlight.service' for details.
Stopped Network Time Synchronization.
         Starting Network Time Synchronization...
         Starting Load/Save RF Kill Switch Status...
Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
Failed to start Load/Save RF Kill Switch Status.
See 'systemctl status systemd-rfkill.service' for details.
         Starting Load/Save RF Kill Switch Status...
Stopped Network Time Synchronization.
         Starting Network Time Synchronization...
Failed to start Load/Save RF Kill Switch Status.
See 'systemctl status systemd-rfkill.service' for details.
Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
Stopped Network Time Synchronization.
         Starting Network Time Synchronization...
         Starting Load/Save RF Kill Switch Status...
Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
Failed to start Load/Save RF Kill Switch Status.
See 'systemctl status systemd-rfkill.service' for details.
         Starting Load/Save RF Kill Switch Status...
Stopped Network Time Synchronization.
         Starting Network Time Synchronization...
Failed to start Load/Save RF Kill Switch Status.
See 'systemctl status systemd-rfkill.service' for details.
Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
Stopped Network Time Synchronization.
Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
         Starting Load/Save RF Kill Switch Status...
Reached target System Time Synchronized.
Failed to start Load/Save RF Kill Switch Status.
See 'systemctl status systemd-rfkill.service' for details.
Failed to start Load/Save RF Kill Switch Status.
See 'systemctl status systemd-rfkill.service' for details.
Failed to start Update UTMP about System Boot/Shutdown.
See 'systemctl status systemd-update-utmp.service' for details.
Dependency failed for Update UTMP about System Runlevel Changes.
Reached target System Initialization.
Listening on D-Bus System Message Bus Socket.
Started Daily Cleanup of Temporary Directories.
Started Discard unused blocks once a week.
Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
Reached target Sockets.
Started Daily apt download activities.
Started Daily apt upgrade and clean activities.
Reached target Timers.
Reached target Paths.
Reached target Basic System.
         Starting System Logging Service...
         Starting Login Service...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Accounts Service...
         Starting rkisp 3A engine...
Started Set the CPU Frequency Scaling governor.
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...
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...
Started Network Name Resolution.
Started System Logging Service.
Started Login Service.
Started Avahi mDNS/DNS-SD Stack.
Reached target Host and Network Name Lookups.
Started WPA supplicant.
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
Started rkisp 3A engine.
         Starting Authorization Manager...
Started LSB: automatic crash report generation.
Started Authorization Manager.
Started Accounts Service.
Started Modem Manager.
         Starting Hostname Service...
Started Disk Manager.
Started Hostname Service.
         Starting Network Manager Script Dispatcher Service...
Started Network Manager Script Dispatcher Service.
Started Adbd for linux.
[   22.090615] stmmac_hw_setup: DMA engine initialization failed
[   22.096381] stmmac_open: Hw setup failed
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
Started Network Manager.
Reached target Network.
         Starting Permit User Sessions...
         Starting OpenBSD Secure Shell server...
         Starting /etc/rc.local Compatibility...
Started /etc/rc.local Compatibility.
Started Permit User Sessions.
         Starting Hold until boot process finishes up...
         Starting Light Display Manager...
Started Hold until boot process finishes up.
         Starting Set console scheme...
Started Serial Getty on ttyFIQ0.
[   22.775197] stmmac_hw_setup: DMA engine initialization failed
[   22.786387] stmmac_open: Hw setup failed
Started Set console scheme.
Created slice system-getty.slice.
[   22.907022] stmmac_hw_setup: DMA engine initialization failed
[   22.916437] stmmac_open: Hw setup failed
Started Getty on tty1.
Reached target Login Prompts.
Started OpenBSD Secure Shell server.
Reached target Multi-User System.

Ubuntu 18.04.4 LTS firefly ttyFIQ0

firefly login: root (automatic login)


Authentication failure

aibou 发表于 2023-2-7 13:51:12

请问这个问题解决了吗?
页: [1]
查看完整版本: RK3288 nfs挂载firefly img导出的rootfs