-
Notifications
You must be signed in to change notification settings - Fork 29
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
can't get system log from clearlinux AWS VM #1078
Comments
This is most likely due to kernel output not going to Can you boot an instance and show the contents of |
login AWS clear VM,
login AWS ubuntu VM,
|
Compare kernel cmdline between clearlinux and Ubuntu in AWS, clear use console=tty0 but ubuntu is console=tty1 |
@jwang11 can you try modifying the boot options such that |
AWS image use legacy bios and syslinux as bootloader. I just change kernel boot parameter console=tty1 in /boot/syslinux.cfg, but still can't get system log from dashboard. I will take a look at Ubuntu kernel config. |
Root caused (partially) Our AWS kernel has serial port support disabled. This is what is used to generate the system logs. The kernel configs are correct as far as I can see, therefore, once we fix the kernel to include serial port support, it should just start working. @miguelinux can you enable the following options in the
These are |
The early serial console is enabled as built-in at |
Requested-at: clearlinux/distribution#1078
@jwang11 can you confirm this is working after the configuration was enabled in the kernel? |
Create and launch clearlinux VM instance in AWS cloud. From AWS EC2 dashboard, click Instances -> Action -> Instance setting -> Get system log. There is nothing output.
However, in Ubuntu 18.04 instance, when click "Get system log", I can see a lot of journal log message including kernel message and other syslog like below.
The text was updated successfully, but these errors were encountered: