Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2010 13:03:05 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Randy Bush <randy@psg.com>
Cc:        stable <stable@freebsd.org>
Subject:   Re: beastiality
Message-ID:  <20101027200305.GA35927@icarus.home.lan>
In-Reply-To: <m2eibbs9jf.wl%randy@psg.com>
References:  <m2eibbs9jf.wl%randy@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 28, 2010 at 04:47:00AM +0900, Randy Bush wrote:
> on the serial console, i am seeing twirlies doubled, as in
>=20
> //
>=20
> and the beastie is very tortured
>=20
>  +-----------------------------------------++=BF=C4-=C4-=C4-=C4-=C4-=C4-=
=C4-=C4-=C4-=C4-=C4-=C4-=C4-=C4-=C4-=C4-=C4-=C4|=C4-=C4                    =
                  ||=B3
>  ||=B3                                       ||=B3             ,        ,=
     ,,     ||=B3        ,,                             ||=B3            /(=
        )`  //((     ||=B3        Welcome to FreeBSD!oo  FFrreeee|BSSDD!!  =
     \ \___   / |  \\  \\___||=B3      //  ||                           ||=
=B3            /- _  `-/  '  //--  __ ||=B3``--//    ''                    =
       ||=B3           (/\/ \ \   /\((//\\//  \||=B31. Boot FreeBSD [defaul=
t]BSSDD  [[ddeef|aauulltt]]   / /   | `    \/  //     ||=B32. Boot FreeBSD =
with ACPI enabledwiitth|  AACCPPII  eennaab) /    |/        |||=B33. Boot F=
reeBSD in Safe ModeDD  iinn  S|a            `-^--'`<     '`--^^----'||=B34.=
 Boot FreeBSD in single user moden  s|i           (_.)  _  )   /ddee))    _=
||=B35. Boot FreeBSD with verbose loggingtth|             `.___/`    /     =
  ____/||=B36. Escape to loader promptllooaaddeerr |p              `-----' =
/      ``-----||=B37. Rebootebboooott                     || <----.     __ =
/ __   \  ____  //  _||=B3      \\                               || <----|=
=3D=3D=3D=3DO)))=3D=3D) \) /=3D=3D=3D=3D|)))=3D=3D=3D=3D)||=B3\\))  //=3D=
=3D=3D=3D=3D=3D=3D=3D||                     || <----'    `--' `.__,' \`----=
''  ``.||=B3__,,''  \\                             ||              |       =
 |     ||     ||=B3        ||                             ||               =
\       /       /\   ||=B3Select option, [Enter] for defaultEnntt|e        =
  ______( (_  / \______/_(( ||=B3or [Space] to pause timer  H--11  ussee|  =
       ,'  ,-----'   |  ,,---------+---------------------------------------=
--++        `--{__________) -=C4-=C4-=C4-=C4-=C4-=C4-=C4-=C4_____)) =20
>
> [...]
> spare.psg.com:/root# cat /boot/loader.conf.local
> loader_logo=3Dbeastie
> #
> console=3D"comconsole vidconsole"
> comconsole_speed=3D"9600"
> #
> ipfw_load=3DYES

This is often caused by a combination of two things being enabled
simultaneously: BIOS-level serial console redirection after POST, and
FreeBSD's serial console support.  Effectively, the system BIOS is
"redirecting" VGA output to the serial port, while simultaneously
FreeBSD is doing serial console.

But I've seen different behaviour on different hardware over the years
when the first option is enabled.

- "Doubling of characters" like the above (but sometimes not doubled)
- System hard locking (reset/power cycle required) the instant the boot
  loader tries to do serial (some of my Yahoo! colleagues can confirm
  this one, even when using RedHat)
- System boots/runs fine but no serial output is visible past loader

I have some older Supermicro systems which do even weirder things when
the option is enabled, like lock up after loader.  I've also see
different behaviour on RELENG_7 than I do RELENG_8.

Back to Supermicro systems -- the aforementioned feature is usually
labelled as "Continue C.R. After POST" (C.R. stands for Console
Redirection).  This is not the same thing as disabling BIOS-level serial
console entirely, just that the "Agent" (some sort of interrupt tie-in)
isn't retained after POST.

If your system offers the BIOS option, you can try turning it off and
see if things improve.  Be aware that you will lose the ability to
access things like Option ROMs (SCSI BIOSes, Intel NIC PXE boot
information, etc.).

If your system doesn't offer that BIOS option, then possibly just
leaving console as its default will suffice.

--=20
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101027200305.GA35927>