View previous topic :: View next topic |
Author |
Message |
Hossie Tux's lil' helper
Joined: 08 Dec 2005 Posts: 116
|
Posted: Mon Feb 27, 2017 7:54 pm Post subject: OpenRC Console Log missing on Odroid XU4 |
|
|
Hi,
I installed Gentoo on an Odroid XU4 which works fine so far.
The only "gentoo specific" problem I have that the OpenRC Boot Log is missing.
I can see the kernel messages on the screen, but as soon as dracut prints "switching root" no new messages appear unti the boot is finished and the login console appears.
For me it seems like OpenRC is printing its messages on the wrong terminal.
The boot options, which I have copied from their ubuntu image are:
Code: | setenv bootrootfs "console=tty1 console=ttySAC2,115200n8 root=UUID=440855e7-de45-4537-aad0-18923c88fbf4 rootwait ro fsck.repair=yes net.ifnames=0" |
I have found nothing terminal related in the rc.conf. Can somebody help how to get OpenRC logs? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54596 Location: 56N 3W
|
Posted: Mon Feb 27, 2017 8:25 pm Post subject: |
|
|
Hossie,
Have a look at everything related to serial consoles in /etc/inittab.
Code: | console=tty1 console=ttySAC2,115200n8 |
Looks to be conflicting.
console=tty1 is your normal console on a Virtual Console.
console=ttySAC2,115200n8 is a serial port console and the serial port set up.
One of these will be used until the init script reads /etc/inittab, when it can change again. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54596 Location: 56N 3W
|
Posted: Mon Feb 27, 2017 8:27 pm Post subject: |
|
|
Moved from Other Things Gentoo to Gentoo on Alternative Architectures.
The Odroid XU4 is an ARM system _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Hossie Tux's lil' helper
Joined: 08 Dec 2005 Posts: 116
|
Posted: Mon Feb 27, 2017 10:13 pm Post subject: |
|
|
Cool, removing the console=ttySAC2 gave back the OpenRC output.
I always thought specifing two console= options gives you output on both? - At least the kernel seems to log into both (I see kernel output, but only OpenRC was missing)... |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54596 Location: 56N 3W
|
Posted: Mon Feb 27, 2017 10:19 pm Post subject: |
|
|
Hossie,
The kernel is switched between consoles.
a) built into the in-kernel kernel command line
b) on the kernel command line
c) in the initrd
d) in the inittab on the root filesystem. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|