发 帖  
原厂入驻New
[问答]

AM335X linux无法进入单用户模式

175 Linux
分享
AM3352 ti-processor-sdk-linux-am335x-evm-05.03.00.07版本系统启动错误,提示进入单用户模式:
直接输入密码报错如下:
Give root password for maintenance
(or press Control-D to continue):
sulogin: crypt faiLED: Invalid argument
Login incorrect
使用Ctrl-D报错如下:
Give root password for maintenance
(or press Control-D to continue):
[ 1839.618310] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1839.651930] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1839.720727] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1839.760287] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1839.800543] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1839.852968] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1839.979770] systemd-journald[58]: Successfully sent stream file descriptor to service manager.
[ 1840.110306] systemd-journald[58]: Successfully sent stream file descriptor to service manager.
[ 1840.299589] systemd-journald[58]: Successfully sent stream file descriptor to service manager.
[ 1840.365825] cryptodev: disagrees about version of symbol module_layout
[ 1840.367411] systemd[1]: systemd-tmpfiles-setup.service: Forked /bin/systemd-tmpfiles as 313
[ 1840.387288] systemd[1]: systemd-tmpfiles-setup.service: Changed failed -> start
[ 1840.429373] systemd[1]: emergency.service: Passing 0 fds to service
[ 1840.477333] systemd[1]: emergency.service: Forked /lib/systemd/systemd-sulogin-shell as 314
[ 1840.497255] systemd[1]: emergency.service: Changed dead -> running
[ 1840.529516] systemd[1]: emergency.service: Job emergency.service/start finished, result=done
[ 1840.587277] systemd[1]: systemd-journal-catalog-update.service: ConditionNeedsUpdate=/var succeeded.
[ 1840.622668] systemd[1]: systemd-journal-catalog-update.service: Failed to set blkio.weight: No such file or directory
[ 1840.637272] systemd[1]: systemd-journal-catalog-update.service: Passing 0 fds to service
[ 1840.684760] systemd[1]: systemd-journal-catalog-update.service: Forked /bin/journalctl as 315
[ 1841.018103] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1841.103395] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1841.177978] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1841.272761] systemd-journald[58]: Successfully sent stream file descriptor to service manager.
[ 1841.370495] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1841.467910] systemd-journald[58]: Successfully sent stream file descriptor to service manager.
[ 1841.540540] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1841.627851] systemd-journald[58]: Successfully sent stream file descriptor to service manager.
[ 1841.707846] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1841.781113] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1843.006926] usb_common: disagrees about version of symbol module_layout
[ 1843.892706] usb_common: disagrees about version of symbol module_layout
[ 1844.119697] uio: disagrees about version of symbol module_layout
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to boot
into default mode.
Give root password for maintenance
(or press Control-D to continue): [ 1846.027850] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1846.117747] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1846.201240] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1846.267281] systemd[1]: systemd-journald.service: Received EPOLLHUP on stored fd 43 (stored), closing.
[ 1846.296677] systemd[1]: Received SIGCHLD from PID 317 (ldconfig).
[ 1846.317272] systemd[1]: Child 317 (ldconfig) died (code=exited, status=1/FAILURE)
[ 1846.337097] systemd[1]: ldconfig.service: Child 317 belongs to ldconfig.service
[ 1846.381858] systemd[1]: ldconfig.service: Changed start -> failed
[ 1846.417650] systemd[1]: ldconfig.service: Job ldconfig.service/start finished, result=failed
[ 1846.457244] systemd[1]: ldconfig.service: Unit entered failed state.
[ 1846.477154] systemd[1]: ldconfig.service: Failed with result 'exit-code'.
[ 1846.646795] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1846.707865] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1846.762426] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1846.821093] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1846.877830] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1846.931161] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1846.992100] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1847.827280] systemd[1]: systemd-tmpfiles-setup.service: Child 313 belongs to systemd-tmpfiles-setup.service
[ 1847.977642] systemd[1]: opkg-configure.service: Forked /bin/sh as 320
[ 1851.038091] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1851.118466] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1851.211761] systemd-journald[58]: Failed to forward syslog message: Connection refused
[ 1851.308709] systemd-journald[58]: Successfully sent stream file descriptor to service manager.
[ 1851.368236] systemd-journald[58]: Failed to forward syslog message: Connection refused
系统启动log如下:
Welcome to Arago 2018.10!


