From owner-freebsd-questions@FreeBSD.ORG Wed Aug 27 09:09:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BF4A1065671 for ; Wed, 27 Aug 2008 09:09:24 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by mx1.freebsd.org (Postfix) with ESMTP id 7102B8FC0A for ; Wed, 27 Aug 2008 09:09:23 +0000 (UTC) (envelope-from ws@au.dyndns.ws) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhMBADS0tEiWZWdv/2dsb2JhbAAIuTiBZw X-IronPort-AV: E=Sophos;i="4.32,277,1217773800"; d="scan'208";a="191478843" Received: from ppp103-111.static.internode.on.net (HELO [192.168.1.157]) ([150.101.103.111]) by ipmail05.adl2.internode.on.net with ESMTP; 27 Aug 2008 18:39:21 +0930 From: Wayne Sierke To: Wojciech Puchar In-Reply-To: <20080827104254.X52550@wojtek.tensor.gdynia.pl> References: <20080826215956.M47387@wojtek.tensor.gdynia.pl> <1219824310.49053.220.camel@predator-ii.buffyverse> <20080827104254.X52550@wojtek.tensor.gdynia.pl> Content-Type: text/plain Date: Wed, 27 Aug 2008 18:39:19 +0930 Message-Id: <1219828159.49053.225.camel@predator-ii.buffyverse> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: serial console - no go X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2008 09:09:24 -0000 On Wed, 2008-08-27 at 10:43 +0200, Wojciech Puchar wrote: > >> > >> what i do wrong? > >> > > Have you checked flag setting on sio? > > > > # dmesg | grep "sio.*flags" > > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > > yes. i then tried to change flags to 0x20 (force console) - still doesn't > work > > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x20 on acpi0 > sio0: type 16450 > sio0: [FILTER] > sio1: configured irq 3 not in bitmap of probed irqs 0 > Careful, note the last sentence in the 0x20 flag description: 0x20 Forces this unit to be the console (unless there is another higher priority console), regardless of the -h option discussed below. The flag 0x20 must be used together with the 0x10 flag. i.e. to use 0x20 you have to set it to 0x30 > > > it is qemu "machine" for now, but just to test, i would like to use it on > real hardware. > Never tried, could be a qemu-specific issue? Wayne