Serial console problems with stable/8

Jeremy Chadwick freebsd at jdc.parodius.com
Mon Sep 13 06:57:01 UTC 2010


On Mon, Sep 13, 2010 at 08:37:24AM +0200, Oliver Fromme wrote:
> Greg Byshenk <freebsd at byshenk.net> wrote:
>  > On Sun, Sep 12, 2010 at 05:26:12PM +0200, Oliver Fromme wrote:
>  >  
>  > > On Friday I have updated a machine from 7.1 to stable/8.
>  > > It is connected to a serial console.  With 7.1 everything
>  > > worked fine, but with stable/8 things seem to break.
>  > 
>  > [...]
>  >  
>  > > Here's my setup (which worked perfectly fine with 7.1):
>  > > 
>  > > /boot.config:
>  > > -P
>  > > 
>  > > /boot/loader.conf:
>  > > kernel_options="-P"
>  > > console="comconsole"
>  > > 
>  > > /etc/ttys:
>  > > ttyu0   "/usr/libexec/getty std.9600"   vt100   off secure
>  > 
>  > Shouldn't this:                                   ^^^
>  > be 'on'...?
> 
> Yes, of course it *was* on (which caused the symptoms
> I described).  As I explained, I had to turn it off so
> I could at least use su(1) and shutdown(8) without
> freezing the whole thing.

Is there a PS/2 keyboard hooked up to this machine when you're
attempting to get serial console output?  If so, I'm not too surprised
it doesn't work (re: -P flag).

Can you try the following?

1) Removing kernel_options and console from loader.conf
2) Place "-P" in /boot.config instead

If this doesn't change the behaviour, please replace -P and with -D -h
and see if there's any improvement.

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



More information about the freebsd-stable mailing list