[   12.737697] random: systemd: uninitialized urandom read (16 bytes read)
[   13.099193] systemd-fstab-generator[47]: Parsing /etc/fstab
[   13.137510] systemd-gpt-auto-generator[49]: Neither root nor /usr file system are on a (single) block device.
[   13.141983] systemd-getty-generator[48]: Automatically adding serial getty for /dev/ttyS1.
[   13.226736] systemd-fstab-generator[47]: Found entry what=/dev/root where=/ type=auto nofail=no noauto=no
[   13.268613] systemd-sysv-generator[53]: Native unit for bootmisc.service already exists, skipping.
[   13.305384] systemd-fstab-generator[47]: Found entry what=proc where=/proc type=proc nofail=no noauto=no
[   13.305667] systemd-fstab-generator[47]: Found entry what=devpts where=/dev/pts type=devpts nofail=no noauto=no
[   13.306026] systemd-fstab-generator[47]: Found entry what=usbdevfs where=/proc/bus/usb type=usbdevfs nofail=yes noauto=no
[   13.306707] systemd-fstab-generator[47]: Found entry what=tmpfs where=/run type=tmpfs nofail=no noauto=no
[   13.336552] systemd-fstab-generator[47]: Found entry what=tmpfs where=/var/volatile type=tmpfs nofail=no noauto=no
[   13.431747] systemd-fstab-generator[47]: Found entry what=tmpfs where=/media/ram type=tmpfs nofail=no noauto=no
[   13.500045] systemd-sysv-generator[53]: Native unit for modutils.service already exists, skipping.
[   13.531992] systemd-sysv-generator[53]: Cannot find unit busybox-udhcpd.service.
[   13.557459] systemd-sysv-generator[53]: Cannot find unit halt.service.
[   13.579949] systemd-sysv-generator[53]: Native unit for atd.service already exists, skipping.
[   13.608771] systemd-sysv-generator[53]: Cannot find unit single.service.
[   13.632146] systemd-sysv-generator[53]: Native unit for hostname.service already exists, skipping.
[   13.662718] systemd-sysv-generator[53]: Native unit for mountnfs.service already exists, skipping.
[   13.693072] systemd-sysv-generator[53]: Cannot find unit dropbear.service.
[   13.720275] systemd-sysv-generator[53]: Native unit for alsa-state.service already exists, skipping.
[   14.017487] systemd-sysv-ge: 140 output lines suppressed due to ratelimiting
[   15.381996] random: systemd: uninitialized urandom read (16 bytes read)
[  OK  ] Listening on Journal Socket.
[   15.427694] random: systemd: uninitialized urandom read (16 bytes read)
[  OK  ] Listening on Process Core Dump Socket.
[   15.537578] random: systemd: uninitialized urandom read (16 bytes read)
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Created slice System Slice.
         Starting Load Kernel Modules...
[  OK  ] Reached target Remote File Systems.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
         Mounting POSIX Message Queue File System...
[   15.910574] cryptodev: disagrees about version of symbol module_layout
         Starting Create list of required st…ce nodes for the current kernel...
[   16.021387] usb_common: disagrees about version of symbol module_layout
         Mounting Kernel debug File System...
[   16.073892] usb_common: disagrees about version of symbol module_layout
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   16.131973] uio: disagrees about version of symbol module_layout
         Starting Remount Root and Kernel File Systems...
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Listening on Network Service Netlink Socket.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Journal Service...
[  OK  ] Reached target Swap.
         Mounting Temporary Directory (/tmp)...
[  OK  ] Mounted Kernel Debug File System.
[   16.786644] systemd-journald[64]: Fixed min_use=1.0M max_use=64.0M max_size=8.0M min_size=512.0K keep_free=18.1M n_max_files=100
[  OK  ] Mounted POSIX Message Queue File System.
[   16.851292] systemd-journald[64]: Reserving 14563 entries in hash table.
[   16.878872] systemd-journald[64]: Vacuuming...
[  OK  ] Mounted Temporary Directory (/tmp).
[   16.896500] systemd-journald[64]: Vacuuming done, freed 0B of archived journals from /run/log/journal/4fbc8a083a1a48fa919e552faea510c3.
[   16.957621] systemd-journald[64]: Flushing /dev/kmsg...
[FAILED] Failed to start Load Kernel Modules.
[   16.991084] systemd-journald[64]: Compressed data object 537 -> 288 using XZ
See 'systemctl status systemd-modules-load.service' for details.
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Rebuild Hardware Database...
         Starting Create System Users...
         Starting Apply Kernel Variables...
[   17.363046] systemd[1]: sys-kernel-config.mount: ConditionCapability=CAP_SYS_RAWIO succeeded.
[   17.431573] systemd[1]: sys-kernel-config.mount: ConditionPathExists=/sys/kernel/config succeeded.
[   17.504423] systemd[1]: sys-kernel-config.mount: Failed to set blkio.weight: No such file or directory
[   17.579095] systemd[1]: sys-kernel-config.mount: About to execute: /bin/mount configfs /sys/kernel/config -t configfs
[   17.649110] systemd[1]: sys-kernel-config.mount: Forked /bin/mount as 69
[   17.710814] systemd[1]: sys-kernel-config.mount: Changed dead -> mounting
[   17.757593] systemd[1]: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[   17.834192] systemd[1]: kmod-static-nodes.service: Failed to set blkio.weight: No such file or directory
[   17.922450] systemd[1]: systemd-remount-fs.service: Failed to set blkio.weight: No such file or directory
[   17.976571] random: crng init done
[   17.976593] random: 6 urandom warning(s) missed due to ratelimiting
[   18.046935] systemd-journald[64]: systemd-journald running as pid 64

[   18.084772] systemd[1]: libmount event [rescan: yes]
[   18.100158] systemd-journald[64]: Sent READY=1 notification.
[   18.101187] systemd-journald[64]: Sent WATCHDOG=1 notification.
[   18.110582] systemd-journald[64]: Successfully sent stream file descriptor to service manager.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Journal Service.
[  OK  ] Started Create System Users.
[  OK  ] Started Apply Kernel Variables.
         Starting Create Static Device Nodes in /dev...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /media/ram...
         Mounting /var/volatile...
[FAILED] Failed to mount /media/ram.
See 'systemctl status media-ram.mount' for details.
[DEPEND] Dependency failed for Local File Systems.
[  OK  ] Mounted /var/volatile.
[  OK  ] Closed Syslog Socket.
[  OK  ] Reached target Timers.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Reached target Login Prompts.
         Starting Synchronize System and HW clocks...
[  OK  ] Started Emergency Shell.
         Starting Rebuild Journal Catalog...
         Starting Rebuild Dynamic Linker Cache...
         Starting Create Volatile Files and Directories...
         Starting Commit a transient machine-id on disk...
         Starting Load/Save Random Seed...
[  OK  ] Reached target Emergency Mode.
[  OK  ] Reached target Sockets.
[FAILED] Failed to start Synchronize System and HW clocks.
See 'systemctl status sync-clocks.service' for details.
[FAILED] Failed to start Commit a transient machine-id on disk.
See 'systemctl status systemd-machine-id-commit.service' for details.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started udev Kernel Device Manager.
         Starting Network Service...
