lowRISC / lowRISC/lowrisc-chip

Boot form SD and in emergency mode

Open
#205 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SystemVerilog
Stars
601
Forks
147
PR merge metrics
No merged PRs in 30d

Description

when i boot from SD with debian written in , it will enter emergency mode. what i used is genesys2_ariane_xilinx.new.mcs and rootfs.tar.xz download from https://github.com/lowRISC/lowrisc-chip/releases

the message is as flowed:

[ 132.544006] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
[ 134.478956] EXT4-fs (rda2): re-mounted. Opts: (null)
[ OK ] Started Remount Root and Kernel File Systems.
Starting Flush Journal to Persistent Storage...
Starting Load/Save Random Seed...
Starting Create System Users...
[ 143.211178] systemd-journald[90]: Received client request to flush runtime journal.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Create System Users.
Starting Create Static Device Nodes in /dev...
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Reached target Local File Systems (Pre).
Starting udev Kernel Device Manager...
[ OK ] Started udev Kernel Device Manager.
[ TIME ] Timed out waiting for device /dev/hvc0.
[DEPEND] Dependency failed for Serial Getty on hvc0.
[ TIME ] Timed out waiting for device /dev/rda1.
[DEPEND] Dependency failed for File System Check on /dev/rda1.
[DEPEND] Dependency failed for /mnt/dos.
[DEPEND] Dependency failed for Local File Systems.
[ TIME ] Timed out waiting for device /dev/rda4.
[DEPEND] Dependency failed for /home.
[DEPEND] Dependency failed for File System Check on /dev/rda4.
[ TIME ] Timed out waiting for device /dev/rda3.
[DEPEND] Dependency failed for /dev/rda3.
[DEPEND] Dependency failed for Swap.
[ OK ] Stopped Dispatch Password …ts to Console Directory Watch.
[ OK ] Stopped Forward Password R…uests to Wall Directory Watch.
[ OK ] Reached target Timers.
Starting Enable support fo…l executable binary formats...
[ OK ] Reached target Login Prompts.
Starting Preprocess NFS configuration...
[ OK ] Closed Syslog Socket.
[ OK ] Reached target Sockets.
[ OK ] Started Emergency Shell.
[ OK ] Reached target Emergency Mode.
Starting Create Volatile Files and Directories...
[ OK ] Started Enable support for…nal executable binary formats.
[ OK ] Started Preprocess NFS configuration.
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default mode.
Give root password for maintenance
(or press Control-D to continue):
root@lowrisc:~# ls
root@lowrisc:~# cd [ 395.732706] random: crng init done

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the genesys2_ariane_xilinx.new.mcs image and rootfs.tar.xz, then inspect journalctl -xb from emergency mode. Compare the boot configuration with the missing /dev/hvc0 and /dev/rda1 through /dev/rda4 devices; done means Debian boots normally without emergency mode and the expected mounts, swap, and serial getty start.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian, linux
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.