Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenRC Console Log missing on Odroid XU4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
Hossie
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2005
Posts: 116

PostPosted: Mon Feb 27, 2017 7:54 pm    Post subject: OpenRC Console Log missing on Odroid XU4 Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Mon Feb 27, 2017 8:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Mon Feb 27, 2017 8:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hossie
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2005
Posts: 116

PostPosted: Mon Feb 27, 2017 10:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Mon Feb 27, 2017 10:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum