Currrent Grub terminal settings for input/output throw errors #10

Open
opened 2026-02-24 18:16:35 +00:00 by kashyapc · 0 comments
Owner

Problem

Right now when booting into a Fedora RISC-V kernel, we see these errors from Grub (e.g. when booting 6.6.126-200.eswin.fc43.riscv64):

error: ../../grub-core/term/serial.c:278:serial port `auto' isn't found.
error: ../../grub-core/commands/terminal.c:138:terminal `serial' isn't found.
error: ../../grub-core/commands/terminal.c:138:terminal `serial' isn't found.
cat /etc/default/grub 
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_DISABLE_RECOVERY=true
GRUB_DEFAULT_DTB="dtb/eswin/eic7700-hifive-premier-p550.dtb"
GRUB_DEVICETREE="eswin/eic7700-hifive-premier-p550.dtb"
GRUB_CMDLINE_LINUX_DEFAULT="earlycon rootflags=subvol=root"
GRUB_GFXMODE=auto
GRUB_TERMINAL_INPUT="serial"
GRUB_TERMINAL_OUTPUT="serial"
GRUB_TIMEOUT=3
GRUB_TIMEOUT_STYLE=countdown

It looks like all these three need to be fixed (this is what I have on my F4grub2-tools-2.12-40.fc43.riscv64)

GRUB_GFXMODE=auto
GRUB_TERMINAL_INPUT="serial"
GRUB_TERMINAL_OUTPUT="serial"

Temporary workaround

Jason Montleon suggests:

  • Set GRUB_TERMINAL_OUTPUT="console"
  • Delete GRUB_TERMINAL_INPUT
  • Then run something like grub2-mkconfig -o /boot/grub2/grub.cfg to regenerate it.
### Problem Right now when booting into a Fedora RISC-V kernel, we see these errors from Grub (e.g. when booting `6.6.126-200.eswin.fc43.riscv64`): ``` error: ../../grub-core/term/serial.c:278:serial port `auto' isn't found. error: ../../grub-core/commands/terminal.c:138:terminal `serial' isn't found. error: ../../grub-core/commands/terminal.c:138:terminal `serial' isn't found. ``` ``` cat /etc/default/grub GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_DISABLE_RECOVERY=true GRUB_DEFAULT_DTB="dtb/eswin/eic7700-hifive-premier-p550.dtb" GRUB_DEVICETREE="eswin/eic7700-hifive-premier-p550.dtb" GRUB_CMDLINE_LINUX_DEFAULT="earlycon rootflags=subvol=root" GRUB_GFXMODE=auto GRUB_TERMINAL_INPUT="serial" GRUB_TERMINAL_OUTPUT="serial" GRUB_TIMEOUT=3 GRUB_TIMEOUT_STYLE=countdown ``` It looks like all these three need to be fixed (this is what I have on my F4`grub2-tools-2.12-40.fc43.riscv64`) ``` GRUB_GFXMODE=auto GRUB_TERMINAL_INPUT="serial" GRUB_TERMINAL_OUTPUT="serial" ``` ### Temporary workaround Jason Montleon suggests: - Set `GRUB_TERMINAL_OUTPUT="console"` - Delete `GRUB_TERMINAL_INPUT` - Then run something like `grub2-mkconfig -o /boot/grub2/grub.cfg` to regenerate it.
kashyapc changed title from Update the terminal and GFX mode settings in Fedora RISC-V kernels to Currrent Grub settings for input/output throw errors 2026-02-24 18:17:37 +00:00
kashyapc changed title from Currrent Grub settings for input/output throw errors to Currrent Grub terminal settings for input/output throw errors 2026-02-24 18:28:35 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
riscv/planning#10
No description provided.