[FAILED] Failed to start Rebuild Journal Catalog.
See 'systemctl status systemd-journal-catalog-update.service' for details.
[   21.809780] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   21.887738] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   21.976851] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   22.086767] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   22.229995] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   22.343548] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   22.477711] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   22.609237] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   22.718988] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   22.854771] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   23.437314] systemd[1]: systemd-journald.service: Got notification message from PID 64 (FDSTORE=1)
[   23.547410] systemd[1]: systemd-journald.service: Added fd 30 (n/a) to fd store.
[   23.957271] systemd[1]: systemd-networkd.service: Got notification message from PID 83 (WATCHDOG=1)
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to boot
into default mode.
[   26.864432] systemd-journald[64]: Failed to forward syslog message: Connection refused
Give root password for maintenance
(or press Control-D to continue): [   27.078132] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   27.117262] systemd[1]: systemd-networkd.socket: Incoming traffic
[   27.137482] systemd[1]: systemd-networkd.socket: Changed listening -> running
[   27.417526] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   27.566602] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   27.742426] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   27.875423] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   28.012500] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   28.163531] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   28.323487] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   28.465314] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   29.357364] systemd[1]: systemd-networkd.service: Got notification message from PID 83 (READY=1, STATUS=Processing requests...)
[   29.467242] systemd[1]: systemd-networkd.service: Changed start -> running
[   29.537767] systemd[1]: systemd-networkd.service: Job systemd-networkd.service/start finished, result=done
[   29.657371] systemd[1]: systemd-networkd-wait-online.service: Passing 0 fds to service
[   29.757338] systemd[1]: systemd-networkd-wait-online.service: Forked /lib/systemd/systemd-networkd-wait-online as 85
[   29.857390] systemd[1]: systemd-networkd-wait-online.service: Changed dead -> start
[   29.957308] systemd[1]: network.target: Job network.target/start finished, result=done
[   30.047367] systemd[1]: systemd-journald.service: Got notification message from PID 64 (FDSTORE=1)
[   30.127326] systemd[1]: systemd-journald.service: Added fd 18 (n/a) to fd store.
[   31.881428] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   32.039293] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   32.165902] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   32.307733] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   32.439360] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   32.580868] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   32.700293] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   32.793054] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   32.874265] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   33.002158] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   33.487541] systemd[1]: systemd-tmpfiles-setup.service: cgroup is empty
[   34.407818] systemd[1]: systemd-update-utmp.service: Changed start -> exited
[   34.477343] systemd[1]: systemd-journald.service: Received EPOLLHUP on stored fd 20 (stored), closing.
[   34.579456] systemd[1]: systemd-update-utmp-runlevel.service: Forked /lib/systemd/systemd-update-utmp as 90
[   34.677351] systemd[1]: systemd-update-utmp-runlevel.service: Changed dead -> start
[   34.767304] systemd[1]: systemd-update-utmp.service: Failed to set blkio.weight: No such file or directory
[   35.167324] systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/rescue_2etarget inteRFace=org.freedesktop.DBus.Properties member=Get cookie=3 reply_cookie=0 error=n/a
[   35.357866] systemd[1]: Got disconnect on private connection.
[   35.457343] systemd[1]: Child 90 (systemd-update-) died (code=exited, status=0/SUCCESS)
[   35.527244] systemd[1]: systemd-update-utmp-runlevel.service: Child 90 belongs to systemd-update-utmp-runlevel.service
[   35.627334] systemd[1]: systemd-update-utmp-runlevel.service: Changed start -> dead
[   36.889710] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   36.990547] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   37.071070] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   37.160760] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   37.244813] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   37.341049] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   37.430811] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   37.509609] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   37.610722] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   37.690945] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   41.912807] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   42.020511] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   42.135701] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   42.251007] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   42.351207] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   42.471516] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   42.574100] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   42.690903] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   42.803776] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   42.920637] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   46.950878] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   47.034586] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   47.121092] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   47.200910] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   47.299956] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   47.390334] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   47.469509] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   47.551274] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   47.631254] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   47.727976] omap_wdt: disagrees about version of symbol module_layout
[   47.751405] systemd-journald[64]: Failed to forward syslog message: Connection refused
[   47.770274] rtc_omap: disagrees about version of symbol module_layout
[   47.798174] rtc_omap: disagrees about version of symbol module_layout
[   48.571436] rtc_omap: disagrees about version of symbol module_layout
[   48.572413] rtc_omap: disagrees about version of symbol module_layout
[   50.674531] pruss_soc_bus: disagrees about version of symbol module_layout
[   51.317317] ti_emif_sram: disagrees about version of symbol module_layout
[   51.386099] omap_sham: disagrees about version of symbol module_layout
[   51.397966] omap_crypto: disagrees about version of symbol module_layout
[   51.617530] pruss_soc_bus: disagrees about version of symbol module_layout


sulogin: crypt failed: Invalid argument
Login incorrect
请教无法进入单用户模式和无法进入系统的原因,如有意见请给予回复,不胜感谢。





0
奖励5积分
2020-9-29 13:54:57   评论 分享淘帖 邀请回答
1个回答
2020-9-29 18:58:51 评论

举报

撰写答案

你正在撰写答案

如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。

高级模式
您需要登录后才可以回帖 登录 | 注册

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容图片侵权或者其他问题,请联系本站作侵删。 侵权投诉
我要提问
关闭

站长推荐 上一条 /8 下一条

快速回复 返回顶部 返回列表