Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2001 13:48:32 -0400 (AST)
From:      The Hermit Hacker <scrappy@hub.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        <freebsd-current@FreeBSD.org>
Subject:   RE: Using serial console to debug system hangs ...
Message-ID:  <Pine.BSF.4.33.0103041344330.33622-100000@mobile.hub.org>
In-Reply-To: <XFMail.010304093430.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 4 Mar 2001, John Baldwin wrote:

>
> On 04-Mar-01 The Hermit Hacker wrote:
> > On Sat, 3 Mar 2001, John Baldwin wrote:
> >
> >>
> >> On 04-Mar-01 The Hermit Hacker wrote:
> >> >
> >> > Wow, that was painful ... after 2 hrs, I got as far as:
> >>
> >> Yeah, it spews out a lot of crap. :-/  You prolly want to use a 115200
> >> serial
> >> console if at all possible.  Should've mentioned that earlier..
> >
> > Okay, reading NOTES, it says that 9600 is the default ... does that mean I
> > should be able to attach at 115200 and it should auto-upgrade, or do I
> > have to recompile kernel iwth CONSPEED=115200 for this?
>
> Either recompile or use the loader tunable 'machdep.conspeed' I think.
> However, you'll probably want the bootstrap to work on teh serial console as
> well, in which case you need to set the speed in make.conf (see
> /etc/defaults/make.conf) and recompile and reinstall boot2 and the loader.

Okay, now you are going beyond my experiences :(

First, I changed CONSPEED to 115200, but sysctl is still registering 9600:

thelab# sysctl machdep.conspeed
machdep.conspeed: 9600

manually doing 'sysctl -w machdep.conspeed=115200' appears to work though
...

But, after modifying my make.conf, what do I have to recompile?  Are we
just talking a rebuild and install of the kernel itself?  I'm going to try
that ...



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0103041344330.33622-100000>