From owner-freebsd-current@FreeBSD.ORG Sat Jul 26 03:17:56 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D810F106567D for ; Sat, 26 Jul 2008 03:17:56 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout017.mac.com (asmtpout017.mac.com [17.148.16.92]) by mx1.freebsd.org (Postfix) with ESMTP id C2F248FC1F for ; Sat, 26 Jul 2008 03:17:56 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [192.168.1.102] (209-128-86-226.bayarea.net [209.128.86.226]) by asmtp017.mac.com (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K4L00FHVFTV9Y40@asmtp017.mac.com> for freebsd-current@freebsd.org; Fri, 25 Jul 2008 20:17:56 -0700 (PDT) Sender: xcllnt@mac.com Message-id: From: Marcel Moolenaar To: Mike Tancsa In-reply-to: <200807260235.m6Q2ZwcS022585@lava.sentex.ca> Date: Fri, 25 Jul 2008 20:17:55 -0700 References: <200806061259.m56CxhdR045603@lava.sentex.ca> <018816ED-8FF3-4834-AD17-59637C87D30D@mac.com> <200807252129.m6PLTwhs021540@lava.sentex.ca> <2F58935E-6439-45A1-9CB3-894FC577ECF2@mac.com> <200807260213.m6Q2D22u022503@lava.sentex.ca> <7A311400-66E1-43F0-8B5F-22658D5276A0@mac.com> <200807260235.m6Q2ZwcS022585@lava.sentex.ca> X-Mailer: Apple Mail (2.928.1) Cc: freebsd-current@freebsd.org Subject: Re: PUC rewrite X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2008 03:17:56 -0000 On Jul 25, 2008, at 7:36 PM, Mike Tancsa wrote: > At 10:23 PM 7/25/2008, Marcel Moolenaar wrote: > >> My best guess is that the hints are interfering. Try >> renumbering the hints. The number does not matter for >> the console. > > You are right, if I add > > hint.uart.4.at="isa" > hint.uart.4.port="0x3F8" > hint.uart.4.flags="0x10" > hint.uart.4.irq="4" *snip* > uart0: port > 0xe500-0xe507 irq 10 at device 14.0 on pci0 > uart0: [FILTER] > uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0 > uart1: [FILTER] > uart4: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on > isa0 > uart4: [FILTER] > > > However, serial console at bootup stops at *snip* Ok, I was a bit too imprecise. While the number doesn't matter, it has to be 0, 1, 2 or 3 for the flags to take effect for the console. So, change 4 to 3 and it should work. Alternatively, remove the flags hint for uart.4 and instead set the following in /boot/loader.conf: hw.uart.console="io:0x3f8" This is the new and improved way of setting up a serial console. Besides the io tag it allows setting baudrate and much more. But for you, this should be enough. HTH, -- Marcel Moolenaar xcllnt@mac.com