From owner-freebsd-questions@FreeBSD.ORG Tue Jan 6 18:52:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A28516A4CE for ; Tue, 6 Jan 2004 18:52:40 -0800 (PST) Received: from swordfish.cs.caltech.edu (swordfish.cs.caltech.edu [131.215.44.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CCAB43D3F for ; Tue, 6 Jan 2004 18:52:39 -0800 (PST) (envelope-from chengjin@cs.caltech.edu) Received: from orchestra.cs.caltech.edu (orchestra.cs.caltech.edu [131.215.44.20]) by swordfish.cs.caltech.edu (Postfix) with ESMTP id 93755DF215 for ; Tue, 6 Jan 2004 18:52:38 -0800 (PST) Received: by orchestra.cs.caltech.edu (Postfix, from userid 20269) id C47FC9BBAD; Tue, 6 Jan 2004 18:52:37 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by orchestra.cs.caltech.edu (Postfix) with ESMTP id 0DFEF9BBAC for ; Tue, 6 Jan 2004 18:52:37 -0800 (PST) Date: Tue, 6 Jan 2004 18:52:36 -0800 (PST) From: Cheng Jin To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: kernel config sio with flag 0x80 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 02:52:40 -0000 Hi, all I am having problems trying to config my 5.0-Release kernel for remote debugging. from the handbook below, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html it seems to be as simple as adding a line like "device sio0 at isa? port IO_COM1 flags 0x80 irq 4" and "options DDB" to the kernel config file, except sio0 line doesnt actually work. when i tried config -g, it complains about "devices with zero units are not likely to be correct" I tried different combos such as leaving out device numbers with only flags. I also looked around the web and FreeBSD mailinglist but didnt find anything helpful. Is there a different way of enabling serial console for debugging? It also seems that the documentation on kernel config has gotten much worse since the 2.* days. Where was the helpful LINT file that explained all the options correctly? Thanks, Cheng