[Bug 2088991] [NEW] [Core] no console output on arm64 platform that is using grub to boot
Aristo Chen
2088991 at bugs.launchpad.net
Tue Nov 19 09:00:35 UTC 2024
Public bug reported:
Hi
I have an arm64 platform, and the default console/baudrate is
ttyS0,115200. Also I define the value `console=ttyS0,115200
iommu.passthrough=1 arm-smmu.disable_bypass=0` in the cmdline.extra in
gadget snap
while using ubuntu-image(version: 2.2+snap10, rev: 321), the generated grubenv in the image is
```
# GRUB Environment Block
snapd_extra_cmdline_args=console=ttyS0,115200 iommu.passthrough=1 arm-smmu.disable_bypass=0
snapd_full_cmdline_args=
snapd_recovery_kernel=/systems/20241119/snaps/ein-kernel_5.15.0-1036.40.1.snap
###################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
```
However, while using ubuntu-image(version: 3.4.1, rev: 981), the generated grubenv in the image is
```
# GRUB Environment Block
snapd_full_cmdline_args=console=ttyS0 console=tty1 panic=-1 console=ttyS0,115200 iommu.passthrough=1 arm-smmu.disable_bypass=0
snapd_recovery_kernel=/systems/20241119/snaps/ein-kernel_5.15.0-1036.40.1.snap
snapd_extra_cmdline_args=
###############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
```
After I flash the image to the device, there is no console output when
the device is in "install" mode, I can only see console output when the
device is in "run" mode
** Affects: ubuntu-image
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to Ubuntu Image.
https://bugs.launchpad.net/bugs/2088991
Title:
[Core] no console output on arm64 platform that is using grub to boot
Status in Ubuntu Image:
New
Bug description:
Hi
I have an arm64 platform, and the default console/baudrate is
ttyS0,115200. Also I define the value `console=ttyS0,115200
iommu.passthrough=1 arm-smmu.disable_bypass=0` in the cmdline.extra in
gadget snap
while using ubuntu-image(version: 2.2+snap10, rev: 321), the generated grubenv in the image is
```
# GRUB Environment Block
snapd_extra_cmdline_args=console=ttyS0,115200 iommu.passthrough=1 arm-smmu.disable_bypass=0
snapd_full_cmdline_args=
snapd_recovery_kernel=/systems/20241119/snaps/ein-kernel_5.15.0-1036.40.1.snap
###################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
```
However, while using ubuntu-image(version: 3.4.1, rev: 981), the generated grubenv in the image is
```
# GRUB Environment Block
snapd_full_cmdline_args=console=ttyS0 console=tty1 panic=-1 console=ttyS0,115200 iommu.passthrough=1 arm-smmu.disable_bypass=0
snapd_recovery_kernel=/systems/20241119/snaps/ein-kernel_5.15.0-1036.40.1.snap
snapd_extra_cmdline_args=
###############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
```
After I flash the image to the device, there is no console output when
the device is in "install" mode, I can only see console output when
the device is in "run" mode
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-image/+bug/2088991/+subscriptions
More information about the foundations-bugs
mailing list