Booting Rasp Pi 3B from SSD ends up in emergency mode

Raspberry Pi 2

Booting Rasp Pi 3B from SSD ends up in emergency mode

Postby MCMXCV » Sun Sep 26, 2021 11:10 pm

Hi, I am a completely noob in the arch ARM game. I also already searched for guidance on this topic but I didn't find anything.

I installed Arch on a Raspberry Pi 3B, following this guide: https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3 but instead of installing it on a sd-card, I installed on a hard drive. At first glance everything seemed to work finde. But unfortunately it booted in emergency mode.

$this->bbcode_second_pass_code('', 'journalctl-xb -p warning') gave me this:

$this->bbcode_second_pass_code('', '
-- Journal begins at Wed 2021-05-19 14:11:18 UTC, ends at Sun 2021-09-26 22:22:14 UTC.
May 19 14:11:18 alarm kernel: usb_phy _generic phy: supply vcc not found, using dummy regulator
May 19 14:11:18 alarm kernel: cacheinfo: Unable to detect cache hierarchy for CPU 0
May 19 14:11:18 alarm kernel: dwc2 3f980000.usb: supply vusb_d not found, using dummy regulator
May 19 14:11:18 alarm kernel: dwc2 3f980000.usb: supply vusb_a not found, using dummy regulator
May 19 14:11:18 alarm kernel: mmc1: queuing unknown CIS tuple OxB0 (2 bytes)
May 19 14:11:18 alarm kernel: mmc1: queuing unknown CIS tuple Ox80 (3 bytes)
May 19 14:11:18 alarm kernel: mmc1: queuing unknown CIS tuple Ox80 (3 bytes)
May 19 14:11:18 alarm kernel: mmc1: queuing unknown CIS tuple Ox80 (7 bytes)
May 19 14:11:18 alarm kernel: mmc1: usb 1-1.3: The driver for the USB controller dwc2_hsotg does not support scatter-gather which is
May 19 14:11:18 alarm kernel: mmc1: usb 1-1.3: required by the UAS driver. Please try an other USB controller if you wish to use UAS
May 19 14:11:18 alarm kernel: mmc1: usb 1-1.3: The driver for the USB controller dwc2_hsotg does not support scatter-gather which is
May 19 14:11:18 alarm kernel: mmc1: usb 1-1.3: required by the UAS driver. Please try an other USB controller if you wish to use UAS
May 19 14:11:18 alarm kernel: mmc1: snd_bcm2835 : module is from the staging directory, the quality is unknown, you have been warned.
May 19 14:11:18 alarm kernel: mmc1: i2c-bcm2835 3f805000.i2c: Could not read clock-frequency property
May 19 14:11:18 alarm kernel: mmc1: bcm2835 _mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned
May 19 14:11:18 alarm kernel: mmc1: bcm2835_v412: module is from the staging directory, the quality is unknown, you have been warned
May 19 14:11:18 alarm kernel: mmc1: hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
May 19 14:11:18 alarm kernel: mmc1: hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
May 19 14:11:18 alarm kernel: mmc1: debugfs: Directory '3f902000.hdmi' with parent 'vc4-hdmi' already present!
May 19 14:11:18 alarm kernel: mmc1: uc4_hdmi 3f902000.hdmi: ASoC: no DMI vendor name!
May 19 14:11:18 alarm systemd-udevdt301]: cfg80211: Process '/usr/bin/set-wireless-regdom' failed with exit code 1.
May 19 14:12:46 alarm systemd[1]: dev-mmcblk0p1.device: Job dev-mmcblk0p1.device/start timed out.
May 19 14:12:46 alarm systemd[1]: Timed out waiting for device /dev/mmcblk0p1.
-- Subject: A start job for unit dev-mmcblk0p1.device has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit dev-mmcblk0p1.device has finished with a failure.
--
-- The job identifier is 58 and the job result is timeout.
May 19 14:12:46 alarm systemdl1]: Dependency failed for /boot.
-- Subject: A start job for unit boot. mount has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit boot.mount has finished with a failure.
--
-- The job identifier is 57 and the job result is dependency.
May 19 14:12:46 alarm systemdl1l: Dependency failed for Local File Systems.
-- Subject: A start job for unit local-fs.target has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit local-fs.target has finished with a failure.
--
-- The job identifier is 56 and the job result is dependency.
')

I strongly assume that this is related to the fact that i am booting from a hard disk and not from an sd-card, but unfortunately i have no idea at all which warnings are relevant for me here. I say it again: noobie here and I could need a little guidance <3.
MCMXCV
 
Posts: 3
Joined: Sun Sep 26, 2021 10:13 pm

Re: Booting Rasp Pi 3B from SSD ends up in emergency mode

Postby summers » Sun Sep 26, 2021 11:52 pm

When you say emergency mode, so you mean the iniramfs shell? If so bit surprised systemd and audit are running. Anyway that usually happens when the kernel can't find root. Check $this->bbcode_second_pass_code('', 'dmesg') and then see if you can find root. Probably you need and additional kernel module, in which case need to add it to the initramfs via mkinitcpio.
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: Booting Rasp Pi 3B from SSD ends up in emergency mode

Postby unformatted » Mon Sep 27, 2021 5:58 am

I had a simmilar experience when on RPi4 after replacing the linux-aarch64 kernel with linux-raspberrypi4 kernel. Turned out I had to change the fstab rule for the SD card. In you case I would check fstab for the correct hard drive rule.
unformatted
 
Posts: 119
Joined: Tue Mar 09, 2021 5:23 pm

Re: Booting Rasp Pi 3B from SSD ends up in emergency mode

Postby MCMXCV » Mon Sep 27, 2021 8:54 am

$this->bbcode_second_pass_quote('summers', 'W')hen you say emergency mode, so you mean the iniramfs shell?

I am actually not quite sure. after booting I get a message, stating
$this->bbcode_second_pass_code('', '
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.')
(booting in default mode ends up with the same message)

$this->bbcode_second_pass_quote('summers', 'C')heck $this->bbcode_second_pass_code('', 'dmesg') and then see if you can find root. Probably you need and additional kernel module, in which case need to add it to the initramfs via mkinitcpio.


$this->bbcode_second_pass_code('', 'dmesg | grep root') gave me:
$this->bbcode_second_pass_code('', '
[ 0.000000] Kernel command line: console=ttyS1,115200 console=tty0 root=PARTUUID=96Ze7aca-02 rw rootwait smsc95oc.macaddr=-b8:27 :eb:86:10:a0
[ 2.3220B0] Trying to unpack rootfs image as initramfs..')
Unfortunately I don't know what that means.
MCMXCV
 
Posts: 3
Joined: Sun Sep 26, 2021 10:13 pm

Re: Booting Rasp Pi 3B from SSD ends up in emergency mode

Postby MCMXCV » Mon Sep 27, 2021 9:03 am

$this->bbcode_second_pass_quote('unformatted', 'T')urned out I had to change the fstab rule for the SD card. In you case I would check fstab for the correct hard drive rule.


Thank you a lot, that did the trick. I am eternally indebted to you! :D
MCMXCV
 
Posts: 3
Joined: Sun Sep 26, 2021 10:13 pm
Top


Return to Broadcom

Who is online

Users browsing this forum: No registered users and 4 guests