Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[202012 branch] UART issue on booting stage #11238

Closed
dereksun01 opened this issue Jun 23, 2022 · 4 comments
Closed

[202012 branch] UART issue on booting stage #11238

dereksun01 opened this issue Jun 23, 2022 · 4 comments
Labels
ACCTON Triaged this issue has been triaged

Comments

@dereksun01
Copy link
Contributor

Description

The number b9a3edd of commit-ID that UART parameter of Cisco linux kernel configuration will cause our platform not to dump any message on booting stage.

Fail parameter:
"CONFIG_SERIAL_8250_RUNTIME_UARTS=32"

Pass parameter:
"CONFIG_SERIAL_8250_RUNTIME_UARTS=4"

Steps to reproduce the issue:

  1. Download lastly 202012 SONiC image on Accton as5835_54x.
  2. Booting platform.

Describe the results you received:

  • On initial ramdisk stage, console port will not to dump any messages.

Describe the results you expected:

  • Platform will dump any messages on booting stage.

Output of show version:

SONiC Software Version: SONiC.202012.108060-4f19945b4
Distribution: Debian 10.12
Kernel: 4.19.0-12-2-amd64
Build commit: 4f19945b4
Build date: Thu Jun  9 14:25:37 UTC 2022
Built by: AzDevOps@sonic-build-workers-001LPY

Platform: x86_64-accton_as5835_54x-r0
HwSKU: Accton-AS5835-54X
ASIC: broadcom
ASIC Count: 1
Serial Number: 583554X1218123

Output of show techsupport:

Additional information you deem important (e.g. issue happens only occasionally):

@zhangyanzhao
Copy link
Collaborator

Can Accton team help to take a look? Is this Accton platform specific or applicable to other platforms? Please work with Cisco if required.

@zhangyanzhao
Copy link
Collaborator

@dereksun01 can you please join the issue triage meeting next time if the issue stil there?

@dereksun01
Copy link
Contributor Author

@zhangyanzhao , It's great and what's the meeting time? My location is Taiwan.

saiarcot895 pushed a commit to sonic-net/sonic-linux-kernel that referenced this issue Jul 28, 2022
Issue:
UART parameter of Cisco linux kernel configuration will cause Accton platform
not to dump any message on booting stage.

See sonic-net/sonic-buildimage#11238.

Fix:
Remove SERIAL_8250_RUNTIME_UARTS config. This will be passed as bootargs to the
kernel during bootup (8250.nr_uarts=32).

Signed-off-by: Madhava Reddy Siddareddygari <msiddare@cisco.com>

Co-authored-by: Madhava Reddy Siddareddygari <msiddare@cisco.com>
@saiarcot895
Copy link
Contributor

The kernel config that was causing this issue has been reverted in 3d81b61. Closing this issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
ACCTON Triaged this issue has been triaged
Projects
None yet
Development

No branches or pull requests

3 participants