-
Notifications
You must be signed in to change notification settings - Fork 14
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
Burmilla v1.9.1 ISO's console boot up takes a very long time #65
Comments
okay, I tried it again. It actually took about 1 min or so, but one has to press some key to call out the console prompt. |
Why is this issue closed? It's still an issue for me. |
reopening then. it seems that I need to press an "Enter" or something, and eventually the prompt will show up. sometimes it is rather fast, sometimes it is not. if there is no key press, the prompt does not come out, and it is unclear when it starts accepting key press. |
Like commented on #50 (comment) boot process is asynchronous which why it depends on platform which order those gets loaded. Especially when booting from ISO. However as BurmillaOS is based on RancherOS so I would like understand if there is measurable difference between those too? Especially compared to RancherOS with Debian console. |
rancheros v1.5.6 's official iso does not have this issue. neither does v1.5.8 I do not think those are using the debian console though. maybe the console is the issue? and for this issue, I do not see the burmilla splash (the BurmillaOS ascii art). it is more like the console takes a much longer time than rancher to get ready for use. |
RancherOS defaults to that super tiny and completely useless console called for default. To simplify maintenance and having to more useful toolset on console we decided to use Debian as baseline and drop other on #9 If you want test RancherOS boot with Debian console it should be possible by giving kernel parameter
on boot menu. And to test exactly same way you need generate custom iso with cached Debian console https://rancher.com/docs/os/v1.x/en/installation/custom-builds/custom-rancheros-iso/#building-with-a-different-console |
hmm... from my point of view, the current console in the burmilla's iso no longer has utilities like also note that the current console has a fairly non-trivial |
Yea this is the second reason why I wanted to lock to just one console. On RancherOS there is six different console options and each of those have different tooling/features/issues. Now when we have just one we can fix those just once one. Feel free to open up PR about adding those.
Those was added on #31 to enable colors to console. At least on my envs those works fine no matter if I login from console or using SSH. Improvements are welcome. |
oh, there is the will look into possible PRs. still needs more investigation on why the long delay on showing the prompt though. |
Sure but would be good if someone can investigate if that was issue already on RancherOS with Debian console or if that was created by switching to Debian buster. |
I have been playing a lot with QEMU now and I haven't seen this issue on there so looks like virtual box related issue. Can you try boot on virtual box using debug option from boot menu to see if that will give us more details about where it is stuck? |
this issue also occurs on bare metal. it is not only virtual box related. |
I see that stuff is stuck at Calling |
I used rancher.debug=true. And that's all related output in /var/log/message: |
crng is part of os-base which is build using buildroot. v1.9.x versions are based on very old buildroot 2018.02.11 and it cannot be updated because newer versions of it does not support 4.14.x kernels. However if that it the case then problem is most probably already fixed on v2.0.0-beta4 which is based on buildroot 2020.02.8 and most probably contains crng corrections too. |
Btw. I eventually figured out how to build kernel 4.14.x compatible OS base with latest Buildroot (https://github.com/burmilla/os-base/tree/kernel-4.14.x and https://github.com/burmilla/os-initrd-base/tree/kernel-4.14.x) so v1.9.2-rc3 is now based on Buildroot 2021.02.2. How it looks is that any better? (and especially not worse than earlier)? |
Burmilla v1.9.1 ISO's console boot up takes a very long time, about 5+ minutes.
The console stops at message "BurmillaOS v1.9.1 started.", and silently it will be stuck there for about 5+ minutes.
I am not sure what it is waiting on.
This can be reproduced by using a VirtualBox VM that boots the ISO. non-ISO based booting (e.g. boot from hard drive after installation) does not seem to have this same issue.
The next message on dmesg is "random: crng init done". maybe it is initializing the random number generator? It feels an unexpected long time for that.
Another guess would be it is downloading something, but even for that 5+ minutes seems too long.
The text was updated successfully, but these errors were encountered: