Re: Serial console baudrate

From: tns1 (tns1_at_cox.net)
Date: 09/13/03


Date: Sat, 13 Sep 2003 08:18:26 -0700


>>During bootup, the baudrate for this port changes at least 3
>>times. The bios sets it to 19200 which lasts from powerup thru
>>the grub menu, and up until the kernel image is loaded. Once
>>the kernel starts, the baud rate is changed to 9600 which
>>lasts thru the kernel & network setup until just before the
>>login prompt. At this point, the baud setting in inittab is
>>applied.
>
>
> You can specify the baud rate to be used in all three phases:
> grub, kernel, getty. I recommend setting them all the same. I
> usually use 115200 baud.
>
I'll change what I can, but there is no way to change the baud rate
selected by bios, so I either match everything to 19200, or live with
not seeing the bios screen.

> Read the "remote serial console howto" at www.tldp.org:
> http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/

I'll have to play with the grub settings.
>
>>Now when I do #reboot , it looks like the baud rate is again
>>changed since there are some messages missing that I normally
>>see on a crt. Can anyone verify these different baud rate
>>regions?
>
> I don't understand the question.
>
On the serial console, I just see the 'rebooting now!' message, yet on
the regular console, I will see three or four more messages having to do
with halting, and cleaning up log files. My guess is that the kernel has
once again changed the baud back to 9600 just before shutdown. Maybe
this is all normal and forseeable if you understand the mechanics of it
all, but I expected the getty settings to remain until shutdown.

I realize I won't always see output on the serial console for certain
rate mismatches, so have I missed some other players in this 'musical
chairs' baud rate game?



Relevant Pages

  • Re: Grub
    ... But beware of what the bios exactly is!! ... It asks the disk ... Grub, for example, or Windows bootloader, or whatever... ... there is no kernel to provide access to them. ...
    (Fedora)
  • Re: download linux kernel 2.6.33.2
    ... I am running Ubuntu 8.04 with BIOS 2.6 24-27-generic. ... Fairly certain that you mean Ubuntu 8.04 with Linux Kernel 2.6.24-7 ... So first figure out whether it is the bios or grub that is giving you ...
    (Ubuntu)
  • Re: Debian bootable on external USB-harddisk
    ... > They are all on the external harddisk since I want to boot from this ... >> fail if you have placed the kernel and initrd on the external ... >> available from BIOS. ... >> grub stage one on the external disk. ...
    (comp.os.linux.setup)
  • Re: Debian bootable on external USB-harddisk
    ... >> Linux and then freeze or panic, or does it boot the OS on the internal ... the BIOS before the kernel is loaded & started. ... The grub install should ...
    (comp.os.linux.setup)
  • Re: Master =?ISO-8859-15?Q?=E4ndert?= Geometry ohne Slave
    ... Kernel zu starten. ... Wenn aber Grub das kann, ... Kernel und fdisk nicht einmal eine gültige Partitionstabelle erkennen? ... BIOS bemüht wird. ...
    (de.comp.os.unix.linux.hardware)