From owner-freebsd-questions Sat Jun 15 1: 7:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from empty1.ekahuna.com (empty1.ekahuna.com [198.144.200.196]) by hub.freebsd.org (Postfix) with ESMTP id D427437B409 for ; Sat, 15 Jun 2002 01:07:39 -0700 (PDT) Received: from pc-02 (pc02.ekahuna.com [198.144.200.197]) by empty1.ekahuna.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com; Sat, 15 Jun 2002 01:07:39 -0700 From: "Philip J. Koenig" Organization: The Electric Kahuna Organization To: questions@FreeBSD.ORG Date: Sat, 15 Jun 2002 01:07:40 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Serial console issues Reply-To: pjklist@ekahuna.com Cc: djf2 In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12c) Message-ID: <20020615080739209.AAA619@empty1.ekahuna.com@pc02.ekahuna.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Fri, 14 Jun 2002 15:54:43 -0400 (EDT) > From: djf2 > > I've been running into several problems with trying to get a serial > console working at faster than 9600 bps. I followed the instructions > from the handbook as closely as possible, but wasn't able to find any info > on how to recompile the bootblocks. So, I googled a few pages that had > some info. Unfortunately, I've found two different ways to recompile the > boot blocks. Here's what I've done : > > make.conf containes 'BOOT_COMCONSOLE_SPEED=115200' > /boot.config contains '-P' > /etc/ttys ttyd0 is set to 'std.115200' > > Now, according to one page I found, I need to : > > cd /sys/boot/i386/boot2 > make clean && make all install > > This errors out looking for some object files, which were easy enough > to track down and install and eventaully it compiles and installs. After > the 'disklabel -B ad0', I reboot and get nothing on the serial console > until I turn my speed down to 9600 and then everything functions > perfectly. I found one other page that says I need to do the following : > > cd /usr/src/sys/i386/boot/biosboot && make clean && make all install > > After I disklabel those blocks in (which are put into /usr/mdec), I > get the following error as I try to boot : > > >> FreeBSD BOOT @ 0x10000: 638/65468 k of memory, serial/dual console > Boot default: 0:wd(0,a)kernel > > boot > Invalid format! > > > I'm stumped as to what I'm doing wrong. It looks like the changes > are noticed while the boot blocks are compiling and the console works fine > at 9600, but that's kinda slow for this machine. Anyone have any > pointers? Thanks in advance, > > > - -- > "Is that sound you're hearing the trumpeting of St. Peter's angels > or the screams of Memnoch's tortured souls?" > Don Flynn djf2@ili.net Sayge@IRC I'm going to guess that you may need to do is recompile your kernel with the following option for sio[x]: options CONSPEED=115200 (see /usr/src/sys/i386/conf/LINT) Phil -- Philip J. Koenig pjklist@ekahuna.com Electric Kahuna Systems -- Computers & Communications for the New Millenium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message