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
ppc64: getty not started on /dev/hvsi0 or /dev/hvc0 in rescue image #537
Comments
No problem, please submit a pull request. Since PPC64 hardware is rather seldom we need contributions from users because only you can know what actually works. |
I've got something working, but it might not be the best solution. I'm working with RHEL6. There is no /etc/init directory in the ppc64 skel tree. I created it, then put a hvc0.conf and hvsi.conf in there with respawn agetty commands. This solution doesnt use USE_SERIAL_CONSOLE, but seems to work. |
@jayfurmanek What is the content of |
My system is running RHEL6, and the /etc/init directory looks pretty much the same as it does on an x86-64 system:
The cmdline does include the console entry (this one is using a serial cable console)
I probably do want to make sure the console= parameter is correct and to leverage the USE_SERIAL_CONSOLE param..just have to figure it out. |
@jayfurmanek I guess you have
Would you able to test this out for me? |
Sure. Thanks. I'll give it a shot. |
BTW - there /dev/ttyS* files do exist. The system doesn't use them for the console, though. |
So your addition does indeed produce the console parameter on the kernel comand line, which is good:
(The above test is on a virtual "LPAR", so the console is hvc0 there) The agetty still needs to be started, to get the login prompt, however. If I SSH in to the rescue OS and run:
The login prompt pops up on the console. |
Thanks for pointing me in the right direction, I think I got it figured out now.
That kicks up the gettys on the hvc0 console. I still need to test the serial console (hvsi0), but I'm confident that it will work there too. |
The change you proposed to rescue/GNU/Linux/40_use_serial_console.sh ended up not making much of a difference. Below in that same file, console=tty0 is tacked on to the cmdline and the kernel takes the last console= parameter first. So when USE_SERIAL_CONSOLE is set to yes, you loose some of the boot time messages (as they are directed to /dev/tty0) It's probably best just to have USE_SERIAL_CONSOLE set to NO for this platform. |
@jayfurmanek could you tell me how the |
Upstart executes those config files.
|
added to the release notes so we can close this issue |
On IBM ppc64 systems, the console is on /dev/hvsi0 when using the serial port. When using a virtual TTY (through a Hardware Management Console or something), the console is on /dev/hvc0. We would need an addition in the ppc64 skel tree to make sure init starts a getty is the correct places for these systems.
SSH with a key does work as a workaround.
The text was updated successfully, but these errors were encountered: