From owner-freebsd-current Sun Mar 4 9:48:40 2001 Delivered-To: freebsd-current@freebsd.org Received: from mobile.hub.org (SHW39-29.accesscable.net [24.138.39.29]) by hub.freebsd.org (Postfix) with ESMTP id 3104137B718; Sun, 4 Mar 2001 09:48:34 -0800 (PST) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by mobile.hub.org (8.11.1/8.11.1) with ESMTP id f24HmWp85532; Sun, 4 Mar 2001 13:48:32 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: mobile.hub.org: scrappy owned process doing -bs Date: Sun, 4 Mar 2001 13:48:32 -0400 (AST) From: The Hermit Hacker To: John Baldwin Cc: Subject: RE: Using serial console to debug system hangs ... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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