Skip to content

No prompt available in graphic mode but serial console #191

Open

Description

@anncheng-arm

Failure/Symptom

No prompt available after booting into ACS via graphic mode but working fine in serial console.
Unplug/plug external USB device, the USB messages were output properly in graphic mode/serial mode which means vga driver works properly, looks more like inittab/init script issues.

Booting logs from serial console: acs_console.zip

image

Configuration

  • System: RaspberryPI 4
  • ACS Version:

Activity

  1. anncheng-arm commented on Jun 13, 2024

    @anncheng-arm
    ContributorAuthor

    I cannot find root.sh in entire file system which is used by initab, is this set correctly?

    console::respawn:/sbin/getty -n -L -l /root.sh console 0 vt100

  2. chetan-rathore commented on Jun 19, 2024

    @chetan-rathore
    Contributor

    Hello @anncheng-arm,

    Omitting console=ttys0 and tty=AMA0 from the command line worked on rpi4, can you please check if it works on the DUT.

    Thanks,
    ACS team

  3. anncheng-arm commented on Jun 19, 2024

    @anncheng-arm
    ContributorAuthor

    @chetan-rathore

    Here is Linux Kernel document to explain how /dev/console binds to getty (tty0 – graphic mode, ttyS0 – Serial console for 16550, ttyAMA0 – ARM UART PL011).
    serial-console

    I've also tested this on my RPi4 and Ampere system. Removing ttyS0 and ttyAMA0 results in /dev/console binding to tty0, which is why you can see output and prompts on the graphical interface. However, this also means there is no init.sh output and prompt from the serial port anymore. You can simply move tty0 to be the last parameter, and the output/prompt will then go to the graphical mode.

    I reported this issue because ODMs typically check from the graphical interface first. If there is no prompt, they might think the system has hung during testing. However, I am guessing if ACS is designed intentionally to direct all tests and prompts to the serial console only, it prevents accidental resets or test terminations from the different shell session of graphical interface(tty0).

    We may not need to address this issue if this design is intentional. Or we may just need to init the getty tty0 properly in /etc/inittab to get it to prompt which is good enough.

  4. changed the title [-][AmpereAltraMax] No prompt available in graphic mode but serial console[/-] on Jun 20, 2024
  5. r1chard-lyu commented on Aug 7, 2025

    @r1chard-lyu

    Hi all,
    It's good to see that someone has identified this issue. I encountered the same issue while testing ACS on an Ampere server using iLO6. The prompts are not visible on the graphical interface. Following the suggestion in the comment, redirecting the console output resolves the issue.

    I hope this can be properly fixed in the prebuilt image, as running server compliance tests remotely is very common.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Systemready-bandSR-band specific issues/enhancements/questions.

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions