New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry Pi: serial-functions.sh BugError when no /dev/ttyS[0-9]* exists #2914
Comments
This is the relevant excerpt of the log:
The crucial line therein is the plain
which comes from this code in lib/serial-functions.sh
online at Because there is a global It was (up to this issue) an unexpected exceptional case @arkansas-coder
and/or
to tell ReaR that there are no serial console device nodes See the section |
Thanks for the quick response and solution. |
I still need to fix this issue |
@arkansas-coder With all due respect how will you boot from the DR image on a Pi4? As far as I know there is node code for that part. |
In lib/serial-functions.sh make the get_serial_console_devices() function fail-safe if no serial device node exists, see #2914
In lib/serial-functions.sh make the get_serial_console_devices() function fail-safe if no serial device node exists, see #2914
With #2915 merged |
In lib/serial-functions.sh make the get_serial_console_devices() function fail-safe if no serial device node exists, see rear#2914
This my first time using ReaR and have run into the error below. It may be an error or, more likely, something that I am doing wrong.
Relax-and-Recover (ReaR) Issue Template
Fill in the following items before submitting a new issue
(quick response is not guaranteed with free support):
ReaR version ("/usr/sbin/rear -V"):
2.7 / Git
OS version ("cat /etc/os-release" or "lsb_release -a" or "cat /etc/rear/os.conf"):
Debian 11
ReaR configuration files ("cat /etc/rear/site.conf" and/or "cat /etc/rear/local.conf"):
OUTPUT=PXE
OUTPUT_URL=nfs://192.168.0.116/volume1/local-network/system/rear
Hardware vendor/product (PC or PowerNV BareMetal or ARM) or VM (KVM guest or PowerVM LPAR):
Raspberry Pi 4B
System architecture (x86 compatible or PPC64/PPC64LE or what exact ARM device):
arm64`
Firmware (BIOS or UEFI or Open Firmware) and bootloader (GRUB or ELILO or Petitboot):
Raspberry OS
Storage (local disk or SSD) and/or SAN (FC or iSCSI or FCoE) and/or multipath (DM or NVMe):
local disk, backup is nfs
Storage layout ("lsblk -ipo NAME,KNAME,PKNAME,TRAN,TYPE,FSTYPE,LABEL,SIZE,MOUNTPOINT"):
Description of the issue (ideally so that others can reproduce it):
BUG in serial-functions.sh line 26: '''get_serial_device_speed() called for '''rear''' which is no character device'''
Workaround, if any:
Attachments, as applicable ("rear -D mkrescue/mkbackup/recover" debug log files):
To paste verbatim text like command output or file content,
include it between a leading and a closing line of three backticks like
The text was updated successfully, but these errors were encountered: