FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 11-20-2011, 01:45 PM
Roger Heflin
 
Default system console redirection - all but boot messages redirected ttyS0?

On Sat, Nov 19, 2011 at 7:19 PM, Morgan Read <mstuff@read.org.nz> wrote:
> Hello Folks
>
> I'm running f14 (still)
>
> I've successfully configured my machine (hp ml150 g3) to redirect bios,
> grub menu and login prompt - but, between the grub menu and the login
> prompt I'm missing the boot messages. *If I remove "quiet" from
> grub.conf's kernel line I get kernel messages reported to ttyS0, but
> leaving "quiet" in boot messages are report to tty0 but not ttyS0.
>
> Any pointers any one has would be much appreciated?
>
> (The most up-to-date information I've found seems to be here:
> http://fedoraproject.org/wiki/How_to_debug_Dracut_problems#Configure_a_serial_co nsole
> Anything else out there?)
>



The kernel generated messages will go to all consoles.

The messages from userspace (ie rc script) will only go to the last
console= listed, it has been that way pretty much forever I don't
believe anyone has looked into what changes would be needed in the rc
script to allow output to go to more than 1 console.

The only solution I have previously done is to adjust the rc scripts
to use tee and go to both console, but this is a major pain as you
have to redo it with each rc script upgrade, in that case we had our
own custom distribution for a 1000+ machines that was only being
updated every 9-12 months so it was possible to keep the required
changes with updates.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 11-24-2011, 04:04 AM
Morgan Read
 
Default system console redirection - all but boot messages redirected ttyS0?

On 21/11/11 03:45, Roger Heflin wrote:
> On Sat, Nov 19, 2011 at 7:19 PM, Morgan Read <mstuff@read.org.nz> wrote:
>> Hello Folks
>>
>> I'm running f14 (still)
>>
>> I've successfully configured my machine (hp ml150 g3) to redirect bios,
>> grub menu and login prompt - but, between the grub menu and the login
>> prompt I'm missing the boot messages. If I remove "quiet" from
>> grub.conf's kernel line I get kernel messages reported to ttyS0, but
>> leaving "quiet" in boot messages are report to tty0 but not ttyS0.
>>
>> Any pointers any one has would be much appreciated?
>>
>> (The most up-to-date information I've found seems to be here:
>> http://fedoraproject.org/wiki/How_to_debug_Dracut_problems#Configure_a_serial_co nsole
>> Anything else out there?)
>>
>
>
>
> The kernel generated messages will go to all consoles.
>
> The messages from userspace (ie rc script) will only go to the last
> console= listed, it has been that way pretty much forever I don't
> believe anyone has looked into what changes would be needed in the rc
> script to allow output to go to more than 1 console.
>
> The only solution I have previously done is to adjust the rc scripts
> to use tee and go to both console, but this is a major pain as you
> have to redo it with each rc script upgrade, in that case we had our
> own custom distribution for a 1000+ machines that was only being
> updated every 9-12 months so it was possible to keep the required
> changes with updates.

Hi Roger

Thanks for getting back - I followed your instructions. It seemed I
needed to swap console=ttyS0 and console=tty0 BUT opposite from what you
suggested. That is, console=ttyS0 was last and by swapping it with
console=tty0 and making console=ttyS0 listed first I had rc script
(userspace) messages reported to ttyS0... Strange?

Stranger still, when I did the above, I stopped getting a login prompt
on ttyS0. So, swapping as I said above (opposite to your suggestion)
gave me rc script messages to ttyS0 and no login...

Do you have any ideas how to get the login prompt back?

Regards,
Morgan.


--
Morgan Read
NEW ZEALAND
<mailto:mstuffATreadDOTorgDOTnz>

Confused about DRM?
Get all the info you need at:
http://drm.info/
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 11-24-2011, 04:27 AM
Chris Adams
 
Default system console redirection - all but boot messages redirected ttyS0?

Once upon a time, Morgan Read <mstuff@read.org.nz> said:
> Thanks for getting back - I followed your instructions. It seemed I
> needed to swap console=ttyS0 and console=tty0 BUT opposite from what you
> suggested. That is, console=ttyS0 was last and by swapping it with
> console=tty0 and making console=ttyS0 listed first I had rc script
> (userspace) messages reported to ttyS0... Strange?
>
> Stranger still, when I did the above, I stopped getting a login prompt
> on ttyS0. So, swapping as I said above (opposite to your suggestion)
> gave me rc script messages to ttyS0 and no login...
>
> Do you have any ideas how to get the login prompt back?

It is a bug in plymouth (which provides the graphical boot animations).
You can add "rd_NO_PLYMOUTH" to your boot line (as long as you don't
have encrypted filesystems) and the serial console should work as
expected (with console=ttyS0 listed after console=tty0).

I think it is fixed in newer plymouth, but I'm not sure. I see the bug
on RHEL 6 systems, and the fix has not been released there yet.
--
Chris Adams <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 11-26-2011, 07:46 AM
Morgan Read
 
Default system console redirection - all but boot messages redirected ttyS0?

On 24/11/11 18:27, Chris Adams wrote:
> Once upon a time, Morgan Read <mstuff@read.org.nz> said:
>> Thanks for getting back - I followed your instructions. It seemed I
>> needed to swap console=ttyS0 and console=tty0 BUT opposite from what you
>> suggested. That is, console=ttyS0 was last and by swapping it with
>> console=tty0 and making console=ttyS0 listed first I had rc script
>> (userspace) messages reported to ttyS0... Strange?
>>
>> Stranger still, when I did the above, I stopped getting a login prompt
>> on ttyS0. So, swapping as I said above (opposite to your suggestion)
>> gave me rc script messages to ttyS0 and no login...
>>
>> Do you have any ideas how to get the login prompt back?
>
> It is a bug in plymouth (which provides the graphical boot animations).
> You can add "rd_NO_PLYMOUTH" to your boot line (as long as you don't
> have encrypted filesystems) and the serial console should work as
> expected (with console=ttyS0 listed after console=tty0).
>
> I think it is fixed in newer plymouth, but I'm not sure. I see the bug
> on RHEL 6 systems, and the fix has not been released there yet.

Ah, of course I should have searched bugzilla...
Is this the bug here:
https://bugzilla.redhat.com/show_bug.cgi?id=691374#c4
?

Many thanks,
M.


--
Morgan Read
NEW ZEALAND
<mailto:mstuffATreadDOTorgDOTnz>

Confused about DRM?
Get all the info you need at:
http://drm.info/
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 09:08 